Function at 0x14000d9cc
Capabilities:
Copy file
Delete file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5b8]
sub rsp, 0x6b8
mov rax, qword [0x14009b978]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
xor ebx, ebx
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x48], rbx
mov r15d, ebx
mov rsi, r8
mov qword [rsp + 0x60], r8
mov r12, rdx
mov qword [rsp + 0x68], rdx
mov r13, rcx
mov rcx, qword [0x14009b020]
lea rax, [0x14009b020]
cmp rcx, rax
je 0x14000da4d
test byte [rcx + 0x1c], 4
je 0x14000da4d
cmp byte [rcx + 0x19], 5
jb 0x14000da4d
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x7d]
lea r8, [0x14008bae0]
call fcn.1400042fc
mov edi, dword [rbp + 0x620]
test edi, edi
jne 0x14000da5f
lea eax, [rdi + 0x57]
jmp 0x14000db4a
mov dword [rsp + 0x28], ebx
mov edx, 0x80000000
mov r8d, 1
mov dword [rsp + 0x20], 3
mov rcx, r13
call fcn.14006b8bc
mov qword [rsp + 0x50], rax
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14000dae2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b020]
lea rax, [0x14009b020]
cmp rcx, rax
je 0x14000db48
test byte [rcx + 0x1c], 4
je 0x14000db48
cmp byte [rcx + 0x19], 2
jb 0x14000db48
mov rcx, qword [rcx + 0x10]
lea edx, [r14 + 0x7f]
mov r9, r13
mov dword [rsp + 0x20], ebx
lea r8, [0x14008bae0]
call fcn.14000c558
jmp 0x14000db48
lea r9, [rbp + 0x390]
xor r8d, r8d
call fcn.140007040
mov ebx, eax
test eax, eax
je 0x14000db6e
mov rcx, qword [0x14009b020]
lea rax, [0x14009b020]
cmp rcx, rax
je 0x14000db2e
test byte [rcx + 0x1c], 4
je 0x14000db2e
cmp byte [rcx + 0x19], 2
jb 0x14000db2e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008bae0]
mov edx, 0x7f
mov r9d, ebx
call fcn.140004668
mov r12, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, r12
call fcn.140069d30
mov eax, ebx
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.1400018f0
add rsp, 0x6b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, 8
mul rdi
mov rdi, rax
test rdx, rdx
jne 0x14000e0b2
mov rcx, rax
call fcn.140069c6c
mov qword [rsp + 0x48], rax
mov rbx, rax
test rax, rax
jne 0x14000dbd9
lea ebx, [rax + 8]
mov rcx, qword [0x14009b020]
lea rax, [0x14009b020]
cmp rcx, rax
je 0x14000dbcf
test byte [rcx + 0x1c], 4
je 0x14000dbcf
cmp byte [rcx + 0x19], 2
jb 0x14000dbcf
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x79]
mov r9d, edi
lea r8, [0x14008bae0]
call fcn.140004668
mov r12, qword [rsp + 0x48]
jmp 0x14000db31
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.msvcrt.dll_memset
mov rcx, qword [rsi]
call fcn.14006b71c
xor edi, edi
mov r14, rax
test rax, rax
jne 0x14000dc3c
lea ebx, [rax + 8]
mov rcx, qword [0x14009b020]
lea rax, [0x14009b020]
cmp rcx, rax
je 0x14000dc30
test byte [rcx + 0x1c], 4
je 0x14000dc30
cmp byte [rcx + 0x19], 2
jb 0x14000dc30
mov r9, qword [rsi]
lea edx, [rbx + 0x7a]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008bae0]
call fcn.1400044cc
mov esi, edi
mov r12, qword [rsp + 0x48]
jmp 0x14000de89
xor esi, esi
mov eax, esi
mov dword [rsp + 0x40], eax
cmp dword [rbp + 0x620], esi
jbe 0x14000dd5f
mov r15, qword [rsp + 0x58]
mov r12, rbx
sub r12, r15
mov edx, 0x3b
mov rcx, r14
mov esi, eax
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
xor ebx, ebx
mov rdi, rax
test rax, rax
je 0x14000dc7e
mov word [rax], bx
call fcn.140052080
mov qword [r12 + r15], rax
test rax, rax
je 0x14000df9e
mov rdx, qword [r15]
lea r9, [rbp + 0x180]
mov r8, rax
call fcn.140008470
mov ebx, eax
test eax, eax
jne 0x14000df69
lea rax, [rbp + 0x180]
mov edx, 0x104
lea r9, [rbp + 0x390]
mov qword [rsp + 0x20], rax
lea r8, [0x14008b500]
lea rcx, [rsp + 0x70]
call fcn.140004280
mov r9d, eax
test eax, eax
js 0x14000df11
lea r8d, [rbx + 1]
mov rcx, r13
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
nop dword [rax + rax]
test eax, eax
je 0x14000de14
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
mov r8, r14
call fcn.140005500
mov ebx, eax
test eax, eax
jne 0x14000ddd3
xor esi, esi
lea r14, [rdi + 2]
test rdi, rdi
jne 0x14000dd2a
mov r14d, esi
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax + rax]
mov eax, dword [rsp + 0x40]
add r15, 8
inc eax
mov dword [rsp + 0x40], eax
cmp eax, dword [rbp + 0x620]
jb 0x14000dc5b
mov r12, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
jne 0x14000dfe4
mov rax, qword [0x14009b020]
lea rdi, [0x14009b020]
cmp rax, rdi
je 0x14000dfeb
test byte [rax + 0x1c], 4
je 0x14000dfeb
cmp byte [rax + 0x19], 3
jb 0x14000dfeb
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
lea r8, [0x14008bae0]
mov edx, 0x88
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140004668
jmp 0x14000dfeb
mov rcx, qword [0x14009b020]
lea rax, [0x14009b020]
cmp rcx, rax
je 0x14000de0a
test byte [rcx + 0x1c], 4
je 0x14000de0a
cmp byte [rcx + 0x19], 2
jb 0x14000de0a
mov edx, 0x87
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008bae0]
mov r9d, ebx
call fcn.140004668
mov r15d, dword [rsp + 0x40]
jmp 0x14000dc32
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b020]
lea rdi, [0x14009b020]
cmp rcx, rdi
je 0x14000de59
test byte [rcx + 0x1c], 4
je 0x14000de59
cmp byte [rcx + 0x19], 2
jb 0x14000de59
mov edx, 0x86
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008bae0]
call fcn.140004668
mov r14, qword [rsp + 0x50]
mov r15d, dword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov esi, r15d
mov rax, r12
test ebx, ebx
je 0x14000e1d2
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r14
test rax, rax
je 0x14000e1d2
mov r13, qword [rsp + 0x58]
lea edi, [r15 - 1]
mov r14, r12
lea r12, [0x14009b020]
sub r14, r13
cmp r15d, dword [rbp + 0x620]
cmovne edi, esi
inc edi
mov r8, qword [r14 + r13]
test r8, r8
je 0x14000e1ba
mov rdx, qword [r13]
lea r9, [rbp + 0x180]
call fcn.140008470
test eax, eax
je 0x14000e104
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14000e1ba
test byte [rcx + 0x1c], 4
je 0x14000e1ba
cmp byte [rcx + 0x19], 3
jb 0x14000e1ba
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008bae0]
mov edx, 0x8b
mov r9d, eax
call fcn.140004668
jmp 0x14000e1ba
and eax, 0x1fff0000
movzx ebx, r9w
cmp eax, 0x70000
je 0x14000df24
mov ebx, r9d
mov rcx, qword [0x14009b020]
lea rax, [0x14009b020]
cmp rcx, rax
je 0x14000de59
test byte [rcx + 0x1c], 4
je 0x14000de59
cmp byte [rcx + 0x19], 2
jb 0x14000de59
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008bae0]
mov edx, 0x85
call fcn.140004328
jmp 0x14000de59
mov rcx, qword [0x14009b020]
lea rax, [0x14009b020]
cmp rcx, rax
je 0x14000de0a
test byte [rcx + 0x1c], 4
je 0x14000de0a
cmp byte [rcx + 0x19], 2
jb 0x14000de0a
mov edx, 0x84
jmp 0x14000ddf7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b020]
lea rax, [0x14009b020]
cmp rcx, rax
je 0x14000de59
test byte [rcx + 0x1c], 4
je 0x14000de59
cmp byte [rcx + 0x19], 2
jb 0x14000de59
mov edx, 0x83
mov r9d, ebx
jmp 0x14000de49
lea rdi, [0x14009b020]
mov rcx, r13
or r14, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14000e055
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b020]
cmp rcx, rdi
je 0x14000de5e
test byte [rcx + 0x1c], 4
je 0x14000de5e
cmp byte [rcx + 0x19], 2
jb 0x14000de5e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008bae0]
mov edx, 0x89
mov dword [rsp + 0x20], eax
mov r9, r13
call fcn.14000c558
jmp 0x14000de5e
mov r9d, dword [rbp + 0x620]
mov rdx, rbx
mov r8, qword [rsp + 0x58]
mov rcx, r12
call fcn.140058f84
mov ebx, eax
test eax, eax
je 0x14000de5e
mov rcx, qword [0x14009b020]
cmp rcx, rdi
je 0x14000e0a6
test byte [rcx + 0x1c], 4
je 0x14000e0a6
cmp byte [rcx + 0x19], 3
jb 0x14000e0a6
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008bae0]
mov edx, 0x8a
mov r9d, eax
call fcn.140004668
mov r12, qword [rsp + 0x48]
mov ebx, esi
jmp 0x14000db40
mov edi, 0x80070216
mov ebx, 0x216
mov rcx, qword [0x14009b020]
lea rdx, [0x14009b020]
cmp rcx, rdx
je 0x14000de63
test byte [rcx + 0x1c], 4
je 0x14000de63
cmp byte [rcx + 0x19], 2
jb 0x14000de63
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008bae0]
mov edx, 0x80
mov r9d, edi
call fcn.140004328
jmp 0x14000de63
lea rax, [rbp + 0x180]
mov edx, 0x104
lea r9, [rbp + 0x390]
mov qword [rsp + 0x20], rax
lea r8, [0x14008b500]
lea rcx, [rsp + 0x70]
call fcn.140004280
test eax, eax
jns 0x14000e163
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14000e1ba
test byte [rcx + 0x1c], 4
je 0x14000e1ba
cmp byte [rcx + 0x19], 3
jb 0x14000e1ba
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008bae0]
mov edx, 0x8c
mov r9d, eax
call fcn.140004328
jmp 0x14000e1ba
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14000e1ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14000e1ba
test byte [rcx + 0x1c], 4
je 0x14000e1ba
cmp byte [rcx + 0x19], 3
jb 0x14000e1ba
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x70]
mov edx, 0x8d
mov dword [rsp + 0x20], eax
lea r8, [0x14008bae0]
call fcn.14000c558
add r13, 8
sub rdi, 1
jne 0x14000deab
mov r14, qword [rsp + 0x50]
mov r12, qword [rsp + 0x48]
cmp r14, 0xffffffffffffffff
je 0x14000db40
jmp 0x14000db31