Function at 0x701f50
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0xa5cbb8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0xcdc190]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x30]
push eax
call fcn.008afb70
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0x98]
push 1
mov ecx, esi
mov byte [esi + 0x195], 1
mov byte [esi + 0x196], 0
call eax
push str.__STATIC__
push str.Rank
mov ecx, esi
call fcn.00899b10
mov ecx, eax
call fcn.00899b10
push str.__PICTURE__
push str.Level
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.00899b10
mov ecx, eax
call fcn.00899b10
push str.__PICTURE__
push 0xac740c
mov ecx, esi
mov ebp, eax
call fcn.00899b10
mov ecx, eax
call fcn.00899b10
push str.__STATIC__
push str.Name
mov ecx, esi
mov ebx, eax
call fcn.00899b10
mov ecx, eax
call fcn.00899b10
push str.__STATIC__
push str.Value
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.00899b10
mov ecx, eax
call fcn.00899b10
mov edi, dword [esp + 0x34]
mov dword [esp + 0x30], eax
movzx eax, byte [edi + 0x26]
dec eax
xor esi, esi
cmp eax, 4
ja case.default.0x70203b
jmp dword [eax*4 + 0x7022ac]
mov esi, 5
jmp case.default.0x70203b
mov esi, 4
jmp case.default.0x70203b
mov esi, 3
jmp case.default.0x70203b
mov esi, 2
jmp case.default.0x70203b
mov esi, 1
call fcn.00626140
mov dword [esp + 0x34], eax
mov byte [eax], 0
mov ecx, dword [edi]
push 0
push 1
push 0
push ecx
lea edx, [esp + 0x44]
push 0xa90810
push edx
mov dword [esp + 0x40], 0
call fcn.00417090
mov ecx, dword [esp + 0x30]
add esp, 0xc
push eax
call fcn.0089d0e0
mov eax, dword [esp + 0x34]
push eax
mov dword [esp + 0x2c], 0xffffffff
call fcn.00626120
add esp, 4
push 0
push 1
push 0
lea ecx, [edi + 6]
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.0089d0e0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x1e8]
mov edx, dword [ebx]
mov edx, dword [edx + 0x28]
push 0
push 2
push str.Icon_Char
push ecx
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x1e8]
mov eax, dword [ebp]
mov eax, dword [eax + 0x28]
push 0
push 2
push str.CardBattleGrade
push edx
mov ecx, ebp
call eax
movzx eax, word [edi + 4]
dec eax
push eax
push eax
push 0
mov ecx, ebx
call fcn.00898b00
movzx eax, word [edi + 4]
dec eax
push eax
push eax
push 2
mov ecx, ebx
call fcn.00898b00
movzx eax, word [edi + 4]
dec eax
push eax
push eax
push 1
mov ecx, ebx
call fcn.00898b00
push esi
push esi
push 0
mov ecx, ebp
call fcn.00898b00
push esi
push esi
push 2
mov ecx, ebp
call fcn.00898b00
push esi
push esi
push 1
mov ecx, ebp
call fcn.00898b00
push str.pszTimes
push str.CardBattleRankUIParams
mov ecx, 0xdacba0
call fcn.008e2b00
push str.pszPoint
push str.CardBattleRankUIParams
mov ecx, 0xdacba0
mov ebx, eax
call fcn.008e2b00
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [ecx + 0x718]
test eax, eax
jne 0x7021ba
call fcn.00626140
mov esi, eax
mov dword [esp + 0x34], esi
mov byte [esi], 0
mov edx, dword [edi + 0x28]
push 0
push 1
push 0
push ebx
push edx
push str._d_s
lea eax, [esp + 0x4c]
mov dword [esp + 0x40], 1
push eax
jmp 0x702270
cmp eax, 1
jne 0x702202
call fcn.00626140
mov ebx, eax
mov dword [esp + 0x34], ebx
mov byte [ebx], 0
mov ecx, dword [edi + 0x28]
push 0
push 1
push 0
push esi
push ecx
push str._d_s
lea edx, [esp + 0x4c]
mov dword [esp + 0x40], 2
push edx
call fcn.00417090
mov ecx, dword [esp + 0x4c]
add esp, 0x10
push eax
call fcn.0089d0e0
push ebx
jmp 0x702283
cmp eax, 2
jne 0x702234
call fcn.00626140
mov ebx, eax
mov dword [esp + 0x34], ebx
mov byte [ebx], 0
mov eax, dword [edi + 0x28]
push 0
push 1
push 0
push esi
push eax
push str._d_s
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 3
push ecx
jmp 0x7021ea
cmp eax, 3
jne 0x702293
mov eax, dword [edi + 0x28]
cdq
mov ecx, 0x64
idiv ecx
mov edi, edx
mov ebx, eax
call fcn.00626140
mov esi, eax
mov dword [esp + 0x34], esi
mov byte [esi], 0
push 0
push 1
push 0
push edi
push ebx
push str._d._.2d__
lea edx, [esp + 0x4c]
mov dword [esp + 0x40], 4
push edx
call fcn.00417090
mov ecx, dword [esp + 0x4c]
add esp, 0x10
push eax
call fcn.0089d0e0
push esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.00626120
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8