Function at 0x14000b420
Capabilities:
Copy file
Set file attributes

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14009d080]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rsi, rdx
mov rbx, rcx
xor r15d, r15d
mov edi, r15d
mov dword [rsp + 0x20], r15d
mov r14b, 1
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], dil
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r15
lea ecx, [r15 + 0x10]
call fcn.14002d4d4
mov qword [rbp - 0x38], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea rcx, [rbp - 0x38]
mov rax, qword [rbp - 0x38]
mov qword [rax], rcx
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.1400018c0
nop
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x60]
call fcn.14002a190
movzx ebx, al
mov r9, qword [rbp - 0x18]
test r9, r9
je 0x14000b569
nop dword [rax + rax]
mov r8, qword [rbp - 0x20]
dec r8
mov rcx, r15
mov rdx, qword [rbp - 0x38]
test rdx, rdx
je 0x14000b50e
mov rdx, qword [rdx]
test rdx, rdx
je 0x14000b50e
mov rcx, qword [rdx]
add r8, r9
mov rax, r15
test rcx, rcx
je 0x14000b524
mov rdx, qword [rcx]
test rdx, rdx
je 0x14000b524
mov rax, qword [rdx]
test rax, rax
mov rdx, r15
je 0x14000b52f
mov rdx, qword [rax]
mov rcx, qword [rdx + 0x10]
dec rcx
mov rax, r8
shr rax, 1
and rcx, rax
and r8d, 1
mov rax, qword [rdx + 8]
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx + r8*8]
mov rcx, qword [rax]
test byte [rcx], 0x10
je 0x14000b569
lea rcx, [rbp - 0x60]
call fcn.14002a490
mov r9, qword [rbp - 0x18]
test r9, r9
jne 0x14000b4f0
test bl, bl
jne 0x14000b575
xor r14b, r14b
jmp 0x14000b9a9
mov qword [rsp + 0x50], r15
mov eax, 0xf
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x40], 0
mov qword [rsp + 0x70], r15
mov ecx, eax
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x60], 0
test r9, r9
je 0x14000b90c
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x80]
call fcn.1400018c0
mov rbx, rax
or edi, 1
mov dword [rsp + 0x20], edi
mov r8d, 1
lea rdx, [0x140085214]
lea rcx, [rbp - 0x80]
call fcn.140001500
mov rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x20]
dec r8
mov rcx, r15
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x14000b5f2
mov rax, qword [rax]
test rax, rax
je 0x14000b5f2
mov rcx, qword [rax]
add r8, rdx
mov rax, r15
test rcx, rcx
je 0x14000b608
mov rdx, qword [rcx]
test rdx, rdx
je 0x14000b608
mov rax, qword [rdx]
test rax, rax
mov rdx, r15
je 0x14000b613
mov rdx, qword [rax]
mov rcx, qword [rdx + 0x10]
dec rcx
mov rax, r8
shr rax, 1
and rcx, rax
and r8d, 1
mov rax, qword [rdx + 8]
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx + r8*8]
mov rdx, qword [rax]
add rdx, 0x2c
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14000b641
lea rcx, [rbp - 0x80]
call fcn.140001500
lea rax, [rsp + 0x40]
cmp rax, rbx
je 0x14000b688
lea rcx, [rsp + 0x40]
call fcn.140001130
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
and edi, 0xfffffffe
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14000b6c6
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b6c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ba31
call fcn.14002d510
lea rdx, [0x14009dca8]
lea rcx, [rsp + 0x40]
call fcn.140010f80
mov r8, rax
cmp rax, 0xffffffffffffffff
je 0x14000b73a
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x50]
cmp rdx, rcx
jae 0x14000b73a
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
ja 0x14000ba37
mov rax, rcx
sub rax, r8
lea r8, [rax - 1]
sub rcx, rdx
cmp rcx, r8
cmovb r8, rcx
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rax, qword [rsp + 0x40]
add rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1400013b0
or edi, 6
jmp 0x14000b74d
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
or edi, 2
mov r8, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14000b75a
mov r8, qword [rsi]
mov r9, qword [rsi + 0x10]
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.140001d70
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or edi, 8
mov dword [rsp + 0x20], edi
lea rcx, [rsp + 0x60]
call fcn.140001130
movups xmmword [rsp + 0x60], xmm6
movups xmmword [rsp + 0x70], xmm7
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14000b7d5
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b7d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ba3d
call fcn.14002d510
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x14000b85e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x14000b85e
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rcx, qword [rsp + 0x60]
lea edx, [rax + 0x7b]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
movzx r14d, r14b
test eax, eax
cmove r14d, r15d
lea rcx, [rbp - 0x60]
call fcn.14002a490
mov rdx, qword [rbp - 0x18]
test rdx, rdx
je 0x14000b902
nop dword [rax]
nop dword [rax + rax]
mov r9, qword [rbp - 0x20]
dec r9
mov rcx, r15
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x14000b89e
mov rax, qword [rax]
test rax, rax
je 0x14000b89e
mov rcx, qword [rax]
add r9, rdx
mov rax, r15
test rcx, rcx
je 0x14000b8b4
mov r8, qword [rcx]
test r8, r8
je 0x14000b8b4
mov rax, qword [r8]
test rax, rax
mov r8, r15
je 0x14000b8bf
mov r8, qword [rax]
mov rcx, qword [r8 + 0x10]
dec rcx
mov rax, r9
shr rax, 1
and rcx, rax
and r9d, 1
mov rax, qword [r8 + 8]
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx + r9*8]
mov rcx, qword [rax]
test byte [rcx], 0x10
je 0x14000b8f9
lea rcx, [rbp - 0x60]
call fcn.14002a490
mov rdx, qword [rbp - 0x18]
test rdx, rdx
jne 0x14000b880
test rdx, rdx
jne 0x14000b5a3
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x78]
cmp rcx, 0x10
jb 0x14000b94a
lea rdx, [rcx + 1]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b940
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ba2b
call fcn.14002d510
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
cmp rax, 0x10
jb 0x14000b996
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b991
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ba43
call fcn.14002d510
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x14000b9e1
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b9db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ba25
call fcn.14002d510
nop
lea rcx, [rbp - 0x60]
call fcn.14002a380
lea rcx, [rbp - 0x60]
call fcn.14002a060
nop
movzx eax, r14b
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14002d4b0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14004ecdc
nop
call fcn.14004ecdc
nop
call fcn.14004ecdc
int3
call fcn.1400019a0
int3
call fcn.14004ecdc
nop
call fcn.14004ecdc
int3