Function at 0x140002920
Capabilities:
Check for debugger via api
Encode data using xor
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x5d0
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rsp + 0x5c0], rax
mov rdi, rcx
test byte [rcx + 0x10], 1
je 0x140002a9c
cmp dword [rcx + 0x18], 6
jb 0x140002a9c
cmp dword [rcx + 0x1c], 1
jb 0x140002a9c
add rcx, 0x3c
mov r8d, 0x104
lea rdx, [rsp + 0xf0]
call qword [sym.imp.SHLWAPI.dll_SHAnsiToUnicode]
xor esi, esi
mov qword [rsp + 0xc0], 0x20
lea rax, [rsp + 0xf0]
mov qword [rsp + 0xc8], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xd0], xmm0
mov dword [rsp + 0xe0], 0xaac56b
mov dword [rsp + 0xe4], 0x11d0cd44
mov dword [rsp + 0xe8], 0xc000c28c
mov dword [rsp + 0xec], 0xee95c24f
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x60], 0x58
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 2
mov dword [rsp + 0x80], 1
mov dword [rsp + 0x90], 1
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], rsi
mov dword [rsp + 0xac], esi
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x88], rax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.WINTRUST.dll_WinVerifyTrust]
mov ebx, eax
mov dword [rsp + 0x90], 2
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.WINTRUST.dll_WinVerifyTrust]
test ebx, ebx
jne 0x140002db9
jmp 0x140002a9e
xor esi, esi
mov r14d, dword [rdi + 0x10]
test r14b, 2
je 0x140002b25
mov r11, rsi
mov r9, qword [rdi + 0x140]
mov rbx, qword [rdi + 0x148]
sub rbx, r9
sar rbx, 4
test rbx, rbx
je 0x140002b25
lea r15, [0x140007c20]
nop dword [rax]
mov ecx, dword [r9 + 8]
mov r8, qword [r9]
mov eax, 0xffffffff
test ecx, ecx
je 0x140002b0d
mov r10d, ecx
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r15 + rcx*4]
lea r8, [r8 + 1]
sub r10, 1
jne 0x140002af0
not eax
cmp eax, dword [r9 + 0xc]
jne 0x140002db9
inc r11
add r9, 0x10
cmp r11, rbx
jb 0x140002ad0
test r14b, 4
je 0x140002d4a
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140002db9
mov dword [rsp + 0x44], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0x44], 0
jne 0x140002db9
mov ecx, 0xdeadc0de
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.ZwSetInformationObject
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
mov word [rsp + 0x40], 0x100
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0xe0]
mov r8, rax
mov rdx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov r9d, 2
lea r8, [rsp + 0x40]
lea edx, [r9 + 2]
mov rcx, qword [rsp + 0xe0]
call r14
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0xe0]
mov r8, rbx
mov rdx, qword [rsp + 0xe0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
nop
cmp dword [rdi + 4], 0
jne 0x140002db9
cmp dword [rdi + 0x20], 0
je 0x140002cae
mov rax, qword [rdi + 0x170]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, 8
lea r8, [rsp + 0x58]
lea edx, [r9 + 0x16]
lea rcx, [rdx - 0x1f]
call rax
mov ebx, 0xc0000353
cmp rax, rbx
jne 0x140002db9
cmp qword [rsp + 0x58], 0
jne 0x140002db9
mov edx, dword [rdi + 0x2c]
mov rcx, qword [rdi + 0x30]
call fcn.140003360
cmp eax, dword [rdi + 0x38]
jne 0x140002db9
mov rax, qword [rdi + 0x170]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
mov r9d, 8
lea r8, [rsp + 0x48]
lea edx, [r9 + 0x16]
lea rcx, [rdx - 0x1f]
call rax
cmp rax, rbx
jne 0x140002d4a
cmp qword [rsp + 0x48], 8
jmp 0x140002d48
mov rax, qword [rdi + 0x168]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 4
lea r8, [rsp + 0x58]
lea edx, [r9 + 0x1a]
mov ecx, 0xffffffff
call rax
mov ebx, 0xc0000353
cmp eax, ebx
jne 0x140002db9
cmp dword [rsp + 0x58], 0
jne 0x140002db9
mov edx, dword [rdi + 0x2c]
mov rcx, qword [rdi + 0x30]
call fcn.140003360
cmp eax, dword [rdi + 0x38]
jne 0x140002db9
mov rax, qword [rdi + 0x168]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, 4
lea r8, [rsp + 0x50]
lea edx, [r9 + 0x1a]
mov ecx, 0xffffffff
call rax
cmp eax, ebx
jne 0x140002d4a
cmp dword [rsp + 0x50], 4
jmp 0x140002d48
jne 0x140002db9
test byte [rdi + 0x10], 8
je 0x140002de8
xor edx, edx
mov r8d, 0x4d0
lea rcx, [rsp + 0xf0]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x120], 0x100010
lea rdx, [rsp + 0xf0]
mov rcx, 0xfffffffffffffffe
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140002dc0
cmp qword [rsp + 0x138], 0
jne 0x140002db9
cmp qword [rsp + 0x140], 0
jne 0x140002db9
cmp qword [rsp + 0x148], 0
jne 0x140002db9
cmp qword [rsp + 0x150], 0
je 0x140002dc0
mov eax, 1
jmp 0x140002dea
lea rdx, [0x140002120]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
int3
xor eax, eax
mov rcx, qword [rsp + 0x5c0]
xor rcx, rsp
call fcn.140005ea0
lea r11, [rsp + 0x5d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret