Function at 0x494730
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7026
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x51e080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov ecx, dword [edi + 0x6c]
lea edx, [ebp - 0x10]
xorps xmm0, xmm0
mov dword [edi + 0x94], eax
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x60], 0x30
mov dword [ebp - 0x5c], 0x42
mov dword [ebp - 0x50], 0x158
mov eax, dword [ecx]
push 0x158
push edx
call dword [eax]
mov eax, dword [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_InsertMenuItemW]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x60]
push eax
push 1
push 0
push dword [edi + 0x94]
call esi
lea eax, [ebp - 0x60]
mov dword [ebp - 0x5c], 0x100
push eax
push 1
push 1
push dword [edi + 0x94]
mov dword [ebp - 0x58], 0x800
call esi
mov ecx, dword [edi + 0x6c]
lea edx, [ebp - 0x10]
mov dword [ebp - 0x5c], 0x42
mov dword [ebp - 0x50], 0x8a
push 0x8a
mov eax, dword [ecx]
push edx
call dword [eax]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x60]
push eax
push 1
push 2
push dword [edi + 0x94]
call esi
mov ecx, dword [edi + 0x6c]
lea edx, [ebp - 0x10]
mov dword [ebp - 0x5c], 0x42
mov dword [ebp - 0x50], 0x15c
push 0x15c
mov eax, dword [ecx]
push edx
call dword [eax]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x60]
push eax
push 1
push 3
push dword [edi + 0x94]
call esi
push 0x7c
call fcn.004d3886
mov dword [ebp - 0x14], eax
push edi
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00493b60
push 0
mov dword [ebp - 4], 0xffffffff
push dword [0x5223e0]
mov dword [edi + 0x7c], eax
push 0
push dword [edi + 0x54]
push 0x12c
push 0x1f4
push 0xa
push 0xa
push 0x50000000
push str.Shell.Explorer
push str.AtlAxWin140
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x84], eax
test eax, eax
je 0x494927
push 0
push 0
push dword [0x522488]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
je 0x49490f
lea ecx, [edi + 0x98]
mov dword [ebp - 4], 1
mov ebx, dword [ecx]
cmp ebx, esi
je 0x4948fa
test esi, esi
je 0x4948ea
mov eax, dword [esi]
push ecx
push 0x5047fc
push esi
call dword [eax]
test eax, eax
jns 0x4948f0
lea ecx, [edi + 0x98]
mov dword [ecx], 0
test ebx, ebx
je 0x4948fa
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov dword [ebp - 4], 2
mov ecx, esi
test esi, esi
je 0x49490f
mov eax, dword [ecx]
xor esi, esi
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 3
test esi, esi
je 0x494920
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 0x7c]
xorps xmm0, xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x84]
push 0xb8
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x30], 0x21060bfd
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 8
call fcn.004d3886
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 4
push ecx
push edi
mov ecx, eax
call fcn.0045ed10
mov ecx, dword [edi + 0x60]
mov dword [edi + 0x78], eax
push 1
mov ecx, dword [ecx + 0x2bc]
mov dword [eax + 0x70], ecx
mov eax, dword [edi + 0x7c]
push dword [eax + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc