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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x61eb48
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [0x67dc50]
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 0x543555
sub eax, edx
mov ebx, eax
add edx, ecx
jmp 0x54355b
sub ecx, edx
mov ebx, ecx
add edx, eax
mov edi, dword [ebp + 0xc]
cmp edi, ebx
jl 0x543676
cmp edx, edi
jl 0x543676
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call fcn.00519cc0
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 0x5435a1
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x543605
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.0052a2e0
add esp, 0x10
test eax, eax
je 0x543676
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 0x543624
or eax, 2
test eax, eax
jne 0x54389b
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.0052a2e0
add esp, 0x10
test eax, eax
jne 0x543690
fldz
fld qword [esp + 0x6c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
je 0x543b00
fsub qword [0x62ebc8]
call fcn.005f6310
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.0040ad00
test eax, eax
je 0x543733
mov eax, dword [ebx]
cmp dword [esp + 0x34], eax
jne 0x5436cf
mov eax, dword [ebx + 4]
push eax
push edi
call fcn.00521090
add esp, 8
test eax, eax
je 0x5436cf
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
cmp ecx, dword [eax]
jne 0x5436f6
mov eax, dword [eax + 4]
push eax
push edi
call fcn.00521090
add esp, 8
test eax, eax
je 0x5436f6
mov dword [esp + 0x28], 1
jmp 0x5436fd
cmp dword [esp + 0x28], 1
jne 0x543733
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
mov ecx, dword [ebx + 4]
cmp ecx, eax
mov edx, dword [esp + 0x38]
jle 0x543721
cmp edx, ecx
jg 0x543717
cmp edx, eax
jge 0x54371f
mov dword [esp + 0x28], 0
cmp ecx, eax
jge 0x543733
cmp edx, eax
jg 0x54372b
cmp edx, ecx
jge 0x543733
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x54387f
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.0052f420
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.0052fa80
mov eax, dword [edi]
cmp eax, dword [esi + 4]
jne 0x543811
mov ecx, dword [edi + 4]
cmp ecx, dword [esi + 8]
je 0x543842
cmp eax, dword [esi + 0xc]
jne 0x54381e
mov edx, dword [edi + 4]
cmp edx, dword [esi + 0x10]
je 0x543842
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.00538da0
cmp eax, ebx
jne 0x54385b
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.0052f480
add edi, 8
sub dword [esp + 0x28], ebx
jne 0x54374e
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 0x543a86
push 0x64
lea eax, [esp + 0x78]
push eax
call fcn.0051a170
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 0x5438f7
fild dword [esp + 0x44]
fld qword [esp + 0x6c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x5438fb
jmp 0x54390c
fld qword [esp + 0x6c]
cmp ecx, edx
jge 0x543914
fild dword [esp + 0x44]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x543914
mov dword [esp + 0x2c], 1
cmp ebx, edi
jne 0x543987
cmp edx, ebx
jne 0x543987
cmp dword [esp + 0x2c], 0
je 0x543987
push 0x64
fstp st(1)
lea eax, [esp + 0x78]
fstp st(0)
push eax
mov ecx, esi
call fcn.0051a210
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 [0x62e308]
fnstsw ax
test ah, 5
jp 0x543676
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 0x5439bb
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 0x543a52
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.0052a2e0
add esp, 0x10
test eax, eax
je 0x543a54
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x34]
push ecx
push edi
call fcn.00527360
fstp qword [esp + 0x54]
lea edx, [esp + 0x44]
push edx
push edi
call fcn.00527360
fcomp qword [esp + 0x5c]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x543a38
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 0x543a54
fstp st(0)
push 0x64
lea edx, [esp + 0x78]
push edx
mov ecx, esi
call fcn.0051a210
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 0x543c31
push 0x64
lea edx, [esp + 0x78]
push edx
call fcn.0051a210
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 0x543ac7
fild dword [esp + 0x44]
fld qword [esp + 0x6c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x543acb
jmp 0x543adc
fld qword [esp + 0x6c]
cmp ecx, edx
jge 0x543ae1
fild dword [esp + 0x44]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x543ae1
mov ebx, 1
mov eax, dword [esp + 0x24]
cmp eax, edi
jne 0x543b0b
cmp edx, eax
jne 0x543b0b
test ebx, ebx
je 0x543b0b
fldz
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x543666
fadd qword [0x62ebc8]
jmp 0x54366c
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 [0x62e308]
fnstsw ax
test ah, 5
jp 0x543c0a
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.0052a2e0
add esp, 0x10
test eax, eax
je 0x543c0c
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x34]
push ecx
push esi
call fcn.00527360
fstp qword [esp + 0x54]
lea edx, [esp + 0x44]
push edx
push esi
call fcn.00527360
fcomp qword [esp + 0x5c]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x543bcd
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.0051c840
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 [0x62e308]
fnstsw ax
test ah, 5
jp 0x543c7f
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