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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x70cef2
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x78b624]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x78b624]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00464d50
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x1c]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x1070]
xor ebx, ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
add edx, eax
mov eax, dword [esi + 0x20]
fstp dword [esp + 0x50]
add eax, ecx
fild dword [esp + 0x14]
mov ecx, dword [0x7a7ad8]
mov dword [esp + 0x14], edx
push ebx
fstp dword [esp + 0x58]
push 1
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
push 8
lea eax, [esp + 0x5c]
fstp dword [esp + 0x68]
push eax
fild dword [esp + 0x24]
push 1
fstp dword [esp + 0x74]
fldz
fst dword [esp + 0x6c]
fstp dword [esp + 0x78]
mov edx, dword [ecx]
mov edx, dword [edx + 0x60]
call edx
mov ecx, dword [esi + 0x1c]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x107c]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
add ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [0x79a198]
fstp dword [esp + 0x30]
xor edi, edi
cmp ecx, ebx
fild dword [esi + 0x28]
mov dword [esp + 0x4c], ebx
fstp dword [esp + 0x34]
fild dword [esp + 0x14]
fstp dword [esp + 0x3c]
fld dword [esp + 0x34]
fstp dword [esp + 0x40]
fldz
fst dword [esp + 0x38]
fstp dword [esp + 0x44]
jl 0x477481
mov ecx, dword [0x7a7ad8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x60]
push ebx
push 1
push 1
lea eax, [esp + 0x3c]
push eax
push 1
call edx
fild dword [esi + 0x106c]
mov ecx, dword [0x79a198]
add edi, 1
cmp edi, ecx
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp + 0x40]
jle 0x477445
fild dword [esi + 0x24]
mov edx, dword [esi + 0x28]
mov edi, dword [esi + 0x20]
mov eax, dword [0x79a194]
fstp dword [esp + 0x30]
mov dword [esp + 0x14], edx
fld dword [esp + 0x30]
add edi, edx
cmp eax, ebx
fstp dword [esp + 0x3c]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edi
fstp dword [esp + 0x34]
fild dword [esp + 0x14]
fstp dword [esp + 0x40]
jl 0x4774ff
lea edi, [eax + 1]
lea esp, [esp]
mov ecx, dword [0x7a7ad8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x60]
push ebx
push 1
push 1
lea edx, [esp + 0x3c]
push edx
push 1
call eax
fild dword [esi + 0x1068]
sub edi, 1
fadd dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp + 0x3c]
jne 0x4774c0
mov ecx, dword [0x79a198]
mov eax, dword [0x79a194]
mov edx, 1
mov word [esp + 0x8a], dx
mov word [esp + 0x88], dx
mov edx, dword [esi + 0x1060]
add edx, dword [esi + 0x24]
mov dword [esp + 0x6c], eax
imul eax, ecx
cmp byte [0x79a190], bl
mov byte [esp + 0xd8], 6
mov dword [esp + 0x70], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x94], 0x64
mov dword [esp + 0x98], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x80], ebx
mov word [esp + 0x7e], 2
mov word [esp + 0x7c], bx
mov dword [esp + 0x78], 0xffff8001
mov dword [esp + 0x9c], edx
je 0x4775b7
movsx edi, word [esi + 0x108c]
mov edx, 2
sub edx, eax
imul edx, edi
add edx, dword [0x79a18c]
lea edi, [eax - 2]
cmp edx, edi
mov dword [esp + 0x24], edx
jle 0x4775a7
mov dword [esp + 0x24], eax
movsx eax, word [esi + 0x108c]
imul eax, edi
mov dword [esp + 0x1c], eax
jmp 0x4775cd
mov edx, dword [0x79a18c]
cmp eax, edx
mov dword [esp + 0x24], eax
jle 0x4775c9
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], ebx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 2
jmp 0x4775e0
mov edi, dword [esi + 0x28]
add edi, dword [esi + 0x1064]
cmp ecx, ebx
mov dword [esp + 0x74], edi
mov dword [esp + 0x28], ebx
jle 0x47788b
lea esp, [esp]
cmp dword [esp + 0x6c], ebx
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x2c], ebx
jle 0x47786e
mov ecx, dword [esp + 0x1c]
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, ebx
cmp edx, dword [esp + 0x24]
jge 0x477862
cmp byte [0x79a190], 0
je 0x477792
cmp edx, 0x3a
jne 0x477659
add eax, dword [esi + 0x1068]
mov dword [esp + 0x18], 0x3b
mov dword [esp + 0x70], eax
jmp 0x477843
cmp edx, 0x3b
jne 0x477675
add eax, dword [esi + 0x1068]
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x70], eax
jmp 0x477843
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esi + 0x1080]
jne 0x477705
sub eax, dword [esi + 0x1060]
sub edi, dword [esi + 0x1064]
mov ecx, dword [esi + 0x106c]
mov edx, dword [esi + 0x1074]
add eax, 1
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
mov eax, dword [esi + 0x1068]
add edi, 1
mov dword [esp + 0x20], edi
fstp dword [esp + 0x50]
sub eax, 1
fild dword [esp + 0x20]
mov dword [esp + 0x20], eax
sub ecx, 1
push 0
fstp dword [esp + 0x58]
push 1
fild dword [esp + 0x28]
mov dword [esp + 0x28], ecx
mov ecx, dword [0x7a7ad8]
push 8
fadd dword [esp + 0x5c]
mov dword [esp + 0x74], edx
lea eax, [esp + 0x5c]
push eax
fstp dword [esp + 0x6c]
push 1
fild dword [esp + 0x34]
fadd dword [esp + 0x68]
fstp dword [esp + 0x74]
mov edx, dword [ecx]
mov edx, dword [edx + 0x60]
call edx
mov eax, dword [0x79a188]
mov cx, word [ebx + eax + 0x40]
mov word [esp + 0xd9], cx
lea ecx, [esp + 0xbc]
call dword [0x72a584]
lea edx, [esp + 0xbc]
push edx
lea eax, [esp + 0xdc]
push 2
push eax
mov dword [esp + 0xfc], 0
call dword [0x72aa50]
mov ecx, dword [0x7a7ad8]
mov edi, dword [ecx]
add esp, 0xc
push 0
push 0
push eax
lea ecx, [esp + 0xc8]
add edi, 0x20
call dword [0x72a58c]
mov ecx, dword [0x7a7ad8]
push eax
mov eax, dword [edi]
lea edx, [esp + 0x80]
push edx
push 0xc
call eax
mov ecx, dword [esi + 0x1068]
add dword [esp + 0x70], ecx
lea ecx, [esp + 0xbc]
jmp 0x47781a
mov dx, word [esp + 0x1c]
lea ecx, [esp + 0xa0]
mov word [esp + 0xd9], dx
call dword [0x72a584]
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0xdc]
push ecx
mov dword [esp + 0xf8], 1
call dword [0x72aa44]
mov edx, dword [0x7a7ad8]
mov eax, dword [esp + 0xbc]
mov edi, dword [edx]
add esp, 8
push 0
push 0
push eax
lea ecx, [esp + 0xac]
add edi, 0x20
call dword [0x72a58c]
mov edx, dword [edi]
push eax
lea ecx, [esp + 0x80]
push ecx
mov ecx, dword [0x7a7ad8]
push 0xc
call edx
mov eax, dword [esi + 0x1068]
add dword [esp + 0x70], eax
lea ecx, [esp + 0xa0]
mov eax, 1
add dword [esp + 0x1c], eax
add dword [esp + 0x18], eax
add ebx, 0x42
mov dword [esp + 0xf0], 0xffffffff
call dword [0x72a590]
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
add dword [esp + 0x2c], 1
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x18]
jl 0x477626
mov ecx, dword [0x79a198]
jmp 0x47786c
mov ecx, dword [0x79a198]
mov dword [esp + 0x28], ecx
xor ebx, ebx
mov eax, dword [esp + 0x28]
add edi, dword [esi + 0x106c]
add eax, 1
cmp eax, ecx
mov dword [esp + 0x74], edi
mov dword [esp + 0x28], eax
jl 0x477600
sub dword [esp + 0x14], 1
jne 0x4775e0
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.0069516a
mov esp, ebp
pop ebp
ret