Function at 0x4a2170
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x55c
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x94]
call fcn.004a0be0
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.00421760
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], 0x4d4bc8
call fcn.0044c280
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.0040d700
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [esp + 0x20]
push eax
push 0xfffffffffffffffc
push esi
call edi
test eax, eax
je 0x4a2201
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 0x4a2221
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 0x4a223f
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.0044cd80
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 0x4e3a28
push 0x4e3a28
push esi
mov dword [esp + 0x518], esi
call fcn.004b4bf0
mov eax, dword [esp + 0x438]
mov ecx, dword [esp + 0x580]
add esp, 0xc
cmp eax, ecx
je 0x4a231a
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x4a22dc
mov edx, dword [0x4d9544]
add eax, 0xfffffff4
cmp eax, edx
jne 0x4a22e3
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x4a22f6
mov edx, dword [ecx - 8]
push ecx
push edx
lea ecx, [esp + 0x434]
call fcn.00401630
jmp 0x4a231a
lea ecx, [esp + 0x42c]
call fcn.0040e950
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 0x4edfe0
call fcn.0040bbb0
mov edx, dword [0x4edfe8]
push 0
push 0x410630
push edi
push 0xd0
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push 0
push str.explorer
push esi
call fcn.004b4bf0
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 0x4a23b4
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 0x4a23b4
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 0x4a23d7
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.0043c700
mov edx, dword [esp + 0x578]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.004945e0
lea ecx, [esp + 0x5c]
push 0
push ecx
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], esi
call fcn.00478ab0
mov edx, dword [0x4ea81c]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 0x3c]
call fcn.0044c450
lea ecx, [esp + 0x94]
mov dword [esp + 0x18], 0x4d4bc8
call fcn.004a0c60
lea ecx, [esp + 0x574]
call fcn.004014c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x55c
ret