Function at 0x40276c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x40278d
xor eax, eax
jmp 0x402a00
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0xffffffffffffffff
call sub.WINDCS32.dll_Ordinal_69
push eax
push 0x41d45c
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0x41d46c
push 0x41d474
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0x41d47c
push 0x41d480
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x6c], eax
lea edx, [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
push 0x41d488
push 0x41d490
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x18]
push edx
push 0x41d498
push 0x41d4a0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x70], eax
push 1
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
lea edx, [ebp - 0x64]
push edx
push 0
push 0x41d4a8
push 0x41d4b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
je 0x402876
cmp dword [ebp - 0x74], 2
je 0x40288e
jmp 0x4028a4
push 0
push 0xf020
push 0x112
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4028a4
push 0
push 0xf030
push 0x112
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
lea eax, [ebp - 0x64]
push eax
push 0xffffffffffffffff
push 0x41d4b8
push 0x41d4c8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x42141c], eax
lea ecx, [ebp - 0x64]
push ecx
push 0xffffffffffffffff
push 0x41d4cc
push 0x41d4dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x4215e8], eax
cmp dword [0x42141c], 0xffffffff
jne 0x402961
cmp dword [0x4215e8], 0xffffffff
jne 0x402961
mov dword [0x42141c], 0x25b
mov dword [0x4215e8], 0x1d8
mov edx, dword [0x42141c]
push edx
push 0x41d4e0
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x28]
push edx
push str.StandardWidth
push 0x41d4f4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [0x4215e8]
push eax
push 0x41d4f8
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x28]
push eax
push str.StandardHeight
push 0x41d50c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x64]
push ecx
push 0
push 0x41d510
push 0x41d518
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x402996
push 0
push 0x13ba
push 0x111
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
lea eax, [ebp - 0x64]
push eax
push 0
push 0x41d51c
push 0x41d52c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4029cb
push 0
push 0x141e
push 0x111
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
lea edx, [ebp - 0x64]
push edx
push 0
push 0x41d530
push 0x41d53c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x402a00
push 0
push 0x13ec
push 0x111
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov esp, ebp
pop ebp
ret