Function at 0x140010530
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa0
mov rax, qword [0x14009b020]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r15, r9
mov r14, r8
mov rsi, rcx
mov r12, qword [rbp + 0x7f]
mov rbx, qword [0x1400a9f28]
test rcx, rcx
je 0x14001087a
test rbx, rbx
je 0x14001087a
mov ecx, 0x13
mov dword [rbp - 0x49], 0x7d0013
mov dword [rbp - 0x45], 0x770067
mov dword [rbp - 0x41], 0x7f007f
mov dword [rbp - 0x3d], 0x77003d
mov dword [rbp - 0x39], 0x7f007f
mov word [rbp - 0x35], cx
movzx eax, word [0x140094a0c]
xor ax, cx
mov word [rbp - 0x33], ax
movzx eax, word [0x140094a0e]
xor ax, cx
mov word [rbp - 0x31], ax
movzx eax, word [str.___s]
xor ax, cx
mov word [rbp - 0x2f], ax
movzx eax, word [0x140094a12]
xor ax, cx
mov word [rbp - 0x2d], ax
movzx eax, word [0x140094a14]
xor ax, cx
mov word [rbp - 0x2b], ax
movzx eax, word [0x140094a16]
xor ax, cx
mov word [rbp - 0x29], ax
movzx eax, word [0x140094a18]
xor ax, cx
mov word [rbp - 0x27], ax
movzx eax, word [0x140094a1a]
xor ax, cx
mov word [rbp - 0x25], ax
movzx eax, word [0x140094a1c]
xor ax, cx
mov word [rbp - 0x23], ax
xor eax, eax
mov word [rbp - 0x21], ax
xor r13d, r13d
nop dword [rax]
nop word [rax + rax]
xor word [rbp + rax*2 - 0x47], cx
inc rax
cmp rax, 0x13
jae 0x140010654
movzx ecx, word [rbp - 0x49]
jmp 0x140010640
mov word [rbp - 0x21], r13w
lea rcx, [rbp - 0x47]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8, rax
test rax, rax
je 0x14001087a
movdqa xmm0, xmmword [0x140094f50]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 9], 0x55
mov rcx, r13
nop word [rax + rax]
movzx eax, byte [rbp - 0x19]
xor byte [rbp + rcx - 0x18], al
inc rcx
cmp rcx, 0x10
jb 0x140010690
mov byte [rbp - 8], r13b
lea rdx, [rbp - 0x18]
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14001087a
mov word [rbp - 1], 0xb848
mov word [rbp + 9], 0xe0ff
mov qword [rbp + 1], rbx
mov eax, 4
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x1400a9fec], ecx
jle 0x1400107cb
lea rcx, [0x1400a9fec]
call fcn.140014cf0
cmp dword [0x1400a9fec], 0xffffffff
jne 0x1400107cb
movdqa xmm0, xmmword [0x140094e60]
movdqu xmmword [rbp - 0x61], xmm0
mov word [rbp - 0x51], 0x3d
mov rcx, r13
nop dword [rax]
movzx eax, byte [rbp - 0x61]
xor byte [rbp + rcx - 0x60], al
inc rcx
cmp rcx, 0x10
jb 0x140010720
mov byte [rbp - 0x50], 0
mov qword [rbp - 0x49], r13
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x31], 0xf
mov byte [rbp - 0x49], 0
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140010754
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x49]
call fcn.14000e710
nop
lea rdx, [rbp - 0x49]
mov rcx, qword [0x1400a9ec0]
call fcn.1400056a0
mov qword [0x1400a9f70], rax
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x1400107bf
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400107b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400108a3
call fcn.140014b60
nop
lea rcx, [0x1400a9fec]
call fcn.140014c90
mov rcx, qword [0x1400a9f70]
test rcx, rcx
je 0x14001087a
call fcn.140005300
test rax, rax
je 0x14001087a
xor r9d, r9d
lea r8d, [r9 + 0xc]
lea rdx, [rbp - 0x61]
mov rcx, rax
call fcn.1400050f0
test al, al
je 0x14001087a
cmp byte [rbp - 0x61], 0x48
jne 0x140010818
cmp byte [rbp - 0x60], 0xb8
jne 0x140010818
cmp byte [rbp - 0x57], 0xff
jne 0x140010818
cmp byte [rbp - 0x56], 0xe0
je 0x14001087a
mov rcx, qword [0x1400a9f70]
call fcn.140005300
test rax, rax
je 0x14001087a
mov r9b, 1
mov r8d, 0xc
lea rdx, [rbp - 1]
mov rcx, rax
call fcn.1400050f0
test al, al
je 0x14001087a
mov r8, r12
mov rdx, r15
mov rcx, r14
call rdi
mov qword [rsi], rax
mov rcx, qword [0x1400a9f70]
call fcn.140005300
test rax, rax
je 0x140010876
mov r9b, 1
mov r8d, 0xc
lea rdx, [rbp - 0x61]
mov rcx, rax
call fcn.1400050f0
mov al, 1
jmp 0x14001087c
xor al, al
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140014b40
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140025408
nop
int3