Function at 0x1400ab650
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 + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1200]
mov eax, 0x1300
call fcn.1400c75c0
sub rsp, rax
mov r12, r9
mov rbx, r8
mov r14, rcx
mov r15d, 1
mov dword [rsp + 0x54], r15d
lea rcx, [rbp + 0x1240]
call fcn.140059de0
mov rsi, qword [rbp + 0x1268]
imul rcx, rsi, 0xf4240
add rcx, qword [rax]
mov qword [rbp + 0x20], rcx
lea rcx, [r14 + 8]
cmp qword [r14 + 0x20], 0xf
jbe 0x1400ab6be
mov rcx, qword [r14 + 8]
mov r8, qword [r14 + 0x18]
cmp r8, 4
jne 0x1400acb21
lea rdx, str.http
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400acb21
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c8], xmm0
movups xmmword [rbp + 0x1d8], xmm0
movups xmmword [rbp + 0x1e8], xmm0
movzx eax, byte [r14 + 1]
mov r13d, reloc.WS2_32.dll_socket
test al, al
jne 0x1400ab70d
lea eax, [r13 - 0x15]
jmp 0x1400ab719
cmp al, r15b
jne 0x1400acad5
mov eax, r13d
mov dword [rbp + 0x1cc], eax
mov dword [rbp + 0x1d0], r15d
lea rdx, [r14 + 0x68]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400ab734
mov rdx, qword [rdx]
lea rcx, [r14 + 0x48]
cmp qword [r14 + 0x60], 0xf
jbe 0x1400ab743
mov rcx, qword [r14 + 0x48]
lea r9, [rbp + 0x98]
lea r8, [rbp + 0x1c8]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x1400acb44
mov rax, qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x98]
mov qword [rbp], rax
mov qword [rbp + 0x180], rax
mov rcx, qword [rbx + 0x10]
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
sub rax, rcx
cmp rax, 1
jb 0x1400acb93
cmp qword [rbx + 0x18], 0xf
jbe 0x1400ab7a7
mov rbx, qword [rbx]
mov qword [rsp + 0x30], r15
lea rax, [0x1400dd798]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rbx
lea rcx, [rbp + 0x70]
call fcn.14004baa0
nop
lea rdx, [r14 + 0x88]
cmp qword [r14 + 0xa0], 0xf
jbe 0x1400ab7e2
mov rdx, qword [r14 + 0x88]
mov r8, qword [r14 + 0x98]
lea rcx, [rbp + 0x70]
call fcn.14004dc40
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x108], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x108], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], send
mov byte [rax], bl
lea r8d, [rbx + 0xb]
lea rdx, str._HTTP_1.1_r_n
lea rcx, [rbp + 0xf8]
call fcn.14004dc40
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x38], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], send
mov byte [rax], bl
mov eax, 0x1c01
mov dword [rsp + 0x48], eax
lea rcx, [rbp + 0xf8]
call fcn.14004b060
nop
lea rcx, [rbp + 0x70]
call fcn.14004b060
mov rax, qword [rbp + 0x1260]
mov rbx, qword [rax]
mov r15, qword [rax + 8]
cmp rbx, r15
je 0x1400ab92d
lea rdx, [0x1400d4d10]
nop dword [rax]
mov rcx, qword [rbx + 0x10]
mov rax, rdi
sub rax, rcx
cmp rax, 2
jb 0x1400acb99
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400ab8d1
mov r9, qword [rbx]
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x58]
call fcn.14004baa0
or dword [rsp + 0x48], 4
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x68]
lea rcx, [rbp + 0x28]
call fcn.14004dc40
nop
lea rcx, [rsp + 0x58]
call fcn.14004b060
add rbx, 0x20
cmp rbx, r15
lea rdx, [0x1400d4d10]
jne 0x1400ab8b0
mov r8, qword [r12 + 8]
sub r8, qword [r12]
lea r9, [rbp + 0x175]
movabs r10, 0xcccccccccccccccd
nop word [rax + 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 0x1400ab950
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rbp + 0x175]
cmp r9, rax
jne 0x1400ab9ab
movdqa xmm0, xmmword [0x1400e3d20]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], dl
jmp 0x1400ab9c2
lea r8, [rbp + 0x175]
sub r8, r9
mov rdx, r9
lea rcx, [rsp + 0x58]
call fcn.14004b2e0
mov ebx, dword [rsp + 0x48]
or ebx, 0x18
lea rax, [r14 + 0x28]
mov rcx, qword [rax + 0x10]
sub rdi, rcx
cmp rdi, 6
jb 0x1400acb9f
cmp qword [rax + 0x18], 0xf
jbe 0x1400ab9e8
mov rax, qword [rax]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 6
lea r9, str.Host:
lea rcx, [rbp + 0xd0]
call fcn.14004baa0
or ebx, 0x20
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._r_nContent_Length:
lea rcx, [rbp + 0xd0]
call fcn.14004dc40
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1a8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1b8], xmm1
xor r15d, r15d
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], send
mov byte [rax], r15b
or ebx, 0x40
lea r9, [rsp + 0x58]
lea r8, [rbp + 0x1a8]
lea rcx, [rbp + 0x138]
call fcn.140076340
bts ebx, 7
lea r8d, [r15 + 4]
lea rdx, str._r_n_r_n
lea rcx, [rbp + 0x138]
call fcn.14004dc40
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x188], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x198], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], send
mov byte [rax], r15b
or ebx, 2
mov dword [rsp + 0x48], ebx
lea rdx, [rbp + 0x188]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x28]
call fcn.14004dc40
nop
lea rcx, [rbp + 0x188]
call fcn.14004b060
nop
lea rcx, [rbp + 0x138]
call fcn.14004b060
nop
lea rcx, [rbp + 0x1a8]
call fcn.14004b060
nop
lea rcx, [rbp + 0xd0]
call fcn.14004b060
nop
lea rcx, [rsp + 0x58]
call fcn.14004b060
lea rdi, [rbp + 0x28]
cmp qword [rbp + 0x40], 0xf
cmova rdi, qword [rbp + 0x28]
add rdi, qword [rbp + 0x38]
lea rbx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0xf
cmova rbx, qword [rbp + 0x28]
xorps xmm0, xmm0
movdqu xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r15
sub rdi, rbx
je 0x1400abb7a
mov rdx, rdi
lea rcx, [rbp + 8]
call fcn.14006b510
mov r8, rdi
mov rdx, rbx
mov rbx, qword [rbp + 8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rdx, [rbx + rdi]
mov qword [rbp + 0x10], rdx
jmp 0x1400abb7e
mov rdx, qword [rbp + 0x10]
mov r8, qword [r12]
mov r9, qword [r12 + 8]
sub r9, r8
lea rcx, [rbp + 8]
call fcn.1400ae8f0
movzx eax, byte [r14 + 1]
test al, al
jne 0x1400abba4
mov r13d, 2
jmp 0x1400abbac
cmp al, 1
jne 0x1400acd8f
mov ebx, 1
lea r8d, [rbx + 5]
mov edx, ebx
mov ecx, r13d
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
mov qword [rbp - 8], rax
cmp rax, 0xffffffffffffffff
je 0x1400acba5
mov dword [rbp + 0x1268], ebx
lea r8, [rbp + 0x1268]
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x1400acbde
movabs rbx, 0x431bde82d7b634db
test rsi, rsi
js 0x1400abc43
lea rcx, [rbp + 0x1240]
call fcn.140059de0
mov r12, qword [rbp + 0x20]
mov rcx, r12
sub rcx, qword [rbp + 0x1240]
mov rax, rbx
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 0x1400abc51
mov rbx, 0xffffffffffffffff
mov r12, qword [rbp + 0x20]
xor r13d, r13d
mov rax, qword [rbp]
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 0x1400abc92
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1400abcf3
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1400abc71
mov ebx, 1
mov r14, qword [rbp + 0x10]
mov r15, qword [rbp + 8]
sub r14, r15
je 0x1400abdd6
nop dword [rax + rax]
test rsi, rsi
js 0x1400abd60
lea rcx, [rbp + 0x1240]
call fcn.140059de0
mov rcx, r12
sub rcx, qword [rbp + 0x1240]
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test rdx, rdx
cmovle rdx, r13
jmp 0x1400abd67
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400acc55
mov r8, rbx
mov ebx, 1
mov edx, ebx
lea rcx, [rbp - 8]
call fcn.1400aac00
mov dword [rbp + 0x1240], 4
lea rax, [rbp + 0x1240]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
mov edx, 0xffff
mov r8d, 0x1007
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x1400acc21
mov edx, dword [rsp + 0x54]
test edx, edx
jne 0x1400acaf8
jmp 0x1400abc97
mov rdx, 0xffffffffffffffff
mov r8, rdx
mov edx, ebx
lea rcx, [rbp - 8]
call fcn.1400aac00
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 0x1400abdc1
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1400abdb8
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 0x1400abd90
jmp 0x1400abdc1
cmp ebx, 0xffffffff
je 0x1400acc89
movsxd rax, ebx
add r15, rax
sub r14, rax
je 0x1400abdd6
mov ebx, 1
jmp 0x1400abcb0
mov word [rsp + 0x44], 0xa0d
mov rax, qword [rbp + 0x1248]
mov dword [rax], r13d
lea rcx, [rax + 8]
mov qword [rbp + 0xb0], rcx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], send
mov byte [rcx], 0
mov qword [rax + 0x28], r13
mov qword [rax + 0x30], r13
mov qword [rax + 0x38], r13
mov qword [rax + 0x40], r13
mov qword [rax + 0x48], r13
mov qword [rax + 0x50], r13
mov eax, dword [rsp + 0x48]
or eax, 1
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x54], eax
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r13
mov dword [rsp + 0x4c], r13d
mov byte [rbp + 0x1240], 0
mov qword [rbp + 0x48], r13
mov byte [rbp + 0x1268], 0
mov r15, r13
mov qword [rbp - 0x48], r13
xor r12b, r12b
mov dword [rsp + 0x50], r12d
mov r14, qword [rbp - 0x38]
mov r13, qword [rbp - 0x40]
test rsi, rsi
js 0x1400abeaa
lea rcx, [rbp + 0xa0]
call fcn.140059de0
mov rcx, qword [rbp + 0x20]
sub rcx, qword [rbp + 0xa0]
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test rdx, rdx
mov eax, 0
cmovle rdx, rax
jmp 0x1400abeb1
mov rdx, 0xffffffffffffffff
mov r8, rdx
xor edx, edx
lea rcx, [rbp - 8]
call fcn.1400aac00
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x200]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1400abf18
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1400abf0f
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x200]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
je 0x1400abee0
jmp 0x1400abf18
cmp ebx, 0xffffffff
je 0x1400accbd
movsxd r9, ebx
test ebx, ebx
je 0x1400aca30
lea r8, [rbp + 0x200]
mov rdx, r14
lea rcx, [rbp - 0x40]
call fcn.1400ae8f0
mov r13, qword [rbp - 0x40]
mov r14, qword [rbp - 0x38]
cmp dword [rsp + 0x4c], 2
je 0x1400ac63b
nop dword [rax]
mov rbx, r14
mov rcx, r14
sub rcx, r13
movzx eax, word [rsp + 0x44]
cmp rcx, 2
jl 0x1400abf8c
lea r8, [r14 - 2]
cmp ax, word [r13]
sete cl
mov rdx, r13
test cl, cl
jne 0x1400abf89
cmp rdx, r8
je 0x1400abf8c
inc rdx
cmp ax, word [rdx]
sete cl
test cl, cl
je 0x1400abf77
mov rbx, rdx
cmp rbx, r14
je 0x1400ac6ca
mov r8, rbx
mov rdx, r13
lea rcx, [rbp - 0x68]
call fcn.1400ae6d0
nop
lea rdx, [rbx + 2]
cmp r13, rdx
je 0x1400abfc3
sub r14, rdx
mov r8, r14
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
add r14, r13
mov qword [rbp - 0x38], r14
mov rdx, qword [rbp - 0x58]
test rdx, rdx
je 0x1400ac621
mov ebx, dword [rsp + 0x4c]
test ebx, ebx
jne 0x1400ac1a8
mov dword [rsp + 0x4c], 1
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
seta r9b
cmova rcx, qword [rbp - 0x68]
add rdx, rcx
lea rcx, [rbp - 0x68]
test r9b, r9b
cmovne rcx, qword [rbp - 0x68]
mov r8b, 0x20
call fcn.1400c7d60
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
seta r10b
mov r8, qword [rbp - 0x68]
cmova rcx, r8
mov r9, qword [rbp - 0x58]
add rcx, r9
cmp rax, rcx
je 0x1400ac613
lea rbx, [rax + 1]
lea rdx, [rbp - 0x68]
test r10b, r10b
cmovne rdx, r8
add rdx, r9
mov r8b, 0x20
mov rcx, rbx
call fcn.1400c7d60
mov r15, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xor eax, eax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rax
cmp rbx, r15
jne 0x1400ac079
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], send
mov byte [rbp + 0x50], al
jmp 0x1400ac08c
mov r8, r15
sub r8, rbx
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.14004b2e0
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r12, rax
lea rbx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova rbx, qword [rbp + 0x50]
xor eax, eax
mov dword [r12], eax
lea r8d, [rax + 0xa]
lea rdx, [rbp + 0xa8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp + 0xa8]
je 0x1400ac931
cmp dword [r12], 0x22
je 0x1400ac923
mov rcx, qword [rbp + 0x1248]
mov dword [rcx], eax
lea rax, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
seta r10b
mov r8, qword [rbp - 0x68]
cmova rax, r8
mov r9, qword [rbp - 0x58]
add rax, r9
cmp r15, rax
je 0x1400ac19a
lea rdx, [r15 + 1]
lea rax, [rbp - 0x68]
test r10b, r10b
cmovne rax, r8
lea r8, [rax + r9]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
cmp rdx, r8
jne 0x1400ac13e
mov qword [rsp + 0x70], send
mov byte [rsp + 0x58], al
jmp 0x1400ac14b
sub r8, rdx
lea rcx, [rsp + 0x58]
call fcn.14004b2e0
lea rdx, [rsp + 0x58]
mov rcx, qword [rbp + 0xb0]
call fcn.1400681c0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400ac19a
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ac194
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ac91c
call fcn.1400c6f5c
nop
lea rcx, [rbp + 0x50]
call fcn.14004b060
jmp 0x1400ac613
cmp ebx, 1
jne 0x1400ac613
mov rbx, qword [rbp + 0x1248]
mov rax, qword [rbx + 0x30]
cmp rax, qword [rbx + 0x38]
je 0x1400ac1d5
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.14004b860
add qword [rbx + 0x30], 0x20
jmp 0x1400ac1e5
lea r8, [rbp - 0x68]
mov rdx, rax
lea rcx, [rbx + 0x28]
call fcn.14006a640
lea r15, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
seta byte [rsp + 0x40]
cmova r15, qword [rbp - 0x68]
mov r12, qword [rbp - 0x58]
test r12, r12
je 0x1400ac21e
mov r8, r12
mov edx, 0x3a
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400ac21e
sub rbx, r15
jmp 0x1400ac225
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x1400acd35
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xor eax, eax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov r8, rbx
cmp r12, rbx
cmovb r8, r12
lea rdx, [rbp - 0x68]
cmp byte [rsp + 0x40], al
cmovne rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x28]
call fcn.14004b2e0
mov r15d, dword [rsp + 0x48]
bts r15d, 8
mov dword [rsp + 0x54], r15d
lea r11, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
seta cl
mov r9, qword [rbp - 0x28]
cmova r11, r9
lea rdx, [rbp - 0x28]
mov r10, qword [rbp - 0x18]
test cl, cl
je 0x1400ac294
add r10, r9
jmp 0x1400ac29b
add r10, rdx
lea r9, [rbp - 0x28]
cmp r9, r10
je 0x1400ac2d2
sub r11, r9
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [r9]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
mov byte [r9 + r11], cl
inc r9
cmp r9, r10
jne 0x1400ac2b0
inc rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xor r12d, r12d
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
mov rax, qword [rbp - 0x58]
cmp rax, rbx
jb 0x1400acd2f
sub rax, rbx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rdx, qword [rbp - 0x68]
add rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.14004b2e0
bts r15d, 9
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x54], r15d
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
seta r9b
mov r8, qword [rsp + 0x78]
cmova rdx, r8
mov r15, qword [rbp - 0x78]
add rdx, r15
lea rax, [rsp + 0x78]
test r9b, r9b
cmovne rax, r8
cmp rax, rdx
je 0x1400ac375
nop
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x1400ac36d
cmp cl, 9
jne 0x1400ac375
inc rax
cmp rax, rdx
jne 0x1400ac360
lea rcx, [rsp + 0x78]
mov rdx, r12
test r9b, r9b
je 0x1400ac394
sub rax, r8
mov rcx, r15
sub rcx, r12
cmp rcx, rax
cmovb rax, rcx
jmp 0x1400ac3a3
sub rax, rcx
cmp r15, rax
cmovb rax, r15
lea r8, [rsp + 0x78]
lea rcx, [r8 + rdx]
sub r15, rax
mov r8, r15
sub r8, rdx
inc r8
lea rdx, [rcx + rax]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x78], r15
lea r9, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
seta r11b
mov r10, qword [rsp + 0x78]
cmova r9, r10
add r9, r15
lea rcx, [rsp + 0x78]
test r11b, r11b
je 0x1400ac3ec
mov rcx, r10
mov rax, r10
jmp 0x1400ac3f1
lea rax, [rsp + 0x78]
lea rdx, [r15 + rax]
cmp rdx, rcx
je 0x1400ac41c
nop word [rax + rax]
lea rax, [rdx - 1]
movzx r8d, byte [rax]
cmp r8b, 0x20
je 0x1400ac414
cmp r8b, 9
jne 0x1400ac41c
mov rdx, rax
cmp rax, rcx
jne 0x1400ac400
lea rax, [rsp + 0x78]
sub r9, rdx
test r11b, r11b
je 0x1400ac42e
sub rdx, r10
jmp 0x1400ac436
sub rdx, rax
lea r10, [rsp + 0x78]
mov rax, r15
sub rax, rdx
cmp rax, r9
cmovb r9, rax
lea rcx, [r10 + rdx]
sub r15, r9
mov r8, r15
sub r8, rdx
inc r8
lea rdx, [rcx + r9]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x78], r15
lea rcx, [rbp - 0x28]
mov rbx, qword [rbp - 0x10]
cmp rbx, 0xf
seta al
mov byte [rsp + 0x40], al
cmova rcx, qword [rbp - 0x28]
mov r12, qword [rbp - 0x18]
cmp r12, 0xe
jne 0x1400ac52a
mov r8, r12
lea rdx, str.content_length
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400ac525
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r15, rax
lea rbx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rbx, qword [rsp + 0x78]
xor r12d, r12d
mov dword [rax], r12d
lea r8d, [r12 + 0xa]
lea rdx, [rbp + 0xb8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
cmp rbx, qword [rbp + 0xb8]
je 0x1400ac94d
cmp dword [r15], 0x22
je 0x1400ac93f
mov edx, eax
mov qword [rbp + 0x48], rdx
mov byte [rbp + 0x1240], 1
mov qword [rbp + 0xc0], rdx
mov rcx, qword [rbp + 0x1248]
add rcx, 0x40
mov rax, qword [rcx + 0x10]
sub rax, qword [rcx]
cmp rdx, rax
jbe 0x1400ac51f
lea rdx, [rbp + 0xc0]
call fcn.1400ae800
mov rbx, qword [rbp - 0x10]
jmp 0x1400ac589
movzx eax, byte [rsp + 0x40]
lea rcx, [rbp - 0x28]
test al, al
cmovne rcx, qword [rbp - 0x28]
cmp r12, 0x11
jne 0x1400ac586
mov r8, r12
lea rdx, str.transfer_encoding
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400ac586
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rcx, qword [rsp + 0x78]
cmp r15, 7
jne 0x1400accf7
mov r8, r15
lea rdx, str.chunked
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400accf7
mov byte [rbp + 0x1268], 1
xor r12d, r12d
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400ac5c9
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ac5c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ac95b
call fcn.1400c6f5c
mov rbx, qword [rbp - 0x10]
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], send
mov byte [rsp + 0x78], 0
cmp rbx, 0xf
jbe 0x1400ac613
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ac60d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ac962
call fcn.1400c6f5c
nop
lea rcx, [rbp - 0x68]
call fcn.14004b060
jmp 0x1400abf50
mov dword [rsp + 0x4c], 2
lea rcx, [rbp - 0x68]
call fcn.14004b060
mov r15, qword [rbp - 0x48]
mov r12d, dword [rsp + 0x50]
movzx eax, word [rsp + 0x44]
cmp byte [rbp + 0x1268], 0
je 0x1400ac819
nop dword [rax]
test r15, r15
je 0x1400ac6e3
mov rax, r14
sub rax, r13
mov rbx, r15
cmp rax, r15
cmovb rbx, rax
mov rcx, qword [rbp + 0x1248]
mov rdx, qword [rcx + 0x48]
mov r9, rbx
mov r8, r13
add rcx, 0x40
call fcn.1400ae8f0
lea rdx, [rbx + r13]
cmp r13, rdx
je 0x1400ac6a1
sub r14, rdx
mov r8, r14
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
add r14, r13
mov qword [rbp - 0x38], r14
sub r15, rbx
mov qword [rbp - 0x48], r15
movzx r12d, r12b
mov eax, 1
cmove r12d, eax
mov dword [rsp + 0x50], r12d
cmp r13, r14
je 0x1400abe65
movzx eax, word [rsp + 0x44]
jmp 0x1400ac650
cmp dword [rsp + 0x4c], 2
mov r15, qword [rbp - 0x48]
mov r12d, dword [rsp + 0x50]
jne 0x1400abe65
jmp 0x1400ac640
test r12b, r12b
je 0x1400ac733
mov rcx, r14
sub rcx, r13
cmp rcx, 2
jb 0x1400abe65
cmp ax, word [r13]
sete cl
test cl, cl
je 0x1400acd6c
xor r12b, r12b
mov dword [rsp + 0x50], r12d
lea rdx, [r13 + 2]
cmp r13, rdx
je 0x1400ac733
sub r14, rdx
mov r8, r14
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
add r14, r13
mov qword [rbp - 0x38], r14
movzx eax, word [rsp + 0x44]
mov rbx, r14
mov rcx, r14
sub rcx, r13
cmp rcx, 2
jl 0x1400ac76a
lea r8, [r14 - 2]
cmp ax, word [r13]
sete cl
mov rdx, r13
test cl, cl
jne 0x1400ac767
cmp rdx, r8
je 0x1400ac76a
inc rdx
cmp ax, word [rdx]
sete cl
test cl, cl
je 0x1400ac755
mov rbx, rdx
cmp rbx, r14
je 0x1400abe65
mov r8, rbx
mov rdx, r13
lea rcx, [rbp + 0x118]
call fcn.1400ae6d0
nop
lea rdx, [rbx + 2]
cmp r13, rdx
je 0x1400ac7a4
sub r14, rdx
mov r8, r14
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
add r14, r13
mov qword [rbp - 0x38], r14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r15, rax
lea rbx, [rbp + 0x118]
cmp qword [rbp + 0x130], 0xf
cmova rbx, qword [rbp + 0x118]
xor eax, eax
mov dword [r15], eax
lea r8d, [rax + 0x10]
lea rdx, [rbp + 0xc8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
cmp rbx, qword [rbp + 0xc8]
je 0x1400aca22
cmp dword [r15], 0x22
je 0x1400aca14
mov r15d, eax
mov qword [rbp - 0x48], r15
lea rcx, [rbp + 0x118]
test eax, eax
je 0x1400ac969
call fcn.14004b060
movzx eax, word [rsp + 0x44]
jmp 0x1400ac650
mov r9, r14
sub r9, r13
mov rbx, qword [rbp + 0x1248]
mov rdx, qword [rbx + 0x48]
mov r8, r13
lea rcx, [rbx + 0x40]
call fcn.1400ae8f0
cmp r13, r14
cmovne r14, r13
mov qword [rbp - 0x38], r14
cmp byte [rbp + 0x1240], 0
je 0x1400abe65
mov rax, qword [rbx + 0x48]
sub rax, qword [rbx + 0x40]
cmp rax, qword [rbp + 0x48]
jb 0x1400abe65
test r13, r13
je 0x1400ac89a
mov rdx, qword [rbp - 0x30]
sub rdx, r13
mov rax, r13
cmp rdx, 0x1000
jb 0x1400ac891
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400aca5d
mov rcx, r13
call fcn.1400c6f5c
nop
cmp rdi, 0xffffffffffffffff
je 0x1400ac8aa
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400ac8e5
mov rdx, qword [rbp + 0x18]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ac8df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400acaae
call fcn.1400c6f5c
nop
lea rcx, [rbp + 0x28]
call fcn.14004b060
nop
mov rcx, qword [rbp]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
mov rax, qword [rbp + 0x1248]
mov rbx, qword [rsp + 0x1350]
add rsp, 0x1300
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
lea rcx, str.stoul_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoul_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14004b060
nop
test r13, r13
je 0x1400ac9ac
mov rdx, qword [rbp - 0x30]
sub rdx, r13
mov rax, r13
cmp rdx, 0x1000
jb 0x1400ac9a3
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ac9a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.1400c6f5c
nop
cmp rdi, 0xffffffffffffffff
je 0x1400ac9bc
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400ac9fa
mov rdx, qword [rbp + 0x18]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ac9f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ac9f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c6f5c
nop
lea rcx, [rbp + 0x28]
call fcn.14004b060
nop
mov rcx, qword [rbp]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x1400ac8fa
lea rcx, str.stoul_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoul_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
test r13, r13
je 0x1400aca6d
mov rdx, qword [rbp - 0x30]
sub rdx, r13
mov rax, r13
cmp rdx, 0x1000
jb 0x1400aca64
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400aca64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.1400c6f5c
nop
cmp rdi, 0xffffffffffffffff
je 0x1400aca7d
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400acabb
mov rdx, qword [rbp + 0x18]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400acab5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400acab5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c6f5c
nop
lea rcx, [rbp + 0x28]
call fcn.14004b060
nop
mov rcx, qword [rbp]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x1400ac8fa
lea rdx, str.Unsupported_protocol
lea rcx, [rsp + 0x58]
call fcn.1400aaa40
lea rdx, [0x1400f6c68]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400aaa30
mov r8, rax
lea r9, str.Failed_to_connect
lea rcx, [rbp + 0x70]
call fcn.1400aa740
lea rdx, [0x1400f6b78]
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Only_HTTP_scheme_is_supported
lea rcx, [rsp + 0x58]
call fcn.1400aaa40
lea rdx, [0x1400f6c68]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea r8, [r14 + 0x48]
lea rdx, str.Failed_to_get_address_info_of
lea rcx, [rbp + 0xd0]
call fcn.14004ba30
mov rdi, rax
call fcn.1400aaa30
mov rbx, rax
call sub.WS2_32.dll_WSAGetLastError
mov edx, eax
mov r9, rdi
mov r8, rbx
lea rcx, [rbp + 0x138]
call fcn.1400aa700
lea rdx, [0x1400f6b78]
lea rcx, [rbp + 0x138]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.14004aea0
nop
call fcn.14004aea0
nop
call fcn.14004aea0
nop
call fcn.1400aaa30
mov rbx, rax
call sub.WS2_32.dll_WSAGetLastError
mov edx, eax
lea r9, str.Failed_to_create_socket
mov r8, rbx
lea rcx, [rbp + 0xd0]
call fcn.1400aa740
lea rdx, [0x1400f6b78]
lea rcx, [rbp + 0xd0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 8]
call fcn.1400aad50
call fcn.1400aaa30
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_get_socket_flags
mov r8, rbx
lea rcx, [rbp + 0x138]
call fcn.1400aa740
lea rdx, [0x1400f6b78]
lea rcx, [rbp + 0x138]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400aaa30
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_get_socket_option
mov r8, rbx
lea rcx, [rbp + 0x70]
call fcn.1400aa740
lea rdx, [0x1400f6b78]
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400aaa30
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_connect
mov r8, rbx
lea rcx, [rbp + 0x70]
call fcn.1400aa740
lea rdx, [0x1400f6b78]
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400aaa30
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_send_data
mov r8, rbx
lea rcx, [rbp + 0x70]
call fcn.1400aa740
lea rdx, [0x1400f6b78]
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400aaa30
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_read_data
mov r8, rbx
lea rcx, [rbp + 0xd0]
call fcn.1400aa740
lea rdx, [0x1400f6b78]
lea rcx, [rbp + 0xd0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rsp + 0x78]
lea rdx, str.Unsupported_transfer_encoding:
lea rcx, [rbp + 0xd0]
call fcn.14004ba30
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400aaae0
lea rdx, [0x1400f6cb0]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140068710
nop
lea r8, [rbp - 0x68]
lea rdx, str.Invalid_header:
lea rcx, [rbp + 0xd0]
call fcn.14004ba30
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400aaae0
lea rdx, [0x1400f6cb0]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Invalid_chunk
lea rcx, [rsp + 0x58]
call fcn.1400aaa90
lea rdx, [0x1400f6cb0]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Unsupported_protocol
lea rcx, [rsp + 0x58]
call fcn.1400aaa40
lea rdx, [0x1400f6c68]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
int3