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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x46e780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea ebx, [ebp + 8]
call fcn.00407b50
mov edi, eax
call fcn.00407bd0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x40ee2c
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ee18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0x6c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439e3e
mov esp, ebp
pop ebp
ret
call dword [0x46fb44]
mov ebx, eax
push 0xa
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x14], ebx
call fcn.00428c5c
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x54]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
call fcn.00402490
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0040bb40
add esp, 8
cmp eax, 7
je 0x40eed5
lea edx, [ebp - 0x1c]
push str._DownloadAndInstall__Invalid_arguments__nArg_7_:
push edx
lea ecx, [ebp + 8]
call fcn.004022b0
mov edi, dword [eax]
xor esi, esi
add esp, 8
cmp edi, esi
jne 0x40ee8d
mov dword [ebp - 8], esi
jmp 0x40eebb
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x40eea3
mov dword [ebp - 8], esi
jmp 0x40eebb
lea esi, [eax + eax]
mov eax, esi
call fcn.004411d0
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.00408520
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x60]
call fcn.0043a782
push 0x468880
lea ecx, [ebp - 0x60]
push ecx
call fcn.0043e4e2
push 0
lea ecx, [ebp - 0x54]
call fcn.00428c38
test eax, eax
jne 0x40eee8
jmp fcn.00423c33
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402490
add esp, 4
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
call fcn.00421a7e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40f29c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0xc]
add eax, 0x10
push str.softname_d
push edx
mov dword [ebp - 0xc], eax
call fcn.00401700
mov eax, dword [ebp - 0xc]
add esp, 8
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
mov dword [ebp - 0x28], eax
call fcn.00402490
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x20]
add esp, 4
push eax
call fcn.0040b170
mov edx, dword [ebp - 0x18]
xor ecx, ecx
add esp, 8
test edx, edx
setne cl
test ecx, ecx
je 0x40f29c
mov eax, dword [eax]
mov ecx, edx
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40efa6
test dx, dx
je 0x40efa2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40efa6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40ef80
xor eax, eax
jmp 0x40efab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, dword [ebp - 0x20]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40efcf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40f081
call fcn.00421a7e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40f29c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 8]
add eax, 0x10
push str.softcheck_d
push edx
mov dword [ebp - 8], eax
call fcn.00401700
mov esi, dword [ebp - 8]
add esp, 0xc
push 0x45f248
push ecx
add esi, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov edi, esp
push esi
call fcn.00402490
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x24]
add esp, 4
push eax
call fcn.0040b170
add esp, 8
push eax
call fcn.00407a70
mov bl, al
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f064
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x40f0c6
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f081
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f09d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 1
cmp eax, 3
mov dword [ebp - 0x10], eax
jle 0x40ef04
push 1
lea ecx, [ebp - 0x54]
call fcn.00428c38
test eax, eax
jne 0x40f188
jmp fcn.00423c33
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esp
push str._install_canceled_by_user__n
lea ecx, [ebp - 0x20]
push str.Additional_software
push ecx
lea ecx, [ebp - 0x18]
call fcn.004022b0
add esp, 8
push eax
push esi
call fcn.004021d0
add esp, 0xc
push 0x472bf0
call fcn.00406be0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f118
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f137
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f156
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f175
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x54]
call fcn.00428d94
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
jmp 0x40edff
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402490
add esp, 4
add eax, 0x10
push 2
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x24], eax
call fcn.00428c38
test eax, eax
jne 0x40f1b0
jmp fcn.00423c33
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402490
mov ebx, eax
add esp, 4
add ebx, 0x10
push 3
lea ecx, [ebp - 0x54]
mov dword [ebp - 8], ebx
call fcn.00428c38
test eax, eax
jne 0x40f1da
jmp fcn.00423c33
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402490
add esp, 4
add eax, 0x10
push 4
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x1c], eax
call fcn.00428c38
test eax, eax
jne 0x40f202
jmp fcn.00423c33
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402490
add esp, 4
add eax, 0x10
push 5
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x34], eax
call fcn.00428c38
test eax, eax
jne 0x40f22a
jmp fcn.00423c33
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402490
add esp, 4
add eax, 0x10
push 6
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x38], eax
call fcn.00428c38
test eax, eax
jne 0x40f252
jmp fcn.00423c33
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402490
mov edi, eax
mov esi, dword [edi + 4]
add edi, 0x10
push 0x2f
push edi
mov dword [ebp - 0x28], edi
call fcn.0043a8f3
add esp, 0xc
test eax, eax
jne 0x40f27d
or eax, 0xffffffff
jmp 0x40f281
sub eax, edi
sar eax, 1
sub esi, eax
sub esi, 1
push esi
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407970
call fcn.00421a7e
test eax, eax
jne 0x40f2a6
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [0x472cc0]
push ecx
add eax, 0x10
push edx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push 0x460d84
push eax
call fcn.00401700
mov ecx, dword [ebp - 0x10]
add esp, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00421a7e
test eax, eax
jne 0x40f2ee
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x2c]
add eax, 0x10
push 0x461804
push edx
mov dword [ebp - 0x2c], eax
call fcn.00401700
add esp, 0xc
test ebx, ebx
jne 0x40f31b
mov dword [ebp - 0xc], ebx
jmp 0x40f361
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x40f35c
lea edi, [eax + eax]
mov eax, edi
call fcn.004411d0
mov esi, esp
test esi, esi
je 0x40f35c
mov eax, dword [ebp - 0x14]
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push eax
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x40f35e
xor eax, eax
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x40f3af
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x40f3af
lea ebx, [eax + eax]
mov eax, ebx
call fcn.004411d0
mov esi, esp
test esi, esi
je 0x40f3ac
mov ecx, dword [ebp - 0x14]
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push ecx
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, dword [ebp - 8]
neg eax
sbb eax, eax
and eax, esi
jmp 0x40f3b1
mov ebx, dword [ebp - 8]
xor eax, eax
mov edx, dword [ebp - 0xc]
push edx
push eax
mov eax, dword [0x472b4c]
push 0x7e3
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test edi, edi
jne 0x40f3cf
xor eax, eax
jmp 0x40f3e9
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f3d4
sub eax, edx
sar eax, 1
js 0x40f777
cmp eax, dword [edi - 8]
jg 0x40f777
test ebx, ebx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], 0
jne 0x40f403
xor eax, eax
jmp 0x40f425
mov eax, ebx
lea edx, [eax + 2]
jmp 0x40f410
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f410
sub eax, edx
sar eax, 1
js 0x40f777
cmp eax, dword [ebx - 8]
jg 0x40f777
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x28]
push 0
push 0
push ecx
push edx
mov dword [ebx - 0xc], eax
push 0
mov word [ebx + eax*2], 0
call sub.urlmon.dll_URLDownloadToFileW
call fcn.00421a7e
test eax, eax
jne 0x40f45d
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0xc]
add eax, 0x10
push str.installdownloadOk_s1
push edx
mov dword [ebp - 0xc], eax
call fcn.00401700
mov eax, dword [ebp - 0xc]
add esp, 8
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00402490
add eax, 0x10
add esp, 4
mov dword [esi], eax
call sym.QiyiInstaller.exe_SendLog
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x2c]
push str.ck_W:N
push edx
call fcn.00401700
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x40f4f7
lea esi, [eax + eax]
mov eax, esi
call fcn.004411d0
mov edi, esp
test edi, edi
je 0x40f4f7
mov eax, dword [ebp - 0x14]
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push eax
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
neg esi
sbb esi, esi
and esi, edi
jmp 0x40f4f9
xor esi, esi
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40f544
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x40f544
add eax, eax
mov dword [ebp - 0x30], eax
call fcn.004411d0
mov edi, esp
test edi, edi
je 0x40f544
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
push 0
push 0
push ecx
push edi
push 0xffffffffffffffff
push ebx
push 0
push edx
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, edi
jmp 0x40f546
xor eax, eax
push esi
push eax
mov eax, dword [0x472b4c]
push 0x7e3
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
jne 0x40f561
xor eax, eax
jmp 0x40f57b
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f566
sub eax, edx
sar eax, 1
js 0x40f777
cmp eax, dword [ebx - 8]
jg 0x40f777
mov edx, dword [ebp - 8]
mov dword [ebx - 0xc], eax
mov word [ebx + eax*2], 0
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f595
sub eax, esi
sar eax, 1
js 0x40f777
cmp eax, dword [edx - 8]
jg 0x40f777
mov dword [edx - 0xc], eax
mov word [edx + eax*2], cx
call fcn.00421a7e
test eax, eax
jne 0x40f5cd
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
add eax, 0x10
push 0x46185c
push edx
mov dword [ebp - 0x14], eax
call fcn.00401700
mov esi, dword [ebp - 0x14]
add esp, 8
add esi, 0xfffffff0
mov dword [ebp - 0x30], esp
mov edi, esp
push esi
call fcn.00402490
add eax, 0x10
add esp, 4
mov dword [edi], eax
call sym.QiyiInstaller.exe_Run
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0xc]
push str.installinstallOk_s1
push ecx
call fcn.00401700
mov edi, dword [ebp - 0xc]
add esp, 0xc
add edi, 0xfffffff0
mov dword [ebp - 0x30], esp
mov ebx, esp
push edi
call fcn.00402490
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call sym.QiyiInstaller.exe_SendLog
add esp, 4
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40f65e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f677
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f696
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f6b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f6d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f6f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f712
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f731
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f750
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f76f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
jmp 0x40f13a
push 0x80070057
call fcn.00401350
int3