Function at 0x4f91d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2bc], ebx
cmp edi, 0x101
ja 0x4f93b3
je 0x4f9398
lea eax, [edi - 0xc]
cmp eax, 0xf4
ja case.0x4f921e.13
movzx eax, byte [eax + 0x4f943c]
jmp dword [eax*4 + 0x4f9428]
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
and ebx, 1
add ebx, 0x20
test al, 2
je 0x4f923d
or ebx, 2
test eax, 0x200
je 0x4f9247
or ebx, 4
mov edi, dword [ebp - 0x2bc]
lea eax, [ebp - 0x21c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x2b8]
push eax
push edi
call dword [sym.imp.USER32.dll_BeginPaint]
push dword [esi + 0x3c]
mov dword [ebp - 0x2c0], eax
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004256b0
mov edi, dword [ebp - 0x2c0]
add esp, 4
push eax
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
cmp dword [esi + 0x28], 0
jne 0x4f92cc
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [ebp - 0x278]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [ebp - 0x278]
mov byte [ebp - 0x263], 1
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [esi + 0x28], eax
push dword [esi + 0x28]
push edi
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
call edi
mov esi, eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [ebp - 0x2bc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ebx
mov ebx, dword [ebp - 0x2c0]
lea eax, [ebp - 0x21c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
push esi
push ebx
call edi
lea eax, [ebp - 0x2b8]
push eax
push dword [ebp - 0x2bc]
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp + 0x14]
push ecx
push edi
push ebx
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_CallWindowProcW]
push 0
push 0
push ebx
mov esi, eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0x10
cmp ecx, 0x20
jne case.0x4f921e.13
mov byte [esi + 0x44], 1
push dword [ebp + 0x14]
push ecx
push edi
push ebx
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_CallWindowProcW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0x10
cmp ecx, 0x20
jne case.0x4f921e.13
cmp byte [esi + 0x44], 0
je case.0x4f921e.13
mov ecx, esi
mov byte [esi + 0x44], 0
call fcn.004f8fd0
mov ecx, dword [ebp + 0x10]
jmp case.0x4f921e.13
mov eax, edi
sub eax, 0x200
je 0x4f93da
sub eax, 1
je 0x4f9372
sub eax, 1
jne case.0x4f921e.13
cmp byte [esi + 0x44], al
je case.0x4f921e.13
mov ecx, esi
mov byte [esi + 0x44], al
call fcn.004f8fd0
mov ecx, dword [ebp + 0x10]
jmp case.0x4f921e.13
cmp dword [esi + 0x2c], 0
jne 0x4f9404
push 0x5fc058
push 0x5fbfd8
push 0x20
push 0x20
push 2
push 5
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_CreateCursor]
mov dword [esi + 0x2c], eax
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0x10