Function at 0x10009e10
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x10042fe3
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xbc]
mov edi, edx
lea edx, [esp + 0x8c]
mov dword [esp + 0x18], ecx
call fcn.1000a0e0
lea eax, [esp + 0x8c]
push eax
mov ebx, str.info
lea esi, [esp + 0x20]
mov dword [esp + 0xb8], 0
call fcn.1000a380
add esp, 4
lea ecx, [esp + 0x8c]
push ecx
mov ebx, str.data
lea esi, [esp + 0x3c]
mov byte [esp + 0xb8], 1
call fcn.1000a380
add esp, 4
mov byte [esp + 0xb4], 2
cmp byte [edi], 0
mov ebx, 8
je 0x10009f07
cmp dword [esp + 0x50], ebx
mov eax, dword [esp + 0x3c]
jae 0x10009ec9
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x50], ebx
mov eax, dword [esp + 0x3c]
jae 0x10009ede
lea eax, [esp + 0x3c]
cmp dword [ebp + 0x18], ebx
jb 0x10009ee8
mov ebp, dword [ebp + 4]
jmp 0x10009eeb
add ebp, 4
push 0
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x10009efd
mov byte [edi], al
jmp 0x10009f07
cmp byte [edi], 0
mov ecx, str.true
jne 0x10009f0c
mov ecx, str.false
cmp dword [esp + 0x34], ebx
mov eax, dword [esp + 0x20]
jae 0x10009f1a
lea eax, [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push ecx
push str.isContinue
push str.RCDownloadResume
call esi
cmp byte [edi], 0
jne 0x10009f52
cmp dword [esp + 0x50], ebx
jb 0x10009f46
mov edx, dword [esp + 0x3c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, 7
xor edi, edi
jmp 0x1000a069
cmp dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x20]
jae 0x10009f60
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x18], ebx
jb 0x10009f6e
mov eax, dword [eax + 4]
jmp 0x10009f71
add eax, 4
push ecx
push eax
push str.fileUrl
push str.RCDownloadResume
call esi
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 8]
push edx
push eax
lea ecx, [esp + 0x5c]
call fcn.100225d0
add esp, 8
mov byte [esp + 0xb4], 3
cmp dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x20]
jae 0x10009fa9
lea ecx, [esp + 0x20]
cmp dword [esp + 0x6c], ebx
mov eax, dword [esp + 0x58]
jae 0x10009fb7
lea eax, [esp + 0x58]
push ecx
push eax
push str.totalLength
push str.RCDownloadResume
call esi
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
push ecx
push edx
lea ecx, [esp + 0x78]
call fcn.100225d0
mov ecx, dword [esp + 0x28]
add esp, 8
cmp dword [esp + 0x34], ebx
jae 0x10009fe7
lea ecx, [esp + 0x20]
cmp dword [esp + 0x88], ebx
mov eax, dword [esp + 0x74]
jae 0x10009ff8
lea eax, [esp + 0x74]
push ecx
push eax
push str.totalRead
push str.RCDownloadResume
call esi
cmp dword [esp + 0x88], ebx
jb 0x1000a01c
mov eax, dword [esp + 0x74]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edi, edi
cmp dword [esp + 0x6c], ebx
mov esi, 7
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], edi
mov word [esp + 0x74], di
jb 0x1000a049
mov ecx, dword [esp + 0x58]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x50], ebx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], edi
mov word [esp + 0x58], di
jb 0x1000a069
mov edx, dword [esp + 0x3c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x34], ebx
mov word [esp + 0x3c], di
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], esi
jb 0x1000a089
mov eax, dword [esp + 0x20]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0xa4], ebx
mov word [esp + 0x20], di
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
jb 0x1000a0af
mov ecx, dword [esp + 0x90]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.1003ec9d
add esp, 0xa4
ret 4