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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5e6458
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 4]
lea edx, [eax + eax + 2]
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x10]
cmp eax, ecx
jge 0x567205
sub eax, edx
mov ebx, eax
add edx, ecx
jmp 0x56720b
sub ecx, edx
mov ebx, ecx
add edx, eax
mov edi, dword [ebp + 0xc]
cmp edi, ebx
jl 0x567326
cmp edx, edi
jl 0x567326
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call fcn.004f1c10
fld qword [eax]
fst qword [esp + 0x64]
mov dword [esp + 0x30], 0
fld qword [eax + 8]
movzx eax, word [esi + 0x20]
fst qword [esp + 0x6c]
test al, 2
jne 0x567251
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x5672b5
mov esi, dword [esi + 0x1c]
fxch st(1)
lea ecx, [esp + 0x34]
fstp qword [esp + 0x54]
push ecx
push edi
fstp qword [esp + 0x64]
lea edx, [esp + 0x5c]
push esi
push edx
call fcn.00501180
add esp, 0x10
test eax, eax
je 0x567326
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, 2
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx + 4]
xor ecx, ecx
cmp eax, edi
sete cl
mov eax, ecx
lea ecx, [esi + 0xc]
mov dword [esp + 0x2c], ecx
cmp dword [ecx + 4], edi
jne 0x5672d4
or eax, 2
test eax, eax
jne 0x567549
mov eax, dword [esi + 0x1c]
fxch st(1)
lea edx, [esp + 0x34]
fstp qword [esp + 0x54]
push edx
push edi
fstp qword [esp + 0x64]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00501180
add esp, 0x10
test eax, eax
jne 0x567340
fldz
fld qword [esp + 0x6c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
je 0x5677ae
fsub qword [0x5eede8]
call fcn.005bf3a0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 2
call fcn.00455e10
test eax, eax
je 0x5673e3
mov eax, dword [ebx]
cmp dword [esp + 0x34], eax
jne 0x56737f
mov eax, dword [ebx + 4]
push eax
push edi
call fcn.004fbe40
add esp, 8
test eax, eax
je 0x56737f
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
cmp ecx, dword [eax]
jne 0x5673a6
mov eax, dword [eax + 4]
push eax
push edi
call fcn.004fbe40
add esp, 8
test eax, eax
je 0x5673a6
mov dword [esp + 0x28], 1
jmp 0x5673ad
cmp dword [esp + 0x28], 1
jne 0x5673e3
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
mov ecx, dword [ebx + 4]
cmp ecx, eax
mov edx, dword [esp + 0x38]
jle 0x5673d1
cmp edx, ecx
jg 0x5673c7
cmp edx, eax
jge 0x5673cf
mov dword [esp + 0x28], 0
cmp ecx, eax
jge 0x5673e3
cmp edx, eax
jg 0x5673db
cmp edx, ecx
jge 0x5673e3
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x56752d
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x34]
mov dword [esp + 0x28], eax
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x84]
fstp qword [esp + 0x54]
fild dword [esp + 0x24]
fstp qword [esp + 0x5c]
call fcn.005083d0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x4c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x104], 0
call edx
mov ebx, dword [eax + 4]
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
call edx
mov eax, dword [eax]
mov dx, word [esi + 0x20]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x80], ebx
and dx, 0xfff9
mov ebx, 1
cmp dx, bx
setne al
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0x4c]
push eax
push ecx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x88]
push ecx
push edx
lea ecx, [esp + 0x98]
call fcn.00508a20
mov eax, dword [edi]
cmp eax, dword [esi + 4]
jne 0x5674c1
mov ecx, dword [edi + 4]
cmp ecx, dword [esi + 8]
je 0x5674f0
cmp eax, dword [esi + 0xc]
jne 0x5674ce
mov edx, dword [edi + 4]
cmp edx, dword [esi + 0x10]
je 0x5674f0
fld qword [esp + 0x5c]
sub esp, 0x10
fstp qword [esp + 8]
lea ecx, [esp + 0x94]
fld qword [esp + 0x64]
fstp qword [esp]
call fcn.00510820
cmp eax, ebx
jne 0x567509
mov eax, dword [esp + 0x2c]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
add dword [esp + 0x30], ebx
mov dword [eax], ecx
mov dword [eax + 4], edx
add eax, 8
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x84]
mov dword [esp + 0x100], 0xffffffff
call fcn.00508430
add edi, 8
sub dword [esp + 0x28], ebx
jne 0x5673fe
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
fstp st(0)
mov ecx, esi
fstp st(0)
cmp eax, 1
jne 0x567734
push 0x64
lea eax, [esp + 0x78]
push eax
call fcn.004f1fd0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [esi + 0x10]
mov ebx, dword [eax + 4]
sub edx, edi
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
mov edx, dword [esi + 8]
cmp ecx, edx
mov dword [esp + 0x2c], 0
fst qword [esp + 0x4c]
mov dword [esp + 0x44], edx
jle 0x5675a5
fild dword [esp + 0x44]
fld qword [esp + 0x6c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x5675a9
jmp 0x5675ba
fld qword [esp + 0x6c]
cmp ecx, edx
jge 0x5675c2
fild dword [esp + 0x44]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x5675c2
mov dword [esp + 0x2c], 1
cmp ebx, edi
jne 0x567635
cmp edx, ebx
jne 0x567635
cmp dword [esp + 0x2c], 0
je 0x567635
push 0x64
fstp st(1)
lea eax, [esp + 0x78]
fstp st(0)
push eax
mov ecx, esi
call fcn.004f2070
fild dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0x10]
fsubr qword [esp + 0x6c]
mov dword [edx], ecx
fmul qword [esp + 0x4c]
fcomp qword [0x5eedc0]
fnstsw ax
test ah, 5
jp 0x567326
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
mov eax, 1
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
sub ebx, edi
mov dword [esp + 0x24], ebx
fild dword [esp + 0x24]
mov ebx, dword [ebp + 0x14]
fld st(0)
fmulp st(3)
fldz
fcom st(3)
fnstsw ax
fstp st(3)
test ah, 0x41
jne 0x567669
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [ebx], edx
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
mov dword [esp + 0x30], 1
mov ecx, dword [esi + 0x10]
sub ecx, edi
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
fmulp st(1)
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x567700
mov eax, dword [esi + 0x1c]
fld qword [esp + 0x64]
lea edx, [esp + 0x34]
fstp qword [esp + 0x54]
push edx
push edi
fstp qword [esp + 0x64]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00501180
add esp, 0x10
test eax, eax
je 0x567702
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x34]
push ecx
push edi
call fcn.004fe860
fstp qword [esp + 0x54]
lea edx, [esp + 0x44]
push edx
push edi
call fcn.004fe860
fcomp qword [esp + 0x5c]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x5676e6
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [ebx + eax*8], edx
mov dword [ebx + eax*8 + 4], ecx
inc eax
mov dword [esp + 0x30], eax
jmp 0x567702
fstp st(0)
push 0x64
lea edx, [esp + 0x78]
push edx
mov ecx, esi
call fcn.004f2070
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 2
jne 0x5678df
push 0x64
lea edx, [esp + 0x78]
push edx
call fcn.004f2070
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov eax, dword [eax + 4]
xor ebx, ebx
cmp ecx, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], edx
jle 0x567775
fild dword [esp + 0x44]
fld qword [esp + 0x6c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x567779
jmp 0x56778a
fld qword [esp + 0x6c]
cmp ecx, edx
jge 0x56778f
fild dword [esp + 0x44]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x56778f
mov ebx, 1
mov eax, dword [esp + 0x24]
cmp eax, edi
jne 0x5677b9
cmp edx, eax
jne 0x5677b9
test ebx, ebx
je 0x5677b9
fldz
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x567316
fadd qword [0x5eede8]
jmp 0x56731c
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + 4]
sub ecx, edi
sub eax, edi
mov dword [esp + 0x44], ecx
fild dword [esp + 0x44]
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
fmulp st(1)
fcomp qword [0x5eedc0]
fnstsw ax
test ah, 5
jp 0x5678b8
mov esi, dword [esi + 0x1c]
fld qword [esp + 0x64]
lea edx, [esp + 0x34]
fstp qword [esp + 0x54]
push edx
push edi
fstp qword [esp + 0x64]
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.00501180
add esp, 0x10
test eax, eax
je 0x5678ba
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x34]
push ecx
push esi
call fcn.004fe860
fstp qword [esp + 0x54]
lea edx, [esp + 0x44]
push edx
push esi
call fcn.004fe860
fcomp qword [esp + 0x5c]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x56787b
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x30], 1
mov dword [eax], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x30], 1
mov dword [eax], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
fstp st(0)
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea edx, [esp + 0x64]
push edx
call fcn.004f4250
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
sub eax, edi
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
mov eax, ecx
sub eax, edi
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmulp st(1)
fcomp qword [0x5eedc0]
fnstsw ax
test ah, 5
jp 0x56792d
mov esi, dword [ebx]
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov esi, dword [ebx + 4]
mov dword [eax + 4], esi
mov dword [esp + 0x30], 1
mov dword [edx], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10