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

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, eax
mov esi, 0xc9
call fcn.004507b0
xor esi, esi
cmp eax, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
je 0x4cb835
mov ecx, dword [eax + 0x14]
mov ebx, dword [sym.imp.USER32.dll_ClientToScreen]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x20]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x2c], edx
call ebx
test eax, eax
je 0x4cb835
mov eax, dword [edi + 4]
lea edx, [esp + 0x20]
push edx
push eax
call ebx
mov ecx, dword [edi + 0x394]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, dword [sym.imp.USER32.dll_InvalidateRect]
jne 0x4cb94e
mov edx, dword [edi + 0x394]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xffffefff
mov dword [edi + 0x40c], eax
mov eax, dword [edi + 4]
mov dword [edi + 0x408], eax
push ecx
mov eax, esp
lea esi, [edi + 0x390]
mov dword [esi + 0x70], 4
mov dword [esi + 0x74], 3
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [edi + 4]
push eax
call fcn.004976a0
mov ecx, dword [edi + 0x3cc]
push 0
push 0xd
push 0xc5
push ecx
call ebx
mov eax, 0x3d3d3d
push 1
mov dword [esi + 0x34], eax
mov edx, dword [esi + 0x3c]
push 0
push edx
mov dword [esi + 0x5c], eax
call ebp
mov eax, dword [esi + 0x3c]
push 1
push 0
push eax
call ebp
push 0x204
call fcn.004562a0
mov ecx, dword [esi + 0x3c]
add esp, 4
push 1
push eax
push 0x30
push ecx
mov dword [esp + 0x24], eax
call ebx
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4cb909
cmp eax, dword [esp + 0x14]
je 0x4cb909
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x6c], edx
mov eax, dword [edi + 0x384]
push eax
mov eax, dword [esi + 0x3c]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [edi + 0x384]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x4cb93e
mov edx, dword [esi + 0x3c]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
jmp 0x4cb989
mov eax, dword [esi + 0x3c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
jmp 0x4cb989
mov eax, dword [edi + 0x384]
mov edx, dword [edi + 0x3cc]
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [edi + 0x384]
mov eax, dword [eax - 0xc]
cmp eax, esi
je 0x4cb97a
mov ecx, dword [edi + 0x3cc]
push 5
push ecx
jmp 0x4cb982
mov edx, dword [edi + 0x3cc]
push esi
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x20]
sub edx, ecx
push edx
push eax
mov eax, dword [edi + 0x394]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [edi + 0x394]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, 0x12d
call fcn.004507b0
xor esi, esi
cmp eax, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
je 0x4cba1b
mov edx, dword [eax + 0x14]
mov esi, dword [sym.imp.USER32.dll_ClientToScreen]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x2c], edx
mov edx, dword [edi + 4]
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x28]
push ecx
push edx
mov dword [esp + 0x3c], eax
call esi
test eax, eax
je 0x4cba19
mov ecx, dword [edi + 4]
lea eax, [esp + 0x30]
push eax
push ecx
call esi
xor esi, esi
mov eax, dword [edi + 0x378]
mov edx, dword [edi + 0x414]
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 0xd
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4cbb36
mov eax, dword [edi + 0x414]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xffffefff
mov dword [edi + 0x48c], eax
mov eax, dword [edi + 4]
mov dword [edi + 0x488], eax
push ecx
mov eax, esp
lea esi, [edi + 0x410]
mov dword [esi + 0x70], 4
mov dword [esi + 0x74], 3
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], 0
mov ecx, dword [edi + 4]
push ecx
call fcn.004976a0
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x44c]
push 0
push edx
push 0xc5
push eax
call ebx
mov eax, 0x3d3d3d
push 1
mov dword [esi + 0x34], eax
mov ecx, dword [esi + 0x3c]
push 0
push ecx
mov dword [esi + 0x5c], eax
call ebp
mov edx, dword [esi + 0x3c]
push 1
push 0
push edx
call ebp
push 0x204
call fcn.004562a0
add esp, 4
push 1
mov ebp, eax
mov eax, dword [esi + 0x3c]
push ebp
push 0x30
push eax
call ebx
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4cbaf6
cmp eax, ebp
je 0x4cbaf6
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x6c], ebp
mov ecx, dword [edi + 0x388]
mov edx, dword [esi + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [edi + 0x388]
cmp dword [eax - 0xc], 0
je 0x4cbb26
mov ecx, dword [esi + 0x3c]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
jmp 0x4cbb6f
mov edx, dword [esi + 0x3c]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
jmp 0x4cbb6f
mov edx, dword [edi + 0x388]
mov eax, dword [edi + 0x44c]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [edi + 0x388]
cmp dword [ecx - 0xc], esi
je 0x4cbb60
mov edx, dword [edi + 0x44c]
push 5
push edx
jmp 0x4cbb68
mov eax, dword [edi + 0x44c]
push esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x30]
sub edx, ecx
push edx
push eax
mov eax, dword [edi + 0x414]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [edi + 0x414]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret