Function at 0x5007a0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x55c
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x94]
call fcn.004ff220
mov esi, dword [esp + 0x570]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x101f
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
lea ecx, [esp + 0x18]
mov dword [esp + 0x4dc], eax
call fcn.0042a140
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], 0x542f00
call fcn.00458dc0
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], esi
call dword [edx + 4]
push eax
lea ecx, [esp + 0x28]
call fcn.00411250
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [esp + 0x20]
push eax
push 0xfffffffffffffffc
push esi
call edi
test eax, eax
je 0x500831
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x40]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ch, 1
cmp eax, ecx
je 0x500851
mov edx, dword [esp + 0x40]
push ecx
push 0xfffffffffffffff0
push edx
call edi
mov eax, dword [esp + 0x40]
push 0
push 0
push 0x1037
push eax
call ebx
test eax, 0x10000
mov ebp, eax
je 0x50086f
and eax, 0xfffeffff
mov ecx, dword [esp + 0x40]
push eax
push 0
push 0x1036
push ecx
call ebx
push 2
lea ecx, [esp + 0x40]
call fcn.0045c610
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x70]
mov dword [esp + 0x6c], 0
lea edx, [esp + 0x6c]
rep stosd dword es:[edi], eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x40]
push edx
push 2
push 0x102b
push eax
mov dword [esp + 0x8c], 1
call ebx
lea ecx, [esp + 0x5c]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x554e08
push 0x554e08
push esi
mov dword [esp + 0x518], esi
call fcn.005193e0
mov eax, dword [esp + 0x438]
mov ecx, dword [esp + 0x580]
add esp, 0xc
cmp eax, ecx
je 0x50094a
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x50090c
mov edx, dword [0x547574]
add eax, 0xfffffff4
cmp eax, edx
jne 0x500913
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x500926
mov edx, dword [ecx - 8]
push ecx
push edx
lea ecx, [esp + 0x434]
call fcn.00405870
jmp 0x50094a
lea ecx, [esp + 0x42c]
call fcn.004124c0
mov eax, dword [esp + 0x574]
mov dword [esp + 0x42c], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
lea eax, [esp + 0x94]
lea ecx, [esp + 0x9c]
push eax
push ecx
push 0x55f3b0
call fcn.0040f710
mov edx, dword [0x55f3b8]
push 0
push 0x4141a0
push edi
push 0xd0
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push 0
push str.explorer
push esi
call fcn.005193e0
mov eax, dword [esp + 0x4c]
add esp, 0xc
push ebp
push 0
push 0x1036
push eax
call ebx
mov ecx, dword [esp + 0x1c]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffffc
push ecx
call edi
lea edx, [esp + 0x20]
cmp edx, eax
jne 0x5009e4
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
push eax
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x5009e4
mov edx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x40]
push 0xfffffffffffffff0
push eax
call edi
mov ecx, eax
and ecx, 0xffefffff
cmp eax, ecx
je 0x500a07
push ecx
mov ecx, dword [esp + 0x44]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push 0
push 0x200000
lea ecx, [esp + 0x4c]
call fcn.004469d0
mov edx, dword [esp + 0x578]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.004c92d0
lea ecx, [esp + 0x5c]
push 0
push ecx
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], esi
call fcn.00489880
mov edx, dword [0x55bbe8]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 0x3c]
call fcn.00458f90
lea ecx, [esp + 0x94]
mov dword [esp + 0x18], 0x542f00
call fcn.004ff2a0
lea ecx, [esp + 0x574]
call fcn.00405700
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x55c
ret