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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f8620
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [eax]
mov edi, ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov cx, word [eax + 8]
mov esi, dword [edi + 4]
cmp cx, 0x3ed
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x18], esi
jne 0x56b81d
mov ecx, dword [eax + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.005c3c94
push 0x7c
lea ecx, [esp + 0x14]
mov dword [esp + 0x7c], 0
call fcn.005c440d
cmp eax, 0xffffffff
lea edx, [esp + 0x24]
lea eax, [esp + 0x44]
push edx
push eax
push ecx
mov ecx, esp
je 0x56b764
lea edx, [esp + 0x1c]
mov dword [esp + 0x2c], esp
push edx
call fcn.005c3c94
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0xc]
push esi
push eax
push ecx
call fcn.0053f9a0
add esp, 0x18
mov dword [edi + 4], eax
test eax, eax
jne 0x56b77a
lea ecx, [esp + 0x10]
mov dword [edi + 4], esi
mov dword [esp + 0x78], 0xffffffff
call fcn.005c3f1f
fld qword [0x1ac1ac0]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [esp + 0x1c]
mov dword [esp + 0x2c], esp
push edx
call fcn.005c3c94
call fcn.0053f880
add esp, 0xc
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
cmp ebx, eax
jg 0x56b7e5
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x28]
cmp esi, eax
jg 0x56b7d8
mov ecx, dword [edi + 4]
lea eax, [esp + 0x2c]
push eax
push esi
push ebx
call fcn.004c6fc0
fld qword [esp + 0x2c]
fadd qword [esp + 0x34]
mov eax, dword [esp + 0x28]
inc esi
cmp esi, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
fstp qword [esp + 0x34]
fld qword [esp + 0x3c]
fadd qword [0x1acfb70]
fstp qword [esp + 0x3c]
jle 0x56b792
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
inc ebx
cmp ebx, ecx
jle 0x56b78e
mov esi, dword [esp + 0x18]
fld qword [esp + 0x34]
fdiv qword [esp + 0x3c]
lea ecx, [esp + 0x10]
mov dword [edi + 4], esi
mov dword [esp + 0x78], 0xffffffff
fstp qword [esp + 0x54]
call fcn.005c3f1f
fld qword [esp + 0x54]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp cx, 0x3ec
je 0x56b85f
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, edi
call fcn.005680c0
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
call fcn.005c3f1f
fld qword [esp + 0x54]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [eax + 0x1c]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
mov edx, dword [ecx + 8]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
mov dword [esp + 0x20], ebx
fstp qword [esp + 0x3c]
fld qword [0x1ac1ac0]
fcomp qword [esp + 0x3c]
fnstsw ax
test ah, 1
je 0x56b9f7
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
cmp word [eax + 8], 0x3ed
jne 0x56b9c0
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x10]
push edx
call fcn.005c3c94
push 0x7c
lea ecx, [esp + 0x14]
mov dword [esp + 0x7c], 1
call fcn.005c440d
cmp eax, 0xffffffff
je 0x56b910
lea eax, [esp + 0x44]
lea ecx, [esp + 0x54]
push eax
push ecx
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.005c3c94
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0xc]
push esi
push eax
push ecx
call fcn.0053f9a0
add esp, 0x18
mov dword [edi + 4], eax
test eax, eax
je 0x56ba1f
jmp 0x56b933
lea edx, [esp + 0x44]
lea eax, [esp + 0x54]
push edx
push eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.005c3c94
call fcn.0053f880
add esp, 0xc
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
cmp ebx, eax
jg 0x56b995
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x48]
cmp esi, eax
jg 0x56b98c
mov ecx, dword [edi + 4]
lea eax, [esp + 0x2c]
push eax
push esi
push ebx
call fcn.004c6fc0
mov eax, dword [esp + 0x1c]
fld qword [esp + 0x2c]
fadd qword [esp + 0x34]
inc eax
inc esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
cmp esi, eax
mov dword [esp + 0x2c], 0
fstp qword [esp + 0x34]
mov dword [esp + 0x30], 0
jle 0x56b94b
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
inc ebx
cmp ebx, ecx
jle 0x56b947
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
inc eax
mov dword [edi + 4], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x78], 0xffffffff
call fcn.005c3f1f
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
jmp 0x56b9e0
lea edx, [esp + 0x60]
push eax
push edx
mov ecx, edi
call fcn.005680c0
fld qword [esp + 0x34]
fadd qword [eax]
lea ecx, [esp + 0x68]
fstp qword [esp + 0x34]
call fcn.005c3f1f
inc dword [esp + 0x14]
fild dword [esp + 0x14]
fcomp qword [esp + 0x3c]
fnstsw ax
test ah, 1
jne 0x56b894
sub ebx, dword [esp + 0x20]
mov dword [esp + 0x20], ebx
fild dword [esp + 0x20]
fadd qword [esp + 0x3c]
fdivr qword [esp + 0x34]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x10]
mov dword [edi + 4], esi
mov dword [esp + 0x78], 0xffffffff
call fcn.005c3f1f
mov ecx, dword [esp + 0x70]
pop edi
fld qword [0x1ac1ac0]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4