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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e8
mov eax, dword [0x4747c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call edi
mov ebx, eax
mov dword [ebp - 0x1e4], ebx
test ebx, ebx
je 0x433732
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
nop word [eax + eax]
push ebx
call fcn.00433450
add esp, 4
lea eax, [ebp - 0x184]
push 0xc0
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4336da
lea esi, [ebp - 0x184]
call fcn.00432270
test al, al
je 0x4336d4
mov ax, word [ebp - 0x184]
mov ecx, esi
test ax, ax
je 0x4334f8
movzx edx, ax
nop dword [eax + eax]
cmp dx, 0x7e
ja 0x4336d4
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x4334e0
xor eax, eax
lea edi, [ebp - 0x184]
lea ebx, [eax + 0x25]
movzx ecx, word [edi]
test cx, cx
je 0x433561
test eax, eax
jne 0x433514
cmp ecx, 0x20
je 0x433522
cmp ecx, 0x20
jb 0x433522
cmp ecx, 0x3d
je 0x433522
cmp ecx, ebx
jne 0x43354e
mov edx, ecx
mov word [eax*2 + 0x478928], bx
shr ecx, 4
and ecx, 0xf
movsx ecx, byte [ecx + str.0123456789ABCDEF]
mov word [eax*2 + 0x47892a], cx
add eax, 2
and edx, 0xf
movsx ecx, byte [edx + str.0123456789ABCDEF]
mov word [eax*2 + 0x478928], cx
add edi, 2
inc eax
cmp eax, 0x1bb
jb 0x433503
mov ebx, dword [ebp - 0x1e4]
test eax, eax
jle 0x433591
cmp word [eax*2 + 0x478926], 0x20
jne 0x433591
mov dword [eax*2 + 0x478926], 0x320025
mov ecx, 0x30
mov word [eax*2 + 0x47892a], cx
add eax, 2
add eax, eax
cmp eax, 0x380
jae 0x433742
push dword [0x474078]
xor ecx, ecx
push 0xc0
mov word [eax + 0x478928], cx
lea eax, [ebp - 0x184]
push eax
push 0x46629c
push 0x478928
push 0x478840
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0xbf
je 0x433689
mov ax, word [ebp - 0x184]
cmp ax, 0xa
je 0x433689
xor ecx, ecx
lea edi, [ebp - 0x184]
mov dword [ebp - 0x1e8], ecx
test ax, ax
je 0x4336ce
cmp word [esi], 0x25
jne 0x433652
movzx ecx, word [esi + 2]
lea eax, [ecx - 0x30]
cmp eax, 9
ja 0x433618
add ecx, 0xffffffd0
jmp 0x433623
lea eax, [ecx - 0x41]
cmp eax, 5
ja 0x433652
add ecx, 0xffffffc9
test ecx, ecx
js 0x433652
movzx edx, word [esi + 4]
lea eax, [edx - 0x30]
cmp eax, 9
ja 0x433638
add edx, 0xffffffd0
jmp 0x433643
lea eax, [edx - 0x41]
cmp eax, 5
ja 0x433652
add edx, 0xffffffc9
test edx, edx
js 0x433652
shl ecx, 4
add ecx, edx
add esi, 4
mov word [edi], cx
movzx eax, word [esi + 2]
add esi, 2
inc dword [ebp - 0x1e8]
add edi, 2
mov word [edi], ax
test ax, ax
jne 0x433601
cmp dword [ebp - 0x1e8], 0
mov ebx, dword [ebp - 0x1e4]
je 0x4336ce
lea eax, [ebp - 0x184]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x4336ce
mov edx, dword [0x47891c]
test edx, edx
jle 0x4336ce
mov ecx, 0x478928
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4336a0
sub ecx, esi
sar ecx, 1
cmp ecx, edx
jle 0x4336ce
push dword [0x474078]
push 0x478928
push 0x478928
push 0x478840
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x1e0]
push eax
push 0x5c
push 0
push 0
push 0x31
push ebx
call esi
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x43371c
lea eax, [ebp - 0x1c4]
push 0x478880
push eax
call fcn.0044879f
add esp, 8
test eax, eax
jne 0x43371c
push 1
push dword [0x478900]
push 0x30
push ebx
call esi
push 2
push ebx
call edi
mov ebx, eax
mov dword [ebp - 0x1e4], eax
test ebx, ebx
jne 0x433490
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00437271
mov esp, ebp
pop ebp
ret
call fcn.00437b4a
int3