Function at 0x18019bff8
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp + 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov ebx, r8d
mov edi, ecx
mov edx, dword [0x1802bccdc]
mov rax, qword gs:[0x58]
mov ecx, 4
mov r9, qword [rax + rdx*8]
or r15, 0xffffffffffffffff
xor esi, esi
lea r14d, [r15 + 2]
lea r12d, [r15 + 7]
lea r13d, [r15 + 0x11]
mov eax, dword [rcx + r9]
cmp dword [0x1802c8198], eax
jle 0x18019c2d0
lea rcx, [0x1802c8198]
call fcn.1802696f0
cmp dword [0x1802c8198], r15d
jne 0x18019c2d0
lea rax, [rbp - 8]
mov qword [rbp + 0x20], rax
mov dword [rsp + 0x30], 0x7d
mov eax, dword [rsp + 0x30]
xor al, 0x4e
mov byte [rsp + 0x34], al
mov eax, dword [rsp + 0x30]
add al, r14b
xor al, 0x74
mov byte [rsp + 0x35], al
mov eax, dword [rsp + 0x30]
add al, 2
xor al, 0x4f
mov byte [rsp + 0x36], al
mov eax, dword [rsp + 0x30]
add al, 3
xor al, 0x70
mov byte [rsp + 0x37], al
mov eax, dword [rsp + 0x30]
add al, 4
xor al, 0x65
mov byte [rsp + 0x38], al
mov eax, dword [rsp + 0x30]
add al, 5
xor al, 0x6e
mov byte [rsp + 0x39], al
mov eax, dword [rsp + 0x30]
add al, r12b
xor al, 0x54
mov byte [rsp + 0x3a], al
mov eax, dword [rsp + 0x30]
add al, 7
xor al, 0x68
mov byte [rsp + 0x3b], al
mov eax, dword [rsp + 0x30]
add al, 8
xor al, 0x72
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, 0x61
mov byte [rsp + 0x3e], al
mov eax, dword [rsp + 0x30]
add al, 0xb
xor al, 0x64
mov byte [rsp + 0x3f], al
xor eax, eax
mov byte [rsp + 0x40], al
mov al, byte [rsp + 0x34]
mov edx, esi
mov al, byte [rsp + rdx + 0x34]
mov ecx, dword [rsp + 0x30]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x34], cl
add rdx, r14
cmp rdx, 0xc
jb 0x18019c128
mov byte [rsp + 0x40], sil
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], rsi
lea rax, [rsp + 0x34]
mov r8, r15
inc r8
cmp byte [rax + r8], sil
jne 0x18019c15d
lea rdx, [rsp + 0x34]
lea rcx, [rbp - 8]
call fcn.18007b70c
nop
mov dword [rsp + 0x44], 0x6f
mov eax, dword [rsp + 0x44]
xor al, 0x6e
mov byte [rsp + 0x48], al
mov eax, dword [rsp + 0x44]
add al, r14b
xor al, 0x74
mov byte [rsp + 0x49], al
mov eax, dword [rsp + 0x44]
add al, 2
xor al, 0x64
mov byte [rsp + 0x4a], al
mov eax, dword [rsp + 0x44]
add al, 3
xor al, 0x6c
mov byte [rsp + 0x4b], al
mov eax, dword [rsp + 0x44]
add al, 4
xor al, 0x6c
mov byte [rsp + 0x4c], al
xor eax, eax
mov byte [rsp + 0x4d], al
mov al, byte [rsp + 0x48]
mov rdx, rsi
mov r13d, 5
mov al, byte [rsp + rdx + 0x48]
mov ecx, dword [rsp + 0x44]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x48], cl
add rdx, r14
cmp rdx, r13
jb 0x18019c1cb
mov byte [rsp + 0x4d], sil
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
lea rax, [rsp + 0x48]
mov r8, r15
mov r13d, 0x10
inc r8
cmp byte [rax + r8], sil
jne 0x18019c205
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x38]
call fcn.18007b70c
nop
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x60]
call fcn.180188b20
nop
mov qword [rsp + 0x20], rsi
mov r9b, r14b
lea r8, [rbp - 8]
mov rdx, rax
lea rcx, [0x1802c6b10]
call fcn.1801b7af0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, r13
jb 0x18019c284
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18019c27f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18019c27f
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 - 0x28], xmm0
mov byte [rbp - 0x38], sil
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0xd]
lea rcx, [rsp + 0x34]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x18027e1fc]
call fcn.18026951c
nop
lea rcx, [0x1802c8198]
call fcn.180269690
mov qword [rbp + 0xc8], r15
mov dword [rbp + 0x30], 0x30
mov qword [rbp + 0x38], rsi
mov r12d, 0x40
mov dword [rbp + 0x48], r12d
mov qword [rbp + 0x40], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rbx
lea r15, [0x1802c6b28]
mov rcx, r15
cmp qword [0x1802c6b40], r13
cmovae rcx, qword [0x1802c6b28]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18019c34e
mov rcx, r15
cmp qword [0x1802c6b40], r13
cmovae rcx, qword [0x1802c6b28]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1802c6b20], rax
mov r8, rax
mov rdx, r15
call fcn.18008c99c
lea r9, [rbp - 0x18]
lea r8, [rbp + 0x30]
mov edx, edi
lea rcx, [rbp + 0xc8]
call qword [0x1802c6b18]
mov r9d, eax
test eax, eax
je 0x18019c6f4
mov eax, 0x2f
mov word [rbp - 0x58], ax
mov eax, 0x34
mov word [rbp - 0x56], ax
lea edx, [rax - 0xe]
mov word [rbp - 0x54], dx
lea eax, [rdx + 0x25]
mov word [rbp - 0x52], ax
lea eax, [rdx + 0x52]
mov word [rbp - 0x50], ax
mov word [rbp - 0x4e], ax
lea r10d, [rdx + 0x4f]
mov word [rbp - 0x4c], r10w
mov word [rbp - 0x4a], ax
mov word [rbp - 0x48], r12w
mov word [rbp - 0x46], dx
lea eax, [rdx + 0x10]
mov word [rbp - 0x44], ax
lea eax, [rdx + 0x58]
mov word [rbp - 0x42], ax
mov word [rbp - 0x40], si
movzx eax, word [rbp - 0x58]
mov rcx, rsi
lea r8d, [rdx - 0x20]
lea r11d, [rdx - 0x1a]
movzx eax, word [rbp + rcx*2 - 0x58]
sub ax, r8w
mov word [rbp + rcx*2 - 0x58], ax
add rcx, r14
cmp rcx, r11
jb 0x18019c3d2
mov ecx, 3
mov dword [rsp + 0x50], ecx
mov eax, dword [rsp + 0x50]
xor ax, 0x5b
mov word [rsp + 0x54], ax
mov eax, dword [rsp + 0x50]
add ax, r14w
xor ax, 0x2d
mov word [rsp + 0x56], ax
mov eax, dword [rsp + 0x50]
add ax, 2
xor ax, 0x5d
mov word [rsp + 0x58], ax
mov eax, dword [rsp + 0x50]
add ax, cx
mov cx, 0x20
xor ax, cx
mov word [rsp + 0x5a], ax
mov eax, dword [rsp + 0x50]
add ax, 4
xor ax, 0x43
mov word [rsp + 0x5c], ax
mov eax, dword [rsp + 0x50]
add ax, 5
mov edi, 0x6f
xor ax, di
mov word [rsp + 0x5e], ax
mov eax, dword [rsp + 0x50]
add ax, r8w
xor ax, r10w
mov word [rsp + 0x60], ax
mov eax, dword [rsp + 0x50]
add ax, 7
xor ax, 0x6c
mov word [rsp + 0x62], ax
mov eax, dword [rsp + 0x50]
add ax, 8
xor ax, 0x64
mov word [rsp + 0x64], ax
mov eax, dword [rsp + 0x50]
add ax, 9
xor ax, cx
mov word [rsp + 0x66], ax
mov eax, dword [rsp + 0x50]
add ax, 0xa
xor ax, 0x6e
mov word [rsp + 0x68], ax
mov eax, dword [rsp + 0x50]
add ax, 0xb
xor ax, di
mov word [rsp + 0x6a], ax
mov eax, dword [rsp + 0x50]
add ax, r11w
mov r8w, 0x74
xor ax, r8w
mov word [rsp + 0x6c], ax
mov eax, dword [rsp + 0x50]
add ax, 0xd
xor ax, cx
mov word [rsp + 0x6e], ax
mov eax, dword [rsp + 0x50]
add ax, 0xe
xor ax, di
mov word [rsp + 0x70], ax
mov eax, dword [rsp + 0x50]
add ax, 0xf
xor ax, 0x70
mov word [rsp + 0x72], ax
mov eax, dword [rsp + 0x50]
add ax, r13w
xor ax, 0x65
mov word [rsp + 0x74], ax
mov eax, dword [rsp + 0x50]
add ax, 0x11
xor ax, 0x6e
mov word [rsp + 0x76], ax
mov eax, dword [rsp + 0x50]
add ax, 0x12
xor ax, cx
mov word [rsp + 0x78], ax
mov eax, dword [rsp + 0x50]
add ax, 0x13
xor ax, r8w
mov word [rsp + 0x7a], ax
mov eax, dword [rsp + 0x50]
add ax, 0x14
xor ax, 0x61
mov word [rsp + 0x7c], ax
mov eax, dword [rsp + 0x50]
add ax, 0x15
xor ax, 0x72
mov word [rsp + 0x7e], ax
mov eax, dword [rsp + 0x50]
add ax, 0x16
xor ax, 0x67
mov word [rbp - 0x80], ax
mov eax, dword [rsp + 0x50]
add ax, 0x17
xor ax, 0x65
mov word [rbp - 0x7e], ax
mov eax, dword [rsp + 0x50]
add ax, 0x18
xor ax, r8w
mov word [rbp - 0x7c], ax
mov eax, dword [rsp + 0x50]
add ax, 0x19
xor ax, cx
mov word [rbp - 0x7a], ax
mov eax, dword [rsp + 0x50]
mov edi, 0x1a
add ax, di
xor ax, r8w
mov word [rbp - 0x78], ax
mov eax, dword [rsp + 0x50]
add ax, 0x1b
xor ax, 0x68
mov word [rbp - 0x76], ax
mov eax, dword [rsp + 0x50]
add ax, 0x1c
xor ax, 0x72
mov word [rbp - 0x74], ax
mov eax, dword [rsp + 0x50]
add ax, 0x1d
xor ax, 0x65
mov word [rbp - 0x72], ax
mov eax, dword [rsp + 0x50]
add ax, 0x1e
xor ax, 0x61
mov word [rbp - 0x70], ax
mov eax, dword [rsp + 0x50]
add ax, 0x1f
xor ax, 0x64
mov word [rbp - 0x6e], ax
mov eax, dword [rsp + 0x50]
add ax, cx
xor ax, cx
mov word [rbp - 0x6c], ax
mov eax, dword [rsp + 0x50]
add ax, 0x21
lea r8d, [rdi + 0xe]
xor ax, r8w
mov word [rbp - 0x6a], ax
mov eax, dword [rsp + 0x50]
add ax, 0x22
xor ax, 0x54
mov word [rbp - 0x68], ax
mov eax, dword [rsp + 0x50]
add ax, 0x23
xor ax, 0x49
mov word [rbp - 0x66], ax
mov eax, dword [rsp + 0x50]
add ax, 0x24
xor ax, 0x44
mov word [rbp - 0x64], ax
mov eax, dword [rsp + 0x50]
add ax, 0x25
xor ax, cx
mov word [rbp - 0x62], ax
mov eax, dword [rsp + 0x50]
add ax, dx
xor ax, 0x3d
mov word [rbp - 0x60], ax
mov eax, dword [rsp + 0x50]
add ax, 0x27
xor ax, cx
mov word [rbp - 0x5e], ax
xor eax, eax
mov word [rbp - 0x5c], ax
movzx eax, word [rsp + 0x54]
mov rdx, rsi
movzx eax, word [rsp + rdx*2 + 0x54]
mov ecx, dword [rsp + 0x50]
add cx, dx
xor cx, ax
mov word [rsp + rdx*2 + 0x54], cx
add rdx, r14
cmp rdx, r8
jb 0x18019c699
mov word [rbp - 0x5c], si
mov dword [rsp + 0x20], r9d
lea r8, [rbp - 0x58]
mov edx, ebx
lea rcx, [rsp + 0x54]
call fcn.1801ff8f4
nop
xor edx, edx
lea r8d, [rdx + 0x52]
lea rcx, [rsp + 0x54]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
mov r8, rdi
xor edx, edx
lea rcx, [rbp - 0x58]
call qword [sym.imp.VCRUNTIME140.dll_memset]
xor eax, eax
jmp 0x18019c6fb
mov rax, qword [rbp + 0xc8]
lea r11, [rsp + 0x180]
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