Function at 0x1401b7b30
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov edi, edx
mov rsi, rcx
mov rax, qword [0x140554790]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x48]
mov edx, 0x3d747d12
mov r8d, 0x5999b104
call fcn.1401b8020
mov rbx, qword [rsp + 0x48]
lea rdx, [rsp + 0x48]
mov rcx, rbx
mov r8d, 0x818718b0
mov r9d, 0x36b3f151
call fcn.1401b8200
movsxd rax, dword [rsp + 0x48]
movabs rcx, 0xa07d7c2d457b25d4
sub rax, rcx
movabs rdx, 0x6e91c85a27e8e8f4
add rbx, rdx
add rbx, rax
add rbx, rcx
sub rbx, rdx
lea rdx, [rsp + 0x48]
mov rcx, rbx
mov r8d, 0x3b0d839a
mov r9d, 0x28f60181
call fcn.1400aa890
mov r12, qword [rsp + 0x48]
mov r15d, dword [0x14042d528]
mov ebx, edi
not ebx
mov eax, edi
xor eax, 0xfffffff0
mov ecx, edi
xor ecx, 0xf
and ecx, ebx
or ecx, eax
cmp ecx, 0xffffffef
jne 0x1401b7c07
cmp edi, 0x1f
je 0x1401b7c92
cmp edi, 0x10
jne 0x1401b7c99
mov edi, 0xfffffff1
jmp 0x1401b7c9c
mov ecx, edi
mov edx, 0xc33e4b7f
mov r8d, 0xbd9f1b77
call fcn.1401b8180
test al, 1
je 0x1401b7c3b
cmp edi, 0xe
je 0x1401b7d01
cmp edi, 0xf
jne 0x1401b7d0d
mov edi, 0xf
mov edx, 0x80
jmp 0x1401b7ca1
lea eax, [rdi - 9]
cmp eax, 3
ja 0x1401b7cf3
mov dword [rsp + 0x20], 0xca1523a3
lea rdx, [rsp + 0x47]
lea r8, [rsp + 0x48]
mov ecx, edi
mov r9d, 0xbe0fd0fb
call fcn.1401b81a0
mov edx, dword [rsp + 0x48]
movzx ecx, byte [rsp + 0x47]
mov dword [rsp + 0x20], 0xaaf44c6
lea r8, [rsp + 0x48]
mov r9d, 0xd48ba882
call fcn.1401b8170
mov edi, dword [rsp + 0x48]
mov edx, 0x8000
jmp 0x1401b7ca1
mov edi, 0xf
jmp 0x1401b7c9c
add edi, 0xffffffe8
mov edx, 0x100
mov rcx, qword [rsi + 8]
call fcn.1401644c0
add rsi, 0x10
lea rdx, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0xbdafd0a
mov r9d, 0xe8bdca3b
call fcn.1400ad2b0
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1403e4010
mov rcx, rsi
mov edx, edi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1401643d0
cmp edi, 8
jne 0x1401b7d16
xor edi, edi
mov edx, 0x20
jmp 0x1401b7ca1
mov edi, 1
mov edx, 0x80
jmp 0x1401b7ca1
xor edi, edi
mov edx, 0x80
jmp 0x1401b7ca1
mov ecx, dword [0x140511ef0]
mov eax, ecx
not eax
mov r14d, eax
neg r14d
lea ebp, [rax - 1]
xor ecx, r14d
and ebp, eax
or ebp, ecx
not ebp
imul eax, r14d
mov ecx, eax
neg ecx
mov edx, ecx
xor edx, eax
and ecx, eax
lea r13d, [rdx + rcx*2]
sub r13d, eax
imul r13d, eax
sub r13d, eax
nop
mov eax, dword [0x140564628]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1401b7d85
mov ecx, r14d
mov edx, 0xd2765864
mov r8d, 0xacd0fbc4
call fcn.1401b8270
mov eax, dword [0x140564628]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x1401b7daf
mov dword [0x140511ef0], r13d
mov ecx, 0xda5d47c7
mov edx, 0x9edeb78e
call fcn.14008a080
mov eax, dword [0x140564628]
mov ecx, eax
not ecx
imul ecx, eax
test cl, 1
jne 0x1401b7d50
jmp 0x1401b7d61
mov qword [rsp + 0x38], rsi
lea rdx, [rsp + 0x48]
mov ecx, ebp
mov r8d, 0xc8c47c24
mov r9d, 0x6ca9548d
call fcn.1401b8220
movzx ecx, byte [rsp + 0x48]
mov byte [rsp + 0x33], cl
test al, 1
je 0x1401b7ddd
xor ebp, ebp
jmp 0x1401b7df3
xor r13d, r13d
mov ebp, 0
mov dword [rsp + 0x34], r15d
test r15d, r15d
jg 0x1401b7ee6
mov rsi, qword [rsp + 0x38]
nop dword [rax + rax]
test rsi, rsi
je 0x1401b7e00
mov eax, edi
xor eax, 0xfffffffc
mov ecx, ebx
and ecx, 3
or ecx, eax
cmp ecx, 0xfffffffb
jne 0x1401b7e48
mov dword [rsp + 0x28], 0x4793d042
mov dword [rsp + 0x20], 0xf41e5741
lea r9, [rsp + 0x48]
mov ecx, edi
mov edx, ebx
mov r8d, 3
call fcn.1401b80a0
mov edi, dword [rsp + 0x48]
mov edx, 0x4000
jmp 0x1401b7ca1
dec edi
movzx eax, byte [0x14042d520]
movzx edx, byte [rsp + 0x33]
dec dl
neg bpl
mov ecx, eax
xor cl, bpl
and bpl, al
add bpl, bpl
add bpl, cl
and bpl, dl
nop dword [rax]
mov eax, dword [0x14056462c]
cmp eax, 0x16
jg 0x1401b7e8e
mov ecx, 0x65022c2b
mov edx, 0x4084431b
call fcn.1401b8030
test al, 1
jne 0x1401b7eb0
mov ecx, 0x701fafe6
mov edx, 0xdcba9579
call fcn.1401b8230
mov eax, dword [0x140564628]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1401b7e70
jmp 0x1401b7e7b
movzx ecx, bpl
add ecx, dword [0x140564418]
mov edx, 0x4793d042
mov r8d, 0x6b378f97
call fcn.1401b8210
xor eax, eax
cmp edi, 3
setb al
mov edx, eax
shl edx, 5
add edx, 0x20
neg eax
or eax, 1
mov edi, eax
jmp 0x1401b7ca1
lea rax, [fcn.1401b7b30]
lea r15d, [rax + rax]
add r15d, 0x28a0
mov r14d, r15d
not r14d
xor ebp, ebp
jmp 0x1401b7f24
xor bpl, r12b
inc r13d
cmp r13d, dword [rsp + 0x34]
mov r12, rsi
jge 0x1401b7df3
movsxd rax, r13d
mov rsi, r12
movzx r12d, byte [r12 + rax]
mov eax, dword [0x140564628]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1401b7f60
mov ecx, 0xf29545e7
mov edx, 0xce63d028
call fcn.14008a080
mov eax, dword [0x140564628]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x1401b7f10
test r14d, r15d
jne 0x1401b7f60
jmp 0x1401b7f40