Function at 0x42a9b0
Capabilities:
Copy file
Delete file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4974c0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x68]
or eax, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
add eax, 0x10
mov dword [esp + 0x68], eax
mov dword [esp + 0x5c], 0
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x5c], 1
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x5c], 2
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x5c], 3
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x5c], 4
mov eax, dword [eax + 4]
test eax, eax
jne 0x42aa7f
xor ecx, ecx
jmp 0x42aa93
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x42aa84
sub ecx, esi
sar ecx, 1
push eax
mov ebx, ecx
lea eax, [esp + 0x24]
call fcn.00401f30
push 0x5c
push 0x2f
lea ecx, [esp + 0x28]
push ecx
call fcn.00416820
lea esi, [esp + 0x38]
call fcn.0042cd20
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x38]
push ecx
mov ebx, eax
mov byte [esp + 0x64], 5
call fcn.00416b70
lea ecx, [ebp + 4]
push ecx
lea edx, [esp + 0x3c]
push edx
mov ebx, eax
mov byte [esp + 0x6c], 6
call fcn.00416b70
lea ecx, [esp + 0x3c]
push ebp
push ecx
mov ebx, eax
mov byte [esp + 0x74], 7
call fcn.00416b70
add esp, 0x18
lea edi, [esp + 0x14]
mov byte [esp + 0x5c], 8
call fcn.00401cd0
mov byte [esp + 0x5c], 7
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ab29
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x5c], 6
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ab4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x5c], 5
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ab73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x5c], 4
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ab98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x3c]
push edx
mov ebx, 0x4a76b0
call fcn.0040d090
add esp, 8
lea edi, [esp + 0x24]
mov byte [esp + 0x5c], 9
call fcn.00401cd0
mov byte [esp + 0x5c], 4
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42abe2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x4b994c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4b994c
call eax
mov edx, dword [0x4b994c]
add eax, 0x10
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4b994c
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
mov byte [esp + 0x5c], 0xa
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x40]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x42ac69
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x42ac5c
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42ac5c
call fcn.00401ec0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x42ac53
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x40], ebx
jmp 0x42ac69
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x44]
call fcn.00401f30
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x44]
lea eax, [esi - 0x10]
add ebx, 0xfffffff0
cmp eax, ebx
mov dword [esp + 0x3c], eax
je 0x42acc7
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x42acba
mov ecx, dword [eax]
cmp ecx, dword [ebx]
jne 0x42acba
call fcn.00401ec0
mov dword [esp + 0x38], eax
or edx, 0xffffffff
lock xadd dword [edi], edx
dec edx
test edx, edx
jg 0x42acad
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [esp + 0x38]
add eax, 0x10
mov dword [esp + 0x44], eax
jmp 0x42acc7
mov ebx, dword [esi - 0xc]
push esi
lea eax, [esp + 0x48]
call fcn.00401f30
mov ecx, dword [ebp + 0x20]
xor edi, edi
push edi
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x54], ecx
push 0x10
mov ecx, 0x4b8b20
mov dword [esp + 0x54], edi
call fcn.0043b2a0
mov byte [esp + 0x5c], 4
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ad0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ad2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
call fcn.004139c0
add esp, 4
test eax, eax
jne 0x42ad41
mov dword [esp + 0x18], edi
jmp 0x42ae4f
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [esp + 0x64]
lea eax, [ebp + 4]
push eax
lea ecx, [esp + 0x34]
add ebx, 4
push ecx
call fcn.00416b70
lea edx, [esp + 0x3c]
push ebp
push edx
mov ebx, eax
mov byte [esp + 0x6c], 0xb
call fcn.00416b70
push eax
lea eax, [esp + 0x4c]
push eax
mov ebx, 0x4a12cc
mov byte [esp + 0x74], 0xc
call fcn.0040d090
add esp, 0x18
lea edi, [esp + 0x28]
mov byte [esp + 0x5c], 0xd
call fcn.00401cd0
mov byte [esp + 0x5c], 0xc
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42adba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x5c], 0xb
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42addf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x5c], 4
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ae04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x28]
push ebp
mov esi, edi
call fcn.004139c0
add esp, 4
test eax, eax
jne 0x42af22
mov esi, dword [esp + 0x14]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push esi
mov ebx, eax
push edi
push ebx
push str.KChannel::DownloadItem_CopyFile_return:_d__src:_ws__dst:_ws
mov ecx, 0x4ba960
call fcn.0041d5c0
add esp, 0x10
test ebx, ebx
je 0x42af26
mov dword [esp + 0x18], 0
mov byte [esp + 0x5c], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ae74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x5c], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ae99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x5c], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42aebe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x5c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42aee0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x5c], 0xffffffff
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42af08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0xc
mov ebx, dword [esp + 0x1c]
xor edi, edi
mov ecx, dword [esp + 0x64]
mov esi, dword [ecx + 8]
mov ecx, dword [esi + 0x18]
test ecx, ecx
mov dword [esp + 0x2c], edi
je 0x42b0a3
mov eax, dword [esi + 0x1c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x42b0a3
test ecx, ecx
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 4]
je 0x42af65
mov eax, dword [esi + 0x1c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x42af6a
call fcn.0045f752
mov eax, dword [esi + 0x18]
lea eax, [eax + edi*4]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0040d090
lea edx, [ebp + 0x14]
push edx
lea ecx, [esp + 0x40]
push ecx
mov ebx, eax
mov byte [esp + 0x6c], 0xe
call fcn.00416b70
lea edx, [ebp + 0x10]
push edx
lea ecx, [esp + 0x4c]
push ecx
mov ebx, eax
mov byte [esp + 0x74], 0xf
call fcn.00416b70
add esp, 0x18
mov byte [esp + 0x5c], 0x10
mov ecx, dword [eax]
mov esi, dword [esp + 0x68]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x42b003
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x42aff6
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42aff6
call fcn.00401ec0
mov edi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x42afe9
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x2c]
jmp 0x42b003
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x6c]
call fcn.00401f30
mov byte [esp + 0x5c], 0xf
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b028
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x5c], 0xe
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b04d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x5c], 4
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b072
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x2c]
push edx
push eax
push ecx
call fcn.00412140
add esp, 0x14
test eax, eax
mov dword [esp + 0x1c], eax
mov ebx, eax
je 0x42b0a7
add edi, 1
jmp 0x42af28
test ebx, ebx
jne 0x42b0ae
mov esi, 0x4a7568
jmp 0x42b0b3
mov esi, 0x4a7570
mov edi, dword [esp + 0x68]
lea edx, [esp + 0x64]
push edx
mov ecx, edi
call fcn.0042ce10
push esi
mov byte [esp + 0x60], 0x11
mov esi, dword [esp + 0x18]
mov eax, dword [eax]
push esi
push eax
push edi
push 0x4a76f4
call fcn.0041dfd0
mov byte [esp + 0x70], 4
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b104
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x42ae47
push edi
push esi
push ebx
push str.download_fail__error:_d__file:_ws__url:_ws
mov ecx, 0x4ba960
call fcn.0041d5c0
add esp, 0x10
jmp 0x42ae4f