Function at 0x14000beb0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x738
mov dword [rsp + 0x90], 0x200
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0xc0]
call fcn.140006550
nop
lea rcx, [rsp + 0xe8]
call fcn.140006550
nop
lea rcx, [rsp + 0x108]
call fcn.140006550
nop
lea r9, [rsp + 0x108]
lea r8, [rsp + 0xe8]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x750]
call fcn.14000b5b0
lea rcx, [rsp + 0xc0]
call fcn.14000aef0
mov dx, 0x50
mov rcx, rax
call fcn.14000af40
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0xe8]
call fcn.14000aef0
mov r8, rax
lea rdx, str.GET__s_HTTP_1.0
lea rcx, [rsp + 0x330]
call fcn.14000cd60
lea rax, [rsp + 0x330]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x60]
movzx ecx, byte [rsp + 0x20]
mov byte [rax], cl
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
cmp byte [rsp + 0x20], 0
jne 0x14000bf97
lea rax, [rsp + 0x130]
mov qword [rsp + 0x40], rax
dec qword [rsp + 0x40]
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
cmp byte [rax], 0
jne 0x14000bfe2
mov rax, qword [rsp + 0x40]
lea rcx, [0x14038a868]
mov rdi, rax
mov rsi, rcx
mov ecx, 3
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0xc0]
call fcn.14000aef0
mov r8, rax
lea rdx, str.Host:__s
lea rcx, [rsp + 0x330]
call fcn.14000cd60
lea rax, [rsp + 0x130]
mov qword [rsp + 0x48], rax
dec qword [rsp + 0x48]
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x48]
cmp byte [rax], 0
jne 0x14000c040
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x330]
xor edx, edx
movzx edi, byte [rcx + rdx]
mov byte [rax + rdx], dil
inc rdx
test dil, dil
jne 0x14000c05e
lea rax, [rsp + 0x130]
mov qword [rsp + 0x50], rax
dec qword [rsp + 0x50]
inc qword [rsp + 0x50]
mov rax, qword [rsp + 0x50]
cmp byte [rax], 0
jne 0x14000c080
mov rax, qword [rsp + 0x50]
lea rcx, [0x14038a86c]
mov rdi, rax
mov rsi, rcx
mov ecx, 3
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x130]
mov qword [rsp + 0x58], rax
dec qword [rsp + 0x58]
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x58]
cmp byte [rax], 0
jne 0x14000c0ba
mov rax, qword [rsp + 0x58]
lea rcx, [0x14038a87c]
mov rdi, rax
mov rsi, rcx
mov ecx, 3
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x130]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
cmp byte [rax + rcx], 0
jne 0x14000c0fb
mov rax, qword [rsp + 0x68]
xor r9d, r9d
mov r8d, eax
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x28], 0
xor eax, eax
cmp eax, 1
je 0x14000c1f0
lea rax, [rsp + 0x530]
mov rdi, rax
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
xor r9d, r9d
mov r8d, 0x200
lea rdx, [rsp + 0x530]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jg 0x14000c187
jmp 0x14000c1f0
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
cdqe
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov qword [rsp + 0x38], rax
movsxd rax, dword [rsp + 0x2c]
movsxd rcx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
lea rdx, [rsp + 0x530]
mov rdi, rcx
mov rsi, rdx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000c13c
cmp qword [rsp + 0x38], 0
je 0x14000c30b
mov rcx, qword [rsp + 0x38]
call fcn.14000b1c0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14000c30b
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
inc eax
cdqe
mov rcx, rax
call fcn.140322a58
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x88], rax
movsxd rax, dword [rsp + 0x30]
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
mov rdi, qword [rsp + 0x88]
mov rsi, rcx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x88]
mov byte [rcx + rax], 0
mov eax, dword [rsp + 0x24]
inc eax
cdqe
mov rcx, rax
call fcn.140322a58
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x78], rax
movsxd rax, dword [rsp + 0x24]
mov r8, rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x78]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xb0], rax
mov edx, 1
mov rcx, qword [rsp + 0xb0]
call fcn.1403227d4
mov rax, qword [rsp + 0x760]
mov rcx, qword [rsp + 0x78]
mov qword [rax], rcx
mov rax, qword [rsp + 0x758]
mov ecx, dword [rsp + 0x30]
mov dword [rax], ecx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x108]
call fcn.1400067e0
nop
lea rcx, [rsp + 0xe8]
call fcn.1400067e0
nop
lea rcx, [rsp + 0xc0]
call fcn.1400067e0
mov rax, qword [rsp + 0xb8]
add rsp, 0x738
pop rdi
pop rsi
ret