Function at 0x180188e80
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rbx, rcx
mov edx, dword [0x1802bccdc]
mov rax, qword gs:[0x58]
mov ecx, 4
mov r8, qword [rax + rdx*8]
mov eax, dword [rcx + r8]
cmp dword [0x1802c1164], eax
jle 0x1801890e5
lea rcx, [0x1802c1164]
call fcn.1802696f0
or rdi, 0xffffffffffffffff
cmp dword [0x1802c1164], edi
jne 0x1801890e5
lea rax, [rbp - 9]
mov qword [rbp + 0x77], rax
mov dword [rbp - 0x4d], 0x75
mov byte [rbp - 0x49], 0x3b
mov byte [rbp - 0x48], 1
mov byte [rbp - 0x47], 0x24
mov byte [rbp - 0x46], 0
mov byte [rbp - 0x45], 0x10
mov byte [rbp - 0x44], 7
mov byte [rbp - 0x43], 0xc
mov byte [rbp - 0x42], 0x26
mov byte [rbp - 0x41], 0xc
mov byte [rbp - 0x40], 6
mov byte [rbp - 0x3f], 1
mov byte [rbp - 0x3e], 0x10
mov byte [rbp - 0x3d], 0x18
mov byte [rbp - 0x3c], 0x3c
mov byte [rbp - 0x3b], 0x1b
mov byte [rbp - 0x3a], 0x13
mov byte [rbp - 0x39], 0x1a
mov byte [rbp - 0x38], 7
mov byte [rbp - 0x37], 0x18
mov byte [rbp - 0x36], 0x14
mov byte [rbp - 0x35], 1
mov byte [rbp - 0x34], 0x1c
mov byte [rbp - 0x33], 0x1a
mov byte [rbp - 0x32], 0x1b
xor eax, eax
mov byte [rbp - 0x31], al
mov al, byte [rbp - 0x49]
xor edx, edx
mov al, byte [rbp + rdx - 0x49]
mov ecx, dword [rbp - 0x4d]
xor cl, al
mov byte [rbp + rdx - 0x49], cl
inc rdx
cmp rdx, 0x18
jb 0x180188f5d
mov byte [rbp - 0x31], 0
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
and qword [rbp + 7], 0
and qword [rbp + 0xf], 0
lea rax, [rbp - 0x49]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x180188f8f
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.18007b70c
nop
mov dword [rbp - 0x59], 0x49
mov eax, dword [rbp - 0x59]
xor al, 0x6e
mov byte [rbp - 0x55], al
mov eax, dword [rbp - 0x59]
inc al
xor al, 0x74
mov byte [rbp - 0x54], al
mov eax, dword [rbp - 0x59]
add al, 2
xor al, 0x64
mov byte [rbp - 0x53], al
mov eax, dword [rbp - 0x59]
add al, 3
xor al, 0x6c
mov byte [rbp - 0x52], al
mov eax, dword [rbp - 0x59]
add al, 4
xor al, 0x6c
mov byte [rbp - 0x51], al
xor eax, eax
mov byte [rbp - 0x50], al
mov al, byte [rbp - 0x55]
xor edx, edx
mov al, byte [rbp + rdx - 0x55]
mov ecx, dword [rbp - 0x59]
add cl, dl
xor cl, al
mov byte [rbp + rdx - 0x55], cl
inc rdx
cmp rdx, 5
jb 0x180188fe8
mov byte [rbp - 0x50], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x55]
inc rdi
cmp byte [rax + rdi], 0
jne 0x180189017
mov r8, rdi
lea rdx, [rbp - 0x55]
lea rcx, [rbp - 0x29]
call fcn.18007b70c
nop
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x1f]
call fcn.180188b20
nop
and qword [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp - 9]
mov rdx, rax
lea rcx, [0x1802c1260]
call fcn.1801c1510
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x18018909a
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180189095
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180189095
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
movdqa xmm0, xmmword [0x180280de0]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
xor edx, edx
lea r8d, [rdx + 6]
lea rcx, [rbp - 0x55]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x19]
lea rcx, [rbp - 0x49]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x18027de40]
call fcn.18026951c
nop
lea rcx, [0x1802c1164]
call fcn.180269690
mov rdi, qword [rbx + 8]
test rdi, rdi
jne 0x180189109
mov edx, dword [rbx + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
mov qword [rbx + 8], rax
test rax, rax
je 0x1801891a3
and dword [rbp + 0x6f], 0
mov esi, dword [rbx + 0x10]
lea rcx, [0x1802c1278]
cmp qword [0x1802c1290], 0x10
cmovae rcx, qword [0x1802c1278]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x180189165
lea rcx, [0x1802c1278]
cmp qword [0x1802c1290], 0x10
cmovae rcx, qword [0x1802c1278]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1802c1270], rax
mov r8, rax
lea rdx, [0x1802c1278]
call fcn.18008c99c
mov rax, qword [0x1802c1268]
lea r9, [rbp + 0x6f]
mov r8d, esi
mov rdx, rdi
mov ecx, 5
call rax
cmp eax, 0xc0000004
jne 0x1801891a9
mov eax, dword [rbp + 0x6f]
add eax, 0xfa0
mov dword [rbx + 0x10], eax
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
and qword [rbx + 8], 0
jmp 0x1801890e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rsp + 0xf0]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret