Function at 0x41bf15
Capabilities:
Copy file
Delete file

Disassembly:
push 0x3c
mov eax, 0x47d1e7
call fcn.0044ce07
mov ebx, ecx
mov eax, dword [0x49ead4]
or dword [ebp - 0x24], 0xffffffff
or dword [ebp - 0x14], 0xffffffff
mov esi, 0x49ead4
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
mov eax, dword [0x49ead4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
mov eax, dword [0x49ead4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
mov eax, dword [0x49ead4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 3
mov eax, dword [0x49ead4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 4
push dword [eax + 4]
lea eax, [ebp - 0x20]
push eax
call fcn.00409107
push 0x5c
push 0x2f
lea eax, [ebp - 0x20]
call fcn.004113d4
lea esi, [ebp - 0x38]
call fcn.0041d4a3
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00411764
lea esi, [ebx + 4]
lea ecx, [ebp - 0x30]
push esi
push ecx
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00411764
lea ecx, [ebp - 0x2c]
push ebx
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00411764
add esp, 0x18
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00407844
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
call fcn.00408f63
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
call fcn.00408f63
lea eax, [ebp - 0x38]
push 0x48c92c
push eax
mov ecx, edi
call fcn.00407885
pop ecx
pop ecx
lea edi, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.00407844
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
call fcn.00408f63
lea edi, [ebp - 0x48]
call fcn.0041c2e3
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.00407844
lea eax, [ebp - 0x10]
lea edi, [ebp - 0x44]
call fcn.00407844
mov eax, dword [ebx + 0x20]
and dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], eax
push 0
lea eax, [ebp - 0x48]
push eax
push 0x10
mov ecx, 0x49dc2c
call fcn.0042491e
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
call fcn.00408f63
push dword [ebp - 0x10]
call fcn.0040f498
test eax, eax
pop ecx
je 0x41c29d
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push esi
add ecx, 4
push eax
call fcn.00411764
lea ecx, [ebp - 0x34]
push ebx
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00411764
lea ecx, [ebp - 0x38]
push 0x48b2ec
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00407885
add esp, 0x18
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
call fcn.00407844
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
call fcn.00408f63
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.00408f63
push dword [ebp - 0x1c]
call fcn.0040f498
test eax, eax
pop ecx
jne 0x41c171
xor edi, edi
push edi
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [ebp - 0x10]
mov esi, 0x49f920
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
push eax
push str.KChannel::DownloadItem_CopyFile_return:_d__src:_ws__dst:_ws
call fcn.00415020
add esp, 0x10
cmp dword [ebp - 0x14], edi
je 0x41c171
mov dword [ebp - 0x24], edi
jmp 0x41c2a1
mov eax, dword [ebp + 8]
mov edi, dword [eax + 8]
add edi, 0x14
mov eax, edi
xor esi, esi
call fcn.0041cab5
test eax, eax
jbe 0x41c233
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
call fcn.00411915
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.00407885
lea edx, [ebx + 0x14]
push edx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00411764
lea edx, [ebx + 0x10]
push edx
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.00411764
add esp, 0x18
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 0x10
call fcn.00407844
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
call fcn.00408f63
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.00408f63
push dword [ebx + 0x20]
mov eax, dword [ebx + 0xc]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x28]
push dword [ebp - 0x18]
call fcn.0040e7e6
add esp, 0x14
test eax, eax
mov dword [ebp - 0x14], eax
je 0x41c239
mov eax, dword [ebp + 8]
mov edi, dword [eax + 8]
add edi, 0x14
mov eax, edi
inc esi
call fcn.0041cab5
cmp esi, eax
jb 0x41c18b
cmp dword [ebp - 0x14], 0
jne 0x41c240
mov esi, 0x48c764
jmp 0x41c245
mov esi, 0x48c76c
push dword [ebp - 0x18]
lea eax, [ebp + 8]
push eax
call fcn.0041d531
push esi
mov byte [ebp - 4], 0x11
push dword [ebp - 0x10]
push dword [eax]
push dword [ebp - 0x18]
push 0x48c970
call fcn.0041561a
mov byte [ebp - 4], 4
mov eax, dword [ebp + 8]
add esp, 0x14
add eax, 0xfffffff0
call fcn.00408f63
cmp dword [ebp - 0x14], 0
je 0x41c29d
push dword [ebp - 0x18]
mov esi, 0x49f920
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push str.download_fail__error:_d__file:_ws__url:_ws
call fcn.00415020
add esp, 0x10
jmp 0x41c2a1
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00408f63
mov eax, dword [ebp - 0x24]
call fcn.0044cea6
ret 8