Function at 0x14000dbf0
Capabilities:
Connect socket
Receive data
Receive data on 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 + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x11b0]
mov eax, 0x12b0
call fcn.140116940
sub rsp, rax
mov rax, qword [0x1401d5408]
xor rax, rsp
mov qword [rbp + 0x11a0], rax
mov r13, r9
mov rbx, r8
mov qword [rsp + 0x48], rdx
mov r15, rcx
mov qword [rbp + 0x40], rdx
mov r12, qword [rbp + 0x1210]
mov r14d, 1
mov dword [rbp + 0x98], r14d
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x14000dc6a
imul rax, rax, 0x64
jmp 0x14000dc85
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
mov rsi, qword [rbp + 0x1218]
imul rcx, rsi, 0xf4240
add rax, rcx
mov qword [rsp + 0x70], rax
lea rcx, [r15 + 8]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14000dcad
mov rcx, qword [rcx]
cmp r8, 4
jne 0x14000f0b6
lea rdx, str.http
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000f0b6
xorps xmm0, xmm0
movups xmmword [rbp + 0x168], xmm0
movups xmmword [rbp + 0x178], xmm0
movups xmmword [rbp + 0x188], xmm0
movzx eax, byte [r15 + 1]
test al, al
jne 0x14000dcf3
mov eax, 2
jmp 0x14000dd01
cmp al, r14b
jne 0x14000f066
mov eax, reloc.WS2_32.dll_socket
mov dword [rbp + 0x16c], eax
mov dword [rbp + 0x170], r14d
lea rdx, [r15 + 0x48]
cmp qword [rdx + 0x18], 0x10
jb 0x14000dd1c
mov rdx, qword [rdx]
lea rdi, [r15 + 0x28]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14000dd2d
mov rcx, qword [rdi]
lea r9, [rbp + 0x68]
lea r8, [rbp + 0x168]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x14000f0dd
xorps xmm0, xmm0
movups xmmword [rbp + 0x158], xmm0
mov rax, qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rsp + 0x78], rax
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x68], rax
mov qword [rbp + 0x160], rax
mov rcx, qword [rbx + 0x10]
movabs r14, 0x7fffffffffffffff
mov rax, r14
sub rax, rcx
cmp rax, 1
jb 0x14000f11f
cmp qword [rbx + 0x18], 0x10
jb 0x14000dd9b
mov rbx, qword [rbx]
mov qword [rsp + 0x30], 1
lea rax, [0x1401ac8bc]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rbx
lea rcx, [rbp + 0x48]
call fcn.140021da0
mov ebx, 0x1001
lea rdx, [r15 + 0x68]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14000ddd8
mov rdx, qword [rdx]
lea rcx, [rbp + 0x48]
call fcn.140009f90
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x128], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x118], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x128], xmm1
xor ecx, ecx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], cl
bts ebx, 0xb
lea r8d, [rcx + 0xb]
lea rdx, str._HTTP_1.1_r_n
lea rcx, [rbp + 0x118]
call fcn.140009f90
xorps xmm0, xmm0
movups xmmword [rbp + 0x138], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x148], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x138], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x148], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts ebx, 0xa
mov dword [rsp + 0x44], ebx
lea rcx, [rbp + 0x118]
call fcn.140007ab0
nop
lea rcx, [rbp + 0x48]
call fcn.140007ab0
mov rbx, qword [r12]
mov r12, qword [r12 + 8]
cmp rbx, r12
je 0x14000df43
lea rdx, [0x1401ac8c0]
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rax, r14
sub rax, rcx
cmp rax, 2
jb 0x14000f12b
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000ded1
mov r9, qword [rbx]
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0xa0]
call fcn.140021da0
or dword [rsp + 0x44], 0x80
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae rdx, qword [rbp + 0xa0]
mov r8, qword [rbp + 0xb0]
lea rcx, [rbp + 0x138]
call fcn.140009f90
nop
lea rcx, [rbp + 0xa0]
call fcn.140007ab0
add rbx, 0x20
cmp rbx, r12
lea rdx, [0x1401ac8c0]
jne 0x14000deb0
mov r8, qword [r13 + 8]
sub r8, qword [r13]
lea r9, [rbp + 0xb5]
movabs r10, 0xcccccccccccccccd
nop dword [rax]
dec r9
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8, rdx
test rdx, rdx
jne 0x14000df60
lea r8, [rbp + 0xb5]
mov rdx, r9
lea rcx, [rbp - 0x50]
call fcn.140025850
mov ebx, dword [rsp + 0x44]
or ebx, 0x60
mov rax, qword [rdi + 0x10]
sub r14, rax
cmp r14, 6
jb 0x14000f125
cmp qword [rdi + 0x18], 0x10
jb 0x14000dfbf
mov rdi, qword [rdi]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 6
lea r9, str.Host:
lea rcx, [rbp - 0x28]
call fcn.140021da0
or ebx, 0x10
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._r_nContent_Length:
lea rcx, [rbp - 0x28]
call fcn.140009f90
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
xor r12d, r12d
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r12b
or ebx, 8
lea r9, [rbp - 0x50]
lea r8, [rbp + 0x20]
lea rcx, [rbp - 0x78]
call fcn.140025290
or ebx, 2
lea r8d, [r12 + 4]
lea rdx, str._r_n_r_n
lea rcx, [rbp - 0x78]
call fcn.140009f90
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r12b
or ebx, 4
mov dword [rsp + 0x44], ebx
lea rdx, [rbp]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x138]
call fcn.140009f90
nop
lea rcx, [rbp]
call fcn.140007ab0
nop
lea rcx, [rbp - 0x78]
call fcn.140007ab0
nop
lea rcx, [rbp + 0x20]
call fcn.140007ab0
nop
lea rcx, [rbp - 0x28]
call fcn.140007ab0
nop
lea rcx, [rbp - 0x50]
call fcn.140007ab0
xorps xmm0, xmm0
lea rdi, [rbp + 0x138]
cmp qword [rbp + 0x150], 0x10
cmovae rdi, qword [rbp + 0x138]
add rdi, qword [rbp + 0x148]
lea r14, [rbp + 0x138]
cmp qword [rbp + 0x150], 0x10
cmovae r14, qword [rbp + 0x138]
movdqu xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r12
sub rdi, r14
je 0x14000e14c
mov rdx, rdi
lea rcx, [rbp + 0xc0]
call fcn.140027760
mov rbx, qword [rbp + 0xc0]
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rdx, [rbx + rdi]
mov qword [rbp + 0xc8], rdx
jmp 0x14000e153
mov rdx, qword [rbp + 0xc8]
mov r8, qword [r13]
mov r9, qword [r13 + 8]
sub r9, r8
lea rcx, [rbp + 0xc0]
call fcn.140026450
movzx eax, byte [r15 + 1]
test al, al
jne 0x14000e17a
mov ecx, 2
jmp 0x14000e187
cmp al, 1
jne 0x14000f303
mov ecx, reloc.WS2_32.dll_socket
mov ebx, 1
lea r8d, [rbx + 5]
mov edx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
je 0x14000f131
mov dword [rbp + 0x98], ebx
lea r8, [rbp + 0x98]
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x14000f161
movabs r14, 0x431bde82d7b634db
test rsi, rsi
js 0x14000e246
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x14000e1fa
imul rax, rax, 0x64
jmp 0x14000e215
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov r12, qword [rsp + 0x70]
mov rcx, r12
sub rcx, rax
mov rax, r14
imul rcx
mov rbx, rdx
sar rbx, 0x12
mov rax, rbx
shr rax, 0x3f
add rbx, rax
test rbx, rbx
mov r13d, 0
cmovle rbx, r13
jmp 0x14000e255
mov rbx, 0xffffffffffffffff
mov r12, qword [rsp + 0x70]
xor r13d, r13d
mov rax, qword [rsp + 0x68]
mov r14d, dword [rax + 0x10]
mov r15, qword [rax + 0x20]
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14000e297
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000e2d5
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14000e276
mov r14, qword [rbp + 0xc8]
mov r15, qword [rbp + 0xc0]
sub r14, r15
je 0x14000e3fa
test rsi, rsi
js 0x14000e37e
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x14000e339
imul rax, rax, 0x64
jmp 0x14000e354
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14000f1cd
mov r8, rbx
mov edx, 1
lea rcx, [rsp + 0x58]
call fcn.14000d5d0
mov dword [rbp + 0x78], 4
lea rax, [rbp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x74]
mov edx, 0xffff
mov r8d, 0x1007
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x14000f19c
mov edx, dword [rbp + 0x74]
test edx, edx
jne 0x14000f08d
jmp 0x14000e297
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov rcx, r12
sub rcx, rax
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test rdx, rdx
cmovle rdx, r13
jmp 0x14000e385
mov rdx, 0xffffffffffffffff
mov r8, rdx
mov edx, 1
lea rcx, [rsp + 0x58]
call fcn.14000d5d0
xor r9d, r9d
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14000e3ec
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000e3e3
xor r9d, r9d
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
cmp eax, 0xffffffff
je 0x14000e3b0
cdqe
add r15, rax
sub r14, rax
jmp 0x14000e2a8
cmp ebx, 0xffffffff
je 0x14000f1fe
movsxd rax, ebx
add r15, rax
sub r14, rax
jmp 0x14000e2a8
mov word [rbp + 0x70], 0xa0d
mov r14, qword [rsp + 0x48]
xor r15d, r15d
mov dword [r14], r15d
lea r12, [r14 + 8]
mov qword [rsp + 0x60], r12
mov qword [r12], r15
mov qword [r12 + 8], r15
mov qword [r12 + 0x10], r15
mov qword [r14 + 0x20], r15
mov qword [r14 + 0x28], r15
mov qword [r14 + 0x30], r15
mov eax, dword [rsp + 0x44]
or eax, 1
mov dword [rsp + 0x44], eax
mov dword [rbp + 0x98], eax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x80], xmm1
mov qword [rbp + 0x90], r15
mov ecx, r15d
mov dword [rbp + 0x74], ecx
mov byte [rsp + 0x41], cl
mov qword [rbp - 0x80], r15
mov byte [rsp + 0x40], cl
mov r13d, r15d
mov qword [rsp + 0x50], r15
mov dword [rbp + 0x78], ecx
jmp 0x14000e473
xor r15d, r15d
test rsi, rsi
js 0x14000e4dd
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x14000e496
imul rax, rax, 0x64
jmp 0x14000e4b1
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov rcx, qword [rsp + 0x70]
sub rcx, rax
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test rdx, rdx
cmovle rdx, r15
jmp 0x14000e4e4
mov rdx, 0xffffffffffffffff
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.14000d5d0
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x1a0]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14000e54b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000e542
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x1a0]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
je 0x14000e513
jmp 0x14000e54b
cmp ebx, 0xffffffff
je 0x14000f22f
movsxd r9, ebx
test ebx, ebx
je 0x14000ef90
lea r8, [rbp + 0x1a0]
mov rdx, qword [rbp + 0x88]
lea rcx, [rbp + 0x80]
call fcn.140026450
cmp dword [rbp + 0x74], 2
je 0x14000eb49
nop word [rax + rax]
mov r15, qword [rbp + 0x88]
mov rbx, r15
mov rcx, r15
mov r14, qword [rbp + 0x80]
sub rcx, r14
movzx eax, word [rbp + 0x70]
cmp rcx, 2
jl 0x14000e5c7
lea r8, [r15 - 2]
mov rdx, r14
nop dword [rax + rax]
cmp ax, word [rdx]
sete cl
test cl, cl
jne 0x14000e5c4
cmp rdx, r8
je 0x14000e5c7
inc rdx
jmp 0x14000e5b0
mov rbx, rdx
cmp rbx, r15
je 0x14000ebd7
mov r8, rbx
mov rdx, r14
lea rcx, [rbp + 0xf8]
call fcn.1400245d0
nop
lea rdx, [rbx + 2]
mov r14, qword [rbp + 0x80]
cmp r14, rdx
je 0x14000e613
mov rbx, qword [rbp + 0x88]
sub rbx, rdx
mov r8, rbx
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14]
mov qword [rbp + 0x88], rax
mov rdx, qword [rbp + 0x108]
test rdx, rdx
je 0x14000eb31
mov r14d, dword [rbp + 0x74]
test r14d, r14d
jne 0x14000e76c
mov dword [rbp + 0x74], 1
xor r13d, r13d
mov r15d, r13d
lea rbx, [rbp + 0xf8]
mov r8, qword [rbp + 0xf8]
mov rcx, qword [rbp + 0x110]
cmp rcx, 0x10
cmovae rbx, r8
nop word [rax + rax]
lea rax, [rbp + 0xf8]
cmp rcx, 0x10
setae r9b
cmovae rax, r8
add rax, rdx
cmp rbx, rax
je 0x14000eb20
lea rax, [rbp + 0xf8]
test r9b, r9b
cmovne rax, r8
add rdx, rax
mov r8b, 0x20
mov rcx, rbx
call fcn.1401151e0
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], r13
mov qword [rbp + 0xb8], r13
cmp rbx, rax
jne 0x14000e6d0
mov eax, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xb8], rax
mov byte [rbp + 0xa0], r13b
jmp 0x14000e6ec
mov r8, r14
sub r8, rbx
mov rdx, rbx
lea rcx, [rbp + 0xa0]
call fcn.140006cb0
mov rax, qword [rbp + 0xb8]
inc r15
cmp r15, 2
jne 0x14000e715
lea rcx, [rbp + 0xa0]
cmp rax, 0x10
cmovae rcx, qword [rbp + 0xa0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov rcx, qword [rsp + 0x48]
mov dword [rcx], eax
lea rcx, [rbp + 0xf8]
cmp qword [rbp + 0x110], 0x10
cmovae rcx, qword [rbp + 0xf8]
add rcx, qword [rbp + 0x108]
cmp r14, rcx
lea rcx, [rbp + 0xa0]
je 0x14000e762
call fcn.140007ab0
lea rbx, [r14 + 1]
mov rcx, qword [rbp + 0x110]
mov rdx, qword [rbp + 0x108]
mov r8, qword [rbp + 0xf8]
jmp 0x14000e660
call fcn.140007ab0
jmp 0x14000eb20
cmp r14d, 1
jne 0x14000eb20
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x14000e799
lea rdx, [rbp + 0xf8]
mov rcx, rax
call fcn.140007990
add qword [r12 + 8], 0x20
jmp 0x14000e7ab
lea r8, [rbp + 0xf8]
mov rdx, rax
mov rcx, r12
call fcn.140027070
lea r14, [rbp + 0xf8]
cmp qword [rbp + 0x110], 0x10
setae r13b
mov r12, qword [rbp + 0xf8]
cmovae r14, r12
mov r15, qword [rbp + 0x108]
test r15, r15
je 0x14000e7f2
mov r8, r15
mov edx, 0x3a
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14000e7f2
sub rbx, r14
jmp 0x14000e7f9
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x14000f2a1
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
xor eax, eax
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x130], rax
mov r8, rbx
cmp r15, rbx
cmovb r8, r15
lea rdx, [rbp + 0xf8]
test r13b, r13b
cmovne rdx, r12
lea rcx, [rbp + 0x118]
call fcn.140006cb0
mov r14d, dword [rsp + 0x44]
bts r14d, 8
mov dword [rbp + 0x98], r14d
inc rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
xor r13d, r13d
mov qword [rbp + 0xe8], r13
mov qword [rbp + 0xf0], r13
mov rax, qword [rbp + 0x108]
cmp rax, rbx
jb 0x14000f29b
sub rax, rbx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp + 0xf8]
cmp qword [rbp + 0x110], 0x10
cmovae rdx, qword [rbp + 0xf8]
add rdx, rbx
lea rcx, [rbp + 0xd8]
call fcn.140006cb0
bts r14d, 9
mov dword [rsp + 0x44], r14d
mov dword [rbp + 0x98], r14d
lea rdx, [rbp + 0xd8]
cmp qword [rbp + 0xf0], 0x10
setae r9b
mov r8, qword [rbp + 0xd8]
cmovae rdx, r8
mov rbx, qword [rbp + 0xe8]
add rdx, rbx
lea rax, [rbp + 0xd8]
test r9b, r9b
cmovne rax, r8
cmp rax, rdx
je 0x14000e918
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x14000e910
cmp cl, 9
jne 0x14000e918
inc rax
cmp rax, rdx
jne 0x14000e903
lea rcx, [rbp + 0xd8]
mov rdx, r13
test r9b, r9b
je 0x14000e939
sub rax, r8
mov rcx, rbx
sub rcx, r13
cmp rcx, rax
cmovb rax, rcx
jmp 0x14000e94a
sub rax, rcx
cmp rbx, rax
cmovb rax, rbx
lea r8, [rbp + 0xd8]
lea rcx, [r8 + rdx]
sub rbx, rax
mov r8, rbx
sub r8, rdx
inc r8
lea rdx, [rcx + rax]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0xe8], rbx
lea r9, [rbp + 0xd8]
cmp qword [rbp + 0xf0], 0x10
setae r11b
mov r10, qword [rbp + 0xd8]
cmovae r9, r10
add r9, rbx
lea rcx, [rbp + 0xd8]
test r11b, r11b
je 0x14000e99f
mov rcx, r10
mov rax, r10
jmp 0x14000e9a6
lea rax, [rbp + 0xd8]
lea rdx, [rbx + rax]
cmp rdx, rcx
je 0x14000e9cc
nop
lea rax, [rdx - 1]
movzx r8d, byte [rax]
cmp r8b, 0x20
je 0x14000e9c4
cmp r8b, 9
jne 0x14000e9cc
mov rdx, rax
cmp rax, rcx
jne 0x14000e9b0
lea rax, [rbp + 0xd8]
sub r9, rdx
test r11b, r11b
je 0x14000e9e0
sub rdx, r10
jmp 0x14000e9ea
sub rdx, rax
lea r10, [rbp + 0xd8]
mov rax, rbx
sub rax, rdx
cmp rax, r9
cmovb r9, rax
lea rcx, [r10 + rdx]
sub rbx, r9
mov r8, rbx
sub r8, rdx
inc r8
lea rdx, [rcx + r9]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0xe8], rbx
lea rcx, [rbp + 0x118]
cmp qword [rbp + 0x130], 0x10
setae r12b
mov r15, qword [rbp + 0x118]
cmovae rcx, r15
mov r14, qword [rbp + 0x128]
cmp r14, 0xe
jne 0x14000ea9e
mov r8, r14
lea rdx, str.Content_Length
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000ea9e
lea rcx, [rbp + 0xd8]
cmp qword [rbp + 0xf0], 0x10
cmovae rcx, qword [rbp + 0xd8]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
mov edx, eax
mov qword [rbp - 0x80], rdx
mov byte [rsp + 0x41], 1
mov rcx, qword [rsp + 0x48]
add rcx, 0x20
mov rax, qword [rcx + 0x10]
sub rax, qword [rcx]
cmp rdx, rax
jbe 0x14000eb02
call fcn.140022820
jmp 0x14000eb02
lea rcx, [rbp + 0x118]
test r12b, r12b
cmovne rcx, r15
cmp r14, 0x11
jne 0x14000eb02
mov r8, r14
lea rdx, str.Transfer_Encoding
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000eb02
lea rcx, [rbp + 0xd8]
cmp qword [rbp + 0xf0], 0x10
cmovae rcx, qword [rbp + 0xd8]
cmp rbx, 7
jne 0x14000f260
mov r8, rbx
lea rdx, str.chunked
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000f260
mov byte [rsp + 0x40], 1
lea rcx, [rbp + 0xd8]
call fcn.140007ab0
nop
lea rcx, [rbp + 0x118]
call fcn.140007ab0
mov r12, qword [rsp + 0x60]
lea rcx, [rbp + 0xf8]
call fcn.140007ab0
jmp 0x14000e580
mov dword [rbp + 0x74], 2
lea rcx, [rbp + 0xf8]
call fcn.140007ab0
mov r13, qword [rsp + 0x50]
mov r14, qword [rbp + 0x80]
mov r15, qword [rbp + 0x88]
movzx eax, word [rbp + 0x70]
cmp byte [rsp + 0x40], 0
je 0x14000ed59
mov r8d, dword [rbp + 0x78]
nop word [rax + rax]
test r13, r13
je 0x14000ec26
sub r15, r14
mov r12, r13
cmp r15, r13
cmovb r12, r15
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx + 0x28]
mov r9, r12
mov r8, r14
add rcx, 0x20
call fcn.140026450
mov r14, qword [rbp + 0x80]
lea rdx, [r12 + r14]
cmp r14, rdx
je 0x14000ebeb
mov rbx, qword [rbp + 0x88]
sub rbx, rdx
mov r8, rbx
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
lea r15, [rbx + r14]
mov qword [rbp + 0x88], r15
mov r14, qword [rbp + 0x80]
jmp 0x14000ebf2
cmp dword [rbp + 0x74], 2
mov r13, qword [rsp + 0x50]
jne 0x14000e470
jmp 0x14000eb5b
mov r15, qword [rbp + 0x88]
sub r13, r12
mov qword [rsp + 0x50], r13
mov r8d, dword [rbp + 0x78]
movzx r8d, r8b
mov eax, 1
cmove r8d, eax
mov dword [rbp + 0x78], r8d
cmp r14, r15
mov r12, qword [rsp + 0x60]
je 0x14000e470
movzx eax, word [rbp + 0x70]
jmp 0x14000eb70
test r8b, r8b
je 0x14000ec80
mov rcx, r15
sub rcx, r14
cmp rcx, 2
mov r12, qword [rsp + 0x60]
jb 0x14000e470
cmp ax, word [r14]
sete cl
test cl, cl
je 0x14000f2dc
xor cl, cl
mov dword [rbp + 0x78], ecx
lea rdx, [r14 + 2]
cmp r14, rdx
je 0x14000ec80
sub r15, rdx
mov r8, r15
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
add r15, r14
mov qword [rbp + 0x88], r15
movzx eax, word [rbp + 0x70]
mov r14, qword [rbp + 0x80]
mov rbx, r15
mov rcx, r15
sub rcx, r14
cmp rcx, 2
jl 0x14000ecad
lea r8, [r15 - 2]
mov rdx, r14
cmp ax, word [rdx]
sete cl
test cl, cl
jne 0x14000ecaa
cmp rdx, r8
je 0x14000ecad
inc rdx
jmp 0x14000ec96
mov rbx, rdx
cmp rbx, r15
mov r12, qword [rsp + 0x60]
mov r15d, 0
je 0x14000e473
mov r8, rbx
mov rdx, r14
lea rcx, [rbp + 0x118]
call fcn.1400245d0
lea rdx, [rbx + 2]
mov r14, qword [rbp + 0x80]
cmp r14, rdx
je 0x14000ed03
mov rbx, qword [rbp + 0x88]
sub rbx, rdx
mov r8, rbx
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14]
mov qword [rbp + 0x88], rax
lea rcx, [rbp + 0x118]
cmp qword [rbp + 0x130], 0x10
cmovae rcx, qword [rbp + 0x118]
xor edx, edx
lea r8d, [rdx + 0x10]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
mov r13d, eax
mov qword [rsp + 0x50], r13
lea rcx, [rbp + 0x118]
test eax, eax
je 0x14000ee04
call fcn.140007ab0
movzx eax, word [rbp + 0x70]
mov r15, qword [rbp + 0x88]
mov r14, qword [rbp + 0x80]
jmp 0x14000eb66
sub r15, r14
mov rbx, qword [rsp + 0x48]
mov rdx, qword [rbx + 0x28]
mov r9, r15
mov r8, r14
lea rcx, [rbx + 0x20]
call fcn.140026450
mov rcx, qword [rbp + 0x80]
cmp rcx, qword [rbp + 0x88]
je 0x14000ed8b
mov qword [rbp + 0x88], rcx
cmp byte [rsp + 0x41], 0
mov r15d, 0
je 0x14000e473
mov rax, qword [rbx + 0x28]
sub rax, qword [rbx + 0x20]
cmp rax, qword [rbp - 0x80]
jb 0x14000e473
test rcx, rcx
je 0x14000ef10
mov rdx, qword [rbp + 0x90]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ede6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000efc7
call fcn.140115ec4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x80], xmm0
xor ebx, ebx
mov qword [rbp + 0x90], rbx
jmp 0x14000ef12
call fcn.140007ab0
nop
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x14000ee63
mov rdx, qword [rbp + 0x90]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ee48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ee48
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140115ec4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x80], xmm0
xor ebx, ebx
mov qword [rbp + 0x90], rbx
jmp 0x14000ee65
xor ebx, ebx
cmp rdi, 0xffffffffffffffff
je 0x14000ee75
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x14000eeca
mov rdx, qword [rbp + 0xd0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000eeb3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000eeb3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140115ec4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], rbx
lea rcx, [rbp + 0x138]
call fcn.140007ab0
nop
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0x78]
nop
mov rax, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x11a0]
xor rcx, rsp
call fcn.140115c10
mov rbx, qword [rsp + 0x1308]
add rsp, 0x12b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor ebx, ebx
cmp rdi, 0xffffffffffffffff
je 0x14000ef22
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x14000ef74
mov rdx, qword [rbp + 0xd0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ef5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f02c
call fcn.140115ec4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], rbx
lea rcx, [rbp + 0x138]
call fcn.140007ab0
nop
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0x78]
nop
jmp 0x14000eee1
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x14000efe5
mov rdx, qword [rbp + 0x90]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000efce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000efce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140115ec4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r15
cmp rdi, 0xffffffffffffffff
je 0x14000eff5
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x14000f04a
mov rdx, qword [rbp + 0xd0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f033
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f033
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140115ec4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r15
lea rcx, [rbp + 0x138]
call fcn.140007ab0
nop
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0x78]
nop
jmp 0x14000eee1
lea rdx, str.Unsupported_protocol
lea rcx, [rbp + 0xa0]
call fcn.14000d470
lea rdx, [0x1401cfce8]
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.14000b8a0
mov r8, rax
lea r9, str.Failed_to_connect
lea rcx, [rbp - 0x78]
call fcn.14000b590
lea rdx, [0x1401cfbd0]
lea rcx, [rbp - 0x78]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Only_http_scheme_supported
lea rcx, [rbp + 0xa0]
call fcn.14000d470
lea rdx, [0x1401cfce8]
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov r8, rdi
lea rdx, str.Failed_to_get_address_info_of
lea rcx, [rbp - 0x50]
call fcn.1400244f0
mov rbx, rax
call sub.WS2_32.dll_WSAGetLastError
mov edx, eax
call fcn.14000b8a0
mov r8, rax
mov r9, rbx
lea rcx, [rbp - 0x28]
call fcn.14000b550
lea rdx, [0x1401cfbd0]
lea rcx, [rbp - 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140006c50
nop
call fcn.140006c50
nop
call fcn.140006c50
nop
call sub.WS2_32.dll_WSAGetLastError
mov edx, eax
call fcn.14000b8a0
mov r8, rax
lea r9, str.Failed_to_create_socket
lea rcx, [rbp - 0x50]
call fcn.14000b590
lea rdx, [0x1401cfbd0]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rsp + 0x58]
call fcn.14000d730
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
call fcn.14000b8a0
mov r8, rax
lea r9, str.Failed_to_get_socket_flags
lea rcx, [rbp - 0x28]
call fcn.14000b590
lea rdx, [0x1401cfbd0]
lea rcx, [rbp - 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
call fcn.14000b8a0
mov r8, rax
lea r9, str.Failed_to_get_socket_option
lea rcx, [rbp - 0x78]
call fcn.14000b590
lea rdx, [0x1401cfbd0]
lea rcx, [rbp - 0x78]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
call fcn.14000b8a0
mov r8, rax
lea r9, str.Failed_to_connect
lea rcx, [rbp - 0x78]
call fcn.14000b590
lea rdx, [0x1401cfbd0]
lea rcx, [rbp - 0x78]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
call fcn.14000b8a0
mov r8, rax
lea r9, str.Failed_to_send_data
lea rcx, [rbp - 0x78]
call fcn.14000b590
lea rdx, [0x1401cfbd0]
lea rcx, [rbp - 0x78]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
call fcn.14000b8a0
mov r8, rax
lea r9, str.Failed_to_read_data
lea rcx, [rbp - 0x50]
call fcn.14000b590
lea rdx, [0x1401cfbd0]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rbp + 0xd8]
lea rdx, str.Unsupported_transfer_encoding:
lea rcx, [rbp - 0x50]
call fcn.1400244f0
nop
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.14000d4e0
lea rdx, [0x1401cfce8]
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.14000a1e0
nop
lea r8, [rbp + 0xf8]
lea rdx, str.Invalid_header:
lea rcx, [rbp - 0x50]
call fcn.1400244f0
nop
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.14000d4e0
lea rdx, [0x1401cfce8]
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Invalid_chunk
lea rcx, [rbp + 0xa0]
call fcn.14000d470
lea rdx, [0x1401cfce8]
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Unsupported_protocol
lea rcx, [rbp + 0xa0]
call fcn.14000d470
lea rdx, [0x1401cfce8]
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3