Function at 0x18000c828
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7ffc0]
mov eax, 0x800c0
call fcn.1800109d0
sub rsp, rax
mov rax, qword [0x180012640]
xor rax, rsp
mov qword [rbp + 0x7ffb0], rax
xor edi, edi
mov rbx, rdx
mov qword [rbp - 0x80], rdx
cmp qword [0x1800131f8], rdi
mov rsi, rcx
mov r12d, edi
mov dword [rsp + 0x50], edi
jne 0x18000c881
xor eax, eax
jmp 0x18000ce64
lea rcx, [rbp - 0x4f]
xor edx, edx
mov r8d, 0x7ffff
mov r13, rdi
mov byte [rbp - 0x50], dil
call fcn.180010300
mov dword [rsp + 0x58], edi
test rsi, rsi
je 0x18000cdd0
mov rax, qword [0x1800131f8]
mov edx, 0x81098
mov ecx, 0x40
mov r14, rdi
mov r15, rdi
mov qword [rsp + 0x70], rdi
call qword [rax + 0x17c]
mov rdi, rax
test rax, rax
je 0x18000cddf
mov rax, qword [0x1800131f8]
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, rsi
mov dword [rsp + 0x20], 0x40
call qword [rax + 0x2c]
mov r15, rax
test rax, rax
je 0x18000cddf
mov r13d, 0x208
lea rcx, [rdi + 0x40]
xor edx, edx
mov r8d, r13d
call fcn.180010300
lea rcx, [rdi + 0x4086c]
mov r8d, r13d
xor edx, edx
call fcn.180010300
lea rcx, [rdi + 0x860]
xor r13d, r13d
xor edx, edx
mov r8d, 0x40000
mov dword [rdi + 0x40860], r13d
call fcn.180010300
lea rcx, [rdi + 0x4108c]
xor edx, edx
mov r8d, 0x40000
mov dword [rdi + 0x8108c], r13d
call fcn.180010300
mov rax, qword [0x1800131f8]
mov qword [rsp + 0x30], r13
lea rcx, [rbx + 0x1044]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [rax + 0xe4]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x18000cdf4
mov rcx, rax
mov rax, qword [0x1800131f8]
xor edx, edx
call qword [rax + 0x4c]
mov r12d, eax
cmp eax, 0xffffffff
je 0x18000cdcb
mov rbx, qword [0x1800131f8]
call qword [rbx + 0x19c]
mov r8d, r12d
mov edx, 8
mov rcx, rax
call qword [rbx + 0x1a4]
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x18000cdcb
mov rax, qword [0x1800131f8]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [rax + 0x11c]
mov rax, qword [0x1800131f8]
and dword [rsp + 0x54], r14d
and qword [rsp + 0x20], r14
lea r9, [rsp + 0x54]
mov r8d, r12d
mov rdx, rbx
mov rcx, r13
call qword [rax + 0x10c]
test eax, eax
je 0x18000cda9
xor eax, eax
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x68]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov eax, 0x1f
mov word [rbp - 0x5e], ax
mov rax, qword [0x1800131f8]
mov dword [rbp - 0x68], 0xc07dd
mov dword [rbp - 0x62], 0x160014
call qword [rax + 0xfc]
mov rax, qword [0x1800131f8]
lea rbx, [rdi + 0x40864]
lea rcx, [rsp + 0x78]
mov rdx, rbx
call qword [rax + 0x104]
test eax, eax
jne 0x18000caa1
mov rax, qword [0x1800131f8]
mov r9, rbx
xor r8d, r8d
mov rdx, rbx
mov rcx, r13
call qword [rax + 0xec]
mov rax, qword [0x1800131f8]
lea rbx, [rdi + 0x81090]
lea rcx, [rsp + 0x78]
mov rdx, rbx
call qword [rax + 0x104]
test eax, eax
jne 0x18000cada
mov rax, qword [0x1800131f8]
mov r9, rbx
xor r8d, r8d
mov rdx, rbx
mov rcx, r13
call qword [rax + 0xec]
mov rax, qword [0x1800131f8]
mov rcx, r13
call qword [rax + 0x12c]
cmp dword [rsp + 0x54], r12d
jne 0x18000cda9
mov r9, qword [rsp + 0x60]
test r12d, r12d
je 0x18000cb10
mov rax, r9
mov rcx, r12
xor byte [rax], 0x55
inc rax
dec rcx
jne 0x18000cb05
lea rax, [rsp + 0x58]
lea rdx, [rbp - 0x50]
mov ecx, 2
mov qword [rsp + 0x28], rax
mov rax, qword [0x1800133f8]
mov r8d, 0x80000
mov dword [rsp + 0x20], r12d
call qword [rax + 0x1c]
test eax, eax
js 0x18000cda9
mov eax, dword [rbp - 0x50]
mov dword [rdi + 0x40860], eax
cmp dword [0x180014c04], r14d
je 0x18000cb5f
mov eax, dword [rbp - 0x50]
mov ecx, dword [rbp + rax - 0x4c]
mov dword [rdi + 0x8108c], ecx
mov eax, dword [rdi + 0x40860]
cmp eax, 0x40000
ja 0x18000cda9
cmp dword [rdi + 0x8108c], 0x40000
ja 0x18000cda9
lea rdx, [rbp - 0x4c]
lea rcx, [rdi + 0x860]
mov r8d, eax
call fcn.1800104d0
cmp dword [0x180014c04], r14d
je 0x18000cbbc
mov eax, dword [rdi + 0x40860]
mov r8d, dword [rdi + 0x8108c]
lea rdx, [rbp - 0x48]
lea rcx, [rdi + 0x4108c]
add rdx, rax
call fcn.1800104d0
mov rax, qword [0x1800131f8]
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x81098
mov rcx, rsi
mov dword [rsp + 0x20], 4
call qword [rax + 0x2c]
mov r14, rax
test rax, rax
je 0x18000cda2
lea rax, [rsp + 0x70]
lea r8, [0x180008670]
mov r9d, 0x1000
mov qword [rsp + 0x20], rax
mov rax, qword [0x1800131f8]
mov rdx, r15
mov rcx, rsi
call qword [rax + 0x24]
test eax, eax
je 0x18000cda2
mov rax, qword [0x1800131f8]
mov r12, qword [rbp - 0x80]
mov rcx, qword [rax + 0x5c]
mov qword [rdi + 8], rcx
mov rax, qword [0x1800131f8]
mov rcx, qword [rax + 0x1c]
mov qword [rdi + 0x10], rcx
mov rax, qword [0x1800131f8]
mov rcx, qword [rax + 0x34]
mov qword [rdi], rcx
mov rax, qword [0x1800131f8]
mov rcx, qword [rax + 0xe4]
mov qword [rdi + 0x18], rcx
mov rax, qword [0x1800131f8]
mov rcx, qword [rax + 0xf4]
mov qword [rdi + 0x20], rcx
mov rax, qword [0x1800131f8]
mov rcx, qword [rax + 0x114]
mov qword [rdi + 0x28], rcx
mov rax, qword [0x1800131f8]
mov rcx, qword [rax + 0x124]
mov qword [rdi + 0x30], rcx
mov rax, qword [0x1800131f8]
mov rcx, qword [rax + 0x12c]
mov qword [rdi + 0x38], rcx
mov rax, qword [0x1800131f8]
lea rcx, [r12 + 4]
call qword [rax + 0xa4]
lea rdx, [r12 + 4]
lea rcx, [rdi + 0x40]
movsxd r8, eax
add r8, r8
call fcn.1800104d0
xor ebx, ebx
cmp dword [0x180014c04], ebx
je 0x18000cd03
mov rax, qword [0x1800131f8]
lea rbx, [r12 + 0x414]
mov rcx, rbx
call qword [rax + 0xa4]
lea rcx, [rdi + 0x4086c]
mov rdx, rbx
movsxd r8, eax
add r8, r8
call fcn.1800104d0
xor ebx, ebx
lea rax, [rsp + 0x70]
mov r9d, 0x81098
mov r8, rdi
mov qword [rsp + 0x20], rax
mov rax, qword [0x1800131f8]
mov rdx, r14
mov rcx, rsi
call qword [rax + 0x24]
test eax, eax
je 0x18000cda2
mov rax, qword [0x1800131f8]
mov qword [rsp + 0x30], rbx
mov r9, r15
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r14
call qword [rax + 0x94]
test rax, rax
jne 0x18000cd9a
mov rax, qword [0x1800133f8]
test rax, rax
je 0x18000cda2
lea rcx, [rbp - 0x78]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x68]
xor edx, edx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
mov rcx, rsi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [rax + 4]
test eax, eax
js 0x18000cda2
mov r12d, 1
jmp 0x18000cdac
mov r12d, dword [rsp + 0x50]
jmp 0x18000cdac
mov r12d, r14d
mov rbx, qword [0x1800131f8]
call qword [rbx + 0x19c]
mov r8, qword [rsp + 0x60]
xor edx, edx
mov rcx, rax
call qword [rbx + 0x1ac]
jmp 0x18000cddf
mov r12d, r14d
jmp 0x18000cddf
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x68]
mov r15, qword [rsp + 0x68]
mov rax, qword [0x1800131f8]
mov rcx, r13
call qword [rax + 0x12c]
test r12d, r12d
jne 0x18000ce37
mov ebx, 0x4000
test r15, r15
je 0x18000ce17
mov rax, qword [0x1800131f8]
mov r9d, ebx
mov r8d, 0x1000
mov rdx, r15
mov rcx, rsi
call qword [rax + 0x3c]
test r14, r14
je 0x18000ce4c
mov rax, qword [0x1800131f8]
mov r9d, ebx
mov r8d, 0x81098
mov rdx, r14
mov rcx, rsi
call qword [rax + 0x3c]
jmp 0x18000ce4c
mov rcx, qword [rbp - 0x80]
mov rdx, qword [0x1800131f8]
add rcx, 0x1044
call qword [rdx + 0x54]
test rdi, rdi
je 0x18000ce61
mov rdx, qword [0x1800131f8]
mov rcx, rdi
call qword [rdx + 0x184]
mov eax, r12d
mov rcx, qword [rbp + 0x7ffb0]
xor rcx, rsp
call fcn.1800104a0
mov rbx, qword [rsp + 0x80110]
add rsp, 0x800c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret