Function at 0x5acda0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x633b96
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x68b740]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x68b740]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], edi
call dword [sym.imp.engine.dll_public:_void___thiscall_KTabFile::constructor_void_]
mov ecx, edi
mov dword [esp + 0xf0], 0
call fcn.005acb60
push 0x650644
lea ecx, [esp + 0x30]
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::Load_char_const__]
test eax, eax
lea ecx, [esp + 0x2c]
je 0x5ad129
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::GetHeight_void_]
cmp eax, 1
jle 0x5ad125
lea esi, [eax - 1]
xor ecx, ecx
mov eax, esi
mov edx, 0x174
mul edx
seto cl
mov dword [edi + 0x6c], esi
neg ecx
or ecx, eax
push ecx
call fcn.00612c66
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
test ebx, ebx
mov byte [esp + 0xf0], 1
je 0x5ace6d
push 0x5acd70
push esi
push 0x174
push ebx
call fcn.0045cb40
jmp 0x5ace6f
xor ebx, ebx
cmp dword [edi + 0x6c], 0
mov byte [esp + 0xf0], 0
mov dword [edi + 0x68], ebx
jle 0x5acf59
mov ebp, 2
xor ebx, ebx
jmp 0x5ace92
mov edi, edx
mov eax, dword [edi + 0x68]
add eax, ebx
push eax
push 0
push 1
push ebp
lea ecx, [esp + 0x3c]
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::GetInteger_int__int__int__int__]
xor edi, edi
lea esi, [edi + 3]
lea esp, [esp]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x68]
push 0x50
add edx, ebx
lea eax, [edx + edi + 0x10]
push eax
push 0x63abb8
lea ecx, [esi - 1]
push ecx
push ebp
lea ecx, [esp + 0x40]
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::GetString_int__int__char_const___char___unsigned_long_int_]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x68]
add eax, ebx
lea ecx, [eax + edi + 4]
push ecx
push 0x64
push esi
push ebp
lea ecx, [esp + 0x3c]
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::GetInteger_int__int__int__int__]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x68]
add eax, ebx
lea ecx, [eax + edi + 8]
push ecx
push 0
lea edx, [esi + 1]
push edx
push ebp
lea ecx, [esp + 0x3c]
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::GetInteger_int__int__int__int__]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x68]
add ecx, ebx
lea edx, [ecx + edi + 0xc]
push edx
push 0x2a2ff
lea eax, [esi + 2]
push eax
push ebp
lea ecx, [esp + 0x3c]
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::GetInteger_int__int__int__int__]
add esi, 5
add edi, 0x5c
cmp esi, 0x17
jl 0x5aceb0
mov edx, dword [esp + 0x14]
add ebp, 1
lea ecx, [ebp - 2]
add ebx, 0x174
cmp ecx, dword [edx + 0x6c]
jl 0x5ace90
lea ecx, [esp + 0x4c]
call dword [sym.imp.engine.dll_public:_void___thiscall_KIniFile::constructor_void_]
push 0x650620
lea ecx, [esp + 0x50]
mov byte [esp + 0xf4], 2
call dword [sym.imp.engine.dll_public:_int___thiscall_KIniFile::Load_char_const__]
test eax, eax
lea ecx, [esp + 0x4c]
je 0x5ad117
mov edi, dword [sym.imp.engine.dll_public:_int___thiscall_KIniFile::GetInteger_char_const___char_const___int__int__]
lea eax, [esp + 0x28]
push eax
push 0
push 0x650614
push 0x65060c
call edi
mov eax, dword [esp + 0x28]
cmp eax, 0x20
jle 0x5acfb1
mov eax, 0x20
mov dword [esp + 0x28], eax
test eax, eax
mov dword [esp + 0x1c], 0
jle 0x5ad108
mov ecx, dword [esp + 0x14]
mov ebp, dword [sym.imp.MSVCR80.dll_sprintf]
add ecx, 0x74
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0xa8]
push 0x650604
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x6505fc
lea edx, [esp + 0xb0]
push edx
lea ecx, [esp + 0x5c]
call edi
mov eax, dword [esp + 0x20]
cmp eax, 0x40
jle 0x5ad015
mov eax, 0x40
mov dword [esp + 0x20], eax
xor esi, esi
test eax, eax
jle 0x5ad05a
mov ebx, dword [esp + 0x18]
add ebx, 4
push esi
lea eax, [esp + 0xc8]
push 0x6505f4
push eax
call ebp
add esp, 0xc
push ebx
push 0
lea ecx, [esp + 0xcc]
push ecx
lea edx, [esp + 0xb0]
push edx
lea ecx, [esp + 0x5c]
call edi
add esi, 1
add ebx, 4
cmp esi, dword [esp + 0x20]
jl 0x5ad022
lea eax, [esp + 0x24]
push eax
push 0
push 0x6505e8
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0x5c]
call edi
mov eax, dword [esp + 0x24]
cmp eax, 0x10
jle 0x5ad086
mov eax, 0x10
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x18]
xor ebx, ebx
test eax, eax
mov dword [edx], eax
jle 0x5ad0eb
mov esi, edx
add esi, 0x104
lea ebx, [ebx]
push ebx
lea eax, [esp + 0xc8]
push 0x6505dc
push eax
call ebp
add esp, 0xc
push 0x50
push esi
push 0
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0xb4]
push edx
lea ecx, [esp + 0x60]
call dword [sym.imp.engine.dll_public:_int___thiscall_KIniFile::GetString_char_const___char_const___char_const___char___unsigned_long_int_]
cmp byte [esi], 0
je 0x5ad0e5
add ebx, 1
add esi, 0x50
cmp ebx, dword [esp + 0x24]
jl 0x5ad0a0
jmp 0x5ad0eb
mov eax, dword [esp + 0x18]
mov dword [eax], ebx
mov eax, dword [esp + 0x1c]
add dword [esp + 0x18], 0x604
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jl 0x5acfd2
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x70], 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0xf0], 0
call dword [sym.imp.engine.dll_public:_void___thiscall_KIniFile::destructor_void_]
lea ecx, [esp + 0x2c]
mov dword [esp + 0xf0], 0xffffffff
call dword [sym.imp.engine.dll_public_virtual:_void___thiscall_KTabFile::destructor_void_]
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00612c78
add esp, 0xe0
ret