Function at 0x402ebc
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x84
push ebx
push esi
push edi
sub eax, 3
je 0x40304e
dec eax
sub eax, 1
je 0x40304e
sub eax, 0x10b
jne 0x403144
mov edi, dword [esp + 0xa0]
xor ebx, ebx
mov esi, dword [esp + 0x94]
push ebp
mov ebp, 0x4284dd
test edi, edi
je 0x402f65
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push esi
call fcn.004068e0
push 8
call fcn.00403262
push 8
mov dword [esp + 0x14], eax
call fcn.0040327b
mov ecx, dword [esp + 0x2c]
push ebx
push dword [0x4303b0]
sub ecx, eax
mov dword [esp + 0x24], eax
push 0x3e2
push esi
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x28]
push ecx
push eax
push 0x54020014
push ebp
push str.scrollbar
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x14
lea eax, [esp + 0x34]
mov byte [esp + 0x48], bl
push eax
push 0x3e4
push esi
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
test eax, eax
je 0x402f9d
push 0x4303b8
push 0x50
lea eax, [esp + 0x4c]
push eax
push ebp
lea eax, [esp + 0x40]
push eax
push str.DlgPos
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, 0x7530
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
pop ebp
test edi, edi
je 0x402ffb
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x50]
push str._d__d__d__d
push eax
call fcn.004054cb
add esp, 0x18
jmp 0x403017
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x48]
push 0x42850c
push eax
call fcn.004054cb
add esp, 0x10
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00404d95
push ebx
push dword [esp + 0x1c]
push dword [esp + 0x14]
push dword [esp + 0x20]
push dword [esp + 0x20]
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x403144
mov esi, dword [esp + 0x94]
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x403144
push esi
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x403144
push 0x14
lea eax, [esp + 0x30]
push eax
push 0x3e4
push esi
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
test eax, eax
je 0x403144
push 0x4303b8
push 0x50
lea eax, [esp + 0x48]
mov edi, str.DlgPos
push eax
push 0x4284dd
lea eax, [esp + 0x3c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x1c]
xor ebx, ebx
sub dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
sub dword [esp + 0x28], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], ebx
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], ebx
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], ebx
push eax
lea eax, [esp + 0x50]
mov dword [esp + 0x20], ebx
push str._d__d__d__d
push eax
call fcn.004054cb
add esp, 0x18
cmp dword [esp + 0xa4], ebx
je 0x403144
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
cmp esi, dword [esp + 0x10]
jne 0x403135
cmp edx, dword [esp + 0x14]
jne 0x403135
cmp ecx, dword [esp + 0xc]
jne 0x403135
cmp eax, dword [esp + 0x18]
je 0x403144
push eax
push ecx
push edx
push esi
lea eax, [esp + 0x3c]
push eax
push edi
call fcn.00407e9d
pop edi
pop esi
pop ebx
add esp, 0x84
ret 0x14