Function at 0x140037450
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, r9
mov rbx, r8
mov r15, rdx
mov r13, rcx
mov rdi, qword [rsp + 0xb0]
mov rax, qword [0x1403486d0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rcx, r8
call fcn.14003a9c0
mov qword [rdi], rax
mov rcx, r13
mov rdx, rbx
mov r8, rax
call fcn.14003a9d0
test al, al
je 0x140037737
mov rax, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xb8]
mov r12, rbx
shr r12, 3
mov rdi, qword [rax]
mov qword [rsp + 0x30], rdi
lea rcx, [r14 + 8]
mov rdx, rsi
mov r8, rbx
call fcn.1400f9752
test r12, r12
je 0x140037730
lea rax, [r12 + 1]
mov qword [rsp + 0x28], rax
mov rbp, r12
neg rbp
mov esi, 1
lea rbx, [rsp + 0x30]
nop word cs:[rax + rax]
nop
mov rax, qword [r14 + rsi*8]
mov qword [rsp + 0x38], rax
mov edx, 1
mov rcx, r15
mov r8, rbx
mov r9, rbx
call qword [r13 + DispGetParam]
mov rdi, rsi
bswap rdi
xor rdi, qword [rsp + 0x30]
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x38]
mov qword [r14 + rsi*8], rax
lea rax, [rsi + rbp]
add rax, 1
add rsi, 1
cmp rax, 1
jne 0x140037500
test r12, r12
je 0x140037730
mov rsi, r12
mov rax, qword [rsp + 0x28]
lea rbp, [rax - 1]
xor r12d, r12d
lea rbx, [rsp + 0x30]
nop word cs:[rax + rax]
nop dword [rax]
mov rax, qword [r14 + r12*8 + 8]
mov qword [rsp + 0x38], rax
mov edx, 1
mov rcx, r15
mov r8, rbx
mov r9, rbx
call qword [r13 + DispGetParam]
mov rax, qword [rsp + 0x28]
lea rdi, [rax + r12]
bswap rdi
xor rdi, qword [rsp + 0x30]
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x38]
mov qword [r14 + r12*8 + 8], rax
add r12, 1
cmp rbp, r12
jne 0x140037570
test rsi, rsi
je 0x140037730
mov r12, rsi
add rsi, rsi
add rsi, 1
xor ebp, ebp
lea rbx, [rsp + 0x30]
nop
mov rax, qword [r14 + rbp*8 + 8]
mov qword [rsp + 0x38], rax
mov edx, 1
mov rcx, r15
mov r8, rbx
mov r9, rbx
call qword [r13 + DispGetParam]
lea rdi, [rsi + rbp]
bswap rdi
xor rdi, qword [rsp + 0x30]
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x38]
mov qword [r14 + rbp*8 + 8], rax
add rbp, 1
cmp r12, rbp
jne 0x1400375d0
test r12, r12
je 0x140037730
lea rsi, [r12 + r12*2]
add rsi, 1
xor ebp, ebp
lea rbx, [rsp + 0x30]
nop dword [rax + rax]
mov rax, qword [r14 + rbp*8 + 8]
mov qword [rsp + 0x38], rax
mov edx, 1
mov rcx, r15
mov r8, rbx
mov r9, rbx
call qword [r13 + DispGetParam]
lea rdi, [rsi + rbp]
bswap rdi
xor rdi, qword [rsp + 0x30]
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x38]
mov qword [r14 + rbp*8 + 8], rax
add rbp, 1
cmp r12, rbp
jne 0x140037630
test r12, r12
je 0x140037730
lea rsi, [r12*4 + 1]
xor ebp, ebp
lea rbx, [rsp + 0x30]
nop dword [rax + rax]
mov rax, qword [r14 + rbp*8 + 8]
mov qword [rsp + 0x38], rax
mov edx, 1
mov rcx, r15
mov r8, rbx
mov r9, rbx
call qword [r13 + DispGetParam]
lea rdi, [rsi + rbp]
bswap rdi
xor rdi, qword [rsp + 0x30]
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x38]
mov qword [r14 + rbp*8 + 8], rax
add rbp, 1
cmp r12, rbp
jne 0x140037690
test r12, r12
je 0x140037730
lea rsi, [r12 + r12*4]
add rsi, 1
xor ebp, ebp
lea rbx, [rsp + 0x30]
nop word cs:[rax + rax]
nop
mov rax, qword [r14 + rbp*8 + 8]
mov qword [rsp + 0x38], rax
mov edx, 1
mov rcx, r15
mov r8, rbx
mov r9, rbx
call qword [r13 + DispGetParam]
lea rdi, [rsi + rbp]
bswap rdi
xor rdi, qword [rsp + 0x30]
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x38]
mov qword [r14 + rbp*8 + 8], rax
add rbp, 1
cmp r12, rbp
jne 0x1400376f0
mov qword [r14], rdi
xor esi, esi
jmp 0x140037743
mov qword [rdi], 0
mov esi, 0xfffffff9
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400e6b50
mov eax, esi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret