Function at 0x439ffa
Capabilities:
Get graphical window text

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x54
mov eax, 0x4892ba
call fcn.004677c7
mov eax, dword [ebp + 0x214]
mov dword [ebp - 0x28], eax
xor eax, eax
mov esi, dword [ebp + 0x218]
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x50], ebx
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], esi
call fcn.004670a0
mov ecx, dword [ebp - 0x24]
add esp, 0xc
call fcn.0042f470
cmp eax, ebx
je 0x43a1b3
mov ecx, dword [eax]
push eax
call dword [ecx + 0x84]
mov ebx, eax
test ebx, ebx
je 0x43a1b3
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 4]
push 0x104
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
lea ecx, [ebp - 0x40]
call fcn.0042f481
mov eax, dword [ebx]
and dword [ebp - 4], 0
lea ecx, [ebp]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0x3e8
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 8]
mov eax, dword [ebx]
push 0x65
push 0
push 2
push dword [ebp - 0x40]
lea ecx, [ebp - 0x60]
push ecx
mov ecx, ebx
call dword [eax + 0x24]
mov esi, eax
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x30]
sub esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x14]
sub edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x28]
add esi, 0x10
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp esi, edi
jle 0x43a1a5
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x14]
sub eax, dword [ebp - 0x50]
cmp eax, ecx
jge 0x43a14a
sub edi, esi
add dword [ebp - 0x1c], edi
jmp 0x43a162
jne 0x43a15d
mov eax, esi
sub eax, edi
cdq
sub eax, edx
sar eax, 1
sub dword [ebp - 0x1c], eax
add dword [ebp - 0x14], eax
jmp 0x43a162
sub esi, edi
add dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0042ea8e
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push 0x4000
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lea ecx, [ebp - 0x40]
call fcn.0042f49d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x20c
leave
ret 8