Function at 0x485774
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x1c], 0
cmp dword [0x5ea10c], 0
je 0x4857a1
mov dword [ebp - 0x34], 0x50
mov dword [ebp - 0x1c], 0xa0
jmp 0x4857af
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x1c], 0xf
cmp dword [0x5ea028], 0
jne 0x4859ef
call fcn.0047a0b0
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx*4 + 0x5eaa58]
call fcn.00411570
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x5eaa58]
call fcn.00401600
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00568f03
cmp dword [0x5ea10c], 0
je 0x485823
mov edx, dword [ebp - 0x44]
sub edx, 8
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
jmp 0x485835
mov ecx, dword [ebp - 0x3c]
add ecx, 4
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x38]
sub edx, 0xf
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x485866
push 0
push 0x67fa4c
push 0x67fa50
call fcn.0047a0b0
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x30], eax
cmp dword [ebp + 0xc], 0
jne 0x485893
mov ecx, 0x5eaaa8
call fcn.0047eae0
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], eax
jmp 0x4858cb
cmp dword [ebp + 0xc], 1
jne 0x4858b3
mov ecx, 0x5eaaa0
call fcn.0047eae0
push eax
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], eax
jmp 0x4858cb
mov ecx, 0x5eaaa8
call fcn.0047eae0
push eax
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], eax
push 0x6784a8
push 0
push 0x5bd8f4
push 0x5bd908
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x4859ef
mov ecx, dword [ebp + 8]
cmp dword [ecx*4 + 0x673eb0], 0
je 0x4859ef
cmp dword [ebp + 0xc], 0
je 0x48590a
cmp dword [0x5ea054], 0
je 0x485977
push 0x10
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x673eb0]
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x673eb0]
mov edx, dword [eax]
call dword [edx + 0xf0]
mov eax, dword [ebp + 8]
push eax
push 0x5bd914
lea ecx, [ebp - 0x64]
push ecx
call fcn.0054c6e3
add esp, 0xc
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.0054cf00
add esp, 8
test eax, eax
je 0x485975
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx*4 + 0x673eb0]
mov eax, dword [ebp + 8]
mov edx, dword [eax*4 + 0x673eb0]
mov eax, dword [edx]
call dword [eax + 0xd0]
jmp 0x4859ef
cmp dword [ebp + 0xc], 0
je 0x4859ef
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x67a644]
push edx
push str._C:_
lea eax, [ebp - 0x64]
push eax
call fcn.0054c6e3
add esp, 0xc
push 0x10
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx*4 + 0x673eb0]
mov eax, dword [ebp + 8]
mov edx, dword [eax*4 + 0x673eb0]
mov eax, dword [edx]
call dword [eax + 0xf0]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.0054cf00
add esp, 8
test eax, eax
je 0x4859ef
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x673eb0]
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x673eb0]
mov edx, dword [eax]
call dword [edx + 0xd0]
cmp dword [ebp + 0xc], 0
jne 0x485a27
cmp dword [0x5ea028], 0
jne 0x485a25
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x485a87
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [0x67aa9c], 0
jne 0x485a87
cmp dword [0x5ea028], 0
jne 0x485a87
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, 1
mov esp, ebp
pop ebp
ret