Function at 0x51e220
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62dd10
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x6d5db8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xbc], ecx
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0052b520
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xbc]
cmp dword [ecx + 0x144], 0
je 0x51e326
mov ecx, dword [ebp - 0xbc]
add ecx, 0x20
call fcn.005cc52c
mov ecx, dword [ebp - 0xbc]
add ecx, 0x28
call fcn.005cc52c
mov ecx, dword [ebp - 0xbc]
add ecx, 0x30
call fcn.005cc52c
mov ecx, dword [ebp - 0xbc]
add ecx, 0x38
call fcn.005cc52c
mov ecx, dword [ebp - 0xbc]
add ecx, 0x84
call fcn.005cc52c
mov ecx, dword [ebp - 0xbc]
add ecx, 0x94
call fcn.005cc52c
mov ecx, dword [ebp - 0xbc]
add ecx, 0x7c
call fcn.005cc52c
mov ecx, dword [ebp - 0xbc]
add ecx, 0x8c
call fcn.005cc52c
mov edx, dword [ebp - 0xbc]
mov dword [edx + 0x128], 0xcfcfcf
mov eax, dword [ebp - 0xbc]
mov dword [eax + 0x12c], 0xcfcfcf
mov ecx, dword [ebp - 0xbc]
mov dword [ecx + 0x144], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp - 0x34]
push edx
call fcn.00401580
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xbc]
call fcn.0051eae0
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jne 0x51e377
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401620
mov eax, dword [ebp - 0x40]
jmp 0x51eac7
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xbc]
call fcn.0051f370
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
lea edx, [ebp - 0x34]
push edx
call fcn.00401580
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xbc]
call fcn.0051f540
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jne 0x51e3d7
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401620
mov eax, dword [ebp - 0x48]
jmp 0x51eac7
mov dword [ebp - 0x14], 0x676fec
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0
push 0x676ff8
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0xbc]
mov dword [edx + 0x114], eax
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0
push 0x677004
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0xbc]
mov dword [ecx + 0x118], eax
mov dword [ebp - 0x30], 0x677014
push 9
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00401580
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x67701c
call fcn.004015a0
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], ecx
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
mov edx, dword [ebp - 0x30]
push edx
call fcn.004015a0
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xbc]
call fcn.0051e020
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xe4]
mov dword [eax + 0x11c], ecx
push 9
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00401580
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
push 0x677028
call fcn.004015a0
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], ecx
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
mov edx, dword [ebp - 0x30]
push edx
call fcn.004015a0
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xbc]
call fcn.0051e020
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xfc]
mov dword [eax + 0x120], ecx
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0
push 0x67703c
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0xbc]
mov dword [ecx + 0x140], eax
mov edx, dword [ebp - 0xbc]
cmp dword [edx + 0x140], 0
je 0x51e616
push 0xff00ff
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
mov eax, dword [ebp + 8]
push eax
call fcn.00401580
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x104], ecx
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x677048
call fcn.004015a0
mov dword [ebp - 0x108], eax
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x10c], edx
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
mov eax, dword [ebp - 0x30]
push eax
call fcn.004015a0
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xbc]
call fcn.0051e020
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0x114]
mov dword [ecx + 0x124], edx
push 0xcfcfcf
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
mov eax, dword [ebp + 8]
push eax
call fcn.00401580
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], ecx
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push 0x677054
call fcn.004015a0
mov dword [ebp - 0x120], eax
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x124], edx
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
mov eax, dword [ebp - 0x30]
push eax
call fcn.004015a0
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xbc]
call fcn.0051e020
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0x12c]
mov dword [ecx + 0x128], edx
push 0xcfcfcf
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
mov eax, dword [ebp + 8]
push eax
call fcn.00401580
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x134], ecx
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
push 0x677060
call fcn.004015a0
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x13c], edx
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
mov eax, dword [ebp - 0x30]
push eax
call fcn.004015a0
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xbc]
call fcn.0051e020
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0x144]
mov dword [ecx + 0x12c], edx
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
mov eax, dword [ebp + 8]
push eax
call fcn.00401580
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x14c], ecx
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
push 0x67706c
call fcn.004015a0
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x154], edx
mov byte [ebp - 4], 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
mov eax, dword [ebp - 0x30]
push eax
call fcn.004015a0
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xbc]
call fcn.0051e020
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0x15c]
mov dword [ecx + 0x130], edx
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x94], esp
mov eax, dword [ebp + 8]
push eax
call fcn.00401580
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x164], ecx
mov byte [ebp - 4], 0xd
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
push 0x677078
call fcn.004015a0
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x16c], edx
mov byte [ebp - 4], 0xe
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
mov eax, dword [ebp - 0x30]
push eax
call fcn.004015a0
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xbc]
call fcn.0051e020
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0x174]
mov dword [ecx + 0x134], edx
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
mov eax, dword [ebp + 8]
push eax
call fcn.00401580
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x17c], ecx
mov byte [ebp - 4], 0xf
push ecx
mov ecx, esp
mov dword [ebp - 0xa4], esp
push 0x677084
call fcn.004015a0
mov dword [ebp - 0x180], eax
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x184], edx
mov byte [ebp - 4], 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0xa8], esp
mov eax, dword [ebp - 0x30]
push eax
call fcn.004015a0
mov dword [ebp - 0x188], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xbc]
call fcn.0051e020
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0x18c]
mov dword [ecx + 0x138], edx
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0xac], esp
mov eax, dword [ebp + 8]
push eax
call fcn.00401580
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0x194], ecx
mov byte [ebp - 4], 0x11
push ecx
mov ecx, esp
mov dword [ebp - 0xb0], esp
push 0x677094
call fcn.004015a0
mov dword [ebp - 0x198], eax
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x19c], edx
mov byte [ebp - 4], 0x12
push ecx
mov ecx, esp
mov dword [ebp - 0xb4], esp
mov eax, dword [ebp - 0x30]
push eax
call fcn.004015a0
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xbc]
call fcn.0051e020
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0x1a4]
mov dword [ecx + 0x13c], edx
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x1c], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x2c]
call fcn.00503da0
push 0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [ebp - 0x18]
shl eax, 2
cdq
mov ecx, 3
idiv ecx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x1c]
jg 0x51ea2e
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0xbc]
mov dword [ecx + 0xdc], eax
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0xdc]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xbc]
mov dword [ecx + 0xe4], eax
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x28]
mov dword [edx + 0xe0], eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 0xe8], edx
jmp 0x51ea98
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
jl 0x51ea98
mov eax, dword [ebp - 0x1c]
imul eax, eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x38]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0xbc]
mov dword [ecx + 0xe0], eax
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0xe0]
add eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xbc]
mov dword [ecx + 0xe8], eax
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x2c]
mov dword [edx + 0xdc], eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0xe4], edx
mov eax, dword [ebp - 0xbc]
mov dword [eax + 0x144], 1
mov dword [ebp - 0xb8], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401620
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4