Function at 0x51eae0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62dee7
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x6d5db8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x16c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0x6770a0
mov byte [ebp - 0x114], 0
push 0xff
push 0
lea eax, [ebp - 0x113]
push eax
call fcn.005e5330
add esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0x100
lea ecx, [ebp - 0x114]
push ecx
push 0x676fe9
push str.Dlg_Top
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx eax, byte [ebp - 0x114]
test eax, eax
je 0x51ec6a
push 1
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x11c]
push edx
call fcn.0052b660
add esp, 0xc
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x16c]
or ecx, 1
mov dword [ebp - 0x16c], ecx
mov edx, dword [ebp - 0x178]
push edx
push 0x6770b4
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x120]
push ecx
call fcn.00404260
add esp, 0xc
mov dword [ebp - 0x17c], eax
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x180], edx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x16c]
or eax, 2
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x180]
push ecx
lea edx, [ebp - 0x124]
push edx
call fcn.0040ed60
add esp, 0xc
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x188], eax
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x16c]
or ecx, 4
mov dword [ebp - 0x16c], ecx
mov ecx, dword [ebp - 0x188]
call fcn.00587e90
push eax
mov ecx, dword [ebp - 0x170]
add ecx, 0x20
call fcn.0050f430
test eax, eax
je 0x51ec6a
mov dword [ebp - 0x18c], 0
jmp 0x51ec74
mov dword [ebp - 0x18c], 1
mov dl, byte [ebp - 0x18c]
mov byte [ebp - 0x115], dl
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x16c]
and eax, 4
je 0x51eca4
and dword [ebp - 0x16c], 0xfffffffb
lea ecx, [ebp - 0x124]
call fcn.00401620
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x16c]
and ecx, 2
je 0x51ecc8
and dword [ebp - 0x16c], 0xfffffffd
lea ecx, [ebp - 0x120]
call fcn.00401620
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x16c]
and edx, 1
je 0x51ecec
and dword [ebp - 0x16c], 0xfffffffe
lea ecx, [ebp - 0x11c]
call fcn.00401620
movzx eax, byte [ebp - 0x115]
test eax, eax
je 0x51ed1b
mov dword [ebp - 0x128], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401620
mov eax, dword [ebp - 0x128]
jmp 0x51f34a
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0x100
lea ecx, [ebp - 0x114]
push ecx
push 0x676fea
push str.Dlg_Left
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx eax, byte [ebp - 0x114]
test eax, eax
je 0x51ee3f
push 1
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x130]
push edx
call fcn.0052b660
add esp, 0xc
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x194], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x16c]
or ecx, 8
mov dword [ebp - 0x16c], ecx
mov edx, dword [ebp - 0x194]
push edx
push 0x6770c4
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x134]
push ecx
call fcn.00404260
add esp, 0xc
mov dword [ebp - 0x198], eax
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x19c], edx
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x16c]
or eax, 0x10
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x19c]
push ecx
lea edx, [ebp - 0x138]
push edx
call fcn.0040ed60
add esp, 0xc
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x16c]
or ecx, 0x20
mov dword [ebp - 0x16c], ecx
mov ecx, dword [ebp - 0x1a4]
call fcn.00587e90
push eax
mov ecx, dword [ebp - 0x170]
add ecx, 0x28
call fcn.0050f430
test eax, eax
je 0x51ee3f
mov dword [ebp - 0x1a8], 0
jmp 0x51ee49
mov dword [ebp - 0x1a8], 1
mov dl, byte [ebp - 0x1a8]
mov byte [ebp - 0x129], dl
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x16c]
and eax, 0x20
je 0x51ee79
and dword [ebp - 0x16c], 0xffffffdf
lea ecx, [ebp - 0x138]
call fcn.00401620
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x16c]
and ecx, 0x10
je 0x51ee9d
and dword [ebp - 0x16c], 0xffffffef
lea ecx, [ebp - 0x134]
call fcn.00401620
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x16c]
and edx, 8
je 0x51eec1
and dword [ebp - 0x16c], 0xfffffff7
lea ecx, [ebp - 0x130]
call fcn.00401620
movzx eax, byte [ebp - 0x129]
test eax, eax
je 0x51eef0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401620
mov eax, dword [ebp - 0x13c]
jmp 0x51f34a
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0x100
lea ecx, [ebp - 0x114]
push ecx
push 0x676feb
push str.Dlg_Right
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx eax, byte [ebp - 0x114]
test eax, eax
je 0x51f019
push 1
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x144]
push edx
call fcn.0052b660
add esp, 0xc
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x16c]
or ecx, 0x40
mov dword [ebp - 0x16c], ecx
mov edx, dword [ebp - 0x1b0]
push edx
push 0x6770d4
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x148]
push ecx
call fcn.00404260
add esp, 0xc
mov dword [ebp - 0x1b4], eax
mov edx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], edx
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x16c]
or eax, 0x80
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x1b8]
push ecx
lea edx, [ebp - 0x14c]
push edx
call fcn.0040ed60
add esp, 0xc
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x16c]
or ecx, 0x100
mov dword [ebp - 0x16c], ecx
mov ecx, dword [ebp - 0x1c0]
call fcn.00587e90
push eax
mov ecx, dword [ebp - 0x170]
add ecx, 0x30
call fcn.0050f430
test eax, eax
je 0x51f019
mov dword [ebp - 0x1c4], 0
jmp 0x51f023
mov dword [ebp - 0x1c4], 1
mov dl, byte [ebp - 0x1c4]
mov byte [ebp - 0x13d], dl
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x16c]
and eax, 0x100
je 0x51f058
and dword [ebp - 0x16c], 0xfffffeff
lea ecx, [ebp - 0x14c]
call fcn.00401620
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x16c]
and ecx, 0x80
je 0x51f082
and dword [ebp - 0x16c], 0xffffff7f
lea ecx, [ebp - 0x148]
call fcn.00401620
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x16c]
and edx, 0x40
je 0x51f0a6
and dword [ebp - 0x16c], 0xffffffbf
lea ecx, [ebp - 0x144]
call fcn.00401620
movzx eax, byte [ebp - 0x13d]
test eax, eax
je 0x51f0d5
mov dword [ebp - 0x150], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401620
mov eax, dword [ebp - 0x150]
jmp 0x51f34a
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0x100
lea ecx, [ebp - 0x114]
push ecx
push 0x677002
push str.Dlg_Bottom
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx eax, byte [ebp - 0x114]
test eax, eax
je 0x51f201
push 1
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x158]
push edx
call fcn.0052b660
add esp, 0xc
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1cc], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x16c]
or ecx, 0x200
mov dword [ebp - 0x16c], ecx
mov edx, dword [ebp - 0x1cc]
push edx
push 0x6770e4
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x15c]
push ecx
call fcn.00404260
add esp, 0xc
mov dword [ebp - 0x1d0], eax
mov edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x16c]
or eax, 0x400
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x1d4]
push ecx
lea edx, [ebp - 0x160]
push edx
call fcn.0040ed60
add esp, 0xc
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 4], 0xc
mov ecx, dword [ebp - 0x16c]
or ecx, 0x800
mov dword [ebp - 0x16c], ecx
mov ecx, dword [ebp - 0x1dc]
call fcn.00587e90
push eax
mov ecx, dword [ebp - 0x170]
add ecx, 0x38
call fcn.0050f430
test eax, eax
je 0x51f201
mov dword [ebp - 0x1e0], 0
jmp 0x51f20b
mov dword [ebp - 0x1e0], 1
mov dl, byte [ebp - 0x1e0]
mov byte [ebp - 0x151], dl
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x16c]
and eax, 0x800
je 0x51f240
and dword [ebp - 0x16c], 0xfffff7ff
lea ecx, [ebp - 0x160]
call fcn.00401620
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x16c]
and ecx, 0x400
je 0x51f26a
and dword [ebp - 0x16c], 0xfffffbff
lea ecx, [ebp - 0x15c]
call fcn.00401620
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x16c]
and edx, 0x200
je 0x51f294
and dword [ebp - 0x16c], 0xfffffdff
lea ecx, [ebp - 0x158]
call fcn.00401620
movzx eax, byte [ebp - 0x151]
test eax, eax
je 0x51f2c3
mov dword [ebp - 0x164], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401620
mov eax, dword [ebp - 0x164]
jmp 0x51f34a
mov ecx, dword [ebp - 0x170]
add ecx, 0x20
call fcn.00522e60
mov ecx, dword [ebp - 0x170]
mov dword [ecx + 0x104], eax
mov ecx, dword [ebp - 0x170]
add ecx, 0x28
call fcn.0050f460
mov edx, dword [ebp - 0x170]
mov dword [edx + 0x108], eax
mov ecx, dword [ebp - 0x170]
add ecx, 0x30
call fcn.0050f460
mov ecx, dword [ebp - 0x170]
mov dword [ecx + 0x10c], eax
mov ecx, dword [ebp - 0x170]
add ecx, 0x38
call fcn.00522e60
mov edx, dword [ebp - 0x170]
mov dword [edx + 0x110], eax
mov dword [ebp - 0x168], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401620
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005e5163
mov esp, ebp
pop ebp
ret 8