Function at 0x416150
Capabilities:
Access peb ldr_data
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1f0
mov esi, esp
mov dword [esi + 0x1d8], ebp
movsd xmm1, qword [ebp + 0x1c]
lea eax, [esi + 0x1e0]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x4205c0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea eax, [esi + 0x170]
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 + 0x24], eax
mov dword [esi + 0x160], edx
movdqa xmmword [esi + 0x150], xmm0
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
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.00402e60
add esp, 0x14
cmp eax, 0x64
jb 0x4162a4
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x1e8], eax
lea eax, [esi + 0x88]
push eax
call fcn.0040cbd0
add esp, 4
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
xor edx, edx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], edx
sub esp, 0x18
movq xmm0, qword [ebp + 0x1c]
movq qword [esp + 0x10], xmm0
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
lea eax, [esi + 0x24]
mov dword [esp], eax
mov dword [esp + 0xc], str._.0Lf
call fcn.00422df7
add esp, 0x18
mov dword [esi + 0x14], eax
mov edi, dword [esi + 0x24]
test edi, edi
je 0x4165b1
push dword [esi + 0x14]
call fcn.0052a490
add esp, 4
test eax, eax
je 0x4165be
mov dword [esi + 0x30], eax
jmp 0x4162b4
mov dword [esi + 0x14], eax
lea eax, [esi + 0x100]
mov dword [esi + 0x30], eax
xor eax, eax
xor edi, edi
mov ecx, dword [ebp + 0x14]
lea edx, [esi + 0x20]
mov dword [edx], 0xffffffff
mov dword [esi + 0x58], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x5c], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x1e8], 0
push edx
call fcn.00409f0a
mov dword [esi + 0x1e8], 1
lea ecx, [esi + 0x20]
push 0x598398
call fcn.0040d770
mov edx, dword [esi + 0x14]
mov ecx, eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x14], edx
mov edx, dword [esi + 0x14]
add edx, eax
mov edi, dword [ecx]
push dword [esi + 0x30]
push edx
push eax
mov dword [esi + 0x84], ecx
call dword [edi + 0x18]
mov eax, dword [esi + 0x14]
xor ecx, ecx
test eax, eax
je 0x41632a
mov edx, dword [esi + 0x24]
cmp byte [edx], 0x2d
sete al
mov dword [esi + 0x10], eax
jmp 0x416331
mov dword [esi + 0x10], 0
lea ebx, [esi + 0x70]
mov dword [ebx + 4], ecx
mov dword [ebx], ecx
mov dword [ebx + 8], ecx
lea edi, [esi + 0x48]
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov dword [edi + 8], ecx
lea edx, [esi + 0x38]
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 + 0x6c]
xor ecx, ecx
dec ecx
mov dword [eax], ecx
lea eax, [esi + 0x68]
mov dword [eax], ecx
mov dword [esi + 0x1e8], 2
movzx eax, byte [esi + 0x10]
movzx ecx, byte [ebp + 0x10]
mov dword [esi + 0x10], ecx
lea ecx, [esi + 0x68]
push ecx
push edx
push edi
push ebx
lea edx, [esi + 0xe]
push edx
lea edx, [esi + 0xf]
push edx
lea edx, [esi + 0x6c]
push edx
lea edx, [esi + 0x20]
push edx
mov dword [esi + 0x80], eax
push eax
push dword [esi + 0x10]
call fcn.0041e8aa
add esp, 0x28
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0xe0], 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
mov dword [esi + 0xf0], 0xffffffff
mov eax, dword [esi + 0x68]
mov edi, dword [esi + 0x14]
mov edx, edi
mov dword [esi + 0x2c], eax
sub edx, eax
mov ebx, dword [ebp + 0x14]
jle 0x416406
movzx eax, byte [esi + 0x38]
test al, 1
je 0x416413
mov eax, dword [esi + 0x3c]
jmp 0x416415
movzx eax, byte [esi + 0x38]
test al, 1
je 0x416423
mov eax, dword [esi + 0x3c]
jmp 0x416425
shr eax, 1
movzx ecx, byte [esi + 0x48]
test cl, 1
je 0x416433
mov ecx, dword [esi + 0x4c]
jmp 0x416435
shr eax, 1
movzx ecx, byte [esi + 0x48]
test cl, 1
je 0x416441
mov ecx, dword [esi + 0x4c]
jmp 0x416443
shr ecx, 1
mov ebx, dword [esi + 0x2c]
lea edx, [ebx + edx*2]
inc edx
mov ebx, dword [ebp + 0x14]
jmp 0x416449
shr ecx, 1
mov edx, dword [esi + 0x2c]
add edx, 2
add eax, edx
add eax, ecx
cmp eax, 0x65
jb 0x41647b
push eax
call fcn.0052a490
add esp, 4
mov dword [esi + 0x28], eax
mov dword [esi + 0x10], eax
test eax, eax
jne 0x41648b
mov dword [esi + 0x34], 0
mov dword [esi + 0x1e8], 3
call fcn.004209bc
lea eax, [esi + 0x90]
mov dword [esi + 0x28], eax
mov dword [esi + 0x10], 0
lea eax, [esi + 0x64]
xor edx, edx
dec edx
mov dword [eax], edx
lea eax, [esi + 0x60]
mov dword [eax], edx
movsx edx, byte [esi + 0xe]
mov eax, dword [esi + 0x30]
add edi, eax
mov ecx, edi
mov edi, dword [ebx + 4]
mov dword [esi + 0x14], edi
mov edi, dword [esi + 0x10]
mov dword [esi + 0x34], edi
mov dword [esi + 0x1e8], 3
movsx edi, byte [esi + 0xf]
push dword [esi + 0x2c]
lea ebx, [esi + 0x38]
push ebx
lea ebx, [esi + 0x48]
push ebx
lea ebx, [esi + 0x70]
push ebx
push edx
push edi
lea edx, [esi + 0x6c]
push edx
push dword [esi + 0x80]
push dword [esi + 0x84]
push ecx
push eax
push dword [esi + 0x14]
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x64]
push eax
push dword [esi + 0x28]
call fcn.0041e9e8
add esp, 0x3c
mov al, byte [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x60]
mov edi, dword [esi + 0x10]
mov dword [esi + 0x34], edi
mov edi, dword [esi + 0x64]
movsx eax, al
push eax
push dword [ebp + 0x14]
push edx
push edi
push dword [esi + 0x28]
push ecx
push dword [ebp + 8]
call fcn.00401d90
add esp, 0x1c
cmp dword [esi + 0x10], 0
je 0x416531
push dword [esi + 0x10]
call fcn.00529c90
add esp, 4
test byte [esi + 0x38], 1
mov edi, dword [esi + 0x5c]
je 0x416545
push dword [esi + 0x40]
call fcn.005128f8
add esp, 4
test byte [esi + 0x48], 1
je 0x416556
push dword [esi + 0x50]
call fcn.005128f8
add esp, 4
test byte [esi + 0x70], 1
je 0x416567
push dword [esi + 0x78]
call fcn.005128f8
add esp, 4
mov ecx, dword [esi + 0x20]
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x41657b
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x58]
test eax, eax
je 0x41658b
push eax
call fcn.00529c90
add esp, 4
test edi, edi
je 0x416598
push edi
call fcn.00529c90
add esp, 4
mov eax, dword [esi + 0x1e0]
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 + 0x18], eax
mov dword [esi + 0x1c], eax
call fcn.004209bc
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], edi
call fcn.004209bc
nop
push ebp
sub esp, 0x3c
lea esi, [ebp - 0x1ec]
mov ebp, dword [esi + 0x1d8]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4165ee
push eax
call fcn.00529c90
add esp, 4
add esp, 0x3c
pop ebp
ret