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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52eb60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
cmp eax, ebx
push edi
mov esi, ecx
je 0x47459a
cmp byte [eax], 0
je 0x47459a
mov dword [esp + 0x10], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x30], eax
lea eax, [esi + 0x14]
xor edi, edi
cmp ecx, ebx
mov byte [esp + 0x7c], 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ebx
je 0x474080
push eax
call dword [0x535420]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx]
mov dword [esp + 0x3c], eax
mov dword [eax + 0x58], esi
lea eax, [esi + 0x38]
push eax
call dword [0x535368]
cmp dword [esi + 0x30], ebx
jne 0x474100
mov ecx, esi
call fcn.004733f0
mov esi, dword [0x535434]
push ebx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x84], 0
call esi
cmp eax, ebx
je 0x4740c9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x84], 0xffffffff
call esi
cmp eax, ebx
je 0x4740e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004001
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp edi, ebx
je 0x47411f
cmp edi, 0x11
jne 0x4744e1
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, 2
mov dword [esp + 0x2c], eax
jge 0x4744e1
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0
je 0x4744e1
mov eax, dword [esi + 0x50]
fld qword [esi + 0x48]
mov edx, dword [esi + 0x40]
fstp qword [esp + 0x60]
fld qword [esi + 0x58]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
fstp qword [esp + 0x68]
mov eax, dword [esi + 0x64]
mov dword [esp + 0x54], eax
movsx eax, word [esi + 0x34]
mov dword [esp + 0x48], edx
mov edx, dword [esi + 0x60]
mov dword [esp + 0x50], edx
cdq
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], edx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
push ecx
mov ecx, dword [esp + 0x40]
push ecx
mov dword [esp + 0x28], ebx
call fcn.0048b360
mov edi, eax
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp edi, ebx
je 0x4741a8
cmp eax, ebx
je 0x4744d7
push eax
call fcn.0048ad10
add esp, 4
jmp 0x4744d7
cmp eax, ebx
jne 0x4741b8
mov edx, dword [esp + 0x38]
mov dword [ebp + 8], edx
jmp 0x4744d7
push eax
call fcn.0048c420
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x14]
add esp, 4
cmp eax, ebx
je 0x474485
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x4741ec
lea ecx, [esp + 0x10]
call fcn.00473df0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
jmp 0x474200
lea ecx, [eax + 0x18]
call fcn.00473df0
mov ecx, dword [esp + 0x10]
add ecx, 0x18
push ecx
lea ecx, [esp + 0x14]
call fcn.004739c0
mov edx, dword [esp + 0x14]
push edx
call fcn.0048c570
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x34], ebx
je 0x47424a
xor edi, edi
test ebx, ebx
jle 0x47424a
mov eax, dword [esp + 0x14]
push edi
push eax
call fcn.0048c690
add esp, 4
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.004042b0
mov ecx, dword [esp + 0x14]
call fcn.0045b0e0
inc edi
cmp edi, ebx
jl 0x474222
lea ecx, [esp + 0x58]
push ecx
call dword [0x535368]
mov eax, dword [esp + 0x58]
mov edi, dword [esi + 0x38]
mov ecx, dword [esp + 0x5c]
mov edx, eax
sub edx, edi
mov edi, ecx
sbb edi, dword [esi + 0x3c]
add dword [esi + 0x60], edx
mov edx, dword [esi + 0x64]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0x10]
adc edx, edi
cmp eax, 0xffffffff
mov dword [esi + 0x3c], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x64], edx
mov dword [esp + 0x28], ecx
jne 0x474291
or eax, eax
mov dword [esp + 0x20], eax
jmp 0x474297
add eax, ecx
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x40]
xor edi, edi
cmp edx, 0x64
mov dword [esp + 0x24], edi
jne 0x4743ce
jmp 0x4742b3
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x20]
cmp edi, ecx
jl 0x4743b3
cmp eax, 0xffffffff
je 0x4742c8
cmp edi, eax
jge 0x4743b3
xor edi, edi
test ebx, ebx
jle 0x4743af
mov ecx, dword [esp + 0x14]
push edi
push ecx
call fcn.0048c670
add esp, 8
dec eax
cmp eax, 4
ja case.default.0x4742ea
jmp dword [eax*4 + 0x4745b0]
mov edx, dword [esp + 0x14]
push edi
push edx
call fcn.0048c630
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], eax
add esp, 8
lea eax, [esp + 0x40]
push eax
call fcn.00473880
jmp case.default.0x4742ea
mov ecx, dword [esp + 0x14]
push edi
push ecx
call fcn.0048c610
fstp qword [esp + 0x48]
mov ecx, dword [esp + 0x18]
add esp, 8
lea edx, [esp + 0x40]
push edx
call fcn.004738e0
jmp case.default.0x4742ea
mov eax, dword [esp + 0x14]
push edi
push eax
call fcn.0048c650
add esp, 8
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], eax
call fcn.004739f0
jmp case.default.0x4742ea
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
push edi
push edx
call fcn.0048c5f0
add esp, 8
push eax
mov eax, dword [esp + 0x18]
push edi
push eax
call fcn.0048c6f0
add esp, 8
push eax
mov ecx, ebx
call fcn.00473a40
test eax, eax
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x18], eax
jge case.default.0x4742ea
mov dword [ebp + 0x14], 0
jmp case.default.0x4742ea
mov ecx, dword [esp + 0x10]
push 0x576970
call fcn.00473940
inc edi
cmp edi, ebx
jl 0x4742d2
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
inc edi
push ecx
mov dword [esp + 0x28], edi
call fcn.0048c420
add esp, 4
cmp eax, 0x64
je 0x4742ac
cmp dword [esp + 0x28], edi
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0xffffffff
jle 0x4743e6
mov dword [esp + 0x28], edi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov dword [edx + 0x6c], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov dword [ecx + 0x68], edi
mov edx, dword [esi + 0x40]
sub edx, eax
mov eax, dword [esp + 0x10]
mov dword [eax + 0x70], edx
fld qword [esi + 0x48]
fsub qword [esp + 0x60]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
push 0
fstp qword [ecx + 0x78]
mov edx, dword [esi + 0x50]
mov eax, dword [esp + 0x14]
sub edx, ebx
mov dword [eax + 0x80], edx
fld qword [esi + 0x58]
fsub qword [esp + 0x6c]
mov ecx, dword [esp + 0x14]
push 0x3e8
fstp qword [ecx + 0x88]
mov edx, dword [esi + 0x60]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esi + 0x64]
sub edx, edi
sbb eax, ecx
push eax
push edx
call fcn.004bd660
mov ecx, dword [0x587ec4]
push ecx
mov ecx, dword [0x587ec0]
push ecx
push edx
push eax
call fcn.004bd5b0
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x90], eax
mov eax, dword [esp + 0x10]
mov dword [eax + 0x94], edx
xor ebx, ebx
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0048ad10
mov edi, eax
add esp, 4
cmp edi, 0x11
mov dword [esp + 0x14], ebx
je 0x4744d7
mov eax, dword [esp + 0x38]
movzx edx, byte [eax]
mov dword [esp + 0x2c], ebx
mov ebx, eax
push edx
mov dword [ebp + 8], ebx
call fcn.004bb735
add esp, 4
test eax, eax
je 0x4744d5
lea ebx, [ebx]
movzx eax, byte [ebx + 1]
inc ebx
push eax
call fcn.004bb735
add esp, 4
test eax, eax
jne 0x4744c0
mov dword [ebp + 8], ebx
xor ebx, ebx
cmp dword [esp + 0x18], ebx
jge 0x474100
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4744f2
push eax
call fcn.0048ad10
add esp, 4
cmp edi, ebx
je 0x47451e
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0048ac50
add esp, 4
cmp edi, eax
jne 0x47451e
mov edx, dword [esp + 0x30]
push edx
call fcn.0048abf0
push eax
call fcn.00473e50
add esp, 8
mov dword [esp + 0x18], eax
mov ecx, esi
call fcn.004733f0
mov edi, dword [esp + 0x18]
cmp edi, ebx
jne 0x474547
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x474547
mov ecx, dword [ebp + 0x14]
cmp ecx, ebx
je 0x474547
mov edx, dword [eax]
push ecx
push 0x562560
push eax
call dword [edx]
mov esi, dword [0x535434]
push ebx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x84], 0
call esi
cmp eax, ebx
je 0x474567
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x84], 0xffffffff
call esi
cmp eax, ebx
je 0x474584
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x74]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10