Function at 0x428c60
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x50dfd5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00420110
mov dword [esi], 0x525838
mov dword [esi + 0x20], 0x525824
mov byte [esi + 0x79], 1
mov eax, dword [0x55b9cc]
mov ecx, dword [eax + 0xca0]
xor ebx, ebx
push 0x210
mov dword [esp + 0x34], ebx
mov dword [esi + 0x8c], ecx
call fcn.004fd765
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, ebx
mov byte [esp + 0x30], 1
je 0x428d31
mov edx, dword [0x55b9cc]
mov eax, dword [edx + 0xc7c]
push 0xffffffffffffffff
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Career_Medals
call fcn.00402110
mov ecx, dword [0x55cd0c]
mov edx, dword [ecx + 0x868]
mov eax, dword [edx + 0x3c]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x32
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
sub esp, 0xc
mov ecx, ebx
mov eax, esp
mov dword [eax], ecx
fstp dword [esp + 0x38]
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
call fcn.00495860
jmp 0x428d33
xor eax, eax
mov edx, dword [eax + 0x1f8]
or edx, 4
push eax
mov ecx, esi
mov byte [esp + 0x34], bl
mov dword [eax + 0x1f8], edx
call fcn.00403010
push 0x1f0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x30], 2
je 0x428dbe
mov ecx, dword [0x55b9cc]
mov edx, dword [ecx + 0x3a4]
imul edx, edx, 0xe0
mov ecx, dword [edx + ecx + 0x46c]
push ecx
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x2c], 0x42f00000
mov ecx, dword [esp + 0x2c]
mov dword [edx], ecx
mov dword [esp + 0x30], 0x42960000
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], ecx
push 0xa
mov ecx, eax
call fcn.0047afb0
jmp 0x428dc0
xor eax, eax
push eax
mov ecx, esi
mov byte [esp + 0x34], bl
call fcn.00403010
push 0x1f0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x30], 3
je 0x428e3d
mov ecx, dword [0x55b9cc]
mov edx, dword [ecx + 0x3a4]
inc edx
imul edx, edx, 0xe0
mov ecx, dword [edx + ecx + 0x390]
push ecx
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x2c], 0xc2f00000
mov ecx, dword [esp + 0x2c]
mov dword [edx], ecx
mov dword [esp + 0x30], 0x42960000
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], ecx
push 0xb
mov ecx, eax
call fcn.0047afb0
jmp 0x428e3f
xor eax, eax
push eax
mov ecx, esi
mov byte [esp + 0x34], bl
call fcn.00403010
push 0x1f0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x30], 4
je 0x428ebb
mov ecx, dword [0x55b9cc]
mov edx, dword [ecx + 0x3a4]
imul edx, edx, 0xe0
mov ecx, dword [edx + ecx + 0x474]
push ecx
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x2c]
mov dword [edx], ecx
mov dword [esp + 0x30], 0x42f00000
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], ecx
push 0xc
mov ecx, eax
call fcn.0047afb0
jmp 0x428ebd
xor eax, eax
push eax
mov ecx, esi
mov byte [esp + 0x34], bl
call fcn.00403010
push 0x1f0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x30], 5
je 0x428f38
mov ecx, dword [0x55b9cc]
mov edx, dword [ecx + 0x3a4]
imul edx, edx, 0xe0
mov ecx, dword [edx + ecx + 0x444]
push ecx
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x2c], 0xc3a00000
mov ecx, dword [esp + 0x2c]
mov dword [edx], ecx
mov dword [esp + 0x30], 0xc2c80000
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], ecx
push ebx
mov ecx, eax
call fcn.0047afb0
jmp 0x428f3a
xor eax, eax
push eax
mov ecx, esi
mov byte [esp + 0x34], bl
call fcn.00403010
push 0x1f0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x30], 6
je 0x428fb6
mov ecx, dword [0x55b9cc]
mov edx, dword [ecx + 0x3a4]
imul edx, edx, 0xe0
mov ecx, dword [edx + ecx + 0x448]
push ecx
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x2c], 0xc37a0000
mov ecx, dword [esp + 0x2c]
mov dword [edx], ecx
mov dword [esp + 0x30], 0xc2c80000
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], ecx
push 1
mov ecx, eax
call fcn.0047afb0
jmp 0x428fb8
xor eax, eax
push eax
mov ecx, esi
mov byte [esp + 0x34], bl
call fcn.00403010
push 0x1f0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x30], 7
je 0x429034
mov ecx, dword [0x55b9cc]
mov edx, dword [ecx + 0x3a4]
imul edx, edx, 0xe0
mov ecx, dword [edx + ecx + 0x44c]
push ecx
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x2c]
mov dword [edx], ecx
mov dword [esp + 0x30], 0xc2700000
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], ecx
push 2
mov ecx, eax
call fcn.0047afb0
jmp 0x429036
xor eax, eax
push eax
mov ecx, esi
mov byte [esp + 0x34], bl
call fcn.00403010
push 0x1f0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x30], 8
je 0x4290b2
mov ecx, dword [0x55b9cc]
mov edx, dword [ecx + 0x3a4]
imul edx, edx, 0xe0
mov ecx, dword [edx + ecx + 0x450]
push ecx
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x2c], 0x438c0000
mov ecx, dword [esp + 0x2c]
mov dword [edx], ecx
mov dword [esp + 0x30], 0xc3200000
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], ecx
push 3
mov ecx, eax
call fcn.0047afb0
jmp 0x4290b4
xor eax, eax
push eax
mov ecx, esi
mov byte [esp + 0x34], bl
call fcn.00403010
push 0x1f0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x30], 9
je 0x429130
mov ecx, dword [0x55b9cc]
mov edx, dword [ecx + 0x3a4]
imul edx, edx, 0xe0
mov ecx, dword [edx + ecx + 0x454]
push ecx
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x2c], 0xc3820000
mov ecx, dword [esp + 0x2c]
mov dword [edx], ecx
mov dword [esp + 0x30], 0x42480000
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], ecx
push 4
mov ecx, eax
call fcn.0047afb0
jmp 0x429132
xor eax, eax
push eax
mov ecx, esi
mov byte [esp + 0x34], bl
call fcn.00403010
push 0x1f0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x30], 0xa
je 0x4291ae
mov ecx, dword [0x55b9cc]
mov edx, dword [ecx + 0x3a4]
imul edx, edx, 0xe0
mov ecx, dword [edx + ecx + 0x458]
push ecx
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x2c], 0x43898000
mov ecx, dword [esp + 0x2c]
mov dword [edx], ecx
mov dword [esp + 0x30], 0x41f00000
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], ecx
push 5
mov ecx, eax
call fcn.0047afb0
jmp 0x4291b0
xor eax, eax
push eax
mov ecx, esi
mov byte [esp + 0x34], bl
call fcn.00403010
push 0x1f0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x30], 0xb
je 0x42922c
mov ecx, dword [0x55b9cc]
mov edx, dword [ecx + 0x3a4]
imul edx, edx, 0xe0
mov ecx, dword [edx + ecx + 0x45c]
push ecx
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x2c], 0x43870000
mov ecx, dword [esp + 0x2c]
mov dword [edx], ecx
mov dword [esp + 0x30], 0x43480000
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], ecx
push 6
mov ecx, eax
call fcn.0047afb0
jmp 0x42922e
xor eax, eax
push eax
mov ecx, esi
mov byte [esp + 0x34], bl
call fcn.00403010
push 0x1f0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x30], 0xc
je 0x4292aa
mov ecx, dword [0x55b9cc]
mov edx, dword [ecx + 0x3a4]
imul edx, edx, 0xe0
mov ecx, dword [edx + ecx + 0x460]
push ecx
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x2c], 0xc3820000
mov ecx, dword [esp + 0x2c]
mov dword [edx], ecx
mov dword [esp + 0x30], 0x43480000
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], ecx
push 7
mov ecx, eax
call fcn.0047afb0
jmp 0x4292ac
xor eax, eax
push eax
mov ecx, esi
mov byte [esp + 0x34], bl
call fcn.00403010
push 0x1f0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x30], 0xd
je 0x429328
mov ecx, dword [0x55b9cc]
mov edx, dword [ecx + 0x3a4]
imul edx, edx, 0xe0
mov ecx, dword [edx + ecx + 0x464]
push ecx
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x2c], 0x43020000
mov ecx, dword [esp + 0x2c]
mov dword [edx], ecx
mov dword [esp + 0x30], 0xc2e60000
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], ecx
push 8
mov ecx, eax
call fcn.0047afb0
jmp 0x42932a
xor eax, eax
push eax
mov ecx, esi
mov byte [esp + 0x34], bl
call fcn.00403010
push 0x1f0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x30], 0xe
je 0x4293a6
mov ecx, dword [0x55b9cc]
mov edx, dword [ecx + 0x3a4]
imul edx, edx, 0xe0
mov ecx, dword [edx + ecx + 0x468]
push ecx
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x2c], 0xc3020000
mov ecx, dword [esp + 0x2c]
mov dword [edx], ecx
mov dword [esp + 0x30], 0xc2e60000
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], ecx
push 9
mov ecx, eax
call fcn.0047afb0
jmp 0x4293a8
xor eax, eax
push eax
mov ecx, esi
mov byte [esp + 0x34], bl
call fcn.00403010
push 0x3e8
call fcn.004fd765
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, ebx
mov byte [esp + 0x30], 0xf
je 0x429486
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x5245f0
call fcn.00402110
mov edx, dword [0x55b9cc]
mov eax, dword [edx + 0xc68]
mov ecx, dword [eax + 0x644]
imul ecx, ecx, 0x644
mov eax, dword [ecx + eax + 0x24]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x3c], 0x10
call fcn.00402110
mov edx, dword [0x55cd0c]
mov ecx, dword [edx + 0x868]
mov eax, dword [ecx + 0x3c]
cdq
sub eax, edx
sar eax, 1
mov edx, 0x28
sub edx, eax
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x14], edx
cdq
fild dword [esp + 0x14]
sub eax, edx
sar eax, 1
mov ecx, 0x64
sub ecx, eax
mov dword [esp + 0x14], ecx
sub esp, 0xc
fild dword [esp + 0x20]
mov edx, esp
mov dword [esp + 0x38], 0
mov byte [esp + 0x44], 0xf
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov dword [edx], eax
mov eax, dword [esp + 0x38]
fstp dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
mov dword [edx + 4], ecx
mov ecx, edi
mov dword [edx + 8], eax
call fcn.00478970
mov edi, eax
jmp 0x429488
xor edi, edi
push 0x80
mov ecx, edi
mov byte [esp + 0x34], bl
call fcn.00479f80
push edi
mov ecx, esi
call fcn.00403010
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret