Function at 0x489360
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511250
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1064
call fcn.004bdb50
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ebx + 0x64]
push edi
cmp eax, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
je 0x48961d
test eax, eax
jl 0x4893ad
push eax
call fcn.00489640
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx + 0x64], esi
mov eax, dword [ebx + 0x138]
push 0
push 0
push 0x1009
push eax
call edi
mov ecx, dword [ebx + 0x138]
push 0
push 0
push 0x102f
push ecx
call edi
test esi, esi
jl 0x48961d
mov edx, dword [0x56b44c]
mov dword [ebp + 8], edx
push 0
lea eax, [ebp - 0x14]
push esi
push eax
lea ecx, [ebx + 0x158]
mov byte [ebp - 4], 1
call fcn.004d9816
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.004e1f6e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004e1e27
lea ecx, [ebp + 8]
lea edx, [ebp - 0x20]
push ecx
push 0x5762bc
push edx
call fcn.004e2066
push 0x55ee70
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
call fcn.004e20cc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.004e1f6e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004e1e27
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004e1e27
mov edx, dword [0x55cb3c]
mov ecx, dword [0x55cb38]
mov eax, dword [0x55cb40]
mov dword [ebp - 0x54], edx
mov edx, dword [0x55cb2c]
mov dword [ebp - 0x58], ecx
xor ecx, ecx
mov dword [ebp - 0x34], edx
xor edx, edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x2a], edx
mov dword [ebp - 0x50], eax
mov eax, dword [0x55cb30]
mov dword [ebp - 0x48], ecx
mov cx, word [0x55cb34]
mov dword [ebp - 0x26], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x30], eax
mov eax, dword [0x55cb24]
mov word [ebp - 0x2c], cx
mov ecx, dword [0x55cb28]
mov dword [ebp - 0x38], edx
mov edx, dword [0x55cb18]
mov dword [ebp - 0x44], eax
mov eax, dword [0x55cb10]
mov dword [ebp - 0x40], ecx
mov ecx, dword [0x55cb14]
mov dword [ebp - 0x6c], edx
xor edx, edx
mov dword [ebp - 0x74], eax
mov eax, dword [0x55cb1c]
mov dword [ebp - 0x70], ecx
mov cx, word [0x55cb20]
mov dword [ebp - 0x62], edx
mov dword [ebp - 0x68], eax
mov word [ebp - 0x64], cx
mov dword [ebp - 0x5e], edx
xor esi, esi
mov edi, 1
test edi, edi
je 0x489611
lea eax, [ebp - 0x4e]
push 0xa
push eax
push esi
call fcn.004bdd5d
lea ecx, [ebp - 0x2c]
push 0xa
push ecx
push esi
call fcn.004bdd5d
lea edx, [ebp - 0x3e]
push 0xa
push edx
push esi
call fcn.004bdd5d
lea eax, [ebp - 0x64]
push 0xa
push eax
push esi
call fcn.004bdd5d
mov ecx, dword [ebp + 8]
add esp, 0x30
lea edx, [ebp - 0x58]
push ecx
push 1
push edx
push 0x55cb04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1074]
push 0x800
push ecx
lea edx, [ebp - 0x34]
push 0
push edx
push 0x55cb04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
test edi, edi
je 0x48960b
push 0
push 0
push 0
lea eax, [ebp - 0x1074]
push 0
add ebx, 0x11c
push eax
push esi
push 1
mov ecx, ebx
call fcn.004d96f0
mov ecx, dword [ebp - 0x18]
push ecx
push esi
mov ecx, ebx
call fcn.004d8d51
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x1074]
push edx
push 0x800
push eax
lea ecx, [ebp - 0x44]
push 0
push ecx
push 0x55cb04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
test edi, edi
je 0x4895de
lea edx, [ebp - 0x1074]
mov ecx, ebx
push edx
push 1
push esi
call fcn.004d97eb
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x74]
push eax
push 0xffffffffffffffff
push ecx
push 0x55cb04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push 0
push 0
push 0
push 4
push 0
push esi
mov ecx, ebx
call fcn.004d9772
mov ebx, dword [ebp - 0x1c]
inc esi
jmp 0x4894fd
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.004e1e27
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4