Function at 0x180002030
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
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x5d0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x5c0], rax
mov rsi, rcx
test byte [rcx + 0x10], 1
je 0x1800021b4
cmp dword [rcx + 0x18], 6
jb 0x1800021b4
cmp dword [rcx + 0x1c], 1
jb 0x1800021b4
add rcx, 0x3c
mov r8d, 0x104
lea rdx, [rsp + 0xf0]
call qword [sym.imp.SHLWAPI.dll_SHAnsiToUnicode]
xor r12d, r12d
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], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 2
mov dword [rsp + 0x80], 1
mov dword [rsp + 0x90], 1
mov qword [rsp + 0x98], r12
mov qword [rsp + 0xa0], r12
mov dword [rsp + 0xac], r12d
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 0x18000253d
jmp 0x1800021b7
xor r12d, r12d
mov r15d, dword [rsi + 0x10]
test r15b, 2
je 0x180002237
mov r11, r12
mov r9, qword [rsi + 0x140]
mov rbx, qword [rsi + 0x148]
sub rbx, r9
sar rbx, 4
test rbx, rbx
je 0x180002237
mov edi, 0xffffffff
lea r14, [0x1800234d0]
nop word [rax + rax]
mov ecx, dword [r9 + 8]
mov r8, qword [r9]
mov eax, edi
test ecx, ecx
je 0x18000221d
mov r10d, ecx
movzx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r14 + rcx*4]
lea r8, [r8 + 1]
sub r10, 1
jne 0x180002200
not eax
cmp eax, dword [r9 + 0xc]
jne 0x18000253d
inc r11
add r9, 0x10
cmp r11, rbx
jb 0x1800021f0
jmp 0x180002243
mov edi, 0xffffffff
lea r14, [0x1800234d0]
test r15b, 4
je 0x1800024ce
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x18000253d
mov dword [rsp + 0x44], r12d
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 0x18000253d
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 r15, 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], r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
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]
mov edx, 4
mov rcx, qword [rsp + 0xe0]
call r15
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
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 [rsi + 4], 0
jne 0x18000253d
cmp dword [rsi + 0x20], 0
je 0x180002406
mov rax, qword [rsi + 0x170]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, 8
lea r8, [rsp + 0x58]
mov edx, 0x1e
mov rcx, 0xffffffffffffffff
call rax
mov ebx, 0xc0000353
cmp rax, rbx
jne 0x18000253d
cmp qword [rsp + 0x58], 0
jne 0x18000253d
mov eax, dword [rsi + 0x2c]
test eax, eax
je 0x1800023bd
mov r8, qword [rsi + 0x30]
mov r10d, eax
nop word [rax + rax]
mov ecx, edi
movzx eax, byte [r8]
xor rcx, rax
movzx eax, cl
shr edi, 8
xor edi, dword [r14 + rax*4]
lea r8, [r8 + 1]
sub r10, 1
jne 0x1800023a0
not edi
cmp edi, dword [rsi + 0x38]
jne 0x18000253d
mov rax, qword [rsi + 0x170]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
mov r9d, 8
lea r8, [rsp + 0x48]
mov edx, 0x1e
mov rcx, 0xffffffffffffffff
call rax
cmp rax, rbx
jne 0x1800024ce
cmp qword [rsp + 0x48], 8
jmp 0x1800024cc
mov rax, qword [rsi + 0x168]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 4
lea r8, [rsp + 0x58]
mov edx, 0x1e
mov ecx, edi
call rax
mov ebx, 0xc0000353
cmp eax, ebx
jne 0x18000253d
cmp dword [rsp + 0x58], 0
jne 0x18000253d
mov edx, edi
mov eax, dword [rsi + 0x2c]
test eax, eax
je 0x18000247d
mov r8, qword [rsi + 0x30]
mov r10d, eax
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8]
mov eax, edx
xor rcx, rax
movzx eax, cl
shr edx, 8
xor edx, dword [r14 + rax*4]
lea r8, [r8 + 1]
sub r10, 1
jne 0x180002460
not edx
cmp edx, dword [rsi + 0x38]
jne 0x18000253d
mov rax, qword [rsi + 0x168]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, 4
lea r8, [rsp + 0x50]
mov edx, 0x1e
mov ecx, edi
call rax
cmp eax, ebx
jne 0x1800024ce
cmp dword [rsp + 0x50], 4
jmp 0x1800024cc
jne 0x18000253d
test byte [rsi + 0x10], 8
je 0x18000256d
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 0x180002544
cmp qword [rsp + 0x138], 0
jne 0x18000253d
cmp qword [rsp + 0x140], 0
jne 0x18000253d
cmp qword [rsp + 0x148], 0
jne 0x18000253d
cmp qword [rsp + 0x150], 0
je 0x180002544
mov eax, 1
jmp 0x18000256f
lea rdx, [0x180001810]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
int3
xor eax, eax
mov rcx, qword [rsp + 0x5c0]
xor rcx, rsp
call fcn.1800085f0
lea r11, [rsp + 0x5d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret