Function at 0x14000e8c0
Capabilities:
Connect socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rdi
push r14
push r15
sub rsp, 0x1f8
movsxd rbx, dword [rsp + 0x248]
mov r14, r8
mov r15, rcx
mov r8, rbx
mov rcx, qword [rsp + 0x240]
xor edx, edx
mov rdi, r9
call fcn.1400ba240
dec ebx
lea rdx, [rsp + 0x50]
mov ecx, 0x101
mov dword [rsp + 0x248], ebx
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x14000e921
xor al, al
add rsp, 0x1f8
pop r15
pop r14
pop rdi
pop rbx
ret
mov rax, qword [r15 + 8]
xor r8d, r8d
mov qword [rsp + 0x220], rbp
xor ebp, ebp
mov qword [rsp + 0x238], r12
mov qword [rsp + 0x1f0], r13
movzx r13d, byte [rax]
lea edx, [rbp + 1]
mov byte [rsp + 0x30], 0
lea ecx, [rbp + 2]
mov dword [rsp + 0x34], 0x1f90
call sub.WSOCK32.dll_socket
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14000eb83
mov qword [rsp + 0x230], rsi
test r13b, r13b
je 0x14000e9c1
mov rsi, qword [r15 + 8]
lea rdx, [0x14012ce44]
mov rcx, rsi
call fcn.1400ba4a8
mov rbx, rax
test rax, rax
je 0x14000e9c4
lea rcx, [rax + 1]
call fcn.1400cafdc
sub ebx, esi
mov dword [rsp + 0x34], eax
mov rdx, rsi
movsxd rbx, ebx
mov rsi, qword [rsp + 0x240]
mov r8, rbx
mov rcx, rsi
call fcn.1400b9e30
mov byte [rbx + rsi], bpl
jmp 0x14000e9c4
mov rsi, qword [r15]
mov rcx, rsi
call sub.WSOCK32.dll_gethostbyname
mov rbx, rax
test rax, rax
je 0x14000eb66
movzx ecx, byte [rsp + 0x34]
mov edx, 0x50
mov eax, 2
test r13b, r13b
mov word [rsp + 0x38], ax
cmovne edx, ecx
movzx ecx, dl
call sub.WSOCK32.dll_htons
mov word [rsp + 0x3a], ax
lea rcx, [rsp + 0x3c]
mov rdx, qword [rbx + 0x18]
movsx r8, word [rbx + 0x12]
mov rdx, qword [rdx]
call fcn.1400b9e30
mov r8d, reloc.WSOCK32.dll_recv
lea rdx, [rsp + 0x38]
mov rcx, r12
call sub.WSOCK32.dll_connect
test eax, eax
jne 0x14000eb66
mov rsi, 0xffffffffffffffff
mov rcx, rsi
nop word [rax + rax]
inc rcx
cmp byte [r14 + rcx], bpl
jne 0x14000ea40
add rcx, 0x200
call fcn.1400b609c
mov rcx, qword [r15]
lea r8, [0x14012cbe9]
mov rbp, rax
mov qword [rsp + 0x28], rcx
test r13b, r13b
lea rax, str.http:__
mov r9, r8
lea rdx, str.POST__s_s_s_HTTP_1.1_r_nHost:__s_r_nContent_Type:_text_plain_r_nTransfer_Encoding:_identity_r_n
cmovne r8, rax
cmovne r9, rcx
mov rax, qword [rsp + 0x228]
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.1400100f0
mov rbx, rsi
nop dword [rax + rax]
inc rbx
cmp byte [rbx + rbp], 0
jne 0x14000eaa0
add rbx, rbp
test rdi, rdi
je 0x14000eadd
mov rcx, rbx
sub rcx, rdi
nop word [rax + rax]
movzx eax, byte [rdi]
mov byte [rcx + rdi], al
lea rdi, [rdi + 1]
test al, al
jne 0x14000eac0
mov rax, rsi
inc rax
cmp byte [rbx + rax], 0
jne 0x14000ead1
add rbx, rax
mov rax, rsi
cmp byte [r14 + rax + 1], 0
lea rax, [rax + 1]
jne 0x14000eae0
lea r8d, [rax + 2]
mov rcx, rbx
lea rdx, str.Content_Length:__d_r_n_r_n
call fcn.1400100f0
mov rcx, rsi
inc rcx
cmp byte [rbx + rcx], 0
jne 0x14000eb02
add rcx, rbx
lea rdx, str._s_r_n
mov r8, r14
call fcn.1400100f0
nop dword [rax]
inc rsi
cmp byte [rsi + rbp], 0
jne 0x14000eb20
mov r8, rsi
xor r9d, r9d
mov rdx, rbp
mov rcx, r12
call sub.WSOCK32.dll_send
cmp eax, 0xffffffff
je 0x14000eb66
mov r8d, dword [rsp + 0x248]
xor r9d, r9d
mov rdx, qword [rsp + 0x240]
mov rcx, r12
call sub.WSOCK32.dll_recv
cmp eax, 0xffffffff
je 0x14000eb66
test eax, eax
setg byte [rsp + 0x30]
mov rcx, r12
call sub.WSOCK32.dll_closesocket
mov rsi, qword [rsp + 0x230]
test rbp, rbp
je 0x14000eb83
mov rcx, rbp
call fcn.1400b60a4
call sub.WSOCK32.dll_WSACleanup
movzx eax, byte [rsp + 0x30]
mov r13, qword [rsp + 0x1f0]
mov r12, qword [rsp + 0x238]
mov rbp, qword [rsp + 0x220]
add rsp, 0x1f8
pop r15
pop r14
pop rdi
pop rbx
ret