Function at 0x4f03c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb49f
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x544af0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0xf8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00403ca0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xfc]
cmp dword [edx + 0x3a0], 0
je 0x4f048a
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xfc]
mov ecx, dword [ecx + 0x3a0]
call sym.QiyiInstaller.exe_public:_void___thiscall_DuiLib::CProgressUI::SetValue_int_
lea ecx, [ebp - 0x1c]
call fcn.004032e0
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xc]
push edx
push str._d__
lea eax, [ebp - 0x1c]
push eax
call fcn.00404050
add esp, 0xc
lea ecx, [ebp - 0x1c]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ecx + 0x3a0]
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 0x3a0]
mov edx, dword [edx]
mov eax, dword [edx + 0x2c]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004079a0
push str.QYINSTALLPROXYWIN
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4f04b7
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [0x549cf4]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp + 0xc], 0x64
jne 0x4f052c
push ecx
mov ecx, esp
mov dword [ebp - 0xe0], esp
push str.msg_complete
call fcn.00403ca0
mov dword [ebp - 0x100], eax
lea ecx, [ebp - 0xe4]
push ecx
call fcn.004d7880
add esp, 8
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0xf8]
or eax, 1
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0x108]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00404c40
add esp, 8
movzx eax, al
test eax, eax
je 0x4f052c
mov dword [ebp - 0x10c], 1
jmp 0x4f0536
mov dword [ebp - 0x10c], 0
mov cl, byte [ebp - 0x10c]
mov byte [ebp - 0xd9], cl
mov edx, dword [ebp - 0xf8]
and edx, 1
je 0x4f055f
and dword [ebp - 0xf8], 0xfffffffe
lea ecx, [ebp - 0xe4]
call fcn.004079a0
movzx eax, byte [ebp - 0xd9]
test eax, eax
je 0x4f057a
mov ecx, dword [ebp - 0xfc]
call fcn.004f0110
jmp 0x4f0739
cmp dword [ebp + 0xc], 0
jne 0x4f05ef
push ecx
mov ecx, esp
mov dword [ebp - 0xec], esp
push str.msg_cancel_complete
call fcn.00403ca0
mov dword [ebp - 0x110], eax
lea ecx, [ebp - 0xf0]
push ecx
call fcn.004d7880
add esp, 8
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x118], edx
mov eax, dword [ebp - 0xf8]
or eax, 2
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0x118]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00404c40
add esp, 8
movzx eax, al
test eax, eax
je 0x4f05ef
mov dword [ebp - 0x11c], 1
jmp 0x4f05f9
mov dword [ebp - 0x11c], 0
mov cl, byte [ebp - 0x11c]
mov byte [ebp - 0xe5], cl
mov edx, dword [ebp - 0xf8]
and edx, 2
je 0x4f0622
and dword [ebp - 0xf8], 0xfffffffd
lea ecx, [ebp - 0xf0]
call fcn.004079a0
movzx eax, byte [ebp - 0xe5]
test eax, eax
je 0x4f0739
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push 0
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0xd4]
call fcn.004f45b0
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0xf4], esp
push str.SendLog_6fail
call fcn.00403ca0
mov dword [ebp - 0x120], eax
lea ecx, [ebp - 0xd4]
call fcn.004f44b0
cmp dword [0x549e08], 0
jne 0x4f070a
lea ecx, [ebp - 0xd8]
call fcn.004032e0
mov byte [ebp - 4], 3
cmp dword [0x549e14], 0
je 0x4f06cb
mov eax, dword [0x549dc8]
push eax
push 0x517850
lea ecx, [ebp - 0xd8]
push ecx
call fcn.00404050
add esp, 0xc
jmp 0x4f06e6
mov edx, dword [0x549dc8]
push edx
push 0x5178e8
lea eax, [ebp - 0xd8]
push eax
call fcn.00404050
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0xd8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call fcn.00497a2e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd8]
call fcn.004079a0
push 0
push 0
push 0x464
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd4]
call fcn.004f4490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004079a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8