Function at 0x489be0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5d1c31
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov eax, dword [0x644904]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x58], eax
push edi
lea eax, [esi + 0x10b0]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
xor ebp, ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x68], ebp
call fcn.00467410
mov dword [esp + 0x14], eax
mov cl, 1
mov byte [eax + 0x15], cl
mov eax, dword [esp + 0x14]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x14]
mov dword [eax], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 8], eax
mov dword [esp + 0x18], ebp
mov byte [esp + 0x68], cl
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
push edx
lea ecx, [esp + 0x14]
call fcn.00488730
mov eax, dword [esp + 0x14]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
mov dword [eax], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 8], eax
mov ecx, dword [0x643120]
mov eax, 0xb
cmp ecx, eax
mov dword [esp + 0x1c], eax
jle 0x489d26
mov edi, dword [sym.imp.kernel32.dll_GetPrivateProfileIntA]
mov ebx, 0x642b5c
mov eax, dword [ebx - 8]
push eax
lea ecx, [esp + 0x40]
push 0x5fcc1c
push ecx
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0xc
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP71.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Myptr_void_]
push eax
push 0xffffffffffffffff
push 0x5f6a4c
lea edx, [esp + 0x48]
push edx
call edi
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP71.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Myptr_void_]
push eax
push 0xffffffffffffffff
push 0x5fcc14
lea eax, [esp + 0x48]
push eax
call edi
lea ecx, [esp + 0x20]
mov ebp, eax
call dword [sym.imp.MSVCP71.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Myptr_void_]
push eax
push 0xffffffffffffffff
push 0x5fcc0c
lea ecx, [esp + 0x48]
push ecx
call edi
cmp ebp, 0xffffffff
je 0x489d02
mov dword [ebx], ebp
cmp eax, 0xffffffff
je 0x489d0a
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x643120]
inc eax
add ebx, 0x1c
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x489c97
xor ebp, ebp
mov edx, dword [esi + 4]
mov ebx, dword [edx + 4]
mov al, byte [ebx + 0x15]
test al, al
mov edi, ebx
jne 0x489d54
mov eax, dword [edi + 8]
push eax
mov ecx, esi
call fcn.00488730
mov edi, dword [edi]
push ebx
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov al, byte [edi + 0x15]
add esp, 4
test al, al
mov ebx, edi
je 0x489d35
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebp
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov eax, dword [0x643120]
xor ebx, ebx
cmp eax, ebp
jle 0x489dad
mov edi, 0x642a2c
mov ecx, dword [edi - 4]
cmp ecx, ebp
lea eax, [edi - 4]
je 0x489d8f
push eax
mov ecx, esi
call fcn.00489a80
lea ecx, [edi - 0xc]
mov dword [eax], ecx
cmp dword [edi], ebp
je 0x489da0
push edi
mov ecx, esi
call fcn.00489a80
lea edx, [edi - 0xc]
mov dword [eax], edx
mov eax, dword [0x643120]
inc ebx
add edi, 0x1c
cmp ebx, eax
jl 0x489d78
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 0
call fcn.00488da0
mov ecx, dword [esp + 0x14]
push ecx
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x68], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x50]
pop ebx
call fcn.005c8895
add esp, 0x5c
ret