Function at 0x1002385b
Capabilities:
Allocate thread local storage

Disassembly:
push 0x48
mov eax, 0x100c5882
call fcn.1001517a
mov edi, ecx
mov dword [ebp - 0x14], edi
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
push ebx
lea ecx, [edi + 4]
mov dword [edi], 0x10024db4
call sym.MSVCR110.dll_public:_void___thiscall_Concurrency::SchedulerPolicy::constructor_class_Concurrency::SchedulerPolicy_const__
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], esi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], esi
mov dword [edi + 0x40], esi
mov dword [edi + 0x44], esi
mov dword [edi + 0x48], esi
mov dword [edi + 0x4c], esi
mov dword [edi + 0x50], esi
mov dword [edi + 0x54], esi
mov dword [edi + 0x58], esi
sub esp, 0xc
lea ecx, [edi + 0x60]
mov byte [ebp - 4], 5
call fcn.100701a5
jmp 0x1004f070
mov byte [ebp - 4], 8
mov dword [edi + 0x130], esi
mov dword [edi + 0x134], esi
mov dword [edi + 0x138], esi
mov eax, dword [edi + 0x134]
mov ecx, dword [edi + 0x138]
lea eax, [edi + 0x13c]
push ecx
mov dword [eax], esi
mov dword [eax + 4], eax
mov dword [eax + 8], esi
mov eax, dword [eax + 8]
mov dword [edi + 0x148], 0xffffffff
mov dword [edi + 0x14c], 0xffffffff
mov dword [edi + 0x150], esi
mov dword [edi + 0x154], esi
mov dword [edi + 0x158], esi
lea ecx, [edi + 0x15c]
call fcn.10023913
push ecx
lea ecx, [edi + 0x168]
mov byte [ebp - 4], 9
call fcn.10023913
mov byte [ebp - 4], 0xa
or dword [edi + 0x174], 0xffffffff
mov dword [edi + 0x178], esi
mov dword [edi + 0x180], esi
mov dword [edi + 0x184], esi
mov dword [edi + 0x188], 1
mov dword [edi + 0x18c], esi
mov dword [edi + 0x190], esi
mov dword [edi + 0x194], esi
mov dword [edi + 0x198], esi
mov dword [edi + 0x19c], esi
mov dword [edi + 0x1a0], esi
mov dword [edi + 0x1a8], esi
mov dword [edi + 0x1b0], esi
mov dword [edi + 0x1b4], esi
mov dword [edi + 0x1b8], esi
mov dword [edi + 0x1bc], esi
mov dword [edi + 0x1c0], esi
mov dword [edi + 0x1c8], esi
lea eax, [edi + 0x1e0]
mov dword [edi + 0x1d8], esi
mov esi, dword [sym.imp.KERNEL32.dll_InitializeSListHead]
push eax
call esi
lea eax, [edi + 0x1e8]
push eax
call esi
lea eax, [edi + 0x1f0]
push eax
call esi
lea eax, [edi + 0x1f8]
push eax
call esi
push 0
mov ecx, ebx
mov dword [edi + 0x84], edi
call sym.MSVCR110.dll_public:_unsigned_int___thiscall_Concurrency::SchedulerPolicy::GetPolicyValue_enum_Concurrency::PolicyElementKey_const
push 4
mov ecx, ebx
mov dword [edi + 8], eax
call sym.MSVCR110.dll_public:_unsigned_int___thiscall_Concurrency::SchedulerPolicy::GetPolicyValue_enum_Concurrency::PolicyElementKey_const
push 7
mov ecx, ebx
mov word [edi + 0x10], ax
call sym.MSVCR110.dll_public:_unsigned_int___thiscall_Concurrency::SchedulerPolicy::GetPolicyValue_enum_Concurrency::PolicyElementKey_const
mov dword [edi + 0xc], eax
call fcn.10022a6e
push 1
mov ecx, ebx
mov esi, eax
call sym.MSVCR110.dll_public:_unsigned_int___thiscall_Concurrency::SchedulerPolicy::GetPolicyValue_enum_Concurrency::PolicyElementKey_const
jmp 0x1004f0be
call fcn.10022a6e
shl eax, 2
mov dword [edi + 0x1c4], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 0x18], eax
cmp eax, 0xffffffff
je 0x1004f0d9
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x1cc], eax
test eax, eax
je 0x1004f102
push ebx
push 0xffffffffffffffff
push edi
push 0x1006e9f7
push eax
lea eax, [edi + 0x1d0]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x1004f127
push ebx
mov eax, 0x7fffffff
push eax
push eax
push edi
push 0x1006e1d5
push ebx
lea eax, [edi + 0x1d4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
test eax, eax
je 0x1004f14c
mov eax, edi
call fcn.100151ad
ret 4
mov byte [ebp - 4], 6
mov dword [edi + 0xb4], esi
mov dword [edi + 0xb8], esi
mov dword [edi + 0xbc], esi
mov dword [edi + 0xc0], esi
mov eax, dword [edi + 0xbc]
mov ecx, dword [edi + 0xc0]
sub esp, 0xc
lea ecx, [edi + 0xc8]
call fcn.10070324
push dword [0x100c9590]
lea eax, [edi + 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
jmp 0x1002394f
mov ecx, esi
shl ecx, 2
cmp ecx, eax
ja 0x10023aa9
push 1
mov ecx, ebx
call sym.MSVCR110.dll_public:_unsigned_int___thiscall_Concurrency::SchedulerPolicy::GetPolicyValue_enum_Concurrency::PolicyElementKey_const
jmp 0x10023ab1
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1004f0eb
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x24]
call sym.MSVCR110.dll_public:_void___thiscall_Concurrency::scheduler_resource_allocation_error::constructor_long_int_
push 0x100c6790
lea eax, [ebp - 0x24]
push eax
call sym.MSVCR110.dll__CxxThrowException
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1004f114
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x34]
call sym.MSVCR110.dll_public:_void___thiscall_Concurrency::scheduler_resource_allocation_error::constructor_long_int_
push 0x100c6790
lea eax, [ebp - 0x34]
jmp 0x1004f0fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1004f139
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x44]
call sym.MSVCR110.dll_public:_void___thiscall_Concurrency::scheduler_resource_allocation_error::constructor_long_int_
push 0x100c6790
lea eax, [ebp - 0x44]
jmp 0x1004f0fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1004f15e
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x54]
call sym.MSVCR110.dll_public:_void___thiscall_Concurrency::scheduler_resource_allocation_error::constructor_long_int_
push 0x100c6790
lea eax, [ebp - 0x54]
jmp 0x1004f0fc