Function at 0x43c760
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0x260], eax
mov eax, dword [ebp + 0x10]
cmp eax, 0x111
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
ja 0x43c96f
je 0x43c839
cmp eax, 0xf
je 0x43c7e3
cmp eax, 0x18
jne 0x43c8b9
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0xc]
push ebx
push eax
push 0x18
push edi
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov edx, dword [esi + 8]
push 1
push 0
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.004fe05a
mov esp, ebp
pop ebp
ret 0x14
push 0x3c
lea eax, [esp + 0x28]
push 0
push eax
mov dword [esp + 0x2c], 0
call fcn.005002f0
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
push edi
call dword [sym.imp.USER32.dll_BeginPaint]
mov edx, dword [esi]
push 0
push eax
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
lea ecx, [esp + 0x20]
push ecx
push edi
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.004fe05a
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp + 0x14]
mov ecx, edx
shr ecx, 0x10
cmp cx, 0x300
jne 0x43c8e1
push 0
push 0
push 0x14f
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x206
lea edx, [esp + 0x66]
push 0
push edx
mov word [esp + 0x6c], 0
call fcn.005002f0
add esp, 0xc
push 0x104
lea eax, [esp + 0x64]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 0x3c]
lea ecx, [esp + 0x60]
push ecx
push 0
push edx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 8]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
push ebx
push edx
push eax
mov eax, dword [esi + 0xc]
push edi
push eax
call dword [sym.imp.USER32.dll_CallWindowProcW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.004fe05a
mov esp, ebp
pop ebp
ret 0x14
cmp cx, 1
jne 0x43c8b9
push ebx
push edx
mov edx, dword [esi + 0xc]
push 0x111
push edi
push edx
call dword [sym.imp.USER32.dll_CallWindowProcW]
push 0x206
mov ebx, eax
lea eax, [esp + 0x66]
push 0
push eax
mov word [esp + 0x6c], 0
call fcn.005002f0
mov edx, dword [esi + 0x34]
add esp, 0xc
push 0x104
lea ecx, [esp + 0x64]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
lea eax, [esp + 0x60]
push eax
push 0
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 8]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push eax
call esi
push 1
push 0
push edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.004fe05a
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0x201
jb 0x43c8b9
cmp eax, 0x203
ja 0x43c8b9
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetClientRect]
movzx edx, bx
cmp edx, dword [esp + 0x18]
jge 0x43c8b6
mov eax, ebx
shr eax, 0x10
cmp eax, dword [esp + 0x1c]
jge 0x43c8b6
mov ecx, dword [esi + 0x34]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004fe05a
mov esp, ebp
pop ebp
ret 0x14