Function at 0x140004ec0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
lea rax, [rbp + 0x40]
mov qword [rbp + 0x48], rax
mov edi, 0xb
mov dword [rbp - 0x48], edi
mov dword [rbp - 0x44], 0xf000b
mov dword [rbp - 0x40], 0x6f000a
mov dword [rbp - 0x3c], 0x5c004e
mov dword [rbp - 0x38], 0x110047
mov dword [rbp - 0x34], 0x390025
mov dword [rbp - 0x30], 0x430027
xor ebx, ebx
mov edx, ebx
nop dword [rax]
nop word [rax + rax]
mov eax, edx
lea rcx, [rbp - 0x44]
lea rcx, [rcx + rax*2]
lea eax, [rdx + 0x38]
xor word [rcx], ax
inc edx
mov eax, dword [rbp - 0x48]
cmp edx, eax
jb 0x140004f20
mov word [rbp + rax*2 - 0x44], bx
call fcn.14000fb60
mov rcx, rax
test rax, rax
je 0x1400050dd
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x40], rax
lea rax, [rbp - 0x44]
cmp rax, 0x10000
lea rax, [rbp - 0x44]
jae 0x140004f7b
movzx edx, ax
lea rcx, [rbp + 0x40]
call fcn.14000c690
jmp 0x140004f9b
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140004f82
lea rdx, [rbp - 0x44]
lea rcx, [rbp + 0x40]
call fcn.14000c910
nop
lea rcx, [rbp + 0x40]
call fcn.140004ca0
test eax, eax
lea rax, [rbp + 0x40]
jne 0x1400050e8
mov qword [rbp + 0x48], rax
mov dword [rbp - 0x60], 9
mov dword [rbp - 0x5c], 0xf000b
mov dword [rbp - 0x58], 0x48000a
mov dword [rbp - 0x54], 0x130058
mov dword [rbp - 0x50], 0x47005b
mov dword [rbp - 0x4c], 0x410025
mov edx, ebx
mov eax, edx
lea rcx, [rbp - 0x5c]
lea rcx, [rcx + rax*2]
lea eax, [rdx + 0x38]
xor word [rcx], ax
inc edx
mov eax, dword [rbp - 0x60]
cmp edx, eax
jb 0x140004fe0
mov word [rbp + rax*2 - 0x5c], bx
call fcn.14000fb60
mov rcx, rax
test rax, rax
je 0x140005147
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x40], rax
lea rax, [rbp - 0x5c]
cmp rax, 0x10000
lea rax, [rbp - 0x5c]
jae 0x14000503b
movzx edx, ax
lea rcx, [rbp + 0x40]
call fcn.14000c690
jmp 0x14000505b
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140005042
lea rdx, [rbp - 0x5c]
lea rcx, [rbp + 0x40]
call fcn.14000c910
nop
lea rcx, [rbp + 0x40]
call fcn.140004ca0
test eax, eax
jne 0x14000507a
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rax, [rbp + 0x40]
mov qword [rbp + 0x50], rax
lea rdx, [rbp + 0x58]
call fcn.140004ea0
mov rcx, rax
call fcn.140007d80
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.1400097a0
mov rbx, rax
lea rdx, [rbp - 0x28]
call fcn.1400051a0
mov rcx, rax
call fcn.140007d80
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.1400097a0
nop
xor r9d, r9d
lea r8d, [r9 + 0x40]
mov rdx, rbx
mov rcx, rax
call fcn.140003180
mov ecx, 0xffffffff
call fcn.14012c640
int3
mov ecx, 0x80004005
call fcn.14000fc90
int3
mov qword [rbp + 0x50], rax
lea rdx, [rbp + 0x58]
call fcn.140004ea0
mov rcx, rax
call fcn.140007d80
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.1400097a0
mov rbx, rax
lea rdx, [rbp - 0x28]
call fcn.140005160
mov rcx, rax
call fcn.140007d80
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.1400097a0
nop
xor r9d, r9d
lea r8d, [r9 + 0x40]
mov rdx, rbx
mov rcx, rax
call fcn.140003180
mov ecx, 0xffffffff
call fcn.14012c640
int3
mov ecx, 0x80004005
call fcn.14000fc90
int3