Function at 0x10004b36
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x10014055
call fcn.1000b250
sub esp, 0x4f8
mov eax, dword [0x100190f4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
sub eax, 0xf
push ebx
push esi
push edi
mov esi, ecx
je 0x10004ca3
sub eax, 0xf1
je 0x10004b8f
dec eax
jne 0x10004b74
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.100045fa
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.1000b2da
leave
ret 0x10
cmp dword [ebp + 0x10], 0xd
jne 0x10004b74
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x4e4], bl
mov ecx, 0xff
lea edi, [ebp - 0x4e3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [ebp - 0x4e4]
push eax
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextA]
or edi, 0xffffffff
push edi
lea eax, [ebp - 0x4e4]
push eax
lea ecx, [ebp - 0xe4]
call fcn.10008629
push ebx
push 0x2e
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], ebx
call fcn.100082a6
cmp eax, edi
jne 0x10004c90
push ebx
push 0x1001531c
lea ecx, [ebp - 0xe4]
call fcn.100082e3
cmp eax, edi
jne 0x10004c90
call fcn.10006e2f
mov ecx, eax
add ecx, 4
call fcn.1000814e
test al, al
jne 0x10004c90
call fcn.10006e2f
add eax, 4
push eax
lea ecx, [ebp - 0x98]
call fcn.100085ff
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.100083d4
push 0x1001533c
lea ecx, [ebp - 0x98]
call fcn.100083e9
call fcn.10006e2f
add eax, 0x50
push eax
lea ecx, [ebp - 0x98]
call fcn.100083d4
lea ecx, [ebp - 0x98]
call fcn.1000815b
push eax
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], bl
call fcn.10008107
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], edi
call fcn.10008107
jmp 0x10004b74
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 0xc]
je 0x10004b74
call fcn.10006e2f
add eax, 0x9c
mov ecx, eax
mov dword [ebp - 0x4f4], eax
call fcn.1000814e
test al, al
jne 0x10004b74
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xf
push dword [esi + 0xc]
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_CallWindowProcA]
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetDC]
push 0x3c
mov dword [ebp - 0x4e8], eax
xor ebx, ebx
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.1000b4c0
lea eax, [ebp - 0x30]
push 0x10015354
push eax
mov byte [ebp - 0x35], bl
mov dword [ebp - 0x4c], 0xc
mov dword [ebp - 0x3c], 0x190
call fcn.1000b3c0
add esp, 0x14
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 0x4e8]
mov dword [ebp - 0x4ec], eax
call edi
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
push 0xc0c0c0
push dword [ebp - 0x4e8]
mov dword [ebp - 0x4f0], eax
call ebx
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x504]
push eax
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x4f4]
push 0x26
lea eax, [ebp - 0x504]
push eax
push 0xffffffffffffffff
call fcn.1000815b
push eax
push dword [ebp - 0x4e8]
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp + 0x10]
push dword [ebp - 0x4e8]
call ebx
push dword [ebp - 0x4f0]
push dword [ebp - 0x4e8]
call edi
push dword [ebp - 0x4ec]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x4e8]
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
inc eax
jmp 0x10004b76