Function at 0x4b7a22
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
push esi
push edi
mov dword [ebp - 0x248], 1
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x12c], 0
call fcn.004e3d0e
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x4b80e1
push 5
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
jne 0x4b7a8b
jmp 0x4b80f5
push 2
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
jne 0x4b7ab2
jmp 0x4b80f5
push 0
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4b7ad3
jmp 0x4b80f5
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
cmp dword [eax], 0
jne 0x4b80d7
lea eax, [ebp - 0x114]
push eax
push 0x200
call fcn.004e3fc4
add esp, 8
lea eax, [ebp - 0x238]
push eax
push 0x105
push 0xd
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x531dbc
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [0x533660], 1
push 0x24
push 0x52d870
lea eax, [ebp - 0x114]
push eax
mov eax, dword [0x533644]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x4b80d7
push 1
call fcn.0049c470
add esp, 4
mov dword [0x533660], 0
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 4
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
mov eax, dword [eax + 0x28a]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x240]
mov dword [eax + 0x28a], 0
mov eax, dword [ebp - 0x240]
mov eax, dword [eax + 0x28e]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x240]
mov dword [eax + 0x28e], 0
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 0x218]
push eax
call fcn.00477cca
add esp, 8
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x4b7c58
jmp 0x4b8014
mov eax, dword [ebp - 0x11c]
cmp dword [eax + 0x21c], 2
jne 0x4b7cc1
mov eax, dword [ebp - 0x120]
push eax
mov eax, dword [ebp - 0x11c]
push eax
call fcn.004b78c4
add esp, 8
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jne 0x4b7cbc
push 4
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x240], eax
jmp 0x4b8014
push 0x3ee
push 1
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 0x214]
push eax
mov eax, dword [ebp - 0x11c]
add eax, 0x10a
push eax
mov eax, dword [ebp - 0x11c]
xor ecx, ecx
cmp dword [eax + 0x210], 0
setge cl
push ecx
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 0x210]
push eax
mov eax, dword [ebp - 0x11c]
add eax, 4
push eax
call fcn.004af38b
add esp, 0x1c
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 0x218]
push eax
call fcn.00477eb5
add esp, 4
lea eax, [ebp - 0x23c]
push eax
push 0
mov eax, dword [ebp - 0x11c]
add eax, 0x218
push eax
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 0x214]
push eax
call fcn.00477c97
add esp, 0x10
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x4b7d70
jmp 0x4b8014
mov eax, dword [ebp - 0x120]
push eax
call fcn.004b7707
add esp, 4
mov eax, dword [ebp - 0x244]
push eax
call fcn.004b78ab
add esp, 4
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0xc], eax
push 0x52ceb0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x60
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 0x218]
push eax
mov eax, dword [ebp - 0x120]
push eax
call fcn.004af9d3
add esp, 0xc
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x4b7df8
jmp 0x4b8014
push 4
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x118]
push eax
call fcn.005211e5
add esp, 4
mov eax, dword [ebp - 0x240]
mov eax, dword [eax + 0xe]
push eax
mov eax, dword [ebp - 0x240]
mov eax, dword [eax + 0xa]
push eax
mov eax, dword [ebp - 0x240]
mov eax, dword [eax + 0x5a]
push eax
mov eax, dword [ebp - 0x240]
mov eax, dword [eax + 0x56]
push eax
mov eax, dword [ebp - 0x120]
push eax
call fcn.004e462a
add esp, 0x14
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x4b7e7e
jmp 0x4b8014
mov eax, dword [ebp - 0x240]
push eax
mov eax, dword [ebp - 0x120]
push eax
call fcn.0049a311
add esp, 8
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x4b7eac
jmp 0x4b8014
mov eax, dword [ebp - 0x240]
cmp dword [eax + 0xa], 0
je 0x4b7f03
mov eax, dword [ebp - 0x240]
test byte [eax + 0xe], 1
jne 0x4b7f03
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x240]
mov eax, dword [eax + 0xa]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004e4256
add esp, 8
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
push 0
mov eax, dword [ebp - 0x240]
mov eax, dword [eax + 0x1e]
push eax
mov eax, dword [ebp - 0x240]
mov eax, dword [eax + 0x1a]
push eax
mov eax, dword [ebp - 0x244]
push eax
call fcn.004e462a
add esp, 0x14
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x4b7f42
jmp 0x4b8014
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
mov eax, dword [ebp - 0x250]
push eax
mov eax, dword [ebp - 0x240]
mov eax, dword [eax + 2]
push eax
push 0
push 0
mov eax, dword [ebp - 0x120]
push eax
call fcn.004e472e
add esp, 0x18
push 0
mov eax, dword [ebp - 0x24c]
push eax
mov eax, dword [ebp - 0x240]
mov eax, dword [eax + 6]
push eax
push 0
push 1
mov eax, dword [ebp - 0x120]
push eax
call fcn.004e472e
add esp, 0x18
push 0
push 0
push 1
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_SetScrollPos]
push 0
push 0
push 0
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_SetScrollPos]
push 0
mov eax, dword [ebp - 0x240]
xor ecx, ecx
mov cx, word [eax + 2]
shl ecx, 0x10
mov cl, 0x63
push ecx
push 0x114
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov eax, dword [ebp - 0x240]
xor ecx, ecx
mov cx, word [eax + 6]
shl ecx, 0x10
mov cl, 0x63
push ecx
push 0x115
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x7d00
push 2
call fcn.004d4fdd
add esp, 8
push 0
push 2
call fcn.004d52cc
add esp, 8
cmp dword [ebp - 0x12c], 0
je 0x4b8087
mov eax, dword [ebp - 0x124]
push eax
call fcn.004b75cc
add esp, 4
cmp dword [ebp - 0x124], 0
je 0x4b806b
push 0
push 0
push 0x10
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_DefMDIChildProcA]
cmp dword [ebp - 0x12c], 0
jle 0x4b8082
push 8
call fcn.0049c6f9
add esp, 4
jmp 0x4b80d7
push 5
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x124]
push eax
call fcn.004bad5e
add esp, 4
push 1
mov eax, dword [ebp - 0x124]
push eax
call fcn.004a1e47
add esp, 8
mov eax, dword [ebp - 0x130]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x118]
push eax
mov eax, dword [ebp - 0x120]
push eax
call fcn.0052090d
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call fcn.0049c470
add esp, 4
mov dword [0x533660], 0
pop edi
pop esi
pop ebx
leave
ret