Function at 0x14035ea30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14040f080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rbp - 0x18], rdx
xor edi, edi
mov dword [rbp - 0x58], 0x9aa3b8a2
mov dword [rbp - 0x54], 0xa0a0b4a3
mov word [rbp - 0x50], 0x100
mov ecx, edi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x34]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 8
jb 0x14035ea80
mov byte [rbp - 0x4f], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.1402e72c0
nop
cmp byte [rbx], 0
jne 0x14035eabb
mov byte [rbx], 1
call fcn.140353a80
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14035eacf
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1403589b0
jmp 0x14035ead3
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0xa0]
mov rdx, rax
call fcn.140351510
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14035eb21
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14035eb1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14035eb1c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403b4e4c
mov dword [rbp - 0x58], 0x80a3b8a2
mov dword [rbp - 0x54], 0xbdbbbdbe
mov dword [rbp - 0x50], 0xb2a580b1
mov dword [rbp - 0x4c], 0x100aaaa
mov rcx, rdi
lea eax, [rcx - 0x34]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 0xe
jb 0x14035eb40
mov byte [rbp - 0x49], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x4a]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.1402e72c0
nop
cmp byte [rbx], 0
jne 0x14035eb7b
mov byte [rbx], 1
call fcn.140353a80
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14035eb8f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1403589b0
jmp 0x14035eb93
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0xc0]
mov rdx, rax
call fcn.140351510
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14035ebe1
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14035ebdc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14035ebdc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403b4e4c
mov dword [rbp - 0x58], 0x84a3b8a2
mov dword [rbp - 0x54], 0xa1a8b5
mov byte [rbp - 0x50], 1
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx - 0x34]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 7
jb 0x14035ec00
mov byte [rbp - 0x50], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.1402e72c0
nop
cmp byte [rbx], 0
jne 0x14035ec3b
mov byte [rbx], 1
call fcn.140353a80
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14035ec4f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1403589b0
jmp 0x14035ec53
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0xe0]
mov rdx, rax
call fcn.140351510
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14035eca1
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14035ec9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14035ec9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403b4e4c
mov dword [rbp - 0x58], 0xbcbca8ba
mov dword [rbp - 0x54], 0xbcbeb9
mov byte [rbp - 0x50], 1
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx - 0x34]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 7
jb 0x14035ecc0
mov byte [rbp - 0x50], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.1402e72c0
nop
cmp byte [rbx], 0
jne 0x14035ecfb
mov byte [rbx], 1
call fcn.140353a80
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14035ed0f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1403589b0
jmp 0x14035ed13
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0x100]
mov rdx, rax
call fcn.140351510
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14035ed61
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14035ed5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14035ed5c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403b4e4c
movdqa xmm0, xmmword [0x1403d8220]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x48], 0xb7
mov byte [rbp - 0x46], 1
nop dword [rax + rax]
lea eax, [rdi - 0x34]
xor byte [rbp + rdi - 0x58], al
inc rdi
cmp rdi, 0x11
jb 0x14035ed80
mov byte [rbp - 0x46], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x47]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.1402e72c0
nop
cmp byte [rbx], 0
jne 0x14035edbb
mov byte [rbx], 1
call fcn.140353a80
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14035edcf
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1403589b0
jmp 0x14035edd3
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0x120]
mov rdx, rax
call fcn.140351510
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14035ee22
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14035ee1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14035ee1c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403b4e4c
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.14035a770
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1403b5820
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret