Function at 0x14001a4e8
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 [section..data]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
xor ebx, ebx
mov qword [rsp + 0x58], r9
mov r13, r8
mov r14, rdx
mov qword [rsp + 0x60], rdx
mov r12, rcx
mov esi, ebx
mov qword [rsp + 0x50], rbx
mov r15d, ebx
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x14001a566
test byte [rcx + 0x1c], 4
je 0x14001a566
cmp byte [rcx + 0x19], 5
jb 0x14001a566
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x7d]
lea r8, [0x1400028e0]
call fcn.14000e618
cmp dword [rbp + 0x620], ebx
jne 0x14001a578
mov eax, 0x57
jmp 0x14001a73b
mov edx, 0x80000000
mov r8d, 1
mov rcx, r12
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
call fcn.140074d38
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
jne 0x14001a5f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x14001a739
test byte [rcx + 0x1c], 4
je 0x14001a739
cmp byte [rcx + 0x19], 2
jb 0x14001a739
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400028e0]
mov edx, 0x7e
mov r9, r12
mov dword [rsp + 0x20], ebx
call fcn.14000e8e4
jmp 0x14001a739
lea r9, [rbp + 0x390]
xor r8d, r8d
call fcn.140017480
xor r8d, r8d
mov ebx, eax
test eax, eax
je 0x14001a656
mov rcx, qword [str.___t_]
lea r12, str.___t_
cmp rcx, r12
je 0x14001a644
test byte [rcx + 0x1c], 4
je 0x14001a644
cmp byte [rcx + 0x19], 2
jb 0x14001a644
mov rcx, qword [rcx + 0x10]
lea edx, [r8 + 0x7f]
lea r8, [0x1400028e0]
mov r9d, eax
call fcn.14000e63c
mov r13, qword [rsp + 0x48]
test ebx, ebx
je 0x14001a722
jmp 0x14001a7c3
mov ecx, dword [rbp + 0x620]
mov eax, 8
mul rcx
mov rdi, rax
test rdx, rdx
jne 0x14001a671
mov ebx, r8d
jmp 0x14001a67a
or rdi, 0xffffffffffffffff
mov ebx, 0x80070216
test ebx, ebx
jns 0x14001a6ce
mov rcx, qword [str.___t_]
lea r12, str.___t_
cmp rcx, r12
je 0x14001a6b5
test byte [rcx + 0x1c], 4
je 0x14001a6b5
cmp byte [rcx + 0x19], 2
jb 0x14001a6b5
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400028e0]
mov edx, 0x80
mov r9d, ebx
call fcn.14000e63c
mov ecx, ebx
movzx eax, bx
and ecx, 0x1fff0000
cmp ecx, 0x70000
cmove ebx, eax
jmp 0x14001a644
mov rcx, rdi
call fcn.140072274
xor ebx, ebx
mov rsi, rax
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14001a75e
lea ebx, [rax + 8]
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x14001a71d
test byte [rcx + 0x1c], 4
je 0x14001a71d
cmp byte [rcx + 0x19], 2
jb 0x14001a71d
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x79]
lea r8, [0x1400028e0]
mov r9d, edi
call fcn.14000e63c
mov r13, qword [rsp + 0x48]
cmp r13, 0xffffffffffffffff
je 0x14001a731
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call fcn.140072328
mov eax, ebx
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.140088640
add rsp, 0x6b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
mov rcx, qword [r13]
call fcn.1400730d0
mov rsi, rax
test rax, rax
jne 0x14001a84c
lea ebx, [rax + 8]
mov rcx, qword [str.___t_]
lea r12, str.___t_
cmp rcx, r12
je 0x14001a7b9
test byte [rcx + 0x1c], 4
je 0x14001a7b9
cmp byte [rcx + 0x19], 2
jb 0x14001a7b9
mov r9, qword [r13]
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x7a]
lea r8, [0x1400028e0]
call fcn.14000e868
mov r13, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x14001a722
cmp r15d, dword [rbp + 0x620]
jne 0x14001a7d8
dec r15d
mov r14, qword [rsp + 0x58]
mov rdi, rsi
lea esi, [r15 + 1]
sub rdi, r14
mov r8, qword [r14 + rdi]
test r8, r8
je 0x14001ac63
mov rdx, qword [r14]
lea r9, [rbp + 0x180]
call fcn.140015eac
test eax, eax
je 0x14001abb9
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14001ac63
test byte [rcx + 0x1c], 4
je 0x14001ac63
cmp byte [rcx + 0x19], 3
jb 0x14001ac63
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400028e0]
mov edx, 0x8b
mov r9d, eax
call fcn.14000e63c
jmp 0x14001ac63
mov dword [rsp + 0x40], ebx
cmp dword [rbp + 0x620], ebx
jbe 0x14001a952
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
sub r15, r14
mov edx, 0x3b
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_wcschr]
mov rdi, rax
test rax, rax
je 0x14001a882
mov word [rax], bx
call fcn.14005b30c
mov qword [r15 + r14], rax
test rax, rax
je 0x14001aab3
mov rdx, qword [r14]
lea r9, [rbp + 0x180]
mov r8, rax
call fcn.140015eac
mov ebx, eax
test eax, eax
jne 0x14001aa7e
lea rax, [rbp + 0x180]
lea r9, [rbp + 0x390]
lea r8, [0x1400022f8]
lea rcx, [rsp + 0x70]
mov edx, 0x104
mov qword [rsp + 0x20], rax
call fcn.14001000c
mov r9d, eax
test eax, eax
js 0x14001aa2e
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x70]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14001aa00
lea rcx, [rsp + 0x70]
mov r8, rsi
mov rdx, r13
call fcn.140012f88
mov ebx, eax
test eax, eax
jne 0x14001a9ba
xor ebx, ebx
lea rsi, [rdi + 2]
test rdi, rdi
jne 0x14001a925
mov esi, ebx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rsp + 0x40]
add r14, 8
inc eax
mov dword [rsp + 0x40], eax
cmp eax, dword [rbp + 0x620]
jb 0x14001a869
mov r14, qword [rsp + 0x60]
mov r15d, eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14001aaf0
mov rax, qword [str.___t_]
lea rdi, str.___t_
cmp rax, rdi
je 0x14001aaf7
test byte [rax + 0x1c], 4
je 0x14001aaf7
cmp byte [rax + 0x19], 3
jb 0x14001aaf7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x1400028e0]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0x88
call fcn.14000e63c
jmp 0x14001aaf7
mov rcx, qword [str.___t_]
lea r12, str.___t_
cmp rcx, r12
je 0x14001a9f1
test byte [rcx + 0x1c], 4
je 0x14001a9f1
cmp byte [rcx + 0x19], 2
jb 0x14001a9f1
mov edx, 0x87
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400028e0]
mov r9d, eax
call fcn.14000e63c
mov r15d, dword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
jmp 0x14001a644
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea r12, str.___t_
cmp rcx, r12
je 0x14001a9f1
test byte [rcx + 0x1c], 4
je 0x14001a9f1
cmp byte [rcx + 0x19], 2
jb 0x14001a9f1
mov edx, 0x86
jmp 0x14001a9de
mov ecx, eax
mov ebx, r9d
movzx eax, ax
and ecx, 0x1fff0000
cmp ecx, 0x70000
cmove ebx, eax
mov rcx, qword [str.___t_]
lea r12, str.___t_
cmp rcx, r12
je 0x14001a9f1
test byte [rcx + 0x1c], 4
je 0x14001a9f1
cmp byte [rcx + 0x19], 2
jb 0x14001a9f1
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400028e0]
mov edx, 0x85
call fcn.14000e63c
jmp 0x14001a9f1
mov rcx, qword [str.___t_]
lea r12, str.___t_
cmp rcx, r12
je 0x14001a9f1
test byte [rcx + 0x1c], 4
je 0x14001a9f1
cmp byte [rcx + 0x19], 2
jb 0x14001a9f1
mov edx, 0x84
jmp 0x14001a9de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea r12, str.___t_
cmp rcx, r12
je 0x14001a9f1
test byte [rcx + 0x1c], 4
je 0x14001a9f1
cmp byte [rcx + 0x19], 2
jb 0x14001a9f1
mov edx, 0x83
jmp 0x14001a9de
lea rdi, str.___t_
mov rcx, r12
or r13, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001ab55
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, rdi
je 0x14001ab44
test byte [rcx + 0x1c], 4
je 0x14001ab44
cmp byte [rcx + 0x19], 2
jb 0x14001ab44
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400028e0]
mov edx, 0x89
mov r9, r12
mov dword [rsp + 0x20], eax
call fcn.14000e8e4
mov rsi, qword [rsp + 0x50]
lea r12, str.___t_
jmp 0x14001a649
mov rsi, qword [rsp + 0x50]
mov r9d, dword [rbp + 0x620]
mov r8, qword [rsp + 0x58]
mov rdx, rsi
mov rcx, r14
call fcn.140062e44
mov ebx, eax
test eax, eax
je 0x14001a731
mov rcx, qword [str.___t_]
lea r12, str.___t_
cmp rcx, r12
je 0x14001abb2
test byte [rcx + 0x1c], 4
je 0x14001abb2
cmp byte [rcx + 0x19], 3
jb 0x14001abb2
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400028e0]
mov edx, 0x8a
mov r9d, eax
call fcn.14000e63c
xor ebx, ebx
jmp 0x14001a649
lea rax, [rbp + 0x180]
lea r9, [rbp + 0x390]
lea r8, [0x1400022f8]
lea rcx, [rsp + 0x70]
mov edx, 0x104
mov qword [rsp + 0x20], rax
call fcn.14001000c
test eax, eax
jns 0x14001ac18
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14001ac63
test byte [rcx + 0x1c], 4
je 0x14001ac63
cmp byte [rcx + 0x19], 3
jb 0x14001ac63
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400028e0]
mov edx, 0x8c
mov r9d, eax
call fcn.14000e63c
jmp 0x14001ac63
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001ac63
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14001ac63
test byte [rcx + 0x1c], 4
je 0x14001ac63
cmp byte [rcx + 0x19], 3
jb 0x14001ac63
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x70]
lea r8, [0x1400028e0]
mov edx, 0x8d
mov dword [rsp + 0x20], eax
call fcn.14000e8e4
add r14, 8
dec rsi
jne 0x14001a7e7
mov rsi, qword [rsp + 0x50]
jmp 0x14001a722