Function at 0x140037c00
Capabilities:
Copy file
Delete file
Move file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x360]
sub rsp, 0x460
mov rax, qword [0x14004d298]
xor rax, rsp
mov qword [rbp + 0x350], rax
xor r13d, r13d
mov rbx, r9
mov r12d, r8d
mov r15, rdx
mov rdi, rcx
mov eax, r13d
mov r9d, 0x104
test rcx, rcx
je 0x140037c86
mov edx, r9d
mov rax, rcx
cmp word [rax], r13w
je 0x140037c63
add rax, 2
sub rdx, 1
jne 0x140037c53
mov rax, rdx
mov esi, 0x80070057
neg rax
sbb ecx, ecx
not ecx
and ecx, esi
test rdx, rdx
je 0x140037c81
mov rax, r9
sub rax, rdx
jmp 0x140037c8d
mov rax, r13
jmp 0x140037c8d
mov esi, 0x80070057
mov ecx, esi
lea rdx, [rax + rax]
test ecx, ecx
jns 0x140037ce6
mov rdx, r13
mov r10, qword [0x14004d128]
lea rax, [0x14004d128]
cmp r10, rax
je 0x1400381df
test byte [r10 + 0x1c], 1
je 0x1400381df
cmp byte [r10 + 0x19], 2
jb 0x1400381df
mov dword [rsp + 0x20], ecx
mov edx, 0xa
mov rcx, qword [r10 + 0x10]
mov r9, rdi
lea r8, [0x140045f80]
call fcn.14000468c
jmp 0x1400381df
mov rax, r13
test rbx, rbx
je 0x140037d25
mov rcx, r9
mov rax, rbx
cmp word [rax], r13w
je 0x140037d04
add rax, 2
sub rcx, 1
jne 0x140037cf4
mov rax, rcx
neg rax
sbb r8d, r8d
not r8d
and r8d, esi
test rcx, rcx
je 0x140037d20
mov rax, r9
sub rax, rcx
jmp 0x140037d28
mov rax, r13
jmp 0x140037d28
mov r8d, esi
lea r14, [rax + rax]
test r8d, r8d
jns 0x140037d86
mov r14, r13
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x1400381df
test byte [rcx + 0x1c], 1
je 0x1400381df
cmp byte [rcx + 0x19], 2
jb 0x1400381df
mov edx, 0xb
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], rdi
mov rcx, qword [rcx + 0x10]
lea r8, [0x140045f80]
mov r9, rbx
call fcn.14000b974
jmp 0x1400381df
lea rax, [r14 + rdx]
cmp rax, 0x206
jb 0x140037ddf
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x1400381df
test byte [rcx + 0x1c], 1
je 0x1400381df
cmp byte [rcx + 0x19], 2
jb 0x1400381df
mov edx, 0xc
mov qword [rsp + 0x20], rdi
mov rcx, qword [rcx + 0x10]
lea r8, [0x140045f80]
mov r9, rbx
call fcn.140004560
jmp 0x1400381df
mov r8, rdi
lea rcx, [rbp + 0x140]
mov edx, 0x208
call fcn.140004054
mov r8d, eax
test eax, eax
jns 0x140037e2f
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x1400381df
test byte [rcx + 0x1c], 1
je 0x1400381df
cmp byte [rcx + 0x19], 2
jb 0x1400381df
mov edx, 0xd
jmp 0x140037d64
mov r8, rbx
lea rcx, [rbp + 0x140]
call fcn.140018b5c
mov r8d, eax
test eax, eax
jns 0x140037e7a
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x1400381df
test byte [rcx + 0x1c], 1
je 0x1400381df
cmp byte [rcx + 0x19], 2
jb 0x1400381df
mov edx, 0xe
jmp 0x140037d64
test r12d, r12d
je 0x140038131
mov rax, r13
test r15, r15
je 0x140037ec6
mov edx, 0x104
mov rax, r15
mov ecx, edx
cmp word [rax], r13w
je 0x140037ea5
add rax, 2
sub rcx, 1
jne 0x140037e95
mov rax, rcx
neg rax
sbb r8d, r8d
not r8d
and r8d, esi
test rcx, rcx
je 0x140037ec1
mov rax, rdx
sub rax, rcx
jmp 0x140037ec9
mov rax, r13
jmp 0x140037ec9
mov r8d, esi
test r8d, r8d
js 0x140037ed3
add rax, rax
jmp 0x140037ed6
mov rax, r13
test r8d, r8d
jns 0x140037f1c
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x1400381df
test byte [rcx + 0x1c], 1
je 0x1400381df
cmp byte [rcx + 0x19], 2
jb 0x1400381df
mov rcx, qword [rcx + 0x10]
mov edx, 0xf
mov dword [rsp + 0x20], r8d
mov r9, r15
jmp 0x140037cd5
add rax, r14
cmp rax, 0x206
jb 0x140037f61
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x1400381df
test byte [rcx + 0x1c], 1
je 0x1400381df
cmp byte [rcx + 0x19], 2
jb 0x1400381df
mov edx, 0x10
mov qword [rsp + 0x20], r15
jmp 0x140037dc7
mov r8, r15
lea rcx, [rsp + 0x30]
mov edx, 0x208
call fcn.140004054
mov r8d, eax
test eax, eax
jns 0x140037fb9
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x1400381df
test byte [rcx + 0x1c], 1
je 0x1400381df
cmp byte [rcx + 0x19], 2
jb 0x1400381df
mov edx, 0x11
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], r15
jmp 0x140037d6e
mov r8, rbx
lea rcx, [rsp + 0x30]
call fcn.140018b5c
mov r8d, eax
test eax, eax
jns 0x140037fff
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x1400381df
test byte [rcx + 0x1c], 1
je 0x1400381df
cmp byte [rcx + 0x19], 2
jb 0x1400381df
mov edx, 0x12
jmp 0x140037faa
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x140]
cmp r12d, 2
jne 0x1400380ab
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_file_l2_1_2.dll_CopyFileW]
nop dword [rax + rax]
test eax, eax
je 0x140038062
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x1400381df
test byte [rcx + 0x1c], 1
je 0x1400381df
cmp byte [rcx + 0x19], 4
jb 0x1400381df
lea edx, [r12 + 0x11]
lea r9, [rsp + 0x30]
jmp 0x140038177
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x1400381df
test byte [rcx + 0x1c], 1
je 0x1400381df
cmp byte [rcx + 0x19], 2
jb 0x1400381df
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x14
mov r9d, eax
lea rax, [rsp + 0x30]
jmp 0x1400381c3
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_MoveFileW]
nop dword [rax + rax]
test eax, eax
je 0x1400380f0
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x1400381df
test byte [rcx + 0x1c], 1
je 0x1400381df
cmp byte [rcx + 0x19], 4
jb 0x1400381df
mov edx, 0x15
jmp 0x140038058
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x1400381df
test byte [rcx + 0x1c], 1
je 0x1400381df
cmp byte [rcx + 0x19], 2
jb 0x1400381df
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x16
jmp 0x14003809e
lea rcx, [rbp + 0x140]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
je 0x140038189
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x1400381df
test byte [rcx + 0x1c], 1
je 0x1400381df
cmp byte [rcx + 0x19], 3
jb 0x1400381df
mov edx, 0x17
lea r9, [rbp + 0x140]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140045f80]
call fcn.140004458
jmp 0x1400381df
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x1400381df
test byte [rcx + 0x1c], 1
je 0x1400381df
cmp byte [rcx + 0x19], 2
jb 0x1400381df
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r9d, eax
mov edx, 0x18
lea rax, [rbp + 0x140]
mov rcx, qword [0x14004d128]
lea r8, [0x140045f80]
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.140004340
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.140040f60
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x460
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret