Function at 0x4296c3
Capabilities:
Get graphical window text
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a323a
mov eax, dword fs:[0]
push eax
mov eax, 0x133c
call fcn.00581590
mov eax, dword [0x617ff0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [0x6b5aec], 0
je 0x429af8
lea ecx, [ebp - 0x118]
call fcn.0041d882
xor ecx, ecx
mov dword [ebp - 0x12fc], 7
xor eax, eax
mov dword [ebp - 0x1300], ecx
mov word [ebp - 0x1310], ax
lea eax, [ebp - 0x118]
mov dword [ebp - 4], ecx
push eax
mov esi, ecx
call fcn.0058b5a0
pop ecx
test eax, eax
je 0x429762
movzx eax, byte [ebp + esi - 0x118]
mov word [ebp + esi*2 - 0x320], ax
lea eax, [ebp - 0x118]
push eax
inc esi
call fcn.0058b5a0
pop ecx
cmp esi, eax
jb 0x429740
lea eax, [ebp - 0x118]
push eax
call fcn.0058b5a0
add eax, eax
pop ecx
cmp eax, 0x208
jae 0x429b14
xor ecx, ecx
mov word [ebp + eax - 0x320], cx
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x1310]
call fcn.004269a5
xor esi, esi
mov edi, 0x6188dc
cmp dword [0x6188ec], esi
jne 0x429839
lea eax, [ebp - 0x1344]
mov dword [ebp - 0x1348], 1
push eax
push esi
lea eax, [ebp - 0x1348]
mov dword [ebp - 0x1344], esi
push eax
push 8
call dword [0x6b5aec]
test eax, eax
je 0x429839
mov eax, dword [ebp - 0x1344]
add eax, eax
push eax
call fcn.0058b06c
mov esi, eax
pop ecx
test esi, esi
je 0x429837
mov ecx, dword [ebp - 0x1344]
xor eax, eax
add ecx, ecx
push ecx
push eax
push esi
call fcn.005838b0
add esp, 0xc
mov dword [ebp - 0x1348], 1
lea eax, [ebp - 0x1344]
push eax
push esi
lea eax, [ebp - 0x1348]
push eax
push 8
call dword [0x6b5aec]
push esi
mov ecx, edi
call fcn.004269a5
push esi
call fcn.0058b077
xor esi, esi
pop ecx
mov dword [ebp - 4], esi
jmp 0x429839
xor esi, esi
push str.Lang_
call fcn.00589e3d
pop ecx
push eax
push str.Lang_
lea ecx, [ebp - 0x1310]
call fcn.0042affc
push 0xffffffffffffffff
push esi
push edi
lea ecx, [ebp - 0x1310]
call fcn.0042b0a4
push str..lng
call fcn.00589e3d
pop ecx
push eax
push str..lng
lea ecx, [ebp - 0x1310]
call fcn.0042affc
push 0x800
lea eax, [ebp - 0x12f8]
push esi
push eax
call fcn.005838b0
add esp, 0xc
lea eax, [ebp - 0x12f8]
push 0x400
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
mov dword [ebp - 0x1314], 7
mov word [ebp - 0x1328], ax
lea ecx, [ebp - 0x1328]
lea eax, [ebp - 0x12f8]
mov dword [ebp - 0x1318], esi
push eax
call fcn.004269a5
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1340]
mov dword [ebp - 0x1330], esi
xor eax, eax
mov esi, 0x5f3af8
mov dword [ebp - 0x132c], 7
push esi
mov word [ebp - 0x1340], ax
call fcn.004269a5
push 0xffffffffffffffff
xor eax, eax
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x1328]
push eax
lea ecx, [ebp - 0x1340]
call fcn.0042b0a4
push esi
call fcn.00589e3d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1340]
call fcn.0042affc
cmp dword [ebp - 0x12fc], 8
lea eax, [ebp - 0x1310]
cmovae eax, dword [ebp - 0x1310]
xor esi, esi
push eax
push esi
push 0x5f3afc
push str.Strings
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
test eax, eax
jne 0x429a42
cmp dword [0x6188f0], 8
lea ecx, [ebp - 0x1344]
cmovae edi, dword [0x6188dc]
push edi
call fcn.0040820c
push esi
push 0x2d
lea ecx, [ebp - 0x1344]
mov byte [ebp - 4], 5
call fcn.0042afc8
test eax, eax
jle 0x429a30
push eax
lea eax, [ebp - 0x1348]
push eax
lea ecx, [ebp - 0x1344]
call fcn.0040686d
push eax
lea ecx, [ebp - 0x1344]
mov byte [ebp - 4], 6
call fcn.00406c84
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1348]
lea ecx, [ecx - 0x10]
call fcn.00404048
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x1310]
call fcn.004269a5
mov esi, str.Lang_
push esi
call fcn.00589e3d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1310]
call fcn.0042affc
mov esi, dword [ebp - 0x1344]
xor eax, eax
cmp word [esi], ax
je 0x429a08
push esi
call fcn.00589e3d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1310]
call fcn.0042affc
mov esi, str..lng
push esi
call fcn.00589e3d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1310]
call fcn.0042affc
xor esi, esi
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1344]
lea ecx, [ecx - 0x10]
call fcn.00404048
push 8
pop edi
cmp dword [ebp - 0x12fc], edi
lea edx, [ebp - 0x1310]
lea ecx, [ebp - 0x1328]
cmovae edx, dword [ebp - 0x1310]
lea eax, [ebp - 0x1340]
cmp dword [ebp - 0x1314], edi
push edx
cmovae ecx, dword [ebp - 0x1328]
lea edx, [ebp - 0xaf8]
cmp dword [ebp - 0x132c], edi
push 0x3e8
cmovae eax, dword [ebp - 0x1340]
push edx
push ecx
push eax
push str.Strings
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
xor eax, eax
lea ecx, [ebp - 0x1328]
mov word [ebp - 0x32a], ax
lea eax, [ebp - 0xaf8]
push eax
call fcn.004269a5
cmp dword [ebp - 0x1314], edi
lea eax, [ebp - 0x1328]
cmovae eax, dword [ebp - 0x1328]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
push 1
lea ecx, [ebp - 0x1340]
call fcn.00403bb4
push esi
push 1
lea ecx, [ebp - 0x1328]
call fcn.00403bb4
push esi
push 1
lea ecx, [ebp - 0x1310]
call fcn.00403bb4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00580b5b
mov esp, ebp
pop ebp
ret
call fcn.0058106a
int3