Function at 0x407b00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493dd1
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x4d13f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x154], ecx
lea ecx, [ebp - 0x120]
call fcn.004112b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.004112b0
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x118], 0
push 0xff
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.0047ba50
add esp, 0xc
mov ecx, dword [ebp - 0x154]
add ecx, 0x2fd4c0
call fcn.00411270
push eax
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push 0x49db0e
push str.KWinNum
mov ecx, dword [ebp - 0x154]
add ecx, 0x2fd4b8
call fcn.00411270
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x114]
push edx
push 0x49de98
lea eax, [ebp - 0x120]
push eax
call fcn.00411460
add esp, 0xc
lea ecx, [ebp - 0x120]
call fcn.00403da0
test eax, eax
jne 0x407c2e
push 0
push 0
push 0x49de9c
mov ecx, dword [ebp - 0x154]
call fcn.0044ea0c
mov dword [ebp - 0x124], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.00403d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.00403d20
mov eax, dword [ebp - 0x124]
jmp 0x408131
lea ecx, [ebp - 0x120]
call fcn.00411270
push eax
call fcn.0047badb
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x407ea4
push 0xff
push 0
lea ecx, [ebp - 0x114]
push ecx
call fcn.0047ba50
add esp, 0xc
mov ecx, dword [ebp - 0x154]
add ecx, 0x2fd4c0
call fcn.00411270
push eax
push 0x104
lea edx, [ebp - 0x114]
push edx
push 0x49db0f
push 0x49deb0
mov ecx, dword [ebp - 0x154]
add ecx, 0x2fd4b8
call fcn.00411270
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x114]
push eax
push 0x49deb8
lea ecx, [ebp - 0x120]
push ecx
call fcn.00411460
add esp, 0xc
lea ecx, [ebp - 0x120]
call fcn.00403da0
test eax, eax
jne 0x407d05
mov dword [ebp - 0x128], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.00403d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.00403d20
mov eax, dword [ebp - 0x128]
jmp 0x408131
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 0x2fd4b4]
mov dword [edx + 0x2fd4ac], ecx
lea ecx, [ebp - 0x120]
call fcn.00403da0
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jle 0x407e5f
push 0
push 0x49debc
lea ecx, [ebp - 0x120]
call fcn.0040dcb0
push eax
lea edx, [ebp - 0x12c]
push edx
lea ecx, [ebp - 0x120]
call fcn.0040de00
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.00403d40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.00403d20
lea ecx, [ebp - 0x120]
call fcn.00403da0
mov esi, eax
lea ecx, [ebp - 0x11c]
call fcn.00403da0
sub esi, eax
sub esi, 1
push esi
lea edx, [ebp - 0x130]
push edx
lea ecx, [ebp - 0x120]
call fcn.0040dd80
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x164]
push ecx
lea ecx, [ebp - 0x120]
call fcn.00403d40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x130]
call fcn.00403d20
push ecx
mov ecx, esp
mov dword [ebp - 0x134], esp
lea edx, [ebp - 0x11c]
push edx
call fcn.004112d0
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 0x2fd4ac]
push ecx
mov ecx, dword [ebp - 0x154]
call fcn.00405dd0
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x16c]
mov dword [edx + 0x2fd4ac], eax
lea ecx, [ebp - 0x120]
call fcn.00403da0
mov dword [ebp - 0x118], eax
jmp 0x407d2e
mov ecx, dword [ebp - 0x154]
cmp dword [ecx + 0x2fd4ac], 0
jne 0x407ea4
mov dword [ebp - 0x138], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.00403d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.00403d20
mov eax, dword [ebp - 0x138]
jmp 0x408131
cmp dword [ebp - 0x10], 1
jle 0x408100
push 0xff
push 0
lea edx, [ebp - 0x114]
push edx
call fcn.0047ba50
add esp, 0xc
mov ecx, dword [ebp - 0x154]
add ecx, 0x2fd4c0
call fcn.00411270
push eax
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0x49db16
push str.KWin2
mov ecx, dword [ebp - 0x154]
add ecx, 0x2fd4b8
call fcn.00411270
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x114]
push ecx
push 0x49dec8
lea edx, [ebp - 0x120]
push edx
call fcn.00411460
add esp, 0xc
lea ecx, [ebp - 0x120]
call fcn.00403da0
test eax, eax
jne 0x407f64
mov dword [ebp - 0x13c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.00403d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.00403d20
mov eax, dword [ebp - 0x13c]
jmp 0x408131
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ecx + 0x2fd4b4]
mov dword [eax + 0x2fd4b0], edx
lea ecx, [ebp - 0x120]
call fcn.00403da0
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jle 0x4080be
push 0
push 0x49decc
lea ecx, [ebp - 0x120]
call fcn.0040dcb0
push eax
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x120]
call fcn.0040de00
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x174], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x174]
push edx
lea ecx, [ebp - 0x11c]
call fcn.00403d40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x140]
call fcn.00403d20
lea ecx, [ebp - 0x120]
call fcn.00403da0
mov esi, eax
lea ecx, [ebp - 0x11c]
call fcn.00403da0
sub esi, eax
sub esi, 1
push esi
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x120]
call fcn.0040dd80
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x17c], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x17c]
push edx
lea ecx, [ebp - 0x120]
call fcn.00403d40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x144]
call fcn.00403d20
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
lea eax, [ebp - 0x11c]
push eax
call fcn.004112d0
mov dword [ebp - 0x180], eax
mov ecx, dword [ebp - 0x154]
mov edx, dword [ecx + 0x2fd4b0]
push edx
mov ecx, dword [ebp - 0x154]
call fcn.00405dd0
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x184]
mov dword [eax + 0x2fd4b0], ecx
lea ecx, [ebp - 0x120]
call fcn.00403da0
mov dword [ebp - 0x118], eax
jmp 0x407f8d
mov edx, dword [ebp - 0x154]
cmp dword [edx + 0x2fd4b0], 0
jne 0x408100
mov dword [ebp - 0x14c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.00403d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.00403d20
mov eax, dword [ebp - 0x14c]
jmp 0x408131
mov dword [ebp - 0x150], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.00403d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.00403d20
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047ac28
mov esp, ebp
pop ebp
ret