Function at 0x18018d8c0
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 - 0x27]
sub rsp, 0x100
mov rax, qword [0x1802f1dc0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r15, rdx
mov rsi, rcx
mov rax, qword [rdx]
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [rax + 0x78]
mov r12, qword [rax + 8]
xor ebx, ebx
mov edi, ebx
mov rcx, rsi
call fcn.180177c40
cmp eax, 0xb
jne 0x18018da5a
mov rcx, rsi
call fcn.1801e9b90
test al, al
je 0x18018da5a
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.180184470
mov r14, rax
mov rcx, rax
call fcn.1801ee3f0
test al, al
je 0x18018da5a
mov r8, rsi
mov rdx, r15
lea rcx, [rbp - 0x79]
call fcn.180181710
nop
mov r8, rsi
mov rdx, r15
lea rcx, [rbp - 0x31]
call fcn.180181710
nop
mov rcx, rsi
call fcn.1801e9c40
mov r15, qword [rax + 0x28]
mov rcx, rsi
call fcn.1801e9c40
mov rsi, qword [rax + 0x28]
mov rax, qword [r14]
lea rdx, [rbp - 0x79]
mov rcx, r14
call qword [rax + 0x28]
mov rax, qword [r14]
lea rdx, [rbp - 0x31]
mov rcx, r14
call qword [rax + 0x30]
mov rcx, qword [rbp - 0x71]
mov rax, qword [rcx]
lea r8, [rbp - 0x31]
lea rdx, [rbp - 0x79]
call qword [rax + 0x20]
test al, al
jne 0x18018da12
lea rdx, [rbp - 0x69]
mov rcx, r15
call fcn.180191740
mov rbx, rax
lea rdx, [rbp - 0x41]
lea rcx, [rsi + 0x48]
call fcn.1801919b0
lea rdx, [rbx + 2]
add rdx, rax
mov eax, edx
or eax, 1
bsr ecx, eax
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
add rcx, rdx
add rdi, rcx
mov rcx, qword [rbp - 0x71]
mov rax, qword [rcx]
lea rdx, [rbp - 0x79]
call qword [rax + 0x90]
mov rcx, qword [rbp - 0x71]
mov rax, qword [rcx]
lea r8, [rbp - 0x31]
lea rdx, [rbp - 0x79]
call qword [rax + 0x20]
test al, al
je 0x18018d9b0
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
lea rdx, [rbp - 0x31]
call qword [rax + 0x80]
cmp dword [rbp - 1], 9
jne 0x18018da33
lea rcx, [rbp - 0x21]
call fcn.180181690
nop
mov rcx, qword [rbp - 0x71]
mov r8, qword [rcx]
lea rdx, [rbp - 0x79]
call qword [r8 + 0x80]
cmp dword [rbp - 0x49], 9
jne 0x18018da55
lea rcx, [rbp - 0x69]
call fcn.180181690
nop
jmp case.default.0x18018dad2
movzx eax, byte [rsi + 1]
and al, 0x60
cmp al, 0x60
jne 0x18018da77
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.180183750
mov r14d, eax
jmp 0x18018daac
mov rax, qword [rsi + 0x20]
mov rcx, qword [rax + 0x20]
cmp byte [rcx + 0x4b], bl
je 0x18018da8c
mov r14d, 1
jmp 0x18018daac
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.180185ac0
mov rcx, rbx
mov r14d, 1
test al, al
cmovne rcx, r14
mov r14, rcx
mov rcx, rsi
call fcn.180177c40
dec eax
cmp eax, 0x11
ja case.default.0x18018dad2
cdqe
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x18dfac]
add rcx, rdx
jmp rcx
movzx eax, byte [rsi + 1]
and al, 0x60
cmp al, 0x60
jne 0x18018db29
test r14, r14
je case.default.0x18018dad2
nop word [rax + rax]
mov r9d, ebx
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.180184d00
movsxd rcx, eax
or rcx, 1
bsr rax, rcx
lea ecx, [rax*8 + 0x49]
add ecx, eax
shr rcx, 6
add rdi, rcx
inc rbx
cmp rbx, r14
jb 0x18018daf0
jmp case.default.0x18018dad2
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.1801841f0
movsxd rcx, eax
or rcx, 1
bsr rax, rcx
lea edi, [rax*8 + 0x49]
add edi, eax
jmp 0x18018dcfb
movzx eax, byte [rsi + 1]
and al, 0x60
cmp al, 0x60
jne 0x18018db96
test r14, r14
je case.default.0x18018dad2
mov r9d, ebx
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.180184dd0
or rax, 1
bsr rcx, rax
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
add rdi, rcx
inc rbx
cmp rbx, r14
jb 0x18018db63
jmp case.default.0x18018dad2
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.180184340
or rax, 1
bsr rcx, rax
jmp 0x18018dcf2
movzx eax, byte [rsi + 1]
and al, 0x60
cmp al, 0x60
jne 0x18018dc01
test r14, r14
je case.default.0x18018dad2
mov r9d, ebx
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.180184d00
mov ecx, eax
sar ecx, 0x1f
add eax, eax
xor ecx, eax
or ecx, 1
bsr eax, ecx
lea ecx, [rax*8 + 0x49]
add ecx, eax
shr rcx, 6
add rdi, rcx
inc rbx
cmp rbx, r14
jb 0x18018dbc4
jmp case.default.0x18018dad2
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.1801841f0
mov ecx, eax
sar ecx, 0x1f
add eax, eax
xor ecx, eax
or ecx, 1
bsr eax, ecx
lea edi, [rax*8 + 0x49]
add edi, eax
jmp 0x18018dcfb
movzx eax, byte [rsi + 1]
and al, 0x60
cmp al, 0x60
jne 0x18018dc80
test r14, r14
je case.default.0x18018dad2
nop
mov r9d, ebx
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.180184dd0
mov rcx, rax
sar rcx, 0x3f
add rax, rax
xor rcx, rax
or rcx, 1
bsr rax, rcx
lea ecx, [rax*8 + 0x49]
add ecx, eax
shr rcx, 6
add rdi, rcx
inc rbx
cmp rbx, r14
jb 0x18018dc40
jmp case.default.0x18018dad2
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.180184340
mov rcx, rax
sar rcx, 0x3f
add rax, rax
xor rcx, rax
jmp 0x18018db3a
movzx eax, byte [rsi + 1]
and al, 0x60
cmp al, 0x60
jne 0x18018dcde
test r14, r14
je case.default.0x18018dad2
nop
mov r9d, ebx
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.180185170
or eax, 1
bsr ecx, eax
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
add rdi, rcx
inc rbx
cmp rbx, r14
jb 0x18018dcb0
jmp case.default.0x18018dad2
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.180185610
or eax, 1
bsr ecx, eax
lea edi, [rcx*8 + 0x49]
add edi, ecx
shr rdi, 6
mov rax, rdi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.18020d270
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movzx eax, byte [rsi + 1]
and al, 0x60
cmp al, 0x60
jne 0x18018dd70
test r14, r14
je case.default.0x18018dad2
nop dword [rax + rax]
mov r9d, ebx
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.180185240
or rax, 1
bsr rcx, rax
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
add rdi, rcx
inc rbx
cmp rbx, r14
jb 0x18018dd40
jmp case.default.0x18018dad2
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.180185730
or rax, 1
bsr rcx, rax
jmp 0x18018dcf2
lea rdi, [r14*4]
jmp case.default.0x18018dad2
lea rdi, [r14*8]
jmp case.default.0x18018dad2
mov rdi, r14
jmp case.default.0x18018dad2
movzx eax, byte [rsi + 1]
and al, 0x60
cmp al, 0x60
jne 0x18018ddea
test r14, r14
je case.default.0x18018dad2
mov r9d, ebx
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.180184ea0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x38]
add rdi, rax
inc rbx
cmp rbx, r14
jb 0x18018ddc0
jmp case.default.0x18018dad2
xor r9d, r9d
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.1801844e0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x38]
mov rdi, rax
jmp case.default.0x18018dad2
movzx eax, byte [rsi + 1]
and al, 0x60
cmp al, 0x60
jne 0x18018de5f
test r14, r14
je case.default.0x18018dad2
nop
mov r9d, ebx
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.180184ea0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x38]
mov ecx, eax
or ecx, 1
bsr edx, ecx
lea edx, [rdx + rdx*8]
add edx, 0x49
shr rdx, 6
add rdx, rax
add rdi, rdx
inc rbx
cmp rbx, r14
jb 0x18018de20
jmp case.default.0x18018dad2
xor r9d, r9d
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.1801844e0
mov rcx, rax
call fcn.180189390
mov rdi, rax
jmp case.default.0x18018dad2
movzx eax, byte [rsi + 1]
and al, 0x60
cmp al, 0x60
jne 0x18018decd
test r14, r14
je case.default.0x18018dad2
mov r9d, ebx
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.180184a80
movsxd rcx, dword [rax + 4]
or rcx, 1
bsr rax, rcx
lea ecx, [rax*8 + 0x49]
add ecx, eax
shr rcx, 6
add rdi, rcx
inc rbx
cmp rbx, r14
jb 0x18018de93
jmp case.default.0x18018dad2
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.180183dd0
movsxd rcx, dword [rax + 4]
jmp 0x18018db3a
mov r13, rbx
test r14, r14
je case.default.0x18018dad2
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
movzx eax, byte [rsi + 1]
and al, 0x60
mov r8, rsi
mov rdx, r15
mov rcx, r12
cmp al, 0x60
jne 0x18018df32
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, r13d
call fcn.1801850a0
jmp 0x18018df3c
lea r9, [rsp + 0x40]
call fcn.1801854a0
mov rdx, qword [rax + 0x10]
mov eax, edx
or eax, 1
bsr ecx, eax
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
add rcx, rdx
add rdi, rcx
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18018df91
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18018df8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18018dfa2
call fcn.18020cd88
inc r13
cmp r13, r14
jb 0x18018def0
jmp case.default.0x18018dad2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3