Function at 0x78aed634
Capabilities:
Allocate thread local storage

Disassembly:
push 0x14
mov eax, 0x78b4e90e
call fcn.78ab6959
mov edi, dword [ebp + 8]
push dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [edi + 4]
mov dword [edi], 0x78ae192c
call sym.MSVCR100.dll_public:_void___thiscall_Concurrency::SchedulerPolicy::constructor_class_Concurrency::SchedulerPolicy_const__
mov byte [ebp - 4], 1
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
lea esi, [edi + 0x40]
call fcn.78aef6e1
push dword [0x78b5536c]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea eax, [edi + 0x90]
push eax
call esi
push dword [0x78b5536c]
lea eax, [edi + 0xa8]
mov dword [eax], ebx
mov dword [eax + 4], eax
mov dword [eax + 8], ebx
or dword [edi + 0xc8], 0xffffffff
mov dword [edi + 0xb4], 0xffffffff
mov dword [edi + 0xb8], 0xffffffff
mov dword [edi + 0xbc], ebx
mov dword [edi + 0xc0], ebx
mov dword [edi + 0xc4], ebx
mov dword [edi + 0xcc], ebx
mov dword [edi + 0xd4], ebx
mov dword [edi + 0xd8], ebx
mov dword [edi + 0xdc], 1
mov dword [edi + 0xe0], ebx
mov dword [edi + 0xe4], ebx
mov dword [edi + 0xe8], ebx
mov dword [edi + 0xec], ebx
mov dword [edi + 0xf0], ebx
mov dword [edi + 0xf8], ebx
lea eax, [edi + 0x114]
mov dword [edi + 0x100], ebx
push eax
mov dword [edi + 0x104], ebx
mov dword [edi + 0x108], ebx
mov dword [edi + 0x10c], ebx
call esi
mov byte [ebp - 4], 4
mov esi, dword [sym.imp.KERNEL32.dll_InitializeSListHead]
lea eax, [edi + 0x140]
mov dword [edi + 0x12c], ebx
push eax
mov dword [edi + 0x130], ebx
mov dword [edi + 0x134], ebx
call esi
lea eax, [edi + 0x148]
push eax
call esi
lea eax, [edi + 0x150]
push eax
call esi
mov ecx, dword [ebp + 0xc]
push ebx
call sym.MSVCR100.dll_public:_unsigned_int___thiscall_Concurrency::SchedulerPolicy::GetPolicyValue_enum_Concurrency::PolicyElementKey_const
mov ecx, dword [ebp + 0xc]
push 4
mov dword [edi + 8], eax
call sym.MSVCR100.dll_public:_unsigned_int___thiscall_Concurrency::SchedulerPolicy::GetPolicyValue_enum_Concurrency::PolicyElementKey_const
mov ecx, dword [ebp + 0xc]
push 7
mov word [edi + 0x10], ax
call sym.MSVCR100.dll_public:_unsigned_int___thiscall_Concurrency::SchedulerPolicy::GetPolicyValue_enum_Concurrency::PolicyElementKey_const
mov dword [edi + 0xc], eax
call fcn.78ae93cf
mov ecx, dword [ebp + 0xc]
mov esi, eax
push 2
call sym.MSVCR100.dll_public:_unsigned_int___thiscall_Concurrency::SchedulerPolicy::GetPolicyValue_enum_Concurrency::PolicyElementKey_const
mov ecx, esi
shl ecx, 2
cmp ecx, eax
jbe 0x78aed7aa
call fcn.78ae93cf
shl eax, 2
jmp 0x78aed7b4
mov ecx, dword [ebp + 0xc]
push 2
call sym.MSVCR100.dll_public:_unsigned_int___thiscall_Concurrency::SchedulerPolicy::GetPolicyValue_enum_Concurrency::PolicyElementKey_const
mov dword [edi + 0x110], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 0x18], eax
cmp eax, 0xffffffff
jne 0x78aed7f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x78aed7dc
and eax, 0xffff
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x20]
call sym.MSVCR100.dll_public:_void___thiscall_Concurrency::scheduler_resource_allocation_error::constructor_long_int_
push 0x78b4f91c
lea eax, [ebp - 0x20]
push eax
call sym.MSVCR100.dll__CxxThrowException
mov eax, edi
call fcn.78ab736d
ret 8