Function at 0x43c021
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x443d28
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x140
cmp dword [ebp + 0x2c], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, ecx
jne 0x43c062
push 1
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea eax, [ebp + 0x1c]
push esi
push eax
push dword [ebp + 8]
call fcn.0040bf07
add esp, 0x14
jmp 0x43c07a
push dword [ebx + 0xac]
mov ecx, ebx
push dword [ebp + 8]
push 0x1795
call fcn.00406f9b
push eax
call edi
mov eax, dword [esi + 0x44]
push 0
add dword [ebp + 0x1c], eax
mov eax, dword [esi + 0x48]
add dword [ebp + 0x20], eax
mov eax, dword [esi + 0x4c]
sub dword [ebp + 0x24], eax
mov eax, dword [esi + 0x50]
sub dword [ebp + 0x28], eax
push 0
push 0x31
push dword [ebx + 0xac]
call edi
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp + 0x2c], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0x28]
sub eax, dword [ebp + 0x20]
lea esi, [ebp + 0x1c]
mov ecx, ebx
push eax
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0043bea0
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
sub eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
push dword [ebp + 8]
call fcn.00422c1e
mov ecx, dword [ebp - 0x10]
xor eax, eax
sub ecx, dword [ebp - 0x18]
mov dword [ebp - 4], eax
push ecx
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
push ecx
push eax
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0040bc07
mov esi, eax
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x100]
push 1
lea eax, [ebp - 0x74]
push dword [esi]
push dword [ebp + 0x10]
push eax
push dword [ebp - 0x30]
call fcn.0040c9c3
push dword [esi]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x2c]
push dword [ebp + 8]
call fcn.0040d0de
add esp, 0x38
lea eax, [ebp - 0x14c]
push 0xc8
push eax
push dword [ebx + 0xac]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [ebp + 0x14]
and byte [ebp - 0x85], 0
add eax, 4
push eax
call fcn.0040d0c9
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
pop ecx
push eax
push dword [ebp + 8]
call esi
mov edi, dword [sym.imp.GDI32.dll_SetBkMode]
push 1
push dword [ebp + 8]
mov dword [ebp + 0x10], eax
call edi
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x14c]
push eax
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043c355
push 0xfffffffffffffff0
push dword [ebx + 0xac]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push dword [ebp - 0x20]
mov ecx, ebx
push dword [ebp - 0x24]
push eax
call fcn.0043c245
mov ecx, ebx
call fcn.0043c3a2
push eax
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x14c]
mov ebx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0x14]
push ebx
call fcn.0040da65
add esp, 0x18
push dword [ebp + 0x10]
push ebx
call esi
push dword [ebp + 0x2c]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0xc]
push ebx
call edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00422c78
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
leave
ret 0x28