Function at 0x140003ea0
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
test edx, edx
jne 0x140003f10
mov rdx, qword [0x14000a0b8]
test rdx, rdx
je 0x140003efd
mov rcx, qword [rdx]
test rcx, rcx
je 0x140003efd
movsxd rax, dword [rcx + 0x3c]
mov r8d, dword [rax + rcx + 0x28]
test r8d, r8d
je 0x140003efd
mov eax, r8d
add rax, rcx
jne 0x140003ef6
mov dword [rdx + 0x20], 6
call fcn.140003870
mov eax, 1
add rsp, 0x130
pop rbp
ret
xor r8d, r8d
xor edx, edx
call rax
call fcn.140003870
mov eax, 1
add rsp, 0x130
pop rbp
ret
mov qword [rsp + 0x128], rdi
cmp edx, 2
jne 0x140003f7f
mov rdx, qword [0x14000a0b8]
test rdx, rdx
je 0x140003f4e
mov rcx, qword [rdx]
test rcx, rcx
je 0x140003f4e
movsxd rax, dword [rcx + 0x3c]
mov r8d, dword [rax + rcx + 0x28]
test r8d, r8d
je 0x140003f4e
mov eax, r8d
add rax, rcx
jne 0x140003f63
mov dword [rdx + 0x20], 6
xor edi, edi
mov eax, edi
mov rdi, qword [rsp + 0x128]
add rsp, 0x130
pop rbp
ret
xor r8d, r8d
lea edx, [r8 + 2]
call rax
mov edi, eax
mov rdi, qword [rsp + 0x128]
add rsp, 0x130
pop rbp
ret
cmp edx, 3
jne 0x140003fca
mov rdx, qword [0x14000a0b8]
test rdx, rdx
je 0x140003f4e
mov rcx, qword [rdx]
test rcx, rcx
je 0x140003f4e
movsxd rax, dword [rcx + 0x3c]
mov r8d, dword [rax + rcx + 0x28]
test r8d, r8d
je 0x140003f4e
mov eax, r8d
add rax, rcx
je 0x140003f47
xor r8d, r8d
lea edx, [r8 + 3]
call rax
mov edi, eax
mov rdi, qword [rsp + 0x128]
add rsp, 0x130
pop rbp
ret
mov eax, 0xb000
mov qword [rsp + 0x140], rbx
mov qword [rsp + 0x50], rax
mov dword [rbp + 0x48], 0x1600
mov dword [rbp + 0x58], 0x3200
mov qword [rsp + 0x150], rsi
mov dword [rsp + 0x58], 0x1000
mov qword [rsp + 0x120], r14
call fcn.1400089f0
call fcn.1400072d0
mov rax, qword [rsp + 0x50]
lea rcx, [0x140000000]
add rax, rcx
mov dword [rsp + 0x30], 0xedc8f366
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x34], 0xc4c82a12
mov dword [rsp + 0x38], 0x22d545ee
mov dword [rsp + 0x3c], 0xe3f3eaad
mov dword [rsp + 0x40], 0x6a7c90a3
mov dword [rsp + 0x44], 0xd76ba881
mov dword [rsp + 0x48], 0x1ad951bf
mov dword [rsp + 0x4c], 0xa8aebcfd
call fcn.1400026b0
mov r14, qword [rsp + 0x50]
mov esi, dword [rbp + 0x48]
mov rbx, r14
mov dword [rbp + 0x10], 0x2fa11298
mov dword [rbp + 0x14], 0xb91aea8c
mov dword [rbp + 0x18], 0x2de14d19
mov dword [rbp + 0x1c], 0xb75ece13
test rsi, rsi
je 0x1400040ed
lea rdi, [rbp + 0x10]
sub rdi, r14
dec rsi
shr rsi, 4
inc rsi
nop dword [rax]
movups xmm0, xmmword [rbx]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140002d50
mov ecx, 0x10
nop word [rax + rax]
movzx eax, byte [rdi + rbx]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x1400040d0
sub rdi, 0x10
movaps xmmword [rbp + 0x10], xmm0
sub rsi, 1
jne 0x1400040b0
mov ecx, dword [rbp + 0x58]
call qword [fcn.140002510]
mov r9d, dword [rbp + 0x48]
lea r8, [r14 + 0x10]
mov edx, dword [rbp + 0x58]
sub r9d, 0x20
mov rcx, rax
mov rbx, rax
call fcn.1400041f0
mov r8d, dword [rbp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1400072f0
call fcn.1400039f0
mov r14, rax
test rax, rax
jne 0x140004131
xor edi, edi
jmp 0x140004171
mov rax, qword [rax + 0x30]
mov edx, 0x28
lea ecx, [rdx + 0x18]
call rax
xor edi, edi
mov rsi, rax
test rax, rax
je 0x140004171
mov rdx, rbx
mov qword [rax + 0x10], r14
mov rcx, rax
mov qword [rax + 0x18], rdi
mov dword [rax + 0x20], edi
call fcn.140002ed0
test eax, eax
jne 0x140004174
mov rbx, qword [r14 + 0x38]
mov rcx, rsi
call rbx
mov rcx, r14
call rbx
mov rsi, rdi
mov rax, qword [rsi]
mov r14, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x140]
mov qword [0x14000a0b8], rsi
mov qword [section..text], rax
mov qword [0x140001008], rdi
test rsi, rsi
je 0x1400041d0
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400041d0
movsxd rax, dword [rcx + 0x3c]
mov edx, dword [rax + rcx + 0x28]
test edx, edx
je 0x1400041d0
mov eax, edx
add rax, rcx
jne 0x1400041c5
mov dword [rsi + 0x20], 6
jmp 0x1400041d0
xor r8d, r8d
lea edx, [r8 + 1]
call rax
mov edi, eax
mov rsi, qword [rsp + 0x150]
mov eax, edi
mov rdi, qword [rsp + 0x128]
add rsp, 0x130
pop rbp
ret