Function at 0x1800d64f8
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xff0]
mov eax, 0x10f0
call fcn.1801585f0
sub rsp, rax
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x1120], rbx
mov rsi, rdx
mov r14, rcx
xor r15d, r15d
mov edi, r15d
mov r8d, dword [0x180195f94]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r8*8]
mov eax, dword [rcx + rax]
cmp dword [0x18019ec80], eax
jle 0x1800d67ae
lea rcx, [0x18019ec80]
call fcn.180157af0
or rbx, 0xffffffffffffffff
cmp dword [0x18019ec80], ebx
jne 0x1800d67ae
lea rax, [rbp - 0x68]
mov qword [rbp - 0x40], rax
mov dword [rsp + 0x30], 1
mov eax, dword [rsp + 0x30]
xor al, 0x50
mov byte [rsp + 0x34], al
mov eax, dword [rsp + 0x30]
inc al
mov cl, 0x65
xor al, cl
mov byte [rsp + 0x35], al
mov eax, dword [rsp + 0x30]
add al, 2
xor al, cl
mov byte [rsp + 0x36], al
mov eax, dword [rsp + 0x30]
add al, 3
xor al, 0x6b
mov byte [rsp + 0x37], al
mov eax, dword [rsp + 0x30]
add al, 4
xor al, 0x4e
mov byte [rsp + 0x38], al
mov eax, dword [rsp + 0x30]
add al, 5
xor al, 0x61
mov byte [rsp + 0x39], al
mov eax, dword [rsp + 0x30]
add al, 6
xor al, 0x6d
mov byte [rsp + 0x3a], al
mov eax, dword [rsp + 0x30]
add al, 7
xor al, cl
mov byte [rsp + 0x3b], al
mov eax, dword [rsp + 0x30]
add al, 8
xor al, 0x64
mov byte [rsp + 0x3c], al
mov eax, dword [rsp + 0x30]
add al, 9
xor al, 0x50
mov byte [rsp + 0x3d], al
mov eax, dword [rsp + 0x30]
add al, 0xa
xor al, 0x69
mov byte [rsp + 0x3e], al
mov eax, dword [rsp + 0x30]
add al, 0xb
xor al, 0x70
mov byte [rsp + 0x3f], al
mov eax, dword [rsp + 0x30]
add al, 0xc
xor al, cl
mov byte [rsp + 0x40], al
xor eax, eax
mov byte [rsp + 0x41], al
mov al, byte [rsp + 0x34]
mov edx, r15d
mov al, byte [rsp + rdx + 0x34]
mov ecx, dword [rsp + 0x30]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x34], cl
inc rdx
cmp rdx, 0xd
jb 0x1800d662e
mov byte [rsp + 0x41], r15b
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], r15
lea rax, [rsp + 0x34]
mov r8, rbx
inc r8
cmp byte [rax + r8], r15b
jne 0x1800d6663
lea rdx, [rsp + 0x34]
lea rcx, [rbp - 0x68]
call fcn.18000c7ac
nop
mov byte [rsp + 0x44], 0x71
mov byte [rsp + 0x45], 0x6b
mov byte [rsp + 0x46], 0x78
mov byte [rsp + 0x47], 0x74
mov byte [rsp + 0x48], 0x6b
mov byte [rsp + 0x49], 0x72
mov byte [rsp + 0x4a], 0x39
mov byte [rsp + 0x4b], 0x38
mov byte [rsp + 0x4c], r15b
mov al, byte [rsp + 0x44]
mov rcx, r15
mov al, byte [rsp + rcx + 0x44]
sub al, 6
mov byte [rsp + rcx + 0x44], al
inc rcx
cmp rcx, 8
jb 0x1800d66af
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rsp + 0x44]
inc rbx
cmp byte [rax + rbx], r15b
jne 0x1800d66d8
mov r8, rbx
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x58]
call fcn.18000c7ac
nop
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x38]
call fcn.1800ceb58
nop
mov qword [rsp + 0x20], r15
mov r9b, 1
lea r8, [rbp - 0x68]
mov rdx, rax
lea rcx, [0x1801a0610]
call fcn.1800b3f9c
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1800d675f
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800d675a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800d675a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
movdqa xmm0, xmmword [0x180165930]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], r15b
xor edx, edx
lea r8d, [rdx + 9]
lea rcx, [rsp + 0x44]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0xe]
lea rcx, [rsp + 0x34]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x1801638f0]
call fcn.1801579fc
nop
lea rcx, [0x18019ec80]
call fcn.180157a84
lea rbx, [0x1801a0620]
lea rdx, [rbp + 0x1038]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, rbx
cmp qword [0x1801a0638], 0x10
cmovae rcx, qword [0x1801a0620]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x1800d680e
mov rcx, rbx
cmp qword [0x1801a0638], 0x10
cmovae rcx, qword [0x1801a0620]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1801a0618], rax
mov r8, rax
mov rdx, rbx
call fcn.1800150f8
mov qword [rsp + 0x28], r15
lea rax, [rbp + 0x1030]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [0x1801a0610]
test eax, eax
je 0x1800d68f8
inc rdi
mov eax, dword [rbp + 0x1030]
test eax, eax
je 0x1800d68db
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x1030]
mov r8d, 0xfff
lea rdx, [rbp - 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800d68f8
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r15
lea r8, [rbp - 0x10]
add r8, rax
lea rcx, [rbp - 0x10]
cmp rcx, r8
jne 0x1800d68b7
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r15w
jmp 0x1800d68c8
mov r9, rax
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x78]
call fcn.18001e568
lea rcx, [rsp + 0x78]
call fcn.18000bd8c
mov rdi, r15
mov eax, dword [rbp + 0x1030]
cmp dword [rbp + 0x1038], 0x103
jne 0x1800d68f8
test eax, eax
je 0x1800d68f8
cmp rdi, 0x7530
jb 0x1800d67b5
mov rbx, qword [rsp + 0x1120]
add rsp, 0x10f0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret