Function at 0x4168c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1e0
mov esi, esp
mov dword [esi + 0x1c8], ebp
movsd xmm1, qword [ebp + 0x1c]
lea eax, [esi + 0x1d0]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x420e70
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea eax, [esi + 0x160]
mov dword [eax + 0x60], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [eax + 0x50], xmm0
movdqa xmmword [eax + 0x40], xmm0
movdqa xmmword [eax + 0x30], xmm0
movdqa xmmword [eax + 0x20], xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
mov dword [esi + 0x1c], eax
mov dword [esi + 0x150], edx
movdqa xmmword [esi + 0x140], xmm0
movdqa xmmword [esi + 0x130], xmm0
movdqa xmmword [esi + 0x120], xmm0
movdqa xmmword [esi + 0x110], xmm0
movdqa xmmword [esi + 0x100], xmm0
movdqa xmmword [esi + 0xf0], xmm0
sub esp, 0x14
movsd qword [esp + 0xc], xmm1
mov dword [esp], eax
mov dword [esp + 8], str._.0Lf
mov dword [esp + 4], 0x64
call fcn.00402e00
add esp, 0x14
cmp eax, 0x64
jb 0x416a07
mov dword [esi + 4], esp
push eax
sub esp, 0x18
mov eax, esp
mov dword [esi + 8], eax
add eax, 4
xor ecx, ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x1d8], ecx
push eax
call fcn.0040d040
add esp, 4
lea eax, [esi + 0x1c]
mov ecx, dword [esi + 8]
mov dword [ecx], eax
mov dword [ecx + 0x10], str._.0Lf
movq xmm0, qword [ebp + 0x1c]
movq qword [ecx + 0x14], xmm0
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.00423910
add esp, 0x1c
mov dword [esi + 8], eax
mov esp, dword [esi + 4]
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x416d08
mov edi, dword [esi + 0x1c]
push eax
call fcn.005262f0
add esp, 4
test eax, eax
je 0x416d15
mov dword [esi + 0x28], eax
jmp 0x416a17
mov dword [esi + 8], eax
lea eax, [esi + 0xf0]
mov dword [esi + 0x28], eax
xor eax, eax
xor edi, edi
mov ecx, dword [ebp + 0x14]
lea edx, [esi + 0x18]
mov dword [edx], 0xffffffff
mov dword [esi + 0x50], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x1d8], 0
push edx
call fcn.0040a18a
mov dword [esi + 0x1d8], 1
lea ecx, [esi + 0x18]
push 0x592504
call fcn.0040dc30
mov edx, dword [esi + 8]
mov ecx, eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 8], edx
mov edx, dword [esi + 8]
add edx, eax
mov edi, dword [ecx]
push dword [esi + 0x28]
push edx
push eax
mov dword [esi + 0x7c], ecx
call dword [edi + 0x18]
mov eax, dword [esi + 8]
xor ecx, ecx
test eax, eax
jle 0x416a8a
mov edx, dword [esi + 0x1c]
cmp byte [edx], 0x2d
sete al
mov dword [esi + 4], eax
jmp 0x416a91
mov dword [esi + 4], 0
lea ebx, [esi + 0x68]
mov dword [ebx + 4], ecx
mov dword [ebx], ecx
mov dword [ebx + 8], ecx
lea edi, [esi + 0x40]
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov dword [edi + 8], ecx
lea edx, [esi + 0x30]
mov dword [edx + 4], ecx
mov dword [edx], ecx
mov dword [edx + 8], ecx
mov cl, 0xff
lea eax, [esi + 0xf]
mov byte [eax], cl
lea eax, [esi + 0xe]
mov byte [eax], cl
lea eax, [esi + 0x64]
xor ecx, ecx
dec ecx
mov dword [eax], ecx
lea eax, [esi + 0x60]
mov dword [eax], ecx
mov dword [esi + 0x1d8], 2
movzx eax, byte [esi + 4]
movzx ecx, byte [ebp + 0x10]
mov dword [esi + 4], ecx
lea ecx, [esi + 0x60]
push ecx
push edx
push edi
push ebx
lea edx, [esi + 0xe]
push edx
lea edx, [esi + 0xf]
push edx
lea edx, [esi + 0x64]
push edx
lea edx, [esi + 0x18]
push edx
mov dword [esi + 0x78], eax
push eax
push dword [esi + 4]
call fcn.0041f0cc
add esp, 0x28
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0xd0], xmm0
movdqa xmmword [esi + 0xc0], xmm0
movdqa xmmword [esi + 0xb0], xmm0
movdqa xmmword [esi + 0xa0], xmm0
movdqa xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0x80], xmm0
mov dword [esi + 0xe0], 0xffffffff
mov eax, dword [esi + 0x60]
mov edi, dword [esi + 8]
mov edx, edi
mov dword [esi + 0x24], eax
sub edx, eax
mov ebx, dword [ebp + 0x14]
jle 0x416b63
movzx eax, byte [esi + 0x30]
test al, 1
je 0x416b70
mov eax, dword [esi + 0x34]
jmp 0x416b72
movzx eax, byte [esi + 0x30]
test al, 1
je 0x416b80
mov eax, dword [esi + 0x34]
jmp 0x416b82
shr eax, 1
movzx ecx, byte [esi + 0x40]
test cl, 1
je 0x416b90
mov ecx, dword [esi + 0x44]
jmp 0x416b92
shr eax, 1
movzx ecx, byte [esi + 0x40]
test cl, 1
je 0x416b9e
mov ecx, dword [esi + 0x44]
jmp 0x416ba0
shr ecx, 1
mov ebx, dword [esi + 0x24]
lea edx, [ebx + edx*2]
inc edx
mov ebx, dword [ebp + 0x14]
jmp 0x416ba6
shr ecx, 1
mov edx, dword [esi + 0x24]
add edx, 2
add eax, edx
add eax, ecx
cmp eax, 0x65
jb 0x416bd8
push eax
call fcn.005262f0
add esp, 4
mov dword [esi + 0x20], eax
mov dword [esi + 4], eax
test eax, eax
jne 0x416be8
mov dword [esi + 0x2c], 0
mov dword [esi + 0x1d8], 3
call fcn.0042126c
lea eax, [esi + 0x80]
mov dword [esi + 0x20], eax
mov dword [esi + 4], 0
lea eax, [esi + 0x5c]
xor edx, edx
dec edx
mov dword [eax], edx
lea eax, [esi + 0x58]
mov dword [eax], edx
movsx edx, byte [esi + 0xe]
mov eax, dword [esi + 0x28]
add edi, eax
mov ecx, edi
mov edi, dword [ebx + 4]
mov dword [esi + 8], edi
mov edi, dword [esi + 4]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x1d8], 3
movsx edi, byte [esi + 0xf]
push dword [esi + 0x24]
lea ebx, [esi + 0x30]
push ebx
lea ebx, [esi + 0x40]
push ebx
lea ebx, [esi + 0x68]
push ebx
push edx
push edi
lea edx, [esi + 0x64]
push edx
push dword [esi + 0x78]
push dword [esi + 0x7c]
push ecx
push eax
push dword [esi + 8]
lea eax, [esi + 0x58]
push eax
lea eax, [esi + 0x5c]
push eax
push dword [esi + 0x20]
call fcn.0041f1d4
add esp, 0x3c
mov al, byte [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x58]
mov edi, dword [esi + 4]
mov dword [esi + 0x2c], edi
mov edi, dword [esi + 0x5c]
movsx eax, al
push eax
push dword [ebp + 0x14]
push edx
push edi
push dword [esi + 0x20]
push ecx
push dword [ebp + 8]
call fcn.00401d40
add esp, 0x1c
cmp dword [esi + 4], 0
je 0x416c88
push dword [esi + 4]
call fcn.00525b50
add esp, 4
test byte [esi + 0x30], 1
mov edi, dword [esi + 0x54]
je 0x416c9c
push dword [esi + 0x38]
call fcn.0050f3dd
add esp, 4
test byte [esi + 0x40], 1
je 0x416cad
push dword [esi + 0x48]
call fcn.0050f3dd
add esp, 4
test byte [esi + 0x68], 1
je 0x416cbe
push dword [esi + 0x70]
call fcn.0050f3dd
add esp, 4
mov ecx, dword [esi + 0x18]
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x416cd2
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x416ce2
push eax
call fcn.00525b50
add esp, 4
test edi, edi
je 0x416cef
push edi
call fcn.00525b50
add esp, 4
mov eax, dword [esi + 0x1d0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.0042126c
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], edi
call fcn.0042126c
push ebp
sub esp, 0x3c
lea esi, [ebp - 0x1dc]
mov ebp, dword [esi + 0x1c8]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x416d44
push eax
call fcn.00525b50
add esp, 4
add esp, 0x3c
pop ebp
ret