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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5d8]
sub rsp, 0x6b0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140232230]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
or r8d, 0xffffffff
xor r15d, r15d
mov ebx, r15d
mov r9d, r15d
nop dword [rax]
test r8b, 1
je 0x140043dc7
mov ecx, 0x1f
sub cl, r9b
mov edx, 1
shl edx, cl
or ebx, edx
shr r8d, 1
test r8b, 1
je 0x140043de1
mov ecx, 0x1e
sub cl, r9b
mov edx, 1
shl edx, cl
or ebx, edx
shr r8d, 1
add r9, 2
cmp r9, 0x20
jb 0x140043db0
call fcn.140045b10
mov r14, r15
mov rcx, qword [0x140239aa8]
mov r8, qword [0x140239aa0]
sub rcx, r8
movabs r13, 0x73615a240e6c2b45
mov rax, r13
imul rcx
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
lea r12, [0x14023a5b0]
add rdx, rax
je 0x140044138
mov rsi, r15
nop word [rax + rax]
lea rdx, [rsi + r8]
cmp byte [rdx + 0x2c], 0
je 0x140044107
lea r9, [rsp + 0x70]
add rdx, 0x30
lea rcx, [rsp + 0x70]
mov rax, rdx
or rax, rcx
and eax, 0xf
jne 0x140043ec9
mov eax, 4
nop dword [rax]
movaps xmm0, xmmword [rdx]
movaps xmmword [rcx], xmm0
movaps xmm1, xmmword [rdx + 0x10]
movaps xmmword [rcx + 0x10], xmm1
movaps xmm0, xmmword [rdx + 0x20]
movaps xmmword [rcx + 0x20], xmm0
movaps xmm1, xmmword [rdx + 0x30]
movaps xmmword [rcx + 0x30], xmm1
movaps xmm0, xmmword [rdx + 0x40]
movaps xmmword [rcx + 0x40], xmm0
movaps xmm1, xmmword [rdx + 0x50]
movaps xmmword [rcx + 0x50], xmm1
movaps xmm0, xmmword [rdx + 0x60]
movaps xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movaps xmm1, xmmword [rdx + 0x70]
movaps xmmword [rcx - 0x10], xmm1
lea rdx, [rdx + 0x80]
dec rax
jne 0x140043e70
mov rax, qword [rdx]
mov qword [rcx], rax
jmp 0x140043ed7
mov r8d, 0x208
mov rcx, r9
call fcn.1401669c0
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
cmp eax, 1
jne 0x140043f97
lea rcx, [rbp + 0x390]
call fcn.140007df0
mov rcx, rax
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x180]
call fcn.140007bf0
mov rdx, rax
lea r9, [rsp + 0x70]
lea rcx, [rsp + 0x70]
or rax, rcx
and eax, 0xf
jne 0x140043f89
mov eax, 4
nop word [rax + rax]
movaps xmm0, xmmword [rdx]
movaps xmmword [rcx], xmm0
movaps xmm1, xmmword [rdx + 0x10]
movaps xmmword [rcx + 0x10], xmm1
movaps xmm0, xmmword [rdx + 0x20]
movaps xmmword [rcx + 0x20], xmm0
movaps xmm1, xmmword [rdx + 0x30]
movaps xmmword [rcx + 0x30], xmm1
movaps xmm0, xmmword [rdx + 0x40]
movaps xmmword [rcx + 0x40], xmm0
movaps xmm1, xmmword [rdx + 0x50]
movaps xmmword [rcx + 0x50], xmm1
movaps xmm0, xmmword [rdx + 0x60]
movaps xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movaps xmm1, xmmword [rdx + 0x70]
movaps xmmword [rcx - 0x10], xmm1
lea rdx, [rdx + 0x80]
dec rax
jne 0x140043f30
mov rax, qword [rdx]
mov qword [rcx], rax
jmp 0x140043f97
mov r8d, 0x208
mov rcx, r9
call fcn.1401669c0
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140044100
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r15
mov word [rsp + 0x50], r15w
cmp word [rsp + 0x70], 0
jne 0x140043ff8
mov r8, r15
jmp 0x14004400c
lea rax, [rsp + 0x70]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140044001
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14000dc20
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x60]
lea r8, [rdx + rax*2]
cmp rdx, r8
jae 0x14004405b
nop dword [rax + rax]
movzx eax, bl
xor al, byte [rdx]
movzx ecx, al
mov eax, ebx
shr eax, 8
mov ebx, dword [r12 + rcx*4]
xor ebx, eax
inc rdx
cmp rdx, r8
jb 0x140044040
mov rdx, qword [0x140239aa0]
add rdx, 0x28
add rdx, rsi
lea r8, [rdx + 4]
cmp rdx, r8
jae 0x14004408d
movzx eax, byte [rdx]
xor al, bl
movzx ecx, al
mov eax, ebx
shr eax, 8
mov ebx, dword [r12 + rcx*4]
xor ebx, eax
inc rdx
cmp rdx, r8
jb 0x140044072
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x1400440d0
lea rdx, [rsp + 0x40]
nop dword [rax]
movzx eax, byte [rdx]
xor al, bl
movzx ecx, al
mov eax, ebx
shr eax, 8
mov ebx, dword [r12 + rcx*4]
xor ebx, eax
inc rdx
lea rax, [rsp + 0x48]
cmp rdx, rax
jb 0x1400440b0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x68], 8
jb 0x1400440ec
mov rcx, qword [rsp + 0x50]
call fcn.1401669a0
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r15
mov word [rsp + 0x50], r15w
mov r8, qword [0x140239aa0]
inc r14
add rsi, 0x238
mov rcx, qword [0x140239aa8]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r14, rdx
jb 0x140043e40
mov r14, r15
mov rcx, qword [0x140239ac0]
mov r8, qword [0x140239ab8]
sub rcx, r8
movabs r13, 0x4ec4ec4ec4ec4ec5
mov rax, r13
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400442cf
mov rdi, r15
nop word [rax + rax]
lea rcx, [rdi + r8]
cmp byte [rcx + 0x2c], 0
je 0x1400442a1
lea rdx, [rbp + 0x180]
call fcn.140045050
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14004429a
mov r9, qword [0x140239ab8]
mov rcx, qword [r9 + rdi + 0x40]
lea rdx, [r9 + 0x30]
add rdx, rdi
cmp qword [rdx + 0x18], 8
jb 0x1400441eb
mov rdx, qword [rdx]
lea r8, [rdx + rcx*2]
cmp rdx, r8
jae 0x14004421c
nop word [rax + rax]
movzx ecx, byte [rdx]
movzx eax, bl
xor rcx, rax
mov eax, ebx
shr eax, 8
mov ebx, dword [r12 + rcx*4]
xor ebx, eax
inc rdx
cmp rdx, r8
jb 0x140044200
lea rdx, [r9 + 0x28]
add rdx, rdi
lea r8, [rdx + 4]
cmp rdx, r8
jae 0x14004424c
nop dword [rax]
movzx ecx, bl
movzx eax, byte [rdx]
xor rcx, rax
mov eax, ebx
shr eax, 8
mov ebx, dword [r12 + rcx*4]
xor ebx, eax
inc rdx
cmp rdx, r8
jb 0x140044230
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x140044291
lea rdx, [rsp + 0x40]
nop dword [rax + rax]
movzx ecx, byte [rdx]
movzx eax, bl
xor rcx, rax
mov eax, ebx
shr eax, 8
mov ebx, dword [r12 + rcx*4]
xor ebx, eax
inc rdx
lea rax, [rsp + 0x48]
cmp rdx, rax
jb 0x140044270
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, qword [0x140239ab8]
inc r14
add rdi, 0x68
mov rcx, qword [0x140239ac0]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r14, rdx
jb 0x140044180
not ebx
cmp ebx, dword [0x140239b48]
je 0x1400442e6
mov dword [0x140239b48], ebx
xor al, al
jmp 0x140044360
mov edx, 0x104
lea rcx, [rsp + 0x70]
lea r8, str.cache.p2b
lea rax, [rsp + 0x70]
sub r8, rax
nop
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140044324
movzx eax, word [rcx + r8]
test ax, ax
je 0x140044324
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x140044300
jmp 0x140044329
test rdx, rdx
jne 0x14004432d
sub rcx, 2
mov word [rcx], r15w
lea rcx, [rbp + 0x180]
call fcn.140007df0
mov rcx, rax
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x390]
call fcn.140007bf0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.140166980
lea r11, [rsp + 0x6b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret