Function at 0x466040
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x492740]
xor eax, ebp
mov dword [ebp - 0x88], eax
push esi
lea ecx, [ebp + 8]
call fcn.00405310
lea ecx, [ebp + 8]
call fcn.00403620
movzx eax, al
test eax, eax
je 0x46607b
lea ecx, [ebp + 8]
call fcn.00405400
jmp 0x466838
call fcn.004038a0
mov dword [ebp - 0x48], eax
push 0xa
lea ecx, [ebp - 0x40]
call fcn.004269d9
lea ecx, [ebp - 0x40]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
lea edx, [ebp + 8]
push edx
call fcn.00401e00
call fcn.0045bc40
add esp, 8
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 7
je 0x466178
lea eax, [ebp + 8]
push eax
push 0x47e588
lea ecx, [ebp - 0x84]
push ecx
call fcn.004015e0
add esp, 0xc
mov ecx, eax
call fcn.004010f0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4660e9
mov dword [ebp - 0xc0], 0
jmp 0x46614a
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x46610e
mov dword [ebp - 0xc4], 0
jmp 0x46613e
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.00445660
mov dword [ebp - 0xc8], esp
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc8]
push eax
call fcn.00403850
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x80], edx
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0043b22c
push 0x48a190
lea ecx, [ebp - 0x7c]
push ecx
call fcn.0044193f
lea ecx, [ebp - 0x84]
call fcn.00405400
push 0
lea ecx, [ebp - 0x40]
call fcn.004269b5
push eax
lea ecx, [ebp - 0x40]
call fcn.004084d0
push eax
lea ecx, [ebp - 0x44]
call fcn.00401e00
cmp dword [0x497404], 0
je 0x4661ff
push ecx
mov esi, esp
mov dword [ebp - 0x8c], esp
push 0x47e5f0
lea edx, [ebp - 0x44]
push edx
push 0x47e634
lea eax, [ebp - 0x90]
push eax
call fcn.004015e0
add esp, 0xc
push eax
push esi
call fcn.00401530
add esp, 0xc
mov ecx, 0x497300
call fcn.0046acf0
lea ecx, [ebp - 0x90]
call fcn.00405400
lea ecx, [ebp - 0x44]
call fcn.00405400
lea ecx, [ebp - 0x40]
call fcn.00426af0
lea ecx, [ebp + 8]
call fcn.00405400
jmp 0x466838
mov dword [ebp - 0x5c], 1
jmp 0x466211
mov ecx, dword [ebp - 0x5c]
add ecx, 1
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x5c], 5
jg 0x466375
lea ecx, [ebp - 0x60]
call fcn.004038b0
mov edx, dword [ebp - 0x5c]
push edx
push 0x47e660
lea eax, [ebp - 0x60]
push eax
call fcn.004037a0
add esp, 0xc
lea ecx, [ebp - 0x44]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
lea edx, [ebp - 0x60]
push edx
call fcn.00401e00
lea eax, [ebp - 0x9c]
push eax
call fcn.0045b420
add esp, 8
push eax
call fcn.00403a00
add esp, 8
mov byte [ebp - 0x91], al
lea ecx, [ebp - 0x9c]
call fcn.00405400
movzx ecx, byte [ebp - 0x91]
test ecx, ecx
je 0x466368
lea ecx, [ebp - 0x64]
call fcn.004038b0
mov edx, dword [ebp - 0x5c]
push edx
push 0x47e678
lea eax, [ebp - 0x64]
push eax
call fcn.004037a0
add esp, 0xc
push 0x47e690
push ecx
mov ecx, esp
mov dword [ebp - 0xa4], esp
lea edx, [ebp - 0x64]
push edx
call fcn.00401e00
lea eax, [ebp - 0xa8]
push eax
call fcn.0045b420
add esp, 8
push eax
call fcn.00401690
add esp, 8
mov byte [ebp - 0x9d], al
lea ecx, [ebp - 0xa8]
call fcn.00405400
movzx ecx, byte [ebp - 0x9d]
test ecx, ecx
je 0x466360
push ecx
mov esi, esp
mov dword [ebp - 0xac], esp
push 0x47e694
lea edx, [ebp - 0x44]
push edx
push 0x47e6cc
lea eax, [ebp - 0xb0]
push eax
call fcn.004015e0
add esp, 0xc
push eax
push esi
call fcn.00401530
add esp, 0xc
mov ecx, 0x497300
call fcn.0046acf0
lea ecx, [ebp - 0xb0]
call fcn.00405400
lea ecx, [ebp - 0x64]
call fcn.00405400
lea ecx, [ebp - 0x60]
call fcn.00405400
lea ecx, [ebp - 0x44]
call fcn.00405400
lea ecx, [ebp - 0x40]
call fcn.00426af0
lea ecx, [ebp + 8]
call fcn.00405400
jmp 0x466838
lea ecx, [ebp - 0x64]
call fcn.00405400
lea ecx, [ebp - 0x60]
call fcn.00405400
jmp 0x466208
push 1
lea ecx, [ebp - 0x40]
call fcn.004269b5
push eax
lea ecx, [ebp - 0x40]
call fcn.004084d0
push eax
lea ecx, [ebp - 0x10]
call fcn.00401e00
push 2
lea ecx, [ebp - 0x40]
call fcn.004269b5
push eax
lea ecx, [ebp - 0x40]
call fcn.004084d0
push eax
lea ecx, [ebp - 0x14]
call fcn.00401e00
push 3
lea ecx, [ebp - 0x40]
call fcn.004269b5
push eax
lea ecx, [ebp - 0x40]
call fcn.004084d0
push eax
lea ecx, [ebp - 8]
call fcn.00401e00
push 4
lea ecx, [ebp - 0x40]
call fcn.004269b5
push eax
lea ecx, [ebp - 0x40]
call fcn.004084d0
push eax
lea ecx, [ebp - 0x24]
call fcn.00401e00
push 5
lea ecx, [ebp - 0x40]
call fcn.004269b5
push eax
lea ecx, [ebp - 0x40]
call fcn.004084d0
push eax
lea ecx, [ebp - 0xc]
call fcn.00401e00
push 6
lea ecx, [ebp - 0x40]
call fcn.004269b5
push eax
lea ecx, [ebp - 0x40]
call fcn.004084d0
push eax
lea ecx, [ebp - 0x20]
call fcn.00401e00
lea ecx, [ebp - 0x20]
call fcn.00401d10
mov esi, eax
push 0x2f
lea ecx, [ebp - 0x20]
call fcn.004033a0
sub esi, eax
sub esi, 1
push esi
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004033f0
lea ecx, [ebp - 0x1c]
call fcn.004038b0
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [0x4973d4]
push eax
push 0x47e6f8
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004037a0
add esp, 0x10
lea ecx, [ebp - 0x1c]
call fcn.004010f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x4c]
call fcn.004038b0
mov edx, dword [ebp - 0x44]
push edx
push 0x47e704
lea eax, [ebp - 0x4c]
push eax
call fcn.004037a0
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.004010f0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4664af
mov dword [ebp - 0xcc], 0
jmp 0x466510
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x4664d4
mov dword [ebp - 0xd0], 0
jmp 0x466504
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.00445660
mov dword [ebp - 0xd4], esp
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 4]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xd4]
push edx
call fcn.00403850
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xcc], eax
lea ecx, [ebp - 0x4c]
call fcn.004010f0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x46652d
mov dword [ebp - 0xd8], 0
jmp 0x46658e
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x466552
mov dword [ebp - 0xdc], 0
jmp 0x466582
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.00445660
mov dword [ebp - 0xe0], esp
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 4]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xe0]
push edx
call fcn.00403850
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 0xd8]
push edx
push 0x7e3
mov eax, dword [0x497208]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x4c]
call fcn.00405e00
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00405e00
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.004010f0
push eax
lea ecx, [ebp - 0x20]
call fcn.004010f0
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
jne 0x4667d8
lea ecx, [ebp - 0x6c]
call fcn.004038b0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x47e718
lea edx, [ebp - 0x6c]
push edx
call fcn.004037a0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xb4], esp
lea eax, [ebp - 0x6c]
push eax
call fcn.00401e00
call sym.QiyiInstaller.exe_SendLog
add esp, 4
mov ecx, dword [ebp - 0x44]
push ecx
push 0x47e748
lea edx, [ebp - 0x4c]
push edx
call fcn.004037a0
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.004010f0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x46664f
mov dword [ebp - 0xe4], 0
jmp 0x4666b0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x466674
mov dword [ebp - 0xe8], 0
jmp 0x4666a4
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.00445660
mov dword [ebp - 0xec], esp
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 4]
shl edx, 1
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xec]
push ecx
call fcn.00403850
mov dword [ebp - 0xe8], eax
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0xe4], edx
lea ecx, [ebp - 0x4c]
call fcn.004010f0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4666cd
mov dword [ebp - 0xf0], 0
jmp 0x46672e
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x4666f2
mov dword [ebp - 0xf4], 0
jmp 0x466722
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.00445660
mov dword [ebp - 0xf8], esp
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 4]
shl edx, 1
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xf8]
push ecx
call fcn.00403850
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0xf0]
push ecx
push 0x7e3
mov edx, dword [0x497208]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x4c]
call fcn.00405e00
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00405e00
lea ecx, [ebp - 0x68]
call fcn.004038b0
mov eax, dword [ebp - 0x1c]
push eax
push 0x47e75c
lea ecx, [ebp - 0x68]
push ecx
call fcn.004037a0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xb8], esp
lea edx, [ebp - 0x68]
push edx
call fcn.00401e00
call sym.QiyiInstaller.exe_Run
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
push 0x47e77c
lea ecx, [ebp - 0x6c]
push ecx
call fcn.004037a0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xbc], esp
lea edx, [ebp - 0x6c]
push edx
call fcn.00401e00
call sym.QiyiInstaller.exe_SendLog
add esp, 4
lea ecx, [ebp - 0x68]
call fcn.00405400
lea ecx, [ebp - 0x6c]
call fcn.00405400
lea ecx, [ebp - 0x4c]
call fcn.00405400
lea ecx, [ebp - 0x1c]
call fcn.00405400
lea ecx, [ebp - 0x50]
call fcn.00405400
lea ecx, [ebp - 0x20]
call fcn.00405400
lea ecx, [ebp - 0xc]
call fcn.00405400
lea ecx, [ebp - 0x24]
call fcn.00405400
lea ecx, [ebp - 8]
call fcn.00405400
lea ecx, [ebp - 0x14]
call fcn.00405400
lea ecx, [ebp - 0x10]
call fcn.00405400
lea ecx, [ebp - 0x44]
call fcn.00405400
lea ecx, [ebp - 0x40]
call fcn.00426af0
lea ecx, [ebp + 8]
call fcn.00405400
lea esp, [ebp - 0xfc]
pop esi
mov ecx, dword [ebp - 0x88]
xor ecx, ebp
call fcn.0043aca7
mov esp, ebp
pop ebp
ret