Function at 0x57a9b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x62a678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, edi
call fcn.0057a6a0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], 0
mov esi, dword [ecx - 8]
test esi, esi
jne 0x57aa2d
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
je 0x57ab7c
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x57ab7c
push ecx
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [esp + 0x38]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x30]
call fcn.004e9cc0
mov eax, dword [esp + 0x30]
cmp word [eax + esi*2 - 2], 0x64
sete bl
test bl, bl
je 0x57aa55
mov edx, dword [eax - 8]
lea ecx, [esp + 0x30]
dec edx
push edx
call fcn.004ebfc0
lea eax, [esp + 0xc]
push 0xa
push eax
lea ecx, [esp + 0x38]
call fcn.004ec060
test al, al
jne 0x57aaa1
call fcn.004f0590
test eax, eax
je 0x57aa82
mov edx, dword [eax]
push 0
push str.Cannot_parse_dimension_from__s.
mov ecx, eax
call dword [edx + 8]
jmp 0x57aa87
mov eax, str.Cannot_parse_dimension_from__s.
mov ecx, dword [esp + 0x30]
push ecx
push eax
call fcn.004f4290
mov edx, dword [esp + 0x38]
add esp, 8
lea eax, [edx - 0xc]
jmp 0x57ab64
test bl, bl
je 0x57ab94
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x57aad9
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x1c], 0
call fcn.00462b80
mov ecx, dword [esp + 0x30]
lea eax, [ecx - 0xc]
jmp 0x57ab06
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x57ab36
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x18]
push eax
push edx
mov dword [esp + 0x1c], 0
call fcn.00462b80
mov eax, dword [esp + 0x30]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x57ab1e
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x57ab1e
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
call fcn.004f0590
test eax, eax
je 0x57ab4f
mov edx, dword [eax]
push 0
push str.Cannot_convert_dialog_units:_dialog_unknown.
mov ecx, eax
call dword [edx + 8]
jmp 0x57ab54
mov eax, str.Cannot_convert_dialog_units:_dialog_unknown.
push eax
call fcn.004f4290
mov eax, dword [esp + 0x34]
add esp, 4
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x57ab7c
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x57ab7c
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0xc]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x57abb8
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x57abb8
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc