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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x624a18
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
inc eax
lea ecx, [esi + 0xc]
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
mov eax, dword [esi + 8]
lea ebx, [esi + 4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ecx + 4]
fadd st(0), st(0)
cmp eax, ecx
mov dword [esp + 0x28], ebx
jge 0x547ff9
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
mov dword [esp + 0x24], ecx
jmp 0x548005
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
mov dword [esp + 0x24], eax
fsub st(1)
fild dword [esp + 0x24]
faddp st(2)
fild dword [ebp + 0xc]
fst qword [esp + 0x4c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x548763
fcompp
fnstsw ax
test ah, 0x41
je 0x548767
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call fcn.0051d930
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 0x548063
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x5480ca
mov edx, dword [ebp + 0xc]
fxch st(1)
mov esi, dword [esi + 0x1c]
fstp qword [esp + 0x54]
lea ecx, [esp + 0x34]
push ecx
fstp qword [esp + 0x60]
push edx
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.0052e060
add esp, 0x10
test eax, eax
je 0x548767
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 eax, dword [ebx + 4]
mov edi, dword [ebp + 0xc]
mov edx, dword [esp + 0x2c]
xor ecx, ecx
cmp eax, edi
sete cl
mov eax, ecx
cmp dword [edx + 4], edi
jne 0x5480e5
or eax, 2
test eax, eax
jne 0x548344
mov eax, dword [esi + 0x1c]
fxch st(1)
lea ecx, [esp + 0x34]
fstp qword [esp + 0x54]
push ecx
push edi
fstp qword [esp + 0x64]
push eax
lea edx, [esp + 0x60]
push edx
call fcn.0052e060
add esp, 0x10
test eax, eax
jne 0x54813c
fldz
fld qword [esp + 0x6c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
je 0x5485c2
fsub qword [0x634650]
call fcn.005fbb60
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x548767
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 2
call fcn.0040b230
test eax, eax
je 0x5481df
mov eax, dword [ebx]
cmp dword [esp + 0x34], eax
jne 0x54817b
mov eax, dword [ebx + 4]
push eax
push edi
call fcn.00524d40
add esp, 8
test eax, eax
je 0x54817b
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
cmp ecx, dword [eax]
jne 0x5481a2
mov eax, dword [eax + 4]
push eax
push edi
call fcn.00524d40
add esp, 8
test eax, eax
je 0x5481a2
mov dword [esp + 0x28], 1
jmp 0x5481a9
cmp dword [esp + 0x28], 1
jne 0x5481df
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
mov ecx, dword [ebx + 4]
cmp ecx, eax
mov edx, dword [esp + 0x38]
jle 0x5481cd
cmp edx, ecx
jg 0x5481c3
cmp edx, eax
jge 0x5481cb
mov dword [esp + 0x28], 0
cmp ecx, eax
jge 0x5481df
cmp edx, eax
jg 0x5481d7
cmp edx, ecx
jge 0x5481df
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x548328
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.005331a0
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 + 0x7c]
push ecx
mov ecx, esi
call edx
mov eax, dword [eax]
mov dx, word [esi + 0x20]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x78], 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 + 0x80]
push ecx
push edx
lea ecx, [esp + 0x98]
call fcn.00533800
mov eax, dword [edi]
cmp eax, dword [esi + 4]
jne 0x5482ba
mov ecx, dword [edi + 4]
cmp ecx, dword [esi + 8]
je 0x5482eb
cmp eax, dword [esi + 0xc]
jne 0x5482c7
mov edx, dword [edi + 4]
cmp edx, dword [esi + 0x10]
je 0x5482eb
fld qword [esp + 0x5c]
push 0
sub esp, 0x10
fstp qword [esp + 8]
lea ecx, [esp + 0x98]
fld qword [esp + 0x68]
fstp qword [esp]
call fcn.0053cb20
cmp eax, ebx
jne 0x548304
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.00533200
add edi, 8
sub dword [esp + 0x28], ebx
jne 0x5481fa
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 0x548539
push 0x64
lea eax, [esp + 0x80]
push eax
call fcn.0051dde0
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 + 0x74]
mov dword [esp + 0x44], edx
jle 0x5483a3
fild dword [esp + 0x44]
fld qword [esp + 0x6c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x5483a7
jmp 0x5483b8
fld qword [esp + 0x6c]
cmp ecx, edx
jge 0x5483c0
fild dword [esp + 0x44]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x5483c0
mov dword [esp + 0x2c], 1
cmp ebx, edi
jne 0x548437
cmp edx, ebx
jne 0x548437
cmp dword [esp + 0x2c], 0
je 0x548437
push 0x64
fstp st(1)
lea eax, [esp + 0x80]
fstp st(0)
push eax
mov ecx, esi
call fcn.0051de80
fld qword [esp + 0x6c]
fsub qword [esp + 0x4c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
fmul qword [esp + 0x74]
fcomp qword [0x6345d0]
fnstsw ax
test ah, 5
jp 0x548767
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 0x54846b
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 0x548502
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.0052e060
add esp, 0x10
test eax, eax
je 0x548504
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x34]
push ecx
push edi
call fcn.0052b0e0
fstp qword [esp + 0x54]
lea edx, [esp + 0x44]
push edx
push edi
call fcn.0052b0e0
fcomp qword [esp + 0x5c]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x5484e8
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 0x548504
fstp st(0)
push 0x64
lea edx, [esp + 0x80]
push edx
mov ecx, esi
call fcn.0051de80
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 0x5486f9
push 0x64
lea edx, [esp + 0x80]
push edx
call fcn.0051de80
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 8]
cmp ecx, edx
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x44], edx
jle 0x548583
fild dword [esp + 0x44]
fld qword [esp + 0x6c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x548587
jmp 0x548598
fld qword [esp + 0x6c]
cmp ecx, edx
jge 0x5485a0
fild dword [esp + 0x44]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x5485a0
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x24]
cmp eax, edi
jne 0x5485d7
cmp edx, eax
jne 0x5485d7
cmp dword [esp + 0x28], 0
je 0x5485d7
fldz
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x548127
fadd qword [0x634650]
call fcn.005fbb60
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x548767
mov edx, dword [ebx + 4]
sub edx, edi
sub eax, edi
mov dword [esp + 0x44], edx
fild dword [esp + 0x44]
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
fmulp st(1)
fcomp qword [0x6345d0]
fnstsw ax
test ah, 5
jp 0x5486d2
mov esi, dword [esi + 0x1c]
fld qword [esp + 0x64]
lea eax, [esp + 0x34]
fstp qword [esp + 0x54]
push eax
push edi
fstp qword [esp + 0x64]
lea ecx, [esp + 0x5c]
push esi
push ecx
call fcn.0052e060
add esp, 0x10
test eax, eax
je 0x5486d4
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x34]
push edx
push esi
call fcn.0052b0e0
fstp qword [esp + 0x54]
lea eax, [esp + 0x44]
push eax
push esi
call fcn.0052b0e0
fcomp qword [esp + 0x5c]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x548695
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [eax], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x30], 1
mov eax, dword [esp + 0x30]
mov dword [ecx], edx
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], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x30], 1
mov eax, dword [esp + 0x30]
mov dword [ecx], edx
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, dword [ebp + 0x10]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov dword [ecx], edx
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 eax, [esp + 0x64]
push eax
call fcn.005204b0
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 [0x6345d0]
fnstsw ax
test ah, 5
jp 0x548747
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
fstp st(1)
fstp st(0)
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