Function at 0x1400101c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xa0
mov rax, qword [0x14009b020]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r14, r8
mov rsi, rcx
mov r15, qword [rbp + 0x7f]
mov rbx, qword [0x1400a9ef8]
test rcx, rcx
je 0x1400104f9
test rbx, rbx
je 0x1400104f9
mov ecx, 0x13
mov dword [rbp - 0x39], 0x7d0013
mov dword [rbp - 0x35], 0x770067
mov dword [rbp - 0x31], 0x7f007f
mov dword [rbp - 0x2d], 0x77003d
mov dword [rbp - 0x29], 0x7f007f
mov word [rbp - 0x25], cx
movzx eax, word [0x140094a0c]
xor ax, cx
mov word [rbp - 0x23], ax
movzx eax, word [0x140094a0e]
xor ax, cx
mov word [rbp - 0x21], ax
movzx eax, word [str.___s]
xor ax, cx
mov word [rbp - 0x1f], ax
movzx eax, word [0x140094a12]
xor ax, cx
mov word [rbp - 0x1d], ax
movzx eax, word [0x140094a14]
xor ax, cx
mov word [rbp - 0x1b], ax
movzx eax, word [0x140094a16]
xor ax, cx
mov word [rbp - 0x19], ax
movzx eax, word [0x140094a18]
xor ax, cx
mov word [rbp - 0x17], ax
movzx eax, word [0x140094a1a]
xor ax, cx
mov word [rbp - 0x15], ax
movzx eax, word [0x140094a1c]
xor ax, cx
mov word [rbp - 0x13], ax
xor eax, eax
mov word [rbp - 0x11], ax
xor r12d, r12d
xor word [rbp + rax*2 - 0x37], cx
inc rax
cmp rax, 0x13
jae 0x1400102d6
movzx ecx, word [rbp - 0x39]
jmp 0x1400102c2
mov word [rbp - 0x11], r12w
lea rcx, [rbp - 0x37]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8, rax
test rax, rax
je 0x1400104f9
movdqa xmm0, xmmword [0x140094f50]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp + 7], 0x55
mov rcx, r12
nop word [rax + rax]
movzx eax, byte [rbp - 9]
xor byte [rbp + rcx - 8], al
inc rcx
cmp rcx, 0x10
jb 0x140010310
mov byte [rbp + 8], r12b
lea rdx, [rbp - 8]
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x1400104f9
mov word [rbp + 0xf], 0xb848
mov word [rbp + 0x19], 0xe0ff
mov qword [rbp + 0x11], rbx
mov eax, 4
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x1400aa014], ecx
jle 0x14001044b
lea rcx, [0x1400aa014]
call fcn.140014cf0
cmp dword [0x1400aa014], 0xffffffff
jne 0x14001044b
movdqa xmm0, xmmword [0x140094e60]
movdqu xmmword [rbp - 0x51], xmm0
mov word [rbp - 0x41], 0x3d
mov rcx, r12
nop dword [rax]
movzx eax, byte [rbp - 0x51]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 0x10
jb 0x1400103a0
mov byte [rbp - 0x40], 0
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400103d4
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x39]
call fcn.14000e710
nop
lea rdx, [rbp - 0x39]
mov rcx, qword [0x1400a9ec0]
call fcn.1400056a0
mov qword [0x1400a9fe0], rax
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x14001043f
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010439
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010523
call fcn.140014b60
nop
lea rcx, [0x1400aa014]
call fcn.140014c90
mov rcx, qword [0x1400a9fe0]
test rcx, rcx
je 0x1400104f9
call fcn.140005300
test rax, rax
je 0x1400104f9
xor r9d, r9d
lea r8d, [r9 + 0xc]
lea rdx, [rbp - 0x51]
mov rcx, rax
call fcn.1400050f0
test al, al
je 0x1400104f9
cmp byte [rbp - 0x51], 0x48
jne 0x140010498
cmp byte [rbp - 0x50], 0xb8
jne 0x140010498
cmp byte [rbp - 0x47], 0xff
jne 0x140010498
cmp byte [rbp - 0x46], 0xe0
je 0x1400104f9
mov rcx, qword [0x1400a9fe0]
call fcn.140005300
test rax, rax
je 0x1400104f9
mov r9b, 1
mov r8d, 0xc
lea rdx, [rbp + 0xf]
mov rcx, rax
call fcn.1400050f0
test al, al
je 0x1400104f9
mov r8, r15
xor edx, edx
mov rcx, r14
call rdi
mov qword [rsi], rax
mov rcx, qword [0x1400a9fe0]
call fcn.140005300
test rax, rax
je 0x1400104f5
mov r9b, 1
mov r8d, 0xc
lea rdx, [rbp - 0x51]
mov rcx, rax
call fcn.1400050f0
mov al, 1
jmp 0x1400104fb
xor al, al
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140014b40
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140025408
nop
int3