Function at 0x14000fe70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x14009b020]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, r8
mov rbx, qword [0x1400a9f18]
test rbx, rbx
je 0x140010193
mov ecx, 0x13
mov dword [rbp - 0x21], 0x7d0013
mov dword [rbp - 0x1d], 0x770067
mov dword [rbp - 0x19], 0x7f007f
mov dword [rbp - 0x15], 0x77003d
mov dword [rbp - 0x11], 0x7f007f
mov word [rbp - 0xd], cx
movzx eax, word [0x140094a0c]
xor ax, cx
mov word [rbp - 0xb], ax
movzx eax, word [0x140094a0e]
xor ax, cx
mov word [rbp - 9], ax
movzx eax, word [str.___s]
xor ax, cx
mov word [rbp - 7], ax
movzx eax, word [0x140094a12]
xor ax, cx
mov word [rbp - 5], ax
movzx eax, word [0x140094a14]
xor ax, cx
mov word [rbp - 3], ax
movzx eax, word [0x140094a16]
xor ax, cx
mov word [rbp - 1], ax
movzx eax, word [0x140094a18]
xor ax, cx
mov word [rbp + 1], ax
movzx eax, word [0x140094a1a]
xor ax, cx
mov word [rbp + 3], ax
movzx eax, word [0x140094a1c]
xor ax, cx
mov word [rbp + 5], ax
xor eax, eax
mov word [rbp + 7], ax
xor r14d, r14d
nop
xor word [rbp + rax*2 - 0x1f], cx
inc rax
cmp rax, 0x13
jae 0x14000ff74
movzx ecx, word [rbp - 0x21]
jmp 0x14000ff60
mov word [rbp + 7], r14w
lea rcx, [rbp - 0x1f]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8, rax
test rax, rax
je 0x140010193
movdqa xmm0, xmmword [0x140094f50]
movdqu xmmword [rbp + 0xf], xmm0
mov word [rbp + 0x1f], 0x55
mov rcx, r14
nop word [rax + rax]
movzx eax, byte [rbp + 0xf]
xor byte [rbp + rcx + 0x10], al
inc rcx
cmp rcx, 0x10
jb 0x14000ffb0
mov byte [rbp + 0x20], r14b
lea rdx, [rbp + 0x10]
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x140010193
mov word [rbp + 0x27], 0xb848
mov word [rbp + 0x31], 0xe0ff
mov qword [rbp + 0x29], rbx
mov eax, 4
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x1400a9fa0], ecx
jle 0x1400100eb
lea rcx, [0x1400a9fa0]
call fcn.140014cf0
cmp dword [0x1400a9fa0], 0xffffffff
jne 0x1400100eb
movdqa xmm0, xmmword [0x140094e60]
movdqu xmmword [rbp - 0x39], xmm0
mov word [rbp - 0x29], 0x3d
mov rcx, r14
nop dword [rax]
movzx eax, byte [rbp - 0x39]
xor byte [rbp + rcx - 0x38], al
inc rcx
cmp rcx, 0x10
jb 0x140010040
mov byte [rbp - 0x28], 0
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], 0xf
mov byte [rbp - 0x21], 0
lea rax, [rbp - 0x38]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140010074
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x21]
call fcn.14000e710
nop
lea rdx, [rbp - 0x21]
mov rcx, qword [0x1400a9ec0]
call fcn.1400056a0
mov qword [0x1400a9fd0], rax
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x1400100df
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400100d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400101b9
call fcn.140014b60
nop
lea rcx, [0x1400a9fa0]
call fcn.140014c90
mov rcx, qword [0x1400a9fd0]
test rcx, rcx
je 0x140010193
call fcn.140005300
test rax, rax
je 0x140010193
xor r9d, r9d
lea r8d, [r9 + 0xc]
lea rdx, [rbp - 0x39]
mov rcx, rax
call fcn.1400050f0
test al, al
je 0x140010193
cmp byte [rbp - 0x39], 0x48
jne 0x140010138
cmp byte [rbp - 0x38], 0xb8
jne 0x140010138
cmp byte [rbp - 0x2f], 0xff
jne 0x140010138
cmp byte [rbp - 0x2e], 0xe0
je 0x140010193
mov rcx, qword [0x1400a9fd0]
call fcn.140005300
test rax, rax
je 0x140010193
mov r9b, 1
mov r8d, 0xc
lea rdx, [rbp + 0x27]
mov rcx, rax
call fcn.1400050f0
test al, al
je 0x140010193
xor edx, edx
mov rcx, rsi
call rdi
mov rcx, qword [0x1400a9fd0]
call fcn.140005300
test rax, rax
je 0x14001018f
mov r9b, 1
mov r8d, 0xc
lea rdx, [rbp - 0x39]
mov rcx, rax
call fcn.1400050f0
mov al, 1
jmp 0x140010195
xor al, al
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140014b40
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140025408
nop
int3