Function at 0x1802b5db0
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 r15, r9
mov qword [rbp - 0x30], r8
mov r12, rcx
mov eax, 0x10
call fcn.18045a590
sub rsp, rax
mov qword [rbp + 0x18], rsp
mov qword [rbp - 8], rdx
mov rdi, qword [rdx]
sub rsp, 0x20
call fcn.180408a50
add rsp, 0x20
mov r14, rax
mov rsi, r14
add rsi, 0x50
mov cl, byte [r14 + 0x50]
movzx eax, cl
test cl, cl
je 0x1802b5e1e
jmp 0x1802b5e11
sub rax, 1
je 0x1802b5e3a
jmp 0x1802b5e19
jmp 0x1802b5f3b
lea rdx, [0x18029e120]
sub rsp, 0x20
mov rcx, r14
call fcn.180428e50
add rsp, 0x20
mov byte [rsi], 1
jmp 0x1802b5e3a
mov bl, byte [r14 + 0x4c]
mov rcx, r14
add rcx, 0x4d
mov sil, byte [r14 + 0x4d]
cmp bl, 0
sete al
test al, 1
mov r8b, sil
jne 0x1802b5f34
jmp 0x1802b5e5c
mov eax, dword [0x180526f08]
xor eax, dword [0x180526f0c]
add eax, 0xfd36a02
or eax, 0xde7dc361
add eax, 0xa242dc05
cmp eax, 0x4a8e88e8
je 0x1802b65a3
mov eax, dword [0x180526f10]
and eax, dword [0x180526f14]
or eax, 0x5c41b5c6
imul eax, eax, 0xcfb4299a
mov r8d, 0xa668791c
xor edx, edx
div r8d
cmp sil, 0
sete dl
cmp eax, 0x46f29976
je 0x1802b65a3
jmp 0x1802b5eb8
test dl, 1
jne 0x1802b5ebf
jmp 0x1802b5ed8
mov rax, qword [rdi]
mov rax, qword [rax + 0x10]
mov rcx, qword [rdi + 8]
sub rsp, 0x20
call rax
add rsp, 0x20
mov al, 1
jmp 0x1802b5f52
mov r8b, sil
add r8b, 0xff
mov eax, dword [0x180526f18]
and eax, dword [0x180526f1c]
imul eax, eax, 0xd257d4cd
add eax, 0x6fc3733e
and eax, 0x3f7a7abf
cmp eax, 0x1d326219
je 0x1802b65b0
jmp 0x1802b5f08
mov eax, dword [0x180526f20]
imul eax, dword [0x180526f24]
mov r9d, 0xab56c92f
xor edx, edx
div r9d
imul eax, eax, 0xaccddc8f
xor eax, 0x9e622011
cmp eax, 0x997f01
jbe 0x1802b5f08
jmp 0x1802b5f34
mov byte [rcx], r8b
xor eax, eax
jmp 0x1802b5f52
mov byte [rbp + 0x25], 0
mov byte [rbp + 0x24], 0
movzx eax, byte [rbp + 0x26]
shl eax, 0x10
movzx esi, word [rbp + 0x24]
or esi, eax
jmp 0x1802b5f81
movzx esi, sil
shl esi, 8
movzx ecx, bl
or esi, ecx
lea rcx, [rbp + 0x25]
mov byte [rbp + 0x25], 0
mov byte [rbp + 0x24], 0
shl esi, 8
movzx eax, al
or esi, eax
sub rsp, 0x20
call fcn.18040d660
add rsp, 0x20
jmp 0x1802b5f81
mov r14d, 2
test sil, 1
jne 0x1802b658c
jmp 0x1802b5f93
mov eax, esi
shr eax, 0x10
shr esi, 8
mov rcx, qword [rbp + 0x18]
mov byte [rcx], sil
mov byte [rcx + 1], al
mov rax, r12
add rax, 0x18
mov qword [rbp - 0x28], rax
mov rbx, qword [r12 + 8]
mov rax, r12
add rax, 0x28
mov rdi, qword [r12 + 0x18]
mov qword [rbp], rax
mov r9b, byte [rax]
mov rax, qword [r12]
mov qword [rbp + 0x10], rax
lea rsi, [rbp - 0x80]
add rsi, 8
lea r14, [rbp - 0x80]
add r14, 0x10
lea rax, [rbp - 0x80]
add rax, 0x18
mov qword [rbp - 0x40], rax
mov rax, r12
add rax, 0x10
mov qword [rbp - 0x18], rax
mov rax, qword [r15]
mov qword [rbp - 0x10], rax
cmp rax, 0
setne al
mov rax, r12
add rax, 0x20
mov qword [rbp - 0x38], rax
mov rax, r12
add rax, 0x29
mov qword [rbp - 0x20], rax
mov r15, qword [r12 + 0x10]
mov rax, qword [r12 + 0x20]
mov qword [rbp + 8], rax
mov r12b, r9b
mov eax, dword [0x180526f28]
and eax, dword [0x180526f2c]
sub eax, 0x70ef0903
xor eax, 0xab3ca7e0
or eax, 0x7fc02bd0
cmp eax, 0xee45a203
jb 0x1802b65c1
mov ecx, dword [0x180526f30]
mov eax, dword [0x180526f34]
imul ecx, eax
xor ecx, 0xf0b43515
mov eax, 0xccc6f921
imul rcx, rax
shr rcx, 0x3f
or ecx, 0x96e8b1d8
mov rax, rdi
sub rax, rbx
setb al
test r12b, r12b
sete dl
and al, dl
cmp ecx, 0x245061e1
jbe 0x1802b65c1
test al, 1
jne 0x1802b611a
cmp r15, rdi
jb 0x1802b60a8
mov r13b, r9b
jmp 0x1802b6327
cmp rdi, rbx
seta al
test al, 1
jne 0x1802b60b4
jmp 0x1802b610e
ud2
mov r13b, r9b
mov rcx, qword [rbp - 0x10]
jmp 0x1802b6360
mov r12b, r9b
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x80], rax
mov qword [rsi], rbx
mov rax, qword [rbp - 0x40]
mov qword [rax], rbx
mov qword [r14], rdi
sub rsp, 0x20
lea r8, [rbp - 0x80]
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 8]
call fcn.180407920
add rsp, 0x20
mov r13, rdx
test rax, rax
sete dl
test r13, r13
sete cl
or rax, r13
sete al
test al, 1
jne 0x1802b6169
jmp 0x1802b61f2
mov rax, qword [r14]
cmp rax, qword [rsi]
seta cl
test cl, 1
jne 0x1802b61ee
jmp 0x1802b6179
cmp rdi, rax
sete r9b
and r9b, 1
mov ecx, dword [0x180526f48]
and ecx, dword [0x180526f4c]
xor ecx, 0xe3fc450e
or ecx, 0xf248db05
sub ecx, 0x293ac8a6
cmp ecx, 0x8f3b26ca
mov rdx, qword [rbp - 0x28]
je 0x1802b65e3
mov r8, qword [rbp]
jmp 0x1802b61b8
mov ecx, dword [0x180526f50]
xor ecx, dword [0x180526f54]
xor ecx, 0xe76b2aeb
imul ecx, ecx, 0xc616144d
or ecx, 0xf8d3dc0f
mov byte [r8], r9b
mov qword [rdx], rax
cmp ecx, 0x1d93f069
jb 0x1802b61b8
jmp 0x1802b61e6
mov r12b, r9b
mov rdi, rax
jmp 0x1802b6218
ud2
test dl, 1
mov r9b, r12b
jne 0x1802b61fc
jmp 0x1802b6206
xor r12d, r12d
test cl, 1
jne 0x1802b6218
jmp 0x1802b6224
cmp r15, rdi
sete al
xor r12d, r12d
test al, 1
jne 0x1802b6236
jmp 0x1802b609b
mov rax, qword [rbp + 0x18]
mov byte [rax], 0
jmp 0x1802b609b
mov rax, qword [rbp + 0x18]
mov byte [rax], 0
mov r14d, 1
jmp 0x1802b630f
mov r9, qword [rbp - 0x20]
mov al, byte [r9]
cmp al, 0
sete cl
mov eax, dword [0x180526f58]
add eax, dword [0x180526f5c]
mov r8d, 0x138f9f26
xor edx, edx
div r8d
or eax, 0xf22efa2e
xor eax, 0xfe6ba515
cmp eax, 0x10152e14
ja 0x1802b65fa
jmp 0x1802b6270
mov eax, dword [0x180526f60]
imul eax, dword [0x180526f64]
or eax, 0xd2f6e801
xor eax, 0x1fbc6ded
xor eax, 0xb4bd9409
cmp eax, 0x1190d577
jb 0x1802b6270
mov r14d, 2
test cl, 1
je 0x1802b62a0
jmp 0x1802b630f
mov rax, qword [rbp + 0x18]
mov byte [rax], 0
mov byte [r9], 0
mov eax, dword [0x180526f68]
or eax, dword [0x180526f6c]
mov ecx, 0x164949cb
xor edx, edx
div ecx
and eax, 0xe7e98307
or eax, 0x6d56b8b5
cmp eax, 0x50934900
je 0x1802b6607
mov eax, dword [0x180526f70]
sub eax, dword [0x180526f74]
or eax, 0x261e90a1
sub eax, 0x68d886b9
imul eax, eax, 0xf4a37e33
cmp eax, 0x9468c0f0
jb 0x1802b6607
mov r14d, 2
jmp 0x1802b630f
mov r14d, 1
mov r13, rdx
jmp 0x1802b630f
sub rsp, 0x20
mov rcx, qword [rbp + 0x18]
call fcn.18040d660
add rsp, 0x20
jmp 0x1802b658c
jmp 0x1802b6327
sub rsp, 0x20
mov rcx, qword [rbp - 0x18]
xor edx, edx
mov r8d, 0x10
call fcn.1804691b0
add rsp, 0x20
xor r15d, r15d
cmp r12b, 0
mov r12d, 0
mov edi, 0
mov r9b, r13b
je 0x1802b602c
jmp 0x1802b649d
mov r9, rdi
sub r9, r15
mov r8, qword [rbp + 0x10]
add r8, r15
sub rsp, 0x20
mov rdx, qword [rbp - 8]
call fcn.180407930
add rsp, 0x20
cmp rax, 2
jne 0x1802b6506
cmp r13b, 0
sete al
cmp rdi, rbx
setb cl
and al, cl
test al, 1
jne 0x1802b63a3
mov r13, rdx
jmp 0x1802b6492
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x60], rax
lea rsi, [rbp - 0x60]
add rsi, 8
mov qword [rbp - 0x58], rbx
lea r14, [rbp - 0x60]
add r14, 0x10
mov r15, rdx
mov qword [rbp - 0x48], rbx
mov qword [r14], rdi
sub rsp, 0x20
lea r8, [rbp - 0x60]
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 8]
call fcn.180407920
add rsp, 0x20
mov r13, rdx
test rax, rax
sete cl
or rax, r13
sete al
test al, 1
jne 0x1802b63fa
jmp 0x1802b6481
mov rax, qword [r14]
mov rcx, qword [rsi]
cmp rax, rcx
seta cl
test cl, 1
jne 0x1802b647d
jmp 0x1802b640d
mov ecx, dword [0x180526f78]
add ecx, dword [0x180526f7c]
sub ecx, 0xe426178d
and ecx, 0xd893103
xor ecx, 0x466797ab
cmp ecx, 0x16954e41
je 0x1802b6614
jmp 0x1802b6439
mov edx, dword [0x180526f80]
imul edx, dword [0x180526f84]
xor edx, 0x21d705b0
and edx, 0x39565ba8
sub edx, 0xf8378de
cmp rdi, rax
sete cl
and cl, 1
cmp edx, 0x3f9f244e
je 0x1802b6439
jmp 0x1802b646b
mov rdx, qword [rbp]
mov byte [rdx], cl
mov rcx, qword [rbp - 0x28]
mov qword [rcx], rax
mov r13, r15
jmp 0x1802b6492
ud2
mov r14d, 1
test cl, 1
jne 0x1802b630f
jmp 0x1802b6492
mov r14d, 2
jmp 0x1802b630f
mov rax, qword [rbp + 0x18]
mov byte [rax], 0
mov eax, dword [0x180526f88]
xor edx, edx
div dword [0x180526f8c]
mov ecx, 0xa1845ca6
xor edx, edx
div ecx
xor eax, 0xc17ebd32
imul eax, eax, 0x2a894251
cmp eax, 0x93ede2d7
ja 0x1802b6625
jmp 0x1802b64d3
mov eax, dword [0x180526f90]
xor eax, dword [0x180526f94]
mov ecx, 0x577ec76
xor edx, edx
div ecx
imul eax, eax, 0x2f62de52
or eax, 0x918eb401
cmp eax, 0xd3d7f528
jb 0x1802b64d3
xor r14d, r14d
mov r13, qword [rbp + 8]
jmp 0x1802b630f
cmp rax, 0
sete al
test al, 1
jne 0x1802b6516
jmp 0x1802b6304
mov rax, qword [rbp + 0x18]
mov byte [rax], 0
cmp rdx, 0
sete al
test al, 1
jne 0x1802b652a
jmp 0x1802b6557
lea rdx, [0x180489c92]
sub rsp, 0x20
mov ecx, 0x17
mov r8d, 0x1b
call fcn.18029d430
add rsp, 0x20
mov r13, rax
mov r14d, 1
jmp 0x1802b630f
add r15, rdx
mov rax, qword [rbp - 0x18]
mov qword [rax], r15
mov rax, qword [rbp + 8]
add rax, rdx
mov qword [rbp + 8], rax
mov rcx, qword [rbp - 0x38]
mov qword [rcx], rax
mov rax, qword [rbp - 0x20]
mov byte [rax], 1
cmp r15, rdi
mov rcx, qword [rbp - 0x10]
jb 0x1802b6360
jmp 0x1802b6325
mov rax, r14
mov rdx, r13
lea rsp, [rbp + 0x28]
pop rbx
pop rdi
sub byte [rbx + 0x5f], bl
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov edx, 0x52f4bce8
jge 0x1802b660e
loop 0x1802b6595
sar al, cl
invalid
std
xor dword [rdi], ebp
hlt
add al, 0x32
int3
mov esi, dword [rcx + 0x58]
scasb al, byte [rdi]
popfq
lahf
rcr byte [rbp + 0x4d8b48], cl
mov rcx, qword [rbp]
mov byte [rcx], r9b
mov qword [rdx], rax
jmp 0x1802b61b2
scasd eax, dword [rdi]
rol eax, cl
adc byte [r8 + 0x67e91a34], r11b
cld
invalid
out 0x5b, eax
sub eax, 0x36892248
mov esi, 0xfffcc1e9
call [rdi + 0x4b]
add qword [r15 + r10*4 - 0x71f66a95], r14
pop rdi
add qword [r15 + r10*4 - 0x71f66a95], r14
pop rbx
mov cl, ch
adc bh, dh
invalid
js 0x1802b664c
and qword [r11 - 0x3b], rbx
xchg edi, eax
loop 0x1802b667f
jle 0x1802b65eb
jmp 0x1802b64d1
invalid