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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, ecx
push dword [ebp + 0x10]
lea ecx, [ebp - 8]
call fcn.004064a9
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.004064a9
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov ecx, esi
mov dword [ebp - 0x18], eax
call fcn.004322f8
test eax, eax
jne 0x4322ba
push dword [ebp + 8]
call fcn.0043231f
test eax, eax
pop ecx
jne 0x4322ba
mov eax, dword [0x4a9450]
push dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 0x4a960c
push eax
call fcn.004069e4
add esp, 0xc
lea ecx, [ebp - 0x14]
push str.8481EA66_F5B3_4054_A242_14D21A797294
call fcn.004064a9
mov eax, dword [0x4a9450]
mov esi, 0x2801
push esi
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], eax
call fcn.00406846
test eax, eax
je 0x432166
mov eax, dword [ebp + 0x10]
mov dword [eax - 8], esi
mov eax, dword [ebp + 0x10]
and word [eax + 0x5002], 0
mov eax, dword [ebp + 0x10]
push ebx
push edi
push dword [ebp - 8]
mov edi, 0x2800
push edi
push eax
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
lea ecx, [ebp + 0x10]
push ebx
call fcn.004068ae
mov eax, dword [0x4a9450]
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00406846
test eax, eax
je 0x4321b5
mov eax, dword [ebp - 4]
mov dword [eax - 8], esi
mov eax, dword [ebp - 4]
and word [eax + 0x5002], 0
mov eax, dword [ebp - 4]
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, eax
lea ecx, [ebp - 4]
push esi
call fcn.004068ae
test esi, esi
jle 0x432209
push dword [ebp - 8]
lea eax, [ebp + 0xc]
push eax
call fcn.0043bbd3
push dword [ebp - 8]
push dword [ebp + 0xc]
call fcn.0043ba77
add esp, 0x10
test eax, eax
je 0x432201
push dword [ebp + 0xc]
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0043ca77
add esp, 0x10
lea ecx, [ebp + 0xc]
call fcn.00401085
pop edi
test ebx, ebx
pop ebx
je 0x432257
push dword [ebp - 0x14]
push dword [ebp + 0x10]
call fcn.00491db7
pop ecx
test eax, eax
pop ecx
je 0x432257
mov eax, dword [ebp - 8]
cmp dword [eax - 8], 0
je 0x432257
push 0x4b0f40
lea ecx, [ebp + 0xc]
call fcn.004064a9
push 0x4bf5f0
lea ecx, [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004091dc
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp + 0xc]
jmp 0x432295
test esi, esi
jle 0x43226d
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp - 0x18]
lea eax, [ebp + 0xc]
push dword [ebp + 0x14]
push eax
call fcn.004325d7
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [eax - 8], 0
je 0x432292
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp + 0xc]
call fcn.00401085
lea ecx, [ebp - 4]
call fcn.00401085
lea ecx, [ebp + 0x10]
call fcn.00401085
lea ecx, [ebp - 0x14]
call fcn.00401085
lea ecx, [ebp - 0xc]
call fcn.00401085
lea ecx, [ebp - 0x10]
call fcn.00401085
lea ecx, [ebp - 8]
call fcn.00401085
pop esi
leave
ret 0x10