Function at 0x14002c900
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 [0x1400a7080]
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], 0x63f243e
mov dword [rbp - 0x54], 0x24243027
mov word [rbp - 0x50], 0x100
mov ecx, edi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x50]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 8
jb 0x14002c950
mov byte [rbp - 0x4f], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140017560
nop
cmp byte [rbx], 0
jne 0x14002c98b
mov byte [rbx], 1
call fcn.140021d50
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14002c99f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1400268d0
jmp 0x14002c9a3
mov rax, qword [rbp - 0x18]
cmp byte [rax], 3
jne 0x14002c9ae
mov r8, qword [rax + 8]
jmp 0x14002c9b1
mov r8, rdi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14002c9be
mov rdx, qword [r8]
lea rcx, [rsi + 0xa0]
mov r8, qword [r8 + 0x10]
call fcn.140011900
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14002ca0d
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ca08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ca08
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082e6c
mov dword [rbp - 0x58], 0x1c3f243e
mov dword [rbp - 0x54], 0x393f393a
mov dword [rbp - 0x50], 0x3e290c3d
mov dword [rbp - 0x4c], 0x1002e2e
mov rcx, rdi
nop dword [rax]
lea eax, [rcx + 0x50]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 0xe
jb 0x14002ca30
mov byte [rbp - 0x49], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x4a]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140017560
nop
cmp byte [rbx], 0
jne 0x14002ca6b
mov byte [rbx], 1
call fcn.140021d50
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14002ca7f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1400268d0
jmp 0x14002ca83
mov rax, qword [rbp - 0x18]
cmp byte [rax], 3
jne 0x14002ca8e
mov r8, qword [rax + 8]
jmp 0x14002ca91
mov r8, rdi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14002ca9e
mov rdx, qword [r8]
lea rcx, [rsi + 0xc0]
mov r8, qword [r8 + 0x10]
call fcn.140011900
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14002caed
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002cae8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002cae8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082e6c
mov dword [rbp - 0x58], 0x183f243e
mov dword [rbp - 0x54], 0x252c31
mov byte [rbp - 0x50], 1
mov rcx, rdi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x50]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 7
jb 0x14002cb10
mov byte [rbp - 0x50], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140017560
nop
cmp byte [rbx], 0
jne 0x14002cb4b
mov byte [rbx], 1
call fcn.140021d50
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14002cb5f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1400268d0
jmp 0x14002cb63
mov rax, qword [rbp - 0x18]
cmp byte [rax], 3
jne 0x14002cb6e
mov r8, qword [rax + 8]
jmp 0x14002cb71
mov r8, rdi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14002cb7e
mov rdx, qword [r8]
lea rcx, [rsi + 0xe0]
mov r8, qword [r8 + 0x10]
call fcn.140011900
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14002cbcd
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002cbc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002cbc8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082e6c
mov dword [rbp - 0x58], 0x20203426
mov dword [rbp - 0x54], 0x383a3d
mov byte [rbp - 0x50], 1
mov rcx, rdi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x50]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 7
jb 0x14002cbf0
mov byte [rbp - 0x50], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140017560
nop
cmp byte [rbx], 0
jne 0x14002cc2b
mov byte [rbx], 1
call fcn.140021d50
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14002cc3f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1400268d0
jmp 0x14002cc43
mov rax, qword [rbp - 0x18]
cmp byte [rax], 3
jne 0x14002cc4e
mov r8, qword [rax + 8]
jmp 0x14002cc51
mov r8, rdi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14002cc5e
mov rdx, qword [r8]
lea rcx, [rsi + 0x100]
mov r8, qword [r8 + 0x10]
call fcn.140011900
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14002ccad
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002cca8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002cca8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082e6c
movdqa xmm0, xmmword [0x1400891b0]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x48], ntohs
mov byte [rbp - 0x46], 1
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx + 0x50]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 0x11
jb 0x14002ccd0
mov byte [rbp - 0x46], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x47]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140017560
nop
cmp byte [rbx], 0
jne 0x14002cd0b
mov byte [rbx], 1
call fcn.140021d50
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14002cd1f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1400268d0
jmp 0x14002cd23
mov rax, qword [rbp - 0x18]
cmp byte [rax], 3
jne 0x14002cd2c
mov rdi, qword [rax + 8]
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14002cd39
mov rdx, qword [rdi]
lea rcx, [rsi + 0x120]
mov r8, qword [rdi + 0x10]
call fcn.140011900
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14002cd89
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002cd83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002cd83
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082e6c
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.140028750
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140082b00
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret