Function at 0x402275
Capabilities:
Get graphical window text

Disassembly:
jmp 0x415e1e
mov eax, 0x4658d0
call fcn.0043da24
sub esp, 0x248
push ebx
push esi
push edi
xor esi, esi
xor eax, eax
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], esi
mov ecx, 0x81
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ax, word [0x47ed6c]
lea edi, [ebp - 0x252]
mov word [ebp - 0x254], ax
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0040254a
cmp eax, esi
je 0x416023
mov ecx, dword [eax]
push eax
call dword [ecx + 0x84]
mov ebx, eax
cmp ebx, esi
je 0x416023
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], esi
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx]
push dword [ebp + 0xc]
mov ecx, ebx
call dword [eax + 4]
lea eax, [ebp - 0x254]
push 0x104
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebx]
lea ecx, [ebp - 0x254]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x18]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0x3e8
mov ecx, ebx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x3e8
lea esi, [ebp - 0x3c]
mov edi, esp
mov dword [ebp - 0x34], eax
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 8]
mov eax, dword [ebx]
push 0x65
push 0
push 2
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, ebx
call dword [eax + 0x24]
mov esi, eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
sub esi, dword [ebp - 0x38]
sub edi, dword [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x10]
mov eax, esi
sub eax, dword [ebp - 0x20]
lea eax, [ecx + eax + 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, edi
sub eax, dword [ebp - 0x24]
lea eax, [ecx + eax + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x415f83
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x10]
push 0x4000
sub eax, dword [ebp - 0x18]
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 + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
sub esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
sub edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
lea eax, [eax + esi + 0x14]
mov esi, eax
lea ecx, [ecx + edi + 0x14]
sub esi, edx
mov dword [ebp - 0x10], eax
cmp esi, 0x64
mov dword [ebp - 0x14], ecx
jge 0x415fe0
lea eax, [edx + 0x64]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x1c]
mov edi, ecx
sub edi, esi
cmp edi, 0x12c
jge 0x415ff8
lea ecx, [esi + 0x12c]
mov dword [ebp - 0x14], ecx
sub eax, edx
push 0x4002
push eax
sub ecx, esi
xor eax, eax
push ecx
push eax
push eax
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004018bb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8