Function at 0x18003bca0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x238]
sub rsp, 0x320
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r15b, r8b
mov rdi, rdx
mov r14, rcx
mov dl, 1
call fcn.18003a5bc
xor ebx, ebx
test al, al
je 0x18003c0c4
mov dword [rbp + 0x258], 0x104
mov ecx, dword [0x180195f94]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x18019b2e4], eax
jle 0x18003bfe9
lea rcx, [0x18019b2e4]
call fcn.180157af0
or rsi, 0xffffffffffffffff
cmp dword [0x18019b2e4], esi
jne 0x18003bfe9
lea rax, [rbp - 0x80]
mov qword [rbp - 0x38], rax
mov dword [rsp + 0x30], 0x47
mov eax, dword [rsp + 0x30]
xor al, 0x47
mov byte [rsp + 0x34], al
mov eax, dword [rsp + 0x30]
inc al
xor al, 0x65
mov byte [rsp + 0x35], al
mov eax, dword [rsp + 0x30]
add al, 2
xor al, 0x74
mov byte [rsp + 0x36], al
mov eax, dword [rsp + 0x30]
add al, 3
xor al, 0x43
mov byte [rsp + 0x37], al
mov eax, dword [rsp + 0x30]
add al, 4
xor al, 0x6f
mov byte [rsp + 0x38], al
mov eax, dword [rsp + 0x30]
add al, 5
xor al, 0x6d
mov byte [rsp + 0x39], al
mov eax, dword [rsp + 0x30]
add al, 6
xor al, 0x70
mov byte [rsp + 0x3a], al
mov eax, dword [rsp + 0x30]
add al, 7
xor al, 0x75
mov byte [rsp + 0x3b], al
mov eax, dword [rsp + 0x30]
add al, 8
xor al, 0x74
mov byte [rsp + 0x3c], al
mov eax, dword [rsp + 0x30]
add al, 9
xor al, 0x65
mov byte [rsp + 0x3d], al
mov eax, dword [rsp + 0x30]
add al, 0xa
xor al, 0x72
mov byte [rsp + 0x3e], al
mov eax, dword [rsp + 0x30]
add al, 0xb
xor al, 0x4e
mov byte [rsp + 0x3f], al
mov eax, dword [rsp + 0x30]
add al, 0xc
xor al, 0x61
mov byte [rsp + 0x40], al
mov eax, dword [rsp + 0x30]
add al, 0xd
xor al, 0x6d
mov byte [rsp + 0x41], al
mov eax, dword [rsp + 0x30]
add al, 0xe
xor al, 0x65
mov byte [rsp + 0x42], al
mov eax, dword [rsp + 0x30]
add al, 0xf
xor al, 0x45
mov byte [rsp + 0x43], al
mov eax, dword [rsp + 0x30]
add al, 0x10
xor al, 0x78
mov byte [rsp + 0x44], al
mov eax, dword [rsp + 0x30]
add al, 0x11
xor al, 0x57
mov byte [rsp + 0x45], al
xor eax, eax
mov byte [rsp + 0x46], al
mov al, byte [rsp + 0x34]
mov edx, ebx
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, 0x12
jb 0x18003be23
mov byte [rsp + 0x46], bl
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
lea rax, [rsp + 0x34]
mov r8, rsi
inc r8
cmp byte [rax + r8], bl
jne 0x18003be57
lea rdx, [rsp + 0x34]
lea rcx, [rbp - 0x80]
call fcn.18000c7ac
nop
mov dword [rsp + 0x48], 0x78
mov eax, dword [rsp + 0x48]
xor al, 0x6b
mov byte [rsp + 0x4c], al
mov eax, dword [rsp + 0x48]
inc al
xor al, 0x65
mov byte [rsp + 0x4d], al
mov eax, dword [rsp + 0x48]
add al, 2
xor al, 0x72
mov byte [rsp + 0x4e], al
mov eax, dword [rsp + 0x48]
add al, 3
xor al, 0x6e
mov byte [rsp + 0x4f], al
mov eax, dword [rsp + 0x48]
add al, 4
xor al, 0x65
mov byte [rsp + 0x50], al
mov eax, dword [rsp + 0x48]
add al, 5
xor al, 0x6c
mov byte [rsp + 0x51], al
mov eax, dword [rsp + 0x48]
add al, 6
xor al, 0x33
mov byte [rsp + 0x52], al
mov eax, dword [rsp + 0x48]
add al, 7
xor al, 0x32
mov byte [rsp + 0x53], al
xor eax, eax
mov byte [rsp + 0x54], al
mov al, byte [rsp + 0x4c]
mov rdx, rbx
mov al, byte [rsp + rdx + 0x4c]
mov ecx, dword [rsp + 0x48]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x4c], cl
inc rdx
cmp rdx, 8
jb 0x18003bee2
mov byte [rsp + 0x54], bl
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rsp + 0x4c]
inc rsi
cmp byte [rax + rsi], bl
jne 0x18003bf15
mov r8, rsi
lea rdx, [rsp + 0x4c]
lea rcx, [rsp + 0x60]
call fcn.18000c7ac
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x30]
call fcn.1800ceb58
nop
mov qword [rsp + 0x20], rbx
mov r9b, 1
lea r8, [rbp - 0x80]
mov rdx, rax
lea rcx, [0x18019c950]
call fcn.1800636c8
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x18003bf9b
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003bf96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003bf96
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 + 0x70], xmm0
mov byte [rsp + 0x60], bl
xor edx, edx
lea r8d, [rdx + 9]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x13]
lea rcx, [rsp + 0x34]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x1801630c8]
call fcn.1801579fc
nop
lea rcx, [0x18019b2e4]
call fcn.180157a84
lea rsi, [0x18019c960]
mov rcx, rsi
cmp qword [0x18019c978], 0x10
cmovae rcx, qword [0x18019c960]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18003c039
mov rcx, rsi
cmp qword [0x18019c978], 0x10
cmovae rcx, qword [0x18019c960]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x18019c958], rax
mov r8, rax
mov rdx, rsi
call fcn.1800150f8
lea r8, [rbp + 0x258]
lea rdx, [rbp + 0x10]
mov ecx, 2
call qword [0x18019c950]
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.180039dd8
nop
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x18003c069
mov rcx, qword [rdi]
lea rdx, [rbp + 0x10]
call fcn.180093d70
test al, al
jne 0x18003c0b5
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x18003c091
mov rcx, qword [rdi]
call fcn.180093d70
test al, al
jne 0x18003c0b5
test r15b, r15b
jne 0x18003c0b7
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.18000be28
mov rcx, rax
call fcn.18000bd8c
jmp 0x18003c0b7
mov bl, 1
lea rcx, [rbp - 0x60]
call fcn.18000bd8c
mov al, bl
jmp 0x18003c0c6
xor al, al
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret