Function at 0x52ac10
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5df8c8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x90]
mov ebp, ecx
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebp
mov dword [esp + 0x24], eax
call fcn.004f26a0
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x80], 0
jne 0x52aca2
mov edx, dword [esp + 0x48]
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x40], 8
jb 0x52aebe
mov eax, dword [esp + 0x2c]
push eax
jmp 0x52aeb6
mov eax, dword [esi + 0xc]
sub eax, dword [esp + 0x94]
mov ebx, dword [esi]
mov edi, dword [esi + 8]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
add ebx, 2
mov dword [esp + 0x14], eax
sub edi, 4
fild dword [esp + 0x14]
fadd qword [0x603b00]
call fcn.005895e0
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xdc]
mov ecx, eax
shr ecx, 6
mov dword [esp + 0x14], 0
test cl, 1
je 0x52ad8d
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 2
push edi
push eax
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x64]
push eax
call fcn.004cda60
add esp, 0x18
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 1
cmp ecx, eax
je 0x52ad33
push 0xffffffffffffffff
push 0
push eax
call fcn.00402610
mov edx, dword [esp + 0x6c]
push edx
mov byte [esp + 0x84], 0
call fcn.005844d1
mov edi, 8
add esp, 4
cmp dword [esp + 0x64], edi
jb 0x52ad60
mov eax, dword [esp + 0x50]
push eax
call fcn.00584768
add esp, 4
mov esi, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebp
call fcn.004f26a0
mov ecx, dword [eax + 0x10]
mov byte [esp + 0x80], 2
cmp dword [esp + 0x3c], ecx
je 0x52ae26
xor al, al
jmp 0x52ae35
mov edx, eax
shr edx, 7
test dl, 1
je 0x52ada4
mov dword [esp + 0x14], 2
jmp 0x52acfa
mov ecx, eax
shr ecx, 8
test cl, 1
je 0x52adbb
mov dword [esp + 0x14], 3
jmp 0x52acfa
shr eax, 5
test al, 1
je 0x52adff
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0xb8]
push 0
push 0
push 0
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x40]
push edx
call eax
cmp dword [esp + 0x20], edi
mov eax, dword [esp + 0x1c]
setg cl
movzx edx, cl
push edx
push eax
mov ecx, ebp
call fcn.004f2130
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc8]
push eax
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
call edx
mov edi, 8
jmp 0x52ae6e
push eax
lea ecx, [esp + 0x30]
call fcn.00420850
test eax, eax
sete al
test al, al
sete dl
movzx eax, dl
push eax
push esi
mov ecx, ebp
call fcn.004f2130
mov ecx, dword [esp + 0x6c]
push ecx
mov byte [esp + 0x84], 0
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x64], edi
jb 0x52ae6e
mov edx, dword [esp + 0x50]
push edx
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18c]
push edx
push ebx
lea edx, [esp + 0x34]
push edx
call eax
cmp dword [esp + 0x14], 0
jne 0x52ae9e
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0xd8]
call eax
mov ecx, dword [esp + 0x48]
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x40], edi
jb 0x52aebe
mov edx, dword [esp + 0x2c]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00585b7b
add esp, 0x70
ret 0x10