Function at 0x14002cbb0
Capabilities:
Copy file
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov r15, rcx
lea rcx, [rbp - 1]
call fcn.14002c768
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x39]
call fcn.14001c9d4
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x14002cc06
mov rcx, qword [rbp - 0x39]
inc rdx
mov r8d, 1
call fcn.140004554
mov rdx, qword [0x1400c52d0]
xor ebx, ebx
xorps xmm0, xmm0
mov dword [rbp + 0x6f], ebx
mov r14d, ebx
mov qword [rbp - 9], rbx
movdqu xmmword [rbp - 0x19], xmm0
mov rax, qword [rdx + 8]
mov r13d, ebx
sub rax, qword [rdx]
sar rax, 6
test rax, rax
je 0x14002cd0f
mov r12d, ebx
mov rsi, qword [rdx]
lea rcx, [rbp - 0x39]
add rsi, r12
mov rdx, rsi
call fcn.14001c9d4
mov rdx, qword [rbp - 0x21]
mov r14d, 1
cmp rdx, 0x10
jb 0x14002cc6c
mov rcx, qword [rbp - 0x39]
inc rdx
mov r8d, r14d
call fcn.140004554
lea rdx, [0x14009d600]
mov rcx, rsi
call fcn.140004f04
test eax, eax
je 0x14002cca2
lea rdx, [0x1400a46f0]
mov rcx, rsi
call fcn.140004f04
test eax, eax
je 0x14002cca2
lea rdx, [rbp - 1]
mov rcx, rsi
call fcn.14000c51c
test eax, eax
jne 0x14002cce2
lea rcx, [0x1400a46f0]
call fcn.140045e50
lea rdi, [rsi + 0x20]
mov r9, rax
mov rcx, rdi
lea rdx, [0x1400a46f0]
xor r8d, r8d
call fcn.14000501c
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14002cde0
mov rdx, rdi
lea rcx, [rbp - 0x19]
call fcn.1400096b4
xor ebx, ebx
mov rdx, qword [0x1400c52d0]
inc r13d
add r12, 0x40
movsxd rax, r13d
mov rcx, qword [rdx + 8]
sub rcx, qword [rdx]
sar rcx, 6
cmp rax, rcx
jb 0x14002cc3b
mov r14d, dword [rbp + 0x6f]
mov r15, qword [rbp + 0x67]
mov rdi, qword [rbp - 0x11]
mov esi, ebx
sub rdi, qword [rbp - 0x19]
sar rdi, 5
test rdi, rdi
je 0x14002d103
mov rax, rbx
mov r13d, reloc.WSOCK32.dll_ntohs
shl rax, 5
lea rcx, [rbp - 0x79]
add rax, qword [rbp - 0x19]
or r9, 0xffffffffffffffff
mov rdx, rax
mov qword [rbp - 0x61], r13
xor r8d, r8d
mov qword [rbp - 0x69], rbx
mov byte [rbp - 0x79], bl
call fcn.140004c64
cmp qword [rbp - 0x61], 0x10
lea rbx, [rbp - 0x79]
lea rcx, [0x14009dafc]
mov qword [rbp - 0x21], r13
cmovae rbx, qword [rbp - 0x79]
xor r12d, r12d
mov qword [rbp - 0x29], r12
mov byte [rbp - 0x39], r12b
call fcn.140045e50
mov r8, rax
lea rdx, [0x14009dafc]
lea rcx, [rbp - 0x39]
call fcn.140004d8c
or qword [rsp + 0x20], 0xffffffffffffffff
lea r8, [0x1400c4218]
xor r9d, r9d
lea rcx, [rbp - 0x39]
xor edx, edx
call fcn.140005138
mov rdx, rax
mov qword [rbp - 0x41], r13
lea rcx, [rbp - 0x59]
mov qword [rbp - 0x49], r12
mov byte [rbp - 0x59], r12b
call fcn.140004354
mov rcx, rbx
call fcn.14002132c
mov rbx, rax
cmp byte [rax], r12b
jne 0x14002cf83
mov eax, r12d
jmp 0x14002cf8b
and qword [rbp - 0x69], 0
lea rcx, [0x14009dafc]
mov r15d, reloc.WSOCK32.dll_ntohs
mov byte [rbp - 0x79], 0
mov qword [rbp - 0x61], r15
call fcn.140045e50
mov r9, rax
lea rdx, [0x14009dafc]
mov r8, rbx
mov rcx, rdi
call fcn.14000ab68
cmp rax, 0xffffffffffffffff
jne 0x14002ce4d
lea ebx, [rax + 2]
mov ecx, ebx
lea rdx, str.ZCCM:_GetFileUpload_FilePath_can_not_find_dir_of_file_path_pattern__n
call fcn.1400191e0
mov rdx, qword [rbp - 0x61]
cmp rdx, 0x10
jb 0x14002cce0
mov rcx, qword [rbp - 0x79]
inc rdx
mov r8d, ebx
call fcn.140004554
jmp 0x14002cce0
xor ebx, ebx
mov qword [rbp - 0x41], r15
mov r9, rax
mov qword [rbp - 0x49], rbx
xor r8d, r8d
mov byte [rbp - 0x59], bl
mov rdx, rdi
lea rcx, [rbp - 0x59]
call fcn.140004c64
mov rdx, qword [rbp - 0x61]
cmp rdx, 0x10
jb 0x14002ce85
mov rcx, qword [rbp - 0x79]
inc rdx
mov r8, r14
call fcn.140004554
lea rdx, [rbp - 0x59]
mov qword [rbp - 0x61], r15
lea rcx, [rbp - 0x79]
mov qword [rbp - 0x69], rbx
mov byte [rbp - 0x79], bl
call fcn.140004354
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x14002ceb6
mov rcx, qword [rbp - 0x59]
inc rdx
mov r8, r14
call fcn.140004554
xorps xmm0, xmm0
mov qword [rsp + 0x40], rbx
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x79]
movdqu xmmword [rsp + 0x30], xmm0
call fcn.14001e544
mov rax, qword [rsp + 0x38]
mov r15d, ebx
mov rcx, qword [rsp + 0x30]
sub rax, rcx
sar rax, 5
test rax, rax
je 0x14002cf54
xor r14d, r14d
cmp qword [rdi + 0x18], 0x10
jb 0x14002cefa
mov r8, qword [rdi]
jmp 0x14002cefd
mov r8, rdi
add rcx, r14
cmp qword [rcx + 0x18], 0x10
mov rax, qword [rcx + 0x10]
jb 0x14002cf0e
mov rcx, qword [rcx]
mov r9d, dword [rsi + 0x30]
mov edx, eax
call fcn.140014768
test eax, eax
je 0x14002cf32
shl rbx, 5
lea rcx, [rbp - 0x19]
add rbx, qword [rsp + 0x30]
mov rdx, rbx
call fcn.1400096b4
mov rax, qword [rsp + 0x38]
inc r15d
mov rcx, qword [rsp + 0x30]
add r14, 0x20
sub rax, rcx
movsxd rbx, r15d
sar rax, 5
cmp rbx, rax
jb 0x14002ceee
xor ebx, ebx
lea rcx, [rsp + 0x30]
call fcn.140004974
mov rdx, qword [rbp - 0x61]
cmp rdx, 0x10
jb 0x14002cce2
mov rcx, qword [rbp - 0x79]
inc rdx
mov r8d, 1
call fcn.140004554
jmp 0x14002cce2
mov rcx, rbx
call fcn.140045e50
mov r8, rax
lea rcx, [rbp - 0x59]
mov rdx, rbx
call fcn.140004b2c
xor ebx, ebx
mov qword [rsp + 0x48], r13
mov rdx, rax
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x30], bl
call fcn.140004354
mov rdx, qword [rbp - 0x41]
lea r12d, [rbx + 1]
cmp rdx, 0x10
jb 0x14002cfd4
mov rcx, qword [rbp - 0x59]
inc rdx
mov r8d, r12d
call fcn.140004554
mov rdx, qword [rbp - 0x21]
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x49], rbx
mov byte [rbp - 0x59], bl
cmp rdx, 0x10
jb 0x14002cff8
mov rcx, qword [rbp - 0x39]
inc rdx
mov r8, r12
call fcn.140004554
cmp qword [rsp + 0x48], 0x10
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x79]
cmovae rdx, qword [rsp + 0x30]
cmp qword [rbp - 0x61], 0x10
cmovae rcx, qword [rbp - 0x79]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x14002d03a
cmp qword [rbp - 0x61], 0x10
lea rcx, [rbp - 0x79]
cmovae rcx, qword [rbp - 0x79]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x14002d06e
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.1400096b4
cmp qword [rsp + 0x48], 0x10
lea rcx, [rsp + 0x30]
cmovae rcx, qword [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call fcn.140019348
add r14d, eax
cmp r14d, 0x6400000
ja 0x14002d0c1
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14002d089
mov rcx, qword [rsp + 0x30]
mov r8, r12
inc rdx
call fcn.140004554
mov rdx, qword [rbp - 0x61]
mov byte [rsp + 0x30], bl
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r13
cmp rdx, 0x10
jb 0x14002d0b0
mov rcx, qword [rbp - 0x79]
mov r8, r12
inc rdx
call fcn.140004554
add esi, r12d
movsxd rax, esi
cmp rax, rdi
jb 0x14002cd2f
jmp 0x14002d103
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14002d0dc
mov rcx, qword [rsp + 0x30]
inc rdx
mov r8, r12
call fcn.140004554
mov rdx, qword [rbp - 0x61]
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], rbx
mov byte [rsp + 0x30], bl
cmp rdx, 0x10
jb 0x14002d103
mov rcx, qword [rbp - 0x79]
inc rdx
mov r8, r12
call fcn.140004554
lea rcx, [rbp - 0x19]
call fcn.140004974
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x14002d128
mov rcx, qword [rbp - 1]
inc rdx
mov r8d, 1
call fcn.140004554
mov eax, 1
mov rbx, qword [rsp + 0x140]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret