Function at 0x406a10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537800
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x5925f0]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x470], ecx
mov ecx, dword [ebp - 0x470]
call fcn.0041f520
push 0xbcc5b9
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov ecx, dword [ebp - 0x470]
mov dword [ecx + 0x84], eax
mov dword [ebp - 0x238], 0x56204409
push 0x74
call fcn.00407060
mov dword [ebp - 0x45c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x45c], 0
je 0x406aa1
mov ecx, dword [ebp - 0x45c]
call fcn.00415180
mov dword [ebp - 0x474], eax
jmp 0x406aab
mov dword [ebp - 0x474], 0
mov edx, dword [ebp - 0x474]
mov dword [ebp - 0x458], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x470]
mov ecx, dword [ebp - 0x458]
mov dword [eax + 0x88], ecx
push 0xffff01
mov edx, dword [ebp - 0x470]
push edx
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x46c]
call fcn.00406fe0
push eax
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x470]
mov ecx, dword [ecx + 0x88]
call fcn.004b16c8
mov edx, dword [ebp - 0x470]
mov ecx, dword [edx + 0x88]
call fcn.00415890
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x24]
call fcn.00406fe0
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x470]
call fcn.00407080
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x24c]
call fcn.00406fe0
mov dword [ebp - 0x24c], 1
mov dword [ebp - 0x248], 1
lea ecx, [ebp - 0x24]
call fcn.00407020
sub eax, 1
mov dword [ebp - 0x244], eax
lea ecx, [ebp - 0x24]
call fcn.00407040
sub eax, 1
mov dword [ebp - 0x240], eax
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x470]
mov ecx, dword [edx + 0x88]
call fcn.00415a80
mov word [ebp - 0x234], 0
push 0x206
push 0
lea eax, [ebp - 0x232]
push eax
call fcn.004caa30
add esp, 0xc
mov ecx, dword [0x594280]
call fcn.004106c0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004caee6
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x406bee
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x234]
push eax
call fcn.004caa10
add esp, 8
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [0x594280]
call fcn.00410660
mov ecx, eax
call fcn.004174c0
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x406d1a
mov word [ebp - 0x454], 0
push 0x206
push 0
lea edx, [ebp - 0x452]
push edx
call fcn.004caa30
add esp, 0xc
mov ecx, dword [0x594280]
call fcn.0042bca0
mov ecx, eax
call fcn.0042b1c0
push eax
lea eax, [ebp - 0x454]
push eax
call fcn.004caa10
add esp, 8
push 0x54618c
lea ecx, [ebp - 0x454]
push ecx
call fcn.004ca9e6
add esp, 8
push 0x54619c
lea edx, [ebp - 0x454]
push edx
call fcn.004ca9e6
add esp, 8
push 0x5461a0
lea eax, [ebp - 0x454]
push eax
call fcn.004ca9e6
add esp, 8
lea ecx, [ebp - 0x454]
push ecx
push 0x104
lea edx, [ebp - 0x234]
push edx
push 0x5461b8
push 0x5461c0
push 0x5461d8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [0x594280]
call fcn.00410660
mov ecx, eax
call fcn.004174c0
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x406d1a
push 0x5461e8
lea ecx, [ebp - 0x234]
push ecx
call fcn.004caa10
add esp, 8
lea edx, [ebp - 0x234]
push edx
mov ecx, dword [0x594280]
call fcn.00410660
mov ecx, eax
call fcn.004174c0
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x470]
mov ecx, dword [ecx + 0x88]
call fcn.00415bf0
cmp dword [ebp - 0x23c], 0
je 0x406d53
mov edx, dword [ebp - 0x23c]
push edx
mov eax, dword [ebp - 0x470]
mov ecx, dword [eax + 0x88]
call fcn.00415bc0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.004ca9d7
mov esp, ebp
pop ebp
ret