Function at 0x4f45b0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x27c
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push eax
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0xf8]
mov ebx, dword [esp + 0x290]
test eax, eax
je 0x4f4632
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x64]
push edx
push eax
call edi
mov edx, dword [esi + 8]
lea ecx, [esp + 0x74]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x10]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub edx, edi
add edx, ecx
mov ecx, dword [esi + 0xf8]
add eax, ebp
push edx
mov edi, dword [ecx]
push eax
lea eax, [esp + 0x18]
push eax
push ebx
call dword [edi + 4]
mov eax, dword [esi + 0xef8]
test eax, eax
jne 0x4f48eb
mov ecx, dword [esi + 0x12c]
push 0
push 0
push 0x7f
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
push 2
sub eax, ecx
mov dword [esi + 0xefc], 3
sub eax, 0x10
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esi + 8]
sar edi, 1
push eax
add edi, ecx
lea ebp, [edx + 6]
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4f469b
add ebp, dword [esi + 0xf00]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4f46b7
push 3
push 0
push 0
push 0x10
push 0x10
push eax
push edi
push ebp
push ebx
call dword [sym.imp.USER32.dll_DrawIconEx]
mov ecx, dword [esi + 0xefc]
lea eax, [ecx + ebp + 0x10]
mov ecx, dword [esp + 0x18]
sub ecx, 0x10
mov dword [esp + 0x10], eax
cmp ecx, eax
mov dword [esp + 0x18], ecx
jge 0x4f46d8
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x12c]
lea edx, [esp + 0x84]
push 0x104
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
push 2
mov ecx, esi
call fcn.004eea40
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x20], eax
call dword [edx + 0x40]
test eax, eax
je 0x4f476d
mov eax, dword [0x5e3f44]
test eax, eax
je 0x4f476d
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x28]
mov dword [esp + 0x24], 0x40
rep stosd dword es:[edi], eax
mov eax, dword [0x5deb70]
mov dword [esp + 0x28], 0x2800
test eax, eax
mov dword [esp + 0x58], 0xc
je 0x4f48c4
mov ecx, dword [0x5de220]
test ecx, ecx
je 0x4f48c4
lea ecx, [esp + 0x24]
jmp 0x4f489d
mov eax, dword [esi + 0x47c]
mov ebp, dword [sym.imp.GDI32.dll_SetTextColor]
test eax, eax
je 0x4f4831
mov ecx, dword [esi + 0x478]
push ecx
push ebx
call ebp
push 1
lea edx, [esp + 0x14]
push 1
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x28]
mov dword [esp + 0x24], 0x40
rep stosd dword es:[edi], eax
mov eax, dword [0x5deb70]
mov dword [esp + 0x28], 0x2800
test eax, eax
mov dword [esp + 0x58], 1
je 0x4f4807
mov ecx, dword [0x5de220]
test ecx, ecx
je 0x4f4807
mov ecx, dword [0x5e3f44]
test ecx, ecx
je 0x4f4807
lea ecx, [esp + 0x24]
lea edx, [esp + 0x10]
push ecx
push edx
push 0x48824
lea ecx, [esp + 0x90]
push 0xffffffffffffffff
push ecx
push 0
push 3
push ebx
push eax
mov ecx, 0x5e3e38
call fcn.004d5d90
jmp 0x4f4822
lea edx, [esp + 0x10]
push 0x48824
push edx
lea eax, [esp + 0x8c]
push 0xffffffffffffffff
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi + 0xef4]
test ecx, ecx
je 0x4f484d
call fcn.004e2790
test eax, eax
je 0x4f484d
mov edx, dword [esi + 0x444]
push edx
jmp 0x4f4854
mov eax, dword [esi + 0xf04]
push eax
push ebx
call ebp
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x28]
mov dword [esp + 0x24], 0x40
rep stosd dword es:[edi], eax
mov eax, dword [0x5deb70]
mov dword [esp + 0x28], 0x2800
test eax, eax
mov dword [esp + 0x58], 8
je 0x4f48c4
mov ecx, dword [0x5de220]
test ecx, ecx
je 0x4f48c4
mov ecx, dword [0x5e3f44]
test ecx, ecx
je 0x4f48c4
lea ecx, [esp + 0x24]
lea edx, [esp + 0x10]
push ecx
push edx
push 0x48824
lea ecx, [esp + 0x90]
push 0xffffffffffffffff
push ecx
push 0
push 3
push ebx
push eax
mov ecx, 0x5e3e38
call fcn.004d5d90
jmp 0x4f48df
lea edx, [esp + 0x10]
push 0x48824
push edx
lea eax, [esp + 0x8c]
push 0xffffffffffffffff
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x27c
ret 4