Function at 0x40eb30
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.00414820
mov edi, eax
call fcn.004148a0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x40eb8c
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40eb78
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.00439c98
mov esp, ebp
pop ebp
ret
call dword [0x46fb34]
mov ebx, eax
push 0xa
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x14], ebx
call fcn.00428a45
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.00402470
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0040b8a0
add esp, 8
cmp eax, 7
je 0x40ec35
lea edx, [ebp - 0x1c]
push str._DownloadAndInstall__Invalid_arguments__nArg_7_:
push edx
lea ecx, [ebp + 8]
call fcn.00402290
mov edi, dword [eax]
xor esi, esi
add esp, 8
cmp edi, esi
jne 0x40ebed
mov dword [ebp - 8], esi
jmp 0x40ec1b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x40ec03
mov dword [ebp - 8], esi
jmp 0x40ec1b
lea esi, [eax + eax]
mov eax, esi
call fcn.00441030
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.00408280
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x60]
call fcn.0043b4a4
push 0x4686c8
lea ecx, [ebp - 0x60]
push ecx
call fcn.0043e342
push 0
lea ecx, [ebp - 0x54]
call fcn.00428a21
test eax, eax
jne 0x40ec48
jmp fcn.00423abe
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402470
add esp, 4
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
call fcn.0042190e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40effc
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.004016e0
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.00402470
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x20]
add esp, 4
push eax
call fcn.0040aed0
mov edx, dword [ebp - 0x18]
xor ecx, ecx
add esp, 8
test edx, edx
setne cl
test ecx, ecx
je 0x40effc
mov eax, dword [eax]
mov ecx, edx
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40ed06
test dx, dx
je 0x40ed02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40ed06
add eax, 4
add ecx, 4
test dx, dx
jne 0x40ece0
xor eax, eax
jmp 0x40ed0b
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 0x40ed2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40ede1
call fcn.0042190e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40effc
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.004016e0
mov esi, dword [ebp - 8]
add esp, 0xc
push 0x45f238
push ecx
add esi, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov edi, esp
push esi
call fcn.00402470
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x24]
add esp, 4
push eax
call fcn.0040aed0
add esp, 8
push eax
call fcn.004078d0
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 0x40edc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x40ee26
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ede1
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 0x40edfd
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 0x40ec64
push 1
lea ecx, [ebp - 0x54]
call fcn.00428a21
test eax, eax
jne 0x40eee8
jmp fcn.00423abe
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.00402290
add esp, 8
push eax
push esi
call fcn.004021b0
add esp, 0xc
push 0x472bc8
call fcn.00406b90
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 0x40ee78
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 0x40ee97
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 0x40eeb6
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 0x40eed5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x54]
call fcn.00428b7d
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
jmp 0x40eb5f
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402470
add esp, 4
add eax, 0x10
push 2
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x24], eax
call fcn.00428a21
test eax, eax
jne 0x40ef10
jmp fcn.00423abe
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402470
mov ebx, eax
add esp, 4
add ebx, 0x10
push 3
lea ecx, [ebp - 0x54]
mov dword [ebp - 8], ebx
call fcn.00428a21
test eax, eax
jne 0x40ef3a
jmp fcn.00423abe
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402470
add esp, 4
add eax, 0x10
push 4
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x1c], eax
call fcn.00428a21
test eax, eax
jne 0x40ef62
jmp fcn.00423abe
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402470
add esp, 4
add eax, 0x10
push 5
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x34], eax
call fcn.00428a21
test eax, eax
jne 0x40ef8a
jmp fcn.00423abe
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402470
add esp, 4
add eax, 0x10
push 6
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x38], eax
call fcn.00428a21
test eax, eax
jne 0x40efb2
jmp fcn.00423abe
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402470
mov edi, eax
mov esi, dword [edi + 4]
add edi, 0x10
push 0x2f
push edi
mov dword [ebp - 0x28], edi
call fcn.0043b615
add esp, 0xc
test eax, eax
jne 0x40efdd
or eax, 0xffffffff
jmp 0x40efe1
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.004077d0
call fcn.0042190e
test eax, eax
jne 0x40f006
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 [0x472c98]
push ecx
add eax, 0x10
push edx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push 0x460bc4
push eax
call fcn.004016e0
mov ecx, dword [ebp - 0x10]
add esp, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0042190e
test eax, eax
jne 0x40f04e
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 0x461644
push edx
mov dword [ebp - 0x2c], eax
call fcn.004016e0
add esp, 0xc
test ebx, ebx
jne 0x40f07b
mov dword [ebp - 0xc], ebx
jmp 0x40f0c1
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x40f0bc
lea edi, [eax + eax]
mov eax, edi
call fcn.00441030
mov esi, esp
test esi, esi
je 0x40f0bc
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 0x40f0be
xor eax, eax
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x40f10f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x40f10f
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00441030
mov esi, esp
test esi, esi
je 0x40f10c
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 0x40f111
mov ebx, dword [ebp - 8]
xor eax, eax
mov edx, dword [ebp - 0xc]
push edx
push eax
mov eax, dword [0x472b24]
push 0x7e3
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test edi, edi
jne 0x40f12f
xor eax, eax
jmp 0x40f149
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f134
sub eax, edx
sar eax, 1
js 0x40f4d7
cmp eax, dword [edi - 8]
jg 0x40f4d7
test ebx, ebx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], 0
jne 0x40f163
xor eax, eax
jmp 0x40f185
mov eax, ebx
lea edx, [eax + 2]
jmp 0x40f170
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f170
sub eax, edx
sar eax, 1
js 0x40f4d7
cmp eax, dword [ebx - 8]
jg 0x40f4d7
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.0042190e
test eax, eax
jne 0x40f1bd
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.004016e0
mov eax, dword [ebp - 0xc]
add esp, 8
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00402470
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.004016e0
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x40f257
lea esi, [eax + eax]
mov eax, esi
call fcn.00441030
mov edi, esp
test edi, edi
je 0x40f257
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 0x40f259
xor esi, esi
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40f2a4
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x40f2a4
add eax, eax
mov dword [ebp - 0x30], eax
call fcn.00441030
mov edi, esp
test edi, edi
je 0x40f2a4
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 0x40f2a6
xor eax, eax
push esi
push eax
mov eax, dword [0x472b24]
push 0x7e3
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
jne 0x40f2c1
xor eax, eax
jmp 0x40f2db
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f2c6
sub eax, edx
sar eax, 1
js 0x40f4d7
cmp eax, dword [ebx - 8]
jg 0x40f4d7
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 0x40f2f5
sub eax, esi
sar eax, 1
js 0x40f4d7
cmp eax, dword [edx - 8]
jg 0x40f4d7
mov dword [edx - 0xc], eax
mov word [edx + eax*2], cx
call fcn.0042190e
test eax, eax
jne 0x40f32d
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 0x46169c
push edx
mov dword [ebp - 0x14], eax
call fcn.004016e0
mov esi, dword [ebp - 0x14]
add esp, 8
add esi, 0xfffffff0
mov dword [ebp - 0x30], esp
mov edi, esp
push esi
call fcn.00402470
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.004016e0
mov edi, dword [ebp - 0xc]
add esp, 0xc
add edi, 0xfffffff0
mov dword [ebp - 0x30], esp
mov ebx, esp
push edi
call fcn.00402470
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 0x40f3be
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 0x40f3d7
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 0x40f3f6
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 0x40f415
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 0x40f434
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 0x40f453
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 0x40f472
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 0x40f491
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 0x40f4b0
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 0x40f4cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
jmp 0x40ee9a
push 0x80070057
call fcn.00401350
int3