Function at 0x526800
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62e75d
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
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 - 0x17c], ecx
mov dword [ebp - 0x178], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0x677618
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 0x677561
push str.DialogBmp
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx eax, byte [ebp - 0x114]
test eax, eax
je 0x526974
push 1
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x118]
push edx
call fcn.0052b660
add esp, 0xc
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x184], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x184]
push ecx
push 0x677630
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x11c]
push eax
call fcn.00404260
add esp, 0xc
mov dword [ebp - 0x188], eax
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x18c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18c]
push edx
lea eax, [ebp - 0x120]
push eax
call fcn.0040ed60
add esp, 0xc
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0x194], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x194]
call fcn.00587e90
push eax
mov ecx, dword [ebp - 0x17c]
add ecx, 0x44
call fcn.0050f430
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x120]
call fcn.00401620
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
call fcn.00401620
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00401620
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0x100
lea edx, [ebp - 0x114]
push edx
push 0x677562
push 0x677634
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx ecx, byte [ebp - 0x114]
test ecx, ecx
je 0x526a98
push 1
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x128]
push eax
call fcn.0052b660
add esp, 0xc
mov dword [ebp - 0x198], eax
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0x19c], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x178]
or edx, 1
mov dword [ebp - 0x178], edx
mov eax, dword [ebp - 0x19c]
push eax
push 0x677638
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x12c]
push edx
call fcn.00404260
add esp, 0xc
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x178]
or ecx, 2
mov dword [ebp - 0x178], ecx
mov edx, dword [ebp - 0x1a4]
push edx
lea eax, [ebp - 0x130]
push eax
call fcn.0040ed60
add esp, 0xc
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1ac], ecx
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x178]
or edx, 4
mov dword [ebp - 0x178], edx
mov ecx, dword [ebp - 0x1ac]
call fcn.00587e90
push eax
mov ecx, dword [ebp - 0x17c]
add ecx, 0x1c
call fcn.0050f430
test eax, eax
je 0x526a98
mov dword [ebp - 0x1b0], 0
jmp 0x526aa2
mov dword [ebp - 0x1b0], 1
mov al, byte [ebp - 0x1b0]
mov byte [ebp - 0x121], al
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x178]
and ecx, 4
je 0x526ad2
and dword [ebp - 0x178], 0xfffffffb
lea ecx, [ebp - 0x130]
call fcn.00401620
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x178]
and edx, 2
je 0x526af6
and dword [ebp - 0x178], 0xfffffffd
lea ecx, [ebp - 0x12c]
call fcn.00401620
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x178]
and eax, 1
je 0x526b1a
and dword [ebp - 0x178], 0xfffffffe
lea ecx, [ebp - 0x128]
call fcn.00401620
movzx ecx, byte [ebp - 0x121]
test ecx, ecx
je 0x526b49
mov dword [ebp - 0x134], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401620
mov eax, dword [ebp - 0x134]
jmp 0x52717b
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0x100
lea edx, [ebp - 0x114]
push edx
push 0x677563
push 0x67763c
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx ecx, byte [ebp - 0x114]
test ecx, ecx
je 0x526c6d
push 1
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x13c]
push eax
call fcn.0052b660
add esp, 0xc
mov dword [ebp - 0x1b4], eax
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x178]
or edx, 8
mov dword [ebp - 0x178], edx
mov eax, dword [ebp - 0x1b8]
push eax
push 0x677644
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x140]
push edx
call fcn.00404260
add esp, 0xc
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x178]
or ecx, 0x10
mov dword [ebp - 0x178], ecx
mov edx, dword [ebp - 0x1c0]
push edx
lea eax, [ebp - 0x144]
push eax
call fcn.0040ed60
add esp, 0xc
mov dword [ebp - 0x1c4], eax
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 4], 9
mov edx, dword [ebp - 0x178]
or edx, 0x20
mov dword [ebp - 0x178], edx
mov ecx, dword [ebp - 0x1c8]
call fcn.00587e90
push eax
mov ecx, dword [ebp - 0x17c]
add ecx, 0x24
call fcn.0050f430
test eax, eax
je 0x526c6d
mov dword [ebp - 0x1cc], 0
jmp 0x526c77
mov dword [ebp - 0x1cc], 1
mov al, byte [ebp - 0x1cc]
mov byte [ebp - 0x135], al
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x178]
and ecx, 0x20
je 0x526ca7
and dword [ebp - 0x178], 0xffffffdf
lea ecx, [ebp - 0x144]
call fcn.00401620
mov dword [ebp - 4], 7
mov edx, dword [ebp - 0x178]
and edx, 0x10
je 0x526ccb
and dword [ebp - 0x178], 0xffffffef
lea ecx, [ebp - 0x140]
call fcn.00401620
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x178]
and eax, 8
je 0x526cef
and dword [ebp - 0x178], 0xfffffff7
lea ecx, [ebp - 0x13c]
call fcn.00401620
movzx ecx, byte [ebp - 0x135]
test ecx, ecx
je 0x526d1e
mov dword [ebp - 0x148], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401620
mov eax, dword [ebp - 0x148]
jmp 0x52717b
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0x100
lea edx, [ebp - 0x114]
push edx
push 0x67757a
push 0x677648
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx ecx, byte [ebp - 0x114]
test ecx, ecx
je 0x526e48
push 1
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x150]
push eax
call fcn.0052b660
add esp, 0xc
mov dword [ebp - 0x1d0], eax
mov ecx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d4], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x178]
or edx, 0x40
mov dword [ebp - 0x178], edx
mov eax, dword [ebp - 0x1d4]
push eax
push 0x677650
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x154]
push edx
call fcn.00404260
add esp, 0xc
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 4], 0xb
mov ecx, dword [ebp - 0x178]
or ecx, 0x80
mov dword [ebp - 0x178], ecx
mov edx, dword [ebp - 0x1dc]
push edx
lea eax, [ebp - 0x158]
push eax
call fcn.0040ed60
add esp, 0xc
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x1e0]
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 4], 0xc
mov edx, dword [ebp - 0x178]
or edx, 0x100
mov dword [ebp - 0x178], edx
mov ecx, dword [ebp - 0x1e4]
call fcn.00587e90
push eax
mov ecx, dword [ebp - 0x17c]
add ecx, 0x2c
call fcn.0050f430
test eax, eax
je 0x526e48
mov dword [ebp - 0x1e8], 0
jmp 0x526e52
mov dword [ebp - 0x1e8], 1
mov al, byte [ebp - 0x1e8]
mov byte [ebp - 0x149], al
mov dword [ebp - 4], 0xb
mov ecx, dword [ebp - 0x178]
and ecx, 0x100
je 0x526e88
and dword [ebp - 0x178], 0xfffffeff
lea ecx, [ebp - 0x158]
call fcn.00401620
mov dword [ebp - 4], 0xa
mov edx, dword [ebp - 0x178]
and edx, 0x80
je 0x526eb2
and dword [ebp - 0x178], 0xffffff7f
lea ecx, [ebp - 0x154]
call fcn.00401620
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x178]
and eax, 0x40
je 0x526ed6
and dword [ebp - 0x178], 0xffffffbf
lea ecx, [ebp - 0x150]
call fcn.00401620
movzx ecx, byte [ebp - 0x149]
test ecx, ecx
je 0x526f05
mov dword [ebp - 0x15c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401620
mov eax, dword [ebp - 0x15c]
jmp 0x52717b
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0x100
lea edx, [ebp - 0x114]
push edx
push 0x67757b
push str.Bottom
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx ecx, byte [ebp - 0x114]
test ecx, ecx
je 0x527032
push 1
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x164]
push eax
call fcn.0052b660
add esp, 0xc
mov dword [ebp - 0x1ec], eax
mov ecx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f0], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x178]
or edx, 0x200
mov dword [ebp - 0x178], edx
mov eax, dword [ebp - 0x1f0]
push eax
push 0x67765c
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x168]
push edx
call fcn.00404260
add esp, 0xc
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 4], 0xe
mov ecx, dword [ebp - 0x178]
or ecx, 0x400
mov dword [ebp - 0x178], ecx
mov edx, dword [ebp - 0x1f8]
push edx
lea eax, [ebp - 0x16c]
push eax
call fcn.0040ed60
add esp, 0xc
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp - 0x200], ecx
mov dword [ebp - 4], 0xf
mov edx, dword [ebp - 0x178]
or edx, 0x800
mov dword [ebp - 0x178], edx
mov ecx, dword [ebp - 0x200]
call fcn.00587e90
push eax
mov ecx, dword [ebp - 0x17c]
add ecx, 0x34
call fcn.0050f430
test eax, eax
je 0x527032
mov dword [ebp - 0x204], 0
jmp 0x52703c
mov dword [ebp - 0x204], 1
mov al, byte [ebp - 0x204]
mov byte [ebp - 0x15d], al
mov dword [ebp - 4], 0xe
mov ecx, dword [ebp - 0x178]
and ecx, 0x800
je 0x527072
and dword [ebp - 0x178], 0xfffff7ff
lea ecx, [ebp - 0x16c]
call fcn.00401620
mov dword [ebp - 4], 0xd
mov edx, dword [ebp - 0x178]
and edx, 0x400
je 0x52709c
and dword [ebp - 0x178], 0xfffffbff
lea ecx, [ebp - 0x168]
call fcn.00401620
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x178]
and eax, 0x200
je 0x5270c5
and dword [ebp - 0x178], 0xfffffdff
lea ecx, [ebp - 0x164]
call fcn.00401620
movzx ecx, byte [ebp - 0x15d]
test ecx, ecx
je 0x5270f4
mov dword [ebp - 0x170], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401620
mov eax, dword [ebp - 0x170]
jmp 0x52717b
mov ecx, dword [ebp - 0x17c]
add ecx, 0x1c
call fcn.00522e60
mov edx, dword [ebp - 0x17c]
mov dword [edx + 0x100], eax
mov ecx, dword [ebp - 0x17c]
add ecx, 0x24
call fcn.0050f460
mov ecx, dword [ebp - 0x17c]
mov dword [ecx + 0x104], eax
mov ecx, dword [ebp - 0x17c]
add ecx, 0x2c
call fcn.0050f460
mov edx, dword [ebp - 0x17c]
mov dword [edx + 0x108], eax
mov ecx, dword [ebp - 0x17c]
add ecx, 0x34
call fcn.00522e60
mov ecx, dword [ebp - 0x17c]
mov dword [ecx + 0x10c], eax
mov dword [ebp - 0x174], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401620
mov eax, dword [ebp - 0x174]
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