Function at 0x4d60e0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
push ebx
mov eax, ecx
push ebp
push esi
push edi
mov ebx, dword [eax + 4]
mov dword [esp + 0x10], eax
test ebx, ebx
je 0x4d60fc
mov ebx, dword [ebx + 0x8c]
jmp 0x4d60fe
xor ebx, ebx
xor edi, edi
xor ebp, ebp
call fcn.004970c0
mov esi, eax
test esi, esi
je 0x4d61ca
test ebx, ebx
je 0x4d61ca
nop dword [eax]
test dword [esi + 0x40], 0x4020
je 0x4d6147
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x4d6137
mov eax, dword [eax]
jmp 0x4d6139
xor eax, eax
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindow]
cmp eax, dword [ebx]
jne 0x4d6147
inc edi
push esi
call fcn.00497c50
mov esi, eax
add esp, 4
test esi, esi
jne 0x4d6120
test edi, edi
je 0x4d61ca
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov ebp, eax
xor edi, edi
call fcn.004970c0
mov esi, eax
test esi, esi
je 0x4d61ca
test ebx, ebx
je 0x4d61ca
nop dword [eax + eax]
test dword [esi + 0x40], 0x4020
je 0x4d61bb
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x4d61a7
mov eax, dword [eax]
jmp 0x4d61a9
xor eax, eax
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindow]
cmp eax, dword [ebx]
jne 0x4d61bb
mov dword [ebp + edi*4], esi
inc edi
push esi
call fcn.00497c50
mov esi, eax
add esp, 4
test esi, esi
jne 0x4d6190
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.004d3710
test eax, eax
je 0x4d61ea
push ebp
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push dword [ebx]
call dword [sym.imp.ole32.dll_RevokeDragDrop]
call dword [sym.imp.USER32.dll_GetClipboardOwner]
cmp eax, dword [ebx]
jne 0x4d6201
call fcn.004a2430
push dword [ebx]
call fcn.004a2270
add esp, 4
push 0
push 0
push 0x8000
push dword [ebx]
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4d622e
push eax
push dword [ebx]
call fcn.004a23c0
add esp, 8
mov eax, dword [ebx]
cmp eax, dword [0x5999ac]
jne 0x4d6281
mov ecx, dword [0x599954]
mov eax, dword [ecx]
call dword [eax + 0x170]
test eax, eax
je 0x4d6281
mov ecx, dword [0x599954]
mov eax, dword [ecx]
call dword [eax + 0x170]
push eax
push dword [0x5999ac]
call fcn.004a23c0
mov ecx, dword [0x599954]
add esp, 8
mov dword [0x5999ac], 0xffffffff
mov eax, dword [ecx]
push 0
call dword [eax + 0x174]
cmp dword [ebx + 8], 0
je 0x4d6299
call fcn.0049d670
push dword [ebx + 8]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x18c]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push dword [ebx]
mov esi, eax
mov dword [esp + 0x18], esi
call dword [sym.imp.USER32.dll_GetParent]
cmp esi, eax
jne 0x4d62c5
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx]
call esi
push 8
push dword [esp + 0x18]
call esi
push dword [ebx]
call dword [sym.imp.USER32.dll_DestroyWindow]
test edi, edi
je 0x4d6301
xor esi, esi
test edi, edi
jle 0x4d6301
mov ecx, dword [ebp + esi*4]
mov eax, dword [ecx]
call dword [eax + 0x14]
inc esi
cmp esi, edi
jl 0x4d62d7
xor esi, esi
test esi, esi
je 0x4d62f3
mov ecx, dword [ebp]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp + esi*4]
mov eax, dword [ecx]
call dword [eax + 0x10]
inc esi
cmp esi, edi
jl 0x4d62e7
push ebp
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ebp, dword [esp + 0x14]
add esp, 4
mov eax, dword [ebp + 4]
test dword [eax + 0x40], 0x4020
je 0x4d633d
call fcn.004970c0
test eax, eax
je 0x4d633d
call fcn.004970c0
cmp dword [eax + 0x8c], 0
je 0x4d633d
call fcn.004970c0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push 0x10
push ebx
call fcn.0051633b
add esp, 8
mov dword [ebp + 8], 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret