Function at 0x1400034a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
movsxd r10, dword [r9]
mov r15, r9
mov rsi, qword [rsp + 0xd0]
movzx r8d, word [0x140067ed0]
mov r9, qword [0x140067e88]
mov rbx, qword [0x140067ec8]
lea rcx, [r10 + r10]
movzx r12d, word [rcx + rdx]
lea r11, [r10*4]
movsxd rax, dword [r11 + rsi]
movzx edx, word [0x140067ec4]
xor r12, rax
mov rbx, qword [rbx + 0x7918]
lea eax, [r10 + 1]
movsxd rbp, dword [r9 + 0x28a4]
or rbx, 0x274
mov r14, qword [rsp + 0xe0]
movsxd r10, eax
mov qword [rsp + 0x40], rcx
lea rcx, [r8 + r8*2]
mov eax, dword [rsi + r10*4]
sub eax, 0xe85
cdqe
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xc8]
movzx eax, word [rax + rcx*8]
mov word [rsp + 0xd0], ax
mov rax, qword [0x140067e68]
mov eax, dword [rax + r8*4]
movsxd r8, dword [0x140067ec0]
imul eax, edx
mov rdx, qword [rsp + 0xd8]
cdqe
mov qword [rsp + 0x48], rax
lea eax, [r8 + 5]
lea eax, [r8 + rax*2]
movsxd rcx, eax
mov rax, qword [0x140067e80]
movzx r13d, word [rdx + rcx*2]
mov rcx, qword [rsp + 0xf0]
mov qword [rsp + 0xc8], r13
movzx edi, byte [rcx + rax*8 + 0x40]
and dil, byte [r11 + r9]
dec dil
movzx eax, dil
movzx r11d, word [r13 + rax*2]
mov eax, 0x11dd
cmp r11w, ax
je 0x1400035e3
movzx ecx, word [rdx + rbx*2 + 0x38]
lea rax, [r14 + r14*2]
dec r14
dec rbx
cmp ecx, dword [rsi + rax*4 + 8]
jl 0x1400035e3
mov eax, 0x13ab
cmp word [r13 + r10*2], ax
jb 0x1400035f9
movzx ecx, dil
lea rax, [r12 + rcx*2]
movzx edx, byte [rcx + rax]
cmp edx, dword [r15 + r8*4]
jne 0x14000381c
mov rax, qword [rsp + 0x40]
movzx edx, r11w
mov rcx, qword [rsp + 0x48]
add dil, 0xff
mov r13, qword [rsp + 0xe8]
movsxd r8, dword [rsi + rbx*4]
movzx r9d, word [rax + rcx]
lea rax, [r14 + r14*2]
add r9, qword [r13 + rax*8]
mov rcx, qword [0x140067e40]
call fcn.140003940
movsxd rdx, dword [r15]
mov rcx, qword [0x140067e48]
mov r9, qword [rsp + 0xc0]
mov word [rcx + rdx*2], ax
movabs rax, 0xb7c46b5134abec43
mul rbx
shr rdx, 0xc
imul rax, rdx, 0x164a
mov rdx, rbx
sub rdx, rax
mov eax, dword [rsp + 0xa0]
inc eax
movsxd rcx, eax
movzx eax, word [rsp + 0xd0]
or rdx, rcx
xor rbx, rdx
xor edx, edx
movzx ecx, word [r9 + rbx*2]
div ecx
mov word [r9 + rbx*2], dx
mov r8, qword [0x140067e78]
mov rax, qword [0x140067ec8]
lea rcx, [r8 + r8*2]
inc r8
mov rdx, qword [rax + rcx*8 + 0xe0]
mov eax, 0xffff
movzx ecx, word [0x140067ed0]
mov qword [0x140067e78], r8
movzx r9d, word [r9 + 0xfbc]
movsxd r8, dword [rbx*4 + 0x11c9]
and r9, rcx
add cx, ax
mov word [0x140067ed0], cx
mov ecx, 0x86
call fcn.14000fe20
mov rcx, qword [0x140067e50]
movzx r8d, dil
lea rdx, [rcx + rcx*2]
mov rcx, qword [rsp + 0xb0]
mov dword [rcx + rdx*4], eax
mov eax, r8d
movsxd rdx, dword [r15]
xor eax, dword [0x140067e70]
imul ecx, eax, 0x73f
sub ecx, dword [rsi + rdx*4]
add dword [0x140067e94], ecx
movzx eax, byte [r12 + 0xcbb]
movzx ecx, byte [r13 + 0x38e8]
imul ecx, eax
movsxd rdx, ebx
xor byte [0x140067e5d], cl
cmp rdx, qword [rbp + 0xdc38]
jbe 0x140003814
mov r10, qword [rsp + 0xb8]
lea eax, [r8*4 + 0x15]
lea r9, [r12 + 0x28]
lea r9, [r9 + rdx*2]
add r9, rdx
lea rsi, [rax*8]
mov rax, qword [rsp + 0xa8]
lea r11d, [r8 + r8*2]
add r10, 0xb
lea r8, [rax + rbx*8]
lea r10, [r10 + rbx*4]
nop
movzx eax, word [0x140067ed0]
lea r10, [r10 - 4]
xor edx, edx
lea r8, [r8 - 8]
inc ebx
lea r9, [r9 + 3]
lea rcx, [rax*8]
imul rax, qword [rcx + r13], 0x7db
mov qword [rcx + r13], rax
mov byte [r10 + 4], 0x45
movzx ecx, word [r8 + 8]
movzx eax, word [0x140067ed0]
imul ecx, eax
mov word [r8 + 8], cx
mov rax, qword [0x140067e98]
mov ecx, dword [rsi + rax]
xor dword [r11*4 + 0x51e], ecx
mov rax, qword [0x140067e40]
div qword [0x140067e80]
mov qword [0x140067e80], rax
mov eax, dword [r15]
movzx edx, byte [r9 - 3]
add eax, 6
movsxd rcx, eax
mov rax, qword [0x140067e98]
mov qword [rax + rcx*8], rdx
movsxd rax, ebx
cmp rax, qword [rbp + 0xdc38]
ja 0x140003780
mov r13, qword [rsp + 0xc8]
mov rax, qword [0x140067e78]
mov r9d, 0x1dc5
movzx esi, word [r13 + rax*2]
inc rax
mov qword [0x140067e78], rax
movzx eax, word [rsp + 0xd0]
dec ax
mov r8, qword [rbp + rsi*8 + 0x28]
movsxd rcx, dword [r15 + rsi*4 + 0x8c]
sub rsi, 2
movzx eax, ax
lea rdx, [rax + rax*2]
movsxd rax, dword [0x140067e94]
imul r8, rax
mov rax, qword [rsp + 0xd8]
movzx edx, word [rax + rdx*2]
call fcn.140003940
lea rcx, [rsi + rsi*2]
movzx ebx, dil
mov dword [r15 + rcx*4], eax
movsxd rcx, dword [r15]
mov r9d, dword [0x140067e94]
mov rax, qword [rsp + 0xb8]
inc r9d
movzx r11d, byte [0x140067e5c]
movzx r8d, byte [rcx + r12]
shl r14, 5
movzx edi, byte [rbx + rax]
mov rax, qword [0x140067ec8]
mov edx, dword [rax + rcx*8]
mov ecx, edi
movsxd rax, dword [0x2291]
imul edx, dword [r14 + rbp + 0x10]
xor r8, rax
mov dword [0x140067e94], r9d
mov eax, dword [r15]
and r9b, byte [0x140067e50]
add eax, 8
cdqe
movzx r10d, word [r13 + rax*2]
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rbx + rax + 0xf]
sub eax, r10d
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r11d
mov qword [rsp + 0x20], 0x1a7
call section..text
mov rdx, qword [rsp + 0xb0]
mov dword [0x140067ec0], eax
lea eax, [rax + rax*2]
movsxd rcx, eax
lea rax, [rsi + rsi*2]
movzx eax, word [r13 + rax*2 + 8]
add eax, dword [rdx + rcx*4]
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret