Function at 0x408410
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493e55
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x4d13f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14c], ecx
mov ecx, dword [ebp - 0x14c]
call fcn.00405800
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x128]
cmp ecx, dword [eax + 0x2fd4b4]
je 0x408495
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x128]
mov dword [edx + 0x2fd4b4], eax
mov ecx, dword [ebp - 0x14c]
add ecx, 0x2fd5e8
call fcn.0040f110
mov ecx, dword [ebp - 0x14c]
call fcn.0040e440
mov ecx, dword [ebp - 0x14c]
add ecx, 0x2fd4b8
call fcn.00403da0
test eax, eax
jne 0x4084c5
push 0
push 0
push 0x49dee4
mov ecx, dword [ebp - 0x14c]
call fcn.0044ea0c
xor eax, eax
jmp 0x4088f5
lea ecx, [ebp - 0x12c]
call fcn.004112b0
mov dword [ebp - 4], 0
push 0xff
push 0
lea ecx, [ebp - 0x11c]
push ecx
call fcn.0047ba50
add esp, 0xc
mov ecx, dword [ebp - 0x14c]
add ecx, 0x2fd4c0
call fcn.00411270
push eax
push 0x104
lea edx, [ebp - 0x11c]
push edx
push 0x49db17
push str.MethodIndex
mov ecx, dword [ebp - 0x14c]
add ecx, 0x2fd4b8
call fcn.00411270
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x11c]
push eax
push 0x49df08
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00411460
add esp, 0xc
lea ecx, [ebp - 0x12c]
call fcn.00403da0
test eax, eax
jne 0x408592
push 0
push 0
push 0x49df0c
mov ecx, dword [ebp - 0x14c]
call fcn.0044ea0c
mov dword [ebp - 0x130], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00403d20
mov eax, dword [ebp - 0x130]
jmp 0x4088f5
lea ecx, [ebp - 0x12c]
call fcn.00411270
push eax
call fcn.0047badb
add esp, 4
mov edx, dword [ebp - 0x14c]
mov dword [edx + 0x2fd64c], eax
mov eax, dword [ebp - 0x14c]
cmp dword [eax + 0x2fd64c], 2
jne 0x4085f7
mov ecx, dword [ebp - 0x14c]
call fcn.00407b00
test eax, eax
jne 0x4085f7
mov dword [ebp - 0x134], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00403d20
mov eax, dword [ebp - 0x134]
jmp 0x4088f5
mov dword [ebp - 0x124], 0
lea ecx, [ebp - 0x120]
call fcn.004112b0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14c]
cmp dword [ecx + 0x2fd64c], 3
jne 0x408877
push 0xff
push 0
lea edx, [ebp - 0x11c]
push edx
call fcn.0047ba50
add esp, 0xc
mov ecx, dword [ebp - 0x14c]
add ecx, 0x2fd4c0
call fcn.00411270
push eax
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0x49db2d
push str.KWin1
mov ecx, dword [ebp - 0x14c]
add ecx, 0x2fd4b8
call fcn.00411270
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x11c]
push ecx
push 0x49df28
lea edx, [ebp - 0x12c]
push edx
call fcn.00411460
add esp, 0xc
lea ecx, [ebp - 0x12c]
call fcn.00403da0
test eax, eax
jne 0x4086d9
mov dword [ebp - 0x138], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.00403d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00403d20
mov eax, dword [ebp - 0x138]
jmp 0x4088f5
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ecx + 0x2fd4b4]
mov dword [eax + 0x2fd4ac], edx
lea ecx, [ebp - 0x12c]
call fcn.00403da0
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jle 0x408821
push 0
push 0x49df2c
lea ecx, [ebp - 0x12c]
call fcn.0040dcb0
push eax
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x12c]
call fcn.0040de00
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x154], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x154]
push edx
lea ecx, [ebp - 0x120]
call fcn.00403d40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x13c]
call fcn.00403d20
lea ecx, [ebp - 0x12c]
call fcn.00403da0
mov esi, eax
lea ecx, [ebp - 0x120]
call fcn.00403da0
sub esi, eax
sub esi, 1
push esi
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x12c]
call fcn.0040dd80
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x15c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x15c]
push edx
lea ecx, [ebp - 0x12c]
call fcn.00403d40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x140]
call fcn.00403d20
lea ecx, [ebp - 0x12c]
call fcn.00403da0
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 0x120]
call fcn.00411270
push eax
call fcn.0047badb
add esp, 4
push eax
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 0x2fd4ac]
push ecx
mov ecx, dword [ebp - 0x14c]
call fcn.004083b0
mov edx, dword [ebp - 0x14c]
mov dword [edx + 0x2fd4ac], eax
jmp 0x408702
mov eax, dword [ebp - 0x14c]
cmp dword [eax + 0x2fd4ac], 0
jne 0x408877
push 0
push 0
push 0x49df30
mov ecx, dword [ebp - 0x14c]
call fcn.0044ea0c
mov dword [ebp - 0x144], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.00403d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00403d20
mov eax, dword [ebp - 0x144]
jmp 0x4088f5
mov ecx, dword [ebp - 0x14c]
cmp dword [ecx + 0x2fd64c], 4
jne 0x40889e
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 0x2fd4b4]
mov dword [edx + 0x2fd4ac], ecx
mov edx, dword [ebp - 0x14c]
mov eax, dword [edx + 0x2fd4b4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ecx + 0x2fd4b4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [ebp - 0x148], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.00403d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00403d20
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047ac28
mov esp, ebp
pop ebp
ret