Function at 0x1400e3fa0
Capabilities:
Connect socket
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2460
call fcn.140247340
sub rsp, rax
mov r13, qword [rsp + 0x24c0]
xor r14d, r14d
mov r15d, r9d
mov esi, r8d
mov rdi, rdx
mov rbp, rcx
test r13, r13
je 0x1400e3fe2
mov dword [r13], r14d
mov rax, qword [rcx + 8]
movsx ecx, byte [rax]
call fcn.1402506bc
mov rcx, qword [rbp + 8]
mov r12d, 2
test eax, eax
je 0x1400e4003
call sub.WSOCK32.dll_gethostbyname
jmp 0x1400e4024
call sub.WSOCK32.dll_inet_addr
mov r8d, r12d
mov dword [rsp + 0x24a0], eax
mov edx, 4
lea rcx, [rsp + 0x24a0]
call sub.WSOCK32.dll_gethostbyaddr
mov rbx, rax
test rax, rax
je 0x1400e408d
mov ecx, 0x50
mov qword [rsp + 0x40], r14
mov word [rsp + 0x38], r12w
call sub.WSOCK32.dll_htons
mov word [rsp + 0x3a], ax
mov edx, 1
mov rax, qword [rbx + 0x18]
lea r8d, [rdx + 5]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov ecx, r12d
mov dword [rsp + 0x3c], eax
call sub.WSOCK32.dll_socket
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1400e408d
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, [rsp + 0x38]
mov rcx, rax
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
jne 0x1400e40ad
mov rcx, r14
call sub.WSOCK32.dll_closesocket
mov eax, 5
mov rbx, qword [rsp + 0x24a8]
add rsp, 0x2460
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbp + 8]
lea r8, str.GET__s_HTTP_1.0_r_nRange:_bytes_u__r_nHost:__s_r_n_r_n
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x50]
mov r9, rdi
mov dword [rsp + 0x20], r15d
mov edx, 0x410
call fcn.14000b150
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400e40e0
xor r9d, r9d
lea rdx, [rsp + 0x50]
mov rcx, r14
call sub.WSOCK32.dll_send
lea rax, [rsp + 0x30]
mov r8d, esi
lea r9, [rsp + 0x24a0]
mov qword [rsp + 0x20], rax
mov rdx, r14
mov rcx, rbp
call fcn.1400e49c0
mov dword [rsp + 0x34], eax
mov r12d, eax
test eax, eax
jne 0x1400e422c
mov ecx, dword [rsp + 0x24a0]
cmp ecx, 0xc8
je 0x1400e4149
cmp ecx, 0xce
je 0x1400e4149
lea r12d, [rax + 7]
jmp 0x1400e422c
mov edi, dword [rsp + 0x30]
test edi, edi
je 0x1400e4226
mov rcx, qword [rbp + 0x10]
mov ebx, edi
test rcx, rcx
je 0x1400e4171
mov rax, qword [rcx]
lea edx, [rdi + r15]
call qword [rax]
test eax, eax
je 0x1400e41fa
mov r13d, dword [rsp + 0x24b0]
mov r12d, 0x2000
nop
test ebx, ebx
je 0x1400e41ed
cmp ebx, r12d
lea r9, [rsp + 0x460]
mov esi, ebx
mov r8d, r13d
cmova esi, r12d
mov rdx, r14
mov rcx, rbp
mov dword [rsp + 0x20], esi
call fcn.1400e7a20
test eax, eax
jne 0x1400e41ed
mov rcx, qword [rbp + 0x10]
sub ebx, esi
test rcx, rcx
je 0x1400e41d4
mov rax, qword [rcx]
lea r8d, [rdi + r15]
mov edx, edi
mov dword [rsp + 0x20], esi
sub edx, ebx
lea r9, [rsp + 0x460]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test eax, eax
je 0x1400e41ed
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1400e4180
mov rax, qword [rcx]
lea r8d, [rdi + r15]
mov edx, edi
sub edx, ebx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400e4180
mov r12d, dword [rsp + 0x34]
mov r13, qword [rsp + 0x24c0]
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x1400e4211
mov rax, qword [rcx]
lea r8d, [rdi + r15]
sub edi, ebx
mov edx, edi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test ebx, ebx
je 0x1400e422c
mov r12d, 8
test r13, r13
je 0x1400e422c
mov dword [r13], ebx
jmp 0x1400e422c
mov r12d, 6
cmp r14, 0xffffffffffffffff
je 0x1400e4247
mov edx, 2
mov rcx, r14
call sub.WSOCK32.dll_shutdown
mov rcx, r14
call sub.WSOCK32.dll_closesocket
mov eax, r12d
jmp 0x1400e4092