Function at 0x4171a0
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, 0x290
mov esi, esp
mov dword [esi + 0x278], ebp
lea eax, [esi + 0x280]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x420e90
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea edi, [esi + 0x80]
mov dword [edi + 0x60], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [edi + 0x50], xmm0
movdqa xmmword [edi + 0x40], xmm0
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
mov dword [esi + 0x24], edi
lea eax, [esi + 0x1b0]
push 0xc8
push 0xff
mov dword [esi + 0x18], eax
push eax
call fcn.00512f00
sub esp, 8
movsd xmm0, qword [ebp + 0x1c]
movsd qword [esp + 0xc], xmm0
mov dword [esp], edi
mov dword [esp + 8], str._.0Lf
mov dword [esp + 4], 0x64
call fcn.00402e00
add esp, 0x14
cmp eax, 0x64
jb 0x4172cc
mov dword [esi + 0x18], 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 + 0x288], ecx
push eax
call fcn.0040d040
add esp, 4
lea eax, [esi + 0x24]
mov ecx, dword [esi + 8]
mov dword [ecx], eax
mov dword [ecx + 0x10], str._.0Lf
movsd xmm0, qword [ebp + 0x1c]
movsd 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 + 0x18]
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x417586
mov edi, dword [esi + 0x24]
add eax, eax
push eax
call fcn.005262f0
add esp, 4
test eax, eax
je 0x417593
mov dword [esi + 0x18], eax
jmp 0x4172d3
mov dword [esi + 8], eax
xor eax, eax
xor edi, edi
mov ecx, dword [ebp + 0x14]
lea edx, [esi + 0x20]
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 + 0x288], 0
push edx
call fcn.0040a18a
mov dword [esi + 0x288], 1
lea ecx, [esi + 0x20]
push 0x5924fc
call fcn.0040dc30
mov edx, dword [esi + 8]
mov ecx, eax
mov eax, dword [esi + 0x24]
mov dword [esi + 8], edx
mov edx, dword [esi + 8]
add edx, eax
mov edi, dword [ecx]
push dword [esi + 0x18]
push edx
push eax
mov dword [esi + 0x7c], ecx
call dword [edi + 0x28]
mov eax, dword [esi + 8]
xor ecx, ecx
test eax, eax
jle 0x417346
mov edx, dword [esi + 0x24]
cmp byte [edx], 0x2d
sete al
mov dword [esi + 0xc], eax
jmp 0x41734d
mov dword [esi + 0xc], 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
xor eax, eax
dec eax
lea ecx, [esi + 0x64]
mov dword [ecx], eax
lea ecx, [esi + 0x1e]
mov word [ecx], ax
lea ecx, [esi + 0x1c]
mov word [ecx], ax
lea ecx, [esi + 0x60]
mov dword [ecx], eax
mov dword [esi + 0x288], 2
movzx eax, byte [esi + 0xc]
movzx ecx, byte [ebp + 0x10]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x60]
push ecx
push edx
push edi
push ebx
lea edx, [esi + 0x1c]
push edx
lea edx, [esi + 0x1e]
push edx
lea edx, [esi + 0x64]
push edx
lea edx, [esi + 0x20]
push edx
mov dword [esi + 0x78], eax
push eax
push dword [esi + 0xc]
call fcn.0041f568
add esp, 0x28
lea eax, [esi + 0xe8]
push 0xc8
push 0xff
mov dword [esi + 0xc], eax
push eax
call fcn.00512f00
add esp, 0xc
mov eax, dword [esi + 0x60]
mov edi, dword [esi + 8]
mov edx, edi
mov dword [esi + 0x28], eax
sub edx, eax
mov ebx, dword [ebp + 0x14]
jle 0x4173fd
movzx eax, byte [esi + 0x30]
test al, 1
je 0x41740a
mov eax, dword [esi + 0x34]
jmp 0x41740c
movzx eax, byte [esi + 0x30]
test al, 1
je 0x41741c
mov eax, dword [esi + 0x34]
jmp 0x41741e
shr eax, 1
movzx ecx, byte [esi + 0x40]
mov edi, ebx
test cl, 1
je 0x41742c
mov ecx, dword [esi + 0x44]
jmp 0x41742e
shr eax, 1
movzx ecx, byte [esi + 0x40]
test cl, 1
je 0x41743c
mov ecx, dword [esi + 0x44]
jmp 0x41743e
shr ecx, 1
mov ebx, dword [esi + 0x28]
lea edx, [ebx + edx*2]
inc edx
mov ebx, edi
mov edi, dword [esi + 8]
jmp 0x417444
shr ecx, 1
mov edx, dword [esi + 0x28]
add edx, 2
add eax, edx
add eax, ecx
xor ecx, ecx
cmp eax, 0x65
jb 0x417467
add eax, eax
push eax
call fcn.005262f0
add esp, 4
mov ecx, eax
mov dword [esi + 0xc], eax
test eax, eax
je 0x4175a2
lea edx, [esi + 0x5c]
xor eax, eax
dec eax
mov dword [edx], eax
lea edx, [esi + 0x58]
mov dword [edx], eax
mov eax, dword [esi + 0x18]
lea edx, [eax + edi*2]
mov edi, dword [ebx + 4]
mov dword [esi + 0x74], edi
mov dword [esi + 8], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x288], 3
movzx edi, word [esi + 0x1c]
movzx ecx, word [esi + 0x1e]
push dword [esi + 0x28]
lea ebx, [esi + 0x30]
push ebx
lea ebx, [esi + 0x40]
push ebx
lea ebx, [esi + 0x68]
push ebx
push edi
push ecx
lea ecx, [esi + 0x64]
push ecx
push dword [esi + 0x78]
push dword [esi + 0x7c]
push edx
push eax
push dword [esi + 0x74]
lea eax, [esi + 0x58]
push eax
lea eax, [esi + 0x5c]
push eax
push dword [esi + 0xc]
call fcn.0041f674
add esp, 0x3c
movzx eax, word [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x58]
mov edi, dword [esi + 8]
mov dword [esi + 0x2c], edi
mov edi, dword [esi + 0x5c]
movzx eax, ax
push eax
push dword [ebp + 0x14]
push edx
push edi
push dword [esi + 0xc]
push ecx
push dword [ebp + 8]
call fcn.0041bf30
add esp, 0x1c
mov eax, dword [esi + 8]
test eax, eax
je 0x417506
push eax
call fcn.00525b50
add esp, 4
test byte [esi + 0x30], 1
mov edi, dword [esi + 0x54]
je 0x41751a
push dword [esi + 0x38]
call fcn.0050f3dd
add esp, 4
test byte [esi + 0x40], 1
je 0x41752b
push dword [esi + 0x48]
call fcn.0050f3dd
add esp, 4
test byte [esi + 0x68], 1
je 0x41753c
push dword [esi + 0x70]
call fcn.0050f3dd
add esp, 4
mov ecx, dword [esi + 0x20]
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x417550
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x417560
push eax
call fcn.00525b50
add esp, 4
test edi, edi
je 0x41756d
push edi
call fcn.00525b50
add esp, 4
mov eax, dword [esi + 0x280]
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
mov dword [esi + 0x2c], 0
mov dword [esi + 0x288], 3
call fcn.0042126c
push ebp
sub esp, 0x3c
lea esi, [ebp - 0x28c]
mov ebp, dword [esi + 0x278]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4175d8
push eax
call fcn.00525b50
add esp, 4
add esp, 0x3c
pop ebp
ret