Function at 0x180030260
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rbx, r8
mov edi, edx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0xf
cmp byte [0x1800489ec], 0
jne 0x18003034f
mov rdx, qword [0x180046e08]
movabs rax, 0xd3499bc147accbf5
add rax, rdx
movabs rcx, 0xd3499bc147accc0b
add rcx, rdx
xor edx, edx
lea r8, [0x1800489e1]
nop dword [rax]
movzx r11d, byte [rcx + rdx]
movzx r9d, byte [rax + rdx]
mov r10d, r11d
not r10b
and r10b, r9b
mov r14d, r9d
and r14b, 0x3c
or r14b, 0x81
and r9b, 0xc3
xor r9b, r14b
xor r11b, r9b
xor r11b, 0x81
xor r9b, 0x7e
and r9b, r11b
mov r11d, r9d
mov r14d, r10d
mov r15d, r9d
and r9b, r10b
xor r10b, 0x2c
xor r11b, 0x2c
xor r14b, 0xd3
and r14b, r11b
xor r15b, 0xd3
and r15b, r10b
or r9b, r15b
or r9b, r14b
mov byte [rdx + r8], r9b
inc rdx
cmp rdx, 0xb
jne 0x1800302e0
mov byte [0x1800489ec], 1
movabs r15, 0xd3499bc147aca2c6
add r15, qword [0x180046e10]
movaps xmmword [rbp], xmm0
movaps xmmword [rbp + 0x10], xmm0
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
test rax, rax
js 0x180030674
mov r14, rax
cmp rax, 0xf
ja 0x1800303a4
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], 0xf
mov rcx, rbp
mov rdx, r15
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
add r14, rbp
jmp 0x180030495
mov ecx, r14d
and ecx, 0xf
mov rdx, rcx
not rdx
mov r8, r14
xor r8, 0xf
mov rax, r14
xor rax, 0xfffffffffffffff0
mov r9d, r14d
and r9d, 1
movabs r10, 0x7e4780d6dd9c0121
xor r10, r14
or r8, rax
and r8, r10
movabs r10, 0x420200d2d800000e
and r10, rdx
or r10, r9
movabs r9, 0x3c458004059c0120
or r9, r10
xor r9, r8
xor rcx, rax
xor rax, rdx
or rax, rcx
not rax
or rax, r9
cmp rax, 0x17
mov r13d, 0x16
cmovae r13, rax
cmp r13, 0xfff
jb 0x18003046c
lea rcx, [r13 + 0x28]
call fcn.180035cbc
mov rcx, 0xffffffffffffffd8
sub rcx, rax
mov rdx, rax
add rdx, 0x27
movabs r8, 0x200806a620eb8002
and r8, rdx
movabs r9, 0xdff7f959df147ffd
and r9, rcx
or r9, r8
movabs r12, 0xdff7f959df147fe2
xor r12, r9
and r12, rdx
mov qword [r12 - 8], rax
jmp 0x180030478
lea rcx, [r13 + 1]
call fcn.180035cbc
mov r12, rax
mov qword [rbp], r12
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r13
mov rcx, r12
mov rdx, r15
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
add r14, r12
mov byte [r14], 0
lea rcx, [rbp - 0x60]
mov rdx, rbp
mov r8d, edi
call fcn.1800188b0
xorps xmm0, xmm0
movaps xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], 0
mov rdx, qword [rbp - 0x10]
add rdx, qword [rbp - 0x50]
mov qword [rbp - 0x28], 0xf
add rdx, qword [rbx + 0x10]
cmp rdx, 0x10
jb 0x1800304e2
lea rcx, [rbp - 0x40]
call fcn.180018f70
mov qword [rbp - 0x30], 0
lea r14, [rbp - 0x40]
lea rdx, [rbp - 0x60]
lea r8, [rbp - 0x20]
mov rcx, r14
mov r9, rbx
call fcn.180018e40
mov rax, qword [rbp - 0x48]
cmp rax, 0x10
jb 0x180030538
mov rcx, qword [rbp - 0x60]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x180030533
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x180030679
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.180035d00
mov qword [rbp - 0x50], 0
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
mov rax, qword [rbp + 0x18]
cmp rax, 0x10
jb 0x18003058b
mov rcx, qword [rbp]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x180030586
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x180030679
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.180035d00
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x1800305ca
mov rcx, qword [rbp - 0x20]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1800305c5
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x180030679
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.180035d00
cmp qword [rbp - 0x28], 0x10
jb 0x1800305d5
mov r14, qword [rbp - 0x40]
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
lea rax, vtable.nlohmann::json_abi_v3_11_3::detail::exception.0
mov qword [rsi], rax
mov dword [rsi + 0x18], edi
lea rax, vtable.std::exception.0
mov qword [rsi + 0x20], rax
lea rdx, [rsi + 0x28]
movups xmmword [rsi + 0x28], xmm0
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x18], 1
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll___std_exception_copy
lea rax, vtable.std::runtime_error.0
mov qword [rsi + 0x20], rax
lea rax, vtable.nlohmann::json_abi_v3_11_3::detail::type_error.0
mov qword [rsi], rax
mov rax, qword [rbp - 0x28]
cmp rax, 0x10
jb 0x18003065d
mov rcx, qword [rbp - 0x40]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x180030658
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x180030679
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.180035d00
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.18000d970
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3