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

Disassembly:
push 0xffffffffffffffff
push 0x4b8e68
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e02dc]
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 + 0x20], eax
mov eax, dword [0x4e3844]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3844
call edx
add eax, 0x10
mov dword [esp + 0x68], eax
mov dword [esp + 0x5c], 0
mov eax, dword [0x4e3844]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3844
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x5c], 1
mov eax, dword [0x4e3844]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3844
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x5c], 2
mov eax, dword [0x4e3844]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3844
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x5c], 3
mov eax, dword [0x4e3844]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3844
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x5c], 4
mov eax, dword [eax + 4]
test eax, eax
jne 0x42be3f
xor ecx, ecx
jmp 0x42be53
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x42be44
sub ecx, esi
sar ecx, 1
push eax
mov ebx, ecx
lea eax, [esp + 0x20]
call fcn.00401750
push 0x5c
push 0x2f
lea ecx, [esp + 0x24]
push ecx
call fcn.004075a0
lea esi, [esp + 0x38]
call fcn.0042d3a0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x38]
push ecx
mov ebx, eax
mov byte [esp + 0x64], 5
call fcn.0040e5b0
lea ecx, [ebp + 4]
push ecx
lea edx, [esp + 0x3c]
push edx
mov ebx, eax
mov byte [esp + 0x6c], 6
call fcn.0040e5b0
lea ecx, [esp + 0x3c]
push ebp
push ecx
mov ebx, eax
mov byte [esp + 0x74], 7
call fcn.0040e5b0
add esp, 0x18
lea edi, [esp + 0x14]
mov byte [esp + 0x5c], 8
call fcn.0040a8e0
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 0x42bee9
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 0x42bf0e
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 0x42bf33
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 0x42bf58
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, 0x4c9ed4
call fcn.0040e670
add esp, 8
lea edi, [esp + 0x24]
mov byte [esp + 0x5c], 9
call fcn.0040a8e0
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 0x42bfa2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x4e3844]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e3844
call eax
mov edx, dword [0x4e3844]
add eax, 0x10
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4e3844
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 0x42c029
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x42c01c
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42c01c
call fcn.00401270
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x42c013
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 0x42c029
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x44]
call fcn.00401750
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 0x42c087
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x42c07a
mov ecx, dword [eax]
cmp ecx, dword [ebx]
jne 0x42c07a
call fcn.00401270
mov dword [esp + 0x38], eax
or edx, 0xffffffff
lock xadd dword [edi], edx
dec edx
test edx, edx
jg 0x42c06d
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 0x42c087
mov ebx, dword [esi - 0xc]
push esi
lea eax, [esp + 0x48]
call fcn.00401750
mov ecx, dword [ebp + 0x2c]
xor edi, edi
push edi
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x54], ecx
push 0x10
mov ecx, 0x4e1fe4
mov dword [esp + 0x54], edi
call fcn.00433060
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 0x42c0cb
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 0x42c0eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
call fcn.00413960
add esp, 4
test eax, eax
jne 0x42c101
mov dword [esp + 0x18], edi
jmp 0x42c20f
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.0040e5b0
lea edx, [esp + 0x3c]
push ebp
push edx
mov ebx, eax
mov byte [esp + 0x6c], 0xb
call fcn.0040e5b0
push eax
lea eax, [esp + 0x4c]
push eax
mov ebx, 0x4c88a8
mov byte [esp + 0x74], 0xc
call fcn.0040e670
add esp, 0x18
lea edi, [esp + 0x28]
mov byte [esp + 0x5c], 0xd
call fcn.0040a8e0
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 0x42c17a
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 0x42c19f
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 0x42c1c4
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.00413960
add esp, 4
test eax, eax
jne 0x42c2e2
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, 0x4e49b4
call fcn.00419ab0
add esp, 0x10
test ebx, ebx
je 0x42c2e6
mov dword [esp + 0x18], 0
mov byte [esp + 0x5c], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c234
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 0x42c259
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 0x42c27e
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 0x42c2a0
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 0x42c2c8
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 + 0x20]
xor edi, edi
mov ecx, dword [esp + 0x64]
mov esi, dword [ecx + 8]
mov ecx, dword [esi + 0x1c]
test ecx, ecx
mov dword [esp + 0x2c], edi
je 0x42c495
mov eax, dword [esi + 0x20]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x42c495
test ecx, ecx
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 4]
je 0x42c325
mov eax, dword [esi + 0x20]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x42c32a
call fcn.0049445b
mov eax, dword [esi + 0x1c]
lea eax, [eax + edi*4]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0040e670
lea edx, [ebp + 0x14]
push edx
lea ecx, [esp + 0x40]
push ecx
mov ebx, eax
mov byte [esp + 0x6c], 0xe
call fcn.0040e5b0
lea edx, [ebp + 0x10]
push edx
lea ecx, [esp + 0x4c]
push ecx
mov ebx, eax
mov byte [esp + 0x74], 0xf
call fcn.0040e5b0
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 0x42c3c3
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x42c3b6
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42c3b6
call fcn.00401270
mov edi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x42c3a9
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 0x42c3c3
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x6c]
call fcn.00401750
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 0x42c3e8
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 0x42c40d
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 0x42c432
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x2c]
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.00412a40
mov edx, dword [esp + 0x78]
mov esi, eax
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x1c]
add eax, 0x18
add esp, 0x14
test ecx, ecx
mov dword [esp + 0x20], esi
jne 0x42c46c
xor eax, eax
jmp 0x42c474
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
add eax, 0xffffffff
cmp edi, eax
jne 0x42c481
push esi
call fcn.0040e4b0
test esi, esi
je 0x42c207
mov ebx, dword [esp + 0x20]
add edi, 1
jmp 0x42c2e8
test ebx, ebx
je 0x42c207
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push ebx
push str.download_fail__error:_d__file:_ws__url:_ws
mov ecx, 0x4e49b4
call fcn.00419ab0
add esp, 0x10
jmp 0x42c20f