Function at 0x41d720
Capabilities:
Access peb ldr_data
Create thread
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x45b804
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0xc
mov dword [esp + 0x18], esi
mov byte [esi + 0x2cac], al
call fcn.00451b7b
xor ebx, ebx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x2cb0], eax
mov dword [esi + 0x2cb4], ebx
mov cl, byte [esp + 0x17]
push 0xc
mov dword [esp + 0x2c], ebx
mov byte [esi + 0x2cb8], cl
call fcn.00451b7b
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x2cbc], eax
mov dword [esi + 0x2cc0], ebx
mov dl, byte [esp + 0x1b]
push 0xc
mov byte [esp + 0x30], 1
mov byte [esi + 0x2cc4], dl
call fcn.00451b7b
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x2cc8], eax
mov dword [esi + 0x2ccc], ebx
mov al, byte [esp + 0x1f]
push 0xc
mov byte [esp + 0x34], 2
mov byte [esi + 0x2cd0], al
call fcn.00451b7b
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x2cd4], eax
mov dword [esi + 0x2cd8], ebx
mov cl, byte [esp + 0x23]
push 0xc
mov byte [esp + 0x38], 3
mov byte [esi + 0x2cdc], cl
call fcn.00451b7b
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x2ce0], eax
mov dword [esi + 0x2ce4], ebx
mov dl, byte [esp + 0x27]
push 0xc
mov byte [esp + 0x3c], 4
mov byte [esi + 0x2ce8], dl
call fcn.00451b7b
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 0x18
mov dword [esi + 0x2cec], eax
mov dword [esi + 0x2cf0], ebx
lea ebp, [esi + 0x2cf4]
mov byte [esp + 0x24], 5
push ebp
mov dword [esi], 0x461788
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x384], ebx
mov dword [esi + 0x388], ebx
mov dword [esi + 0x38c], ebx
mov eax, 0x14
mov dword [esi + 0x390], ebx
mov dword [esi + 0xed0], eax
mov dword [esi + 0xed4], eax
mov dword [esi + 0xee0], 0x64
mov dword [esi + 0xed8], ebx
mov dword [esi + 0xedc], ebx
mov dword [esi + 0xee4], ebx
mov dword [esi + 0x110c], ebx
mov dword [esi + 0x1110], ebx
mov dword [esi + 0x1118], ebx
mov dword [esi + 0x111c], ebx
mov dword [esi + 0x1120], ebx
mov dword [esi + 0x1124], ebx
mov dword [esi + 0x1128], ebx
mov dword [esi + 0x112c], ebx
mov dword [esi + 0x155c], ebx
mov dword [esi + 0x1560], ebx
mov dword [esi + 0x1564], ebx
mov dword [esi + 0x1568], ebx
mov dword [esi + 0x156c], ebx
mov dword [esi + 0x1570], ebx
mov dword [esi + 0x1574], ebx
mov dword [esi + 0x1578], ebx
mov dword [esi + 0x157c], ebx
mov dword [esi + 0x1580], ebx
mov dword [esi + 0x1584], ebx
mov byte [esi + 0x1588], bl
mov dword [esi + 0x168c], ebx
mov dword [esi + 0x1690], ebx
mov dword [esi + 0x1694], ebx
mov dword [esi + 0x1698], ebx
mov dword [esi + 0x169c], ebx
mov dword [esi + 0x16a0], ebx
mov byte [esi + 0x16a4], bl
mov dword [esi + 0x17a8], ebx
mov dword [esi + 0x17ac], ebx
mov dword [esi + 0x17b0], ebx
mov dword [esi + 0x17b4], ebx
mov dword [esi + 0x17b8], ebx
mov dword [esi + 0x2b34], ebx
mov dword [esi + 0x2c9c], 3
mov dword [esi + 0x2ca0], ebx
mov eax, dword [0x481b80]
mov edx, 1
mov dword [esi + 0x2ca4], eax
mov dword [esi + 0x2ca8], edx
mov dword [esi + 0xecc], ebx
mov dword [esi + 0x2b4c], ebx
mov dword [esi + 0x2b50], ebx
mov dword [esi + 0x2b54], ebx
mov dword [esi + 0x2c5c], edx
mov dword [esi + 0x2c60], ebx
mov dword [esi + 0x2c64], edx
mov dword [esi + 0x2c68], edx
mov dword [esi + 0x2c74], edx
mov dword [esi + 0x2c6c], ebx
mov dword [esi + 0x2c70], ebx
mov dword [esi + 0x2c78], ebx
mov dword [esi + 0x2c7c], ebx
mov dword [esi + 0x2c80], ebx
mov dword [esi + 0x2c84], ebx
mov ecx, 0xc9
xor eax, eax
lea edi, [esi + 0x60]
mov dword [esi + 0x2c88], ebx
mov dword [esi + 0x2c8c], ebx
mov dword [esi + 0x2c90], ebx
mov dword [esi + 0x2c98], ebx
mov dword [esi + 0x2c94], ebx
mov dword [esi + 0x394], edx
mov dword [esi + 0x2b48], ebx
mov dword [esi + 0x2b38], ebx
mov dword [esi + 0x2b3c], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x2cc
lea edi, [esi + 0x398]
rep stosd dword es:[edi], eax
mov ecx, 0x89
lea edi, [esi + 0xee8]
rep stosd dword es:[edi], eax
mov ecx, 0x10b
lea edi, [esi + 0x1130]
rep stosd dword es:[edi], eax
mov ecx, 0x4dc
lea edi, [esi + 0x17c4]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esi + 0x2b58]
rep stosd dword es:[edi], eax
push ebx
mov dword [esi + 0x17bc], edx
push ebx
mov dword [esi + 0x17c0], ebx
push edx
mov dword [0x485b08], edx
push ebx
mov dword [esi + 0x1114], edx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, esi
mov dword [esi + 4], eax
call fcn.0041db30
call fcn.004455e0
test eax, eax
jne 0x41dad9
mov ecx, esi
call fcn.00423310
cmp dword [0x481a98], ebx
jne 0x41db0b
call fcn.004455f0
test eax, eax
jne 0x41db0b
lea ecx, [esp + 0x18]
push ecx
push ebx
push esi
push 0x44acb0
push ebx
push ebx
call fcn.0045233c
add esp, 0x18
cmp eax, ebx
je 0x41db0b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret