Function at 0x1400df4f0
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.14010bef0
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.14006d540
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 0x1400df55e
mov rcx, qword [r14 + 8]
mov r8, qword [r14 + 0x18]
cmp r8, 4
jne 0x1400e098d
lea rdx, str.http
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400e098d
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c0], xmm0
movups xmmword [rbp + 0x1d0], xmm0
movzx eax, byte [r14 + 1]
mov r13d, reloc.WS2_32.dll_socket
test al, al
jne 0x1400df5ad
lea eax, [r13 - 0x15]
jmp 0x1400df5b9
cmp al, r15b
jne 0x1400e0943
mov eax, r13d
mov dword [rbp + 0x1b4], eax
mov dword [rbp + 0x1b8], r15d
lea rdx, [r14 + 0x68]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400df5d4
mov rdx, qword [rdx]
lea rcx, [r14 + 0x48]
cmp qword [r14 + 0x60], 0xf
jbe 0x1400df5e3
mov rcx, qword [r14 + 0x48]
lea r9, [rbp + 0x98]
lea r8, [rbp + 0x1b0]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x1400e09ae
mov rax, qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x168], rax
mov rcx, qword [rbx + 0x10]
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
sub rax, rcx
cmp rax, 1
jb 0x1400e09fd
cmp qword [rbx + 0x18], 0xf
jbe 0x1400df647
mov rbx, qword [rbx]
mov qword [rsp + 0x30], r15
lea rax, [0x14012c43c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rbx
lea rcx, [rbp + 0x1e0]
call fcn.1400a72c0
nop
lea rdx, [r14 + 0x88]
cmp qword [r14 + 0xa0], 0xf
jbe 0x1400df685
mov rdx, qword [r14 + 0x88]
mov r8, qword [r14 + 0x98]
lea rcx, [rbp + 0x1e0]
call fcn.1400a1a60
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], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea r8d, [rbx + 0xb]
lea rdx, str._HTTP_1.1_r_n
lea rcx, [rbp + 0xf8]
call fcn.1400a1a60
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], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
mov eax, 0x1c01
mov dword [rsp + 0x48], eax
lea rcx, [rbp + 0xf8]
call fcn.1400672c0
nop
lea rcx, [rbp + 0x1e0]
call fcn.1400672c0
mov rax, qword [rbp + 0x1260]
mov rbx, qword [rax]
mov r15, qword [rax + 8]
cmp rbx, r15
je 0x1400df7d7
lea rdx, [0x14011c190]
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rax, rdi
sub rax, rcx
cmp rax, 2
jb 0x1400e0a09
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400df781
mov r9, qword [rbx]
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x50]
call fcn.1400a72c0
or dword [rsp + 0x48], 4
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
lea rcx, [rbp + 0x28]
call fcn.1400a1a60
nop
lea rcx, [rbp - 0x50]
call fcn.1400672c0
add rbx, 0x20
cmp rbx, r15
lea rdx, [0x14011c190]
jne 0x1400df760
mov r8, qword [r12 + 8]
sub r8, qword [r12]
lea r9, [rbp - 0x3b]
movabs r10, 0xcccccccccccccccd
nop
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 0x1400df7f0
lea r8, [rbp - 0x3b]
mov rdx, r9
lea rcx, [rbp + 0xd0]
call fcn.1400aa7a0
mov ebx, dword [rsp + 0x48]
or ebx, 0x18
lea rax, [r14 + 0x28]
mov rcx, qword [rax + 0x10]
sub rdi, rcx
cmp rdi, 6
jb 0x1400e0a03
cmp qword [rax + 0x18], 0xf
jbe 0x1400df853
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 + 0x138]
call fcn.1400a72c0
or ebx, 0x20
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._r_nContent_Length:
lea rcx, [rbp + 0x138]
call fcn.1400a1a60
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x190], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1a0], xmm1
xor r15d, r15d
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r15b
or ebx, 0x40
lea r9, [rbp + 0xd0]
lea r8, [rbp + 0x190]
lea rcx, [rbp + 0x70]
call fcn.1400a70c0
bts ebx, 7
lea r8d, [r15 + 4]
lea rdx, str._r_n_r_n
lea rcx, [rbp + 0x70]
call fcn.1400a1a60
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x170], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x180], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r15b
or ebx, 2
mov dword [rsp + 0x48], ebx
lea rdx, [rbp + 0x170]
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.1400a1a60
nop
lea rcx, [rbp + 0x170]
call fcn.1400672c0
nop
lea rcx, [rbp + 0x70]
call fcn.1400672c0
nop
lea rcx, [rbp + 0x190]
call fcn.1400672c0
nop
lea rcx, [rbp + 0x138]
call fcn.1400672c0
nop
lea rcx, [rbp + 0xd0]
call fcn.1400672c0
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 - 0x68], xmm0
mov qword [rbp - 0x58], r15
sub rdi, rbx
je 0x1400df9e0
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.1400a6f80
mov r8, rdi
mov rdx, rbx
mov rbx, qword [rbp - 0x68]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rdx, [rbx + rdi]
mov qword [rbp - 0x60], rdx
jmp 0x1400df9e4
mov rdx, qword [rbp - 0x60]
mov r8, qword [r12]
mov r9, qword [r12 + 8]
sub r9, r8
lea rcx, [rbp - 0x68]
call fcn.1400e2720
movzx eax, byte [r14 + 1]
test al, al
jne 0x1400dfa0a
mov r13d, 2
jmp 0x1400dfa12
cmp al, 1
jne 0x1400e0bf4
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 + 0x10], rax
cmp rax, 0xffffffffffffffff
je 0x1400e0a0f
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 0x1400e0a48
movabs rbx, 0x431bde82d7b634db
test rsi, rsi
js 0x1400dfaa9
lea rcx, [rbp + 0x1240]
call fcn.14006d540
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 0x1400dfab7
mov rbx, 0xffffffffffffffff
mov r12, qword [rbp + 0x20]
xor r13d, r13d
mov rax, qword [rbp + 0x18]
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 0x1400dfaf8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1400dfb53
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1400dfad7
mov ebx, 1
mov r14, qword [rbp - 0x60]
mov r15, qword [rbp - 0x68]
sub r14, r15
je 0x1400dfc36
nop
test rsi, rsi
js 0x1400dfbc0
lea rcx, [rbp + 0x1240]
call fcn.14006d540
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 0x1400dfbc7
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400e0abf
mov r8, rbx
mov ebx, 1
mov edx, ebx
lea rcx, [rbp + 0x10]
call fcn.1400deaa0
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 0x1400e0a8b
mov edx, dword [rsp + 0x54]
test edx, edx
jne 0x1400e0964
jmp 0x1400dfafd
mov rdx, 0xffffffffffffffff
mov r8, rdx
mov edx, ebx
lea rcx, [rbp + 0x10]
call fcn.1400deaa0
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 0x1400dfc21
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1400dfc18
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 0x1400dfbf0
jmp 0x1400dfc21
cmp ebx, 0xffffffff
je 0x1400e0af3
movsxd rax, ebx
add r15, rax
sub r14, rax
je 0x1400dfc36
mov ebx, 1
jmp 0x1400dfb10
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], reloc.WS2_32.dll_ntohs
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 - 0x28], xmm0
mov qword [rbp - 0x18], 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 - 0x30], r13
xor r13b, r13b
mov dword [rsp + 0x50], r13d
mov r14, qword [rbp - 0x20]
mov r12, qword [rbp - 0x28]
test rsi, rsi
js 0x1400dfd0a
lea rcx, [rbp + 0xa0]
call fcn.14006d540
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 0x1400dfd11
mov rdx, 0xffffffffffffffff
mov r8, rdx
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.1400deaa0
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 0x1400dfd78
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1400dfd6f
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 0x1400dfd40
jmp 0x1400dfd78
cmp ebx, 0xffffffff
je 0x1400e0b27
movsxd r9, ebx
test ebx, ebx
je 0x1400e089d
lea r8, [rbp + 0x200]
mov rdx, r14
lea rcx, [rbp - 0x28]
call fcn.1400e2720
mov r12, qword [rbp - 0x28]
mov r14, qword [rbp - 0x20]
cmp dword [rsp + 0x4c], 2
je 0x1400e04a3
nop dword [rax]
mov rbx, r14
mov rcx, r14
sub rcx, r12
movzx eax, word [rsp + 0x44]
cmp rcx, 2
jl 0x1400dfdec
lea r8, [r14 - 2]
cmp ax, word [r12]
sete cl
mov rdx, r12
test cl, cl
jne 0x1400dfde9
cmp rdx, r8
je 0x1400dfdec
inc rdx
cmp ax, word [rdx]
sete cl
test cl, cl
je 0x1400dfdd7
mov rbx, rdx
cmp rbx, r14
je 0x1400e052f
mov r8, rbx
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.1400e2500
nop
lea rdx, [rbx + 2]
cmp r12, rdx
je 0x1400dfe24
sub r14, rdx
mov r8, r14
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
add r14, r12
mov qword [rbp - 0x20], r14
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x1400e0488
mov ebx, dword [rsp + 0x4c]
test ebx, ebx
jne 0x1400e000a
mov dword [rsp + 0x4c], 1
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
seta r9b
cmova rcx, qword [rsp + 0x78]
add rdx, rcx
lea rcx, [rsp + 0x78]
test r9b, r9b
cmovne rcx, qword [rsp + 0x78]
mov r8b, 0x20
call fcn.14010b480
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
seta r10b
mov r8, qword [rsp + 0x78]
cmova rcx, r8
mov r9, qword [rbp - 0x78]
add rcx, r9
cmp rax, rcx
je 0x1400e0479
lea rbx, [rax + 1]
lea rdx, [rsp + 0x78]
test r10b, r10b
cmovne rdx, r8
add rdx, r9
mov r8b, 0x20
mov rcx, rbx
call fcn.14010b480
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 0x1400dfee1
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x50], al
jmp 0x1400dfef4
mov r8, r15
sub r8, rbx
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.1400a5790
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r13, rax
lea rbx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova rbx, qword [rbp + 0x50]
xor eax, eax
mov dword [r13], 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 0x1400e079d
cmp dword [r13], 0x22
je 0x1400e078f
mov rcx, qword [rbp + 0x1248]
mov dword [rcx], eax
lea rax, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
seta r10b
mov r8, qword [rsp + 0x78]
cmova rax, r8
mov r9, qword [rbp - 0x78]
add rax, r9
cmp r15, rax
je 0x1400dfffc
lea rdx, [r15 + 1]
lea rax, [rsp + 0x78]
test r10b, r10b
cmovne rax, r8
lea r8, [rax + r9]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
cmp rdx, r8
jne 0x1400dffa4
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], al
jmp 0x1400dffb0
sub r8, rdx
lea rcx, [rbp - 0x50]
call fcn.1400a5790
lea rdx, [rbp - 0x50]
mov rcx, qword [rbp + 0xb0]
call fcn.1400a0040
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400dfffc
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dfff6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e0788
call fcn.14010b6e8
nop
lea rcx, [rbp + 0x50]
call fcn.1400672c0
jmp 0x1400e0479
cmp ebx, 1
jne 0x1400e0479
mov rbx, qword [rbp + 0x1248]
mov rax, qword [rbx + 0x30]
cmp rax, qword [rbx + 0x38]
je 0x1400e0038
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.1400a0240
add qword [rbx + 0x30], 0x20
jmp 0x1400e0049
lea r8, [rsp + 0x78]
mov rdx, rax
lea rcx, [rbx + 0x28]
call fcn.1400abd90
lea r15, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
seta byte [rsp + 0x40]
cmova r15, qword [rsp + 0x78]
mov r13, qword [rbp - 0x78]
test r13, r13
je 0x1400e0084
mov r8, r13
mov edx, 0x3a
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400e0084
sub rbx, r15
jmp 0x1400e008b
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x1400e0b9d
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xor eax, eax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov r8, rbx
cmp r13, rbx
cmovb r8, r13
lea rdx, [rsp + 0x78]
cmp byte [rsp + 0x40], al
cmovne rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x10]
call fcn.1400a5790
mov r15d, dword [rsp + 0x48]
bts r15d, 8
mov dword [rsp + 0x54], r15d
lea r11, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
seta cl
mov r9, qword [rbp - 0x10]
cmova r11, r9
lea rdx, [rbp - 0x10]
mov r10, qword [rbp]
test cl, cl
je 0x1400e00fc
add r10, r9
jmp 0x1400e0103
add r10, rdx
lea r9, [rbp - 0x10]
cmp r9, r10
je 0x1400e0132
sub r11, r9
nop dword [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 0x1400e0110
inc rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xor r13d, r13d
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov rax, qword [rbp - 0x78]
cmp rax, rbx
jb 0x1400e0b97
sub rax, rbx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rdx, qword [rsp + 0x78]
add rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1400a5790
bts r15d, 9
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x54], r15d
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
seta r9b
mov r8, qword [rsp + 0x58]
cmova rdx, r8
mov r15, qword [rsp + 0x68]
add rdx, r15
lea rax, [rsp + 0x58]
test r9b, r9b
cmovne rax, r8
cmp rax, rdx
je 0x1400e01da
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x1400e01d2
cmp cl, 9
jne 0x1400e01da
inc rax
cmp rax, rdx
jne 0x1400e01c5
lea rcx, [rsp + 0x58]
mov rdx, r13
test r9b, r9b
je 0x1400e01f9
sub rax, r8
mov rcx, r15
sub rcx, r13
cmp rcx, rax
cmovb rax, rcx
jmp 0x1400e0208
sub rax, rcx
cmp r15, rax
cmovb rax, r15
lea r8, [rsp + 0x58]
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 [rsp + 0x68], r15
lea r9, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
seta r11b
mov r10, qword [rsp + 0x58]
cmova r9, r10
add r9, r15
lea rcx, [rsp + 0x58]
test r11b, r11b
je 0x1400e0253
mov rcx, r10
mov rax, r10
jmp 0x1400e0258
lea rax, [rsp + 0x58]
lea rdx, [r15 + rax]
cmp rdx, rcx
je 0x1400e027d
lea rax, [rdx - 1]
movzx r8d, byte [rax]
cmp r8b, 0x20
je 0x1400e0275
cmp r8b, 9
jne 0x1400e027d
mov rdx, rax
cmp rax, rcx
jne 0x1400e0261
lea rax, [rsp + 0x58]
sub r9, rdx
test r11b, r11b
je 0x1400e028f
sub rdx, r10
jmp 0x1400e0297
sub rdx, rax
lea r10, [rsp + 0x58]
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 [rsp + 0x68], r15
lea rcx, [rbp - 0x10]
mov rbx, qword [rbp + 8]
cmp rbx, 0xf
seta al
mov byte [rsp + 0x40], al
cmova rcx, qword [rbp - 0x10]
mov r13, qword [rbp]
cmp r13, 0xe
jne 0x1400e038c
mov r8, r13
lea rdx, str.content_length
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400e0387
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r15, rax
lea rbx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rbx, qword [rsp + 0x58]
xor r13d, r13d
mov dword [rax], r13d
lea r8d, [r13 + 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 0x1400e07b9
cmp dword [r15], 0x22
je 0x1400e07ab
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 0x1400e0381
lea rdx, [rbp + 0xc0]
call fcn.1400e2630
mov rbx, qword [rbp + 8]
jmp 0x1400e03ec
movzx eax, byte [rsp + 0x40]
lea rcx, [rbp - 0x10]
test al, al
cmovne rcx, qword [rbp - 0x10]
cmp r13, 0x11
jne 0x1400e03e9
mov r8, r13
lea rdx, str.transfer_encoding
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400e03e9
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rcx, qword [rsp + 0x58]
cmp r15, 7
jne 0x1400e0b61
mov r8, r15
lea rdx, str.chunked
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400e0b61
mov byte [rbp + 0x1268], 1
xor r13d, r13d
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400e042d
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e0424
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e07c7
call fcn.14010b6e8
mov rbx, qword [rbp + 8]
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], 0
cmp rbx, 0xf
jbe 0x1400e0479
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e0473
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e07ce
call fcn.14010b6e8
nop
lea rcx, [rsp + 0x78]
call fcn.1400672c0
jmp 0x1400dfdb0
mov dword [rsp + 0x4c], 2
lea rcx, [rsp + 0x78]
call fcn.1400672c0
mov r15, qword [rbp - 0x30]
mov r13d, dword [rsp + 0x50]
movzx eax, word [rsp + 0x44]
cmp byte [rbp + 0x1268], 0
je 0x1400e0684
test r15, r15
je 0x1400e0548
mov rax, r14
sub rax, r12
mov rbx, r15
cmp rax, r15
cmovb rbx, rax
mov rcx, qword [rbp + 0x1248]
mov rdx, qword [rcx + 0x48]
mov r9, rbx
mov r8, r12
add rcx, 0x40
call fcn.1400e2720
lea rdx, [r12 + rbx]
cmp r12, rdx
je 0x1400e0506
sub r14, rdx
mov r8, r14
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
add r14, r12
mov qword [rbp - 0x20], r14
sub r15, rbx
mov qword [rbp - 0x30], r15
movzx r13d, r13b
mov eax, 1
cmove r13d, eax
mov dword [rsp + 0x50], r13d
cmp r12, r14
je 0x1400dfcc5
movzx eax, word [rsp + 0x44]
jmp 0x1400e04b5
cmp dword [rsp + 0x4c], 2
mov r15, qword [rbp - 0x30]
mov r13d, dword [rsp + 0x50]
jne 0x1400dfcc5
jmp 0x1400e04a8
test r13b, r13b
je 0x1400e0599
mov rcx, r14
sub rcx, r12
cmp rcx, 2
jb 0x1400dfcc5
cmp ax, word [r12]
sete cl
test cl, cl
je 0x1400e0bd3
xor r13b, r13b
mov dword [rsp + 0x50], r13d
lea rdx, [r12 + 2]
cmp r12, rdx
je 0x1400e0599
sub r14, rdx
mov r8, r14
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
add r14, r12
mov qword [rbp - 0x20], r14
movzx eax, word [rsp + 0x44]
mov rbx, r14
mov rcx, r14
sub rcx, r12
cmp rcx, 2
jl 0x1400e05d5
lea r8, [r14 - 2]
cmp ax, word [r12]
sete cl
mov rdx, r12
test cl, cl
jne 0x1400e05d2
nop dword [rax + rax]
cmp rdx, r8
je 0x1400e05d5
inc rdx
cmp ax, word [rdx]
sete cl
test cl, cl
je 0x1400e05c0
mov rbx, rdx
cmp rbx, r14
je 0x1400dfcc5
mov r8, rbx
mov rdx, r12
lea rcx, [rbp + 0x118]
call fcn.1400e2500
nop
lea rdx, [rbx + 2]
cmp r12, rdx
je 0x1400e060f
sub r14, rdx
mov r8, r14
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
add r14, r12
mov qword [rbp - 0x20], 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 0x1400e088f
cmp dword [r15], 0x22
je 0x1400e0881
mov r15d, eax
mov qword [rbp - 0x30], r15
lea rcx, [rbp + 0x118]
test eax, eax
je 0x1400e07d5
call fcn.1400672c0
movzx eax, word [rsp + 0x44]
jmp 0x1400e04b5
mov r9, r14
sub r9, r12
mov rbx, qword [rbp + 0x1248]
mov rdx, qword [rbx + 0x48]
mov r8, r12
lea rcx, [rbx + 0x40]
call fcn.1400e2720
cmp r12, r14
cmovne r14, r12
mov qword [rbp - 0x20], r14
cmp byte [rbp + 0x1240], 0
je 0x1400dfcc5
mov rax, qword [rbx + 0x48]
sub rax, qword [rbx + 0x40]
cmp rax, qword [rbp + 0x48]
jb 0x1400dfcc5
test r12, r12
je 0x1400e0706
mov rdx, qword [rbp - 0x18]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x1400e06fd
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e08cb
mov rcx, r12
call fcn.14010b6e8
nop
cmp rdi, 0xffffffffffffffff
je 0x1400e0716
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400e0751
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e074b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e091c
call fcn.14010b6e8
nop
lea rcx, [rbp + 0x28]
call fcn.1400672c0
nop
mov rcx, qword [rbp + 0x18]
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.1400672c0
nop
test r12, r12
je 0x1400e0819
mov rdx, qword [rbp - 0x18]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x1400e0810
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e0810
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14010b6e8
nop
cmp rdi, 0xffffffffffffffff
je 0x1400e0829
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400e0867
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e0861
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e0861
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010b6e8
nop
lea rcx, [rbp + 0x28]
call fcn.1400672c0
nop
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x1400e0766
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 r12, r12
je 0x1400e08db
mov rdx, qword [rbp - 0x18]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x1400e08d2
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e08d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14010b6e8
nop
cmp rdi, 0xffffffffffffffff
je 0x1400e08eb
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400e0929
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e0923
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e0923
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010b6e8
nop
lea rcx, [rbp + 0x28]
call fcn.1400672c0
nop
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x1400e0766
lea rdx, str.Unsupported_protocol
lea rcx, [rbp - 0x68]
call fcn.1400de8e0
lea rdx, [0x14014ee68]
lea rcx, [rbp - 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400de8d0
mov r8, rax
lea r9, str.Failed_to_connect
lea rcx, [rbp + 0x70]
call fcn.1400de5e0
lea rdx, [0x14014ed78]
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Only_HTTP_scheme_is_supported
lea rcx, [rbp - 0x68]
call fcn.1400de8e0
lea rdx, [0x14014ee68]
lea rcx, [rbp - 0x68]
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.1400a2540
mov rdi, rax
call fcn.1400de8d0
mov rbx, rax
call sub.WS2_32.dll_WSAGetLastError
mov edx, eax
mov r9, rdi
mov r8, rbx
lea rcx, [rbp + 0x138]
call fcn.1400de5a0
lea rdx, [0x14014ed78]
lea rcx, [rbp + 0x138]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400668f0
nop
call fcn.1400668f0
nop
call fcn.1400668f0
nop
call fcn.1400de8d0
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.1400de5e0
lea rdx, [0x14014ed78]
lea rcx, [rbp + 0xd0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp + 0x10]
call fcn.1400debf0
call fcn.1400de8d0
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.1400de5e0
lea rdx, [0x14014ed78]
lea rcx, [rbp + 0x138]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400de8d0
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.1400de5e0
lea rdx, [0x14014ed78]
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400de8d0
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.1400de5e0
lea rdx, [0x14014ed78]
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400de8d0
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.1400de5e0
lea rdx, [0x14014ed78]
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400de8d0
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.1400de5e0
lea rdx, [0x14014ed78]
lea rcx, [rbp + 0xd0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rsp + 0x58]
lea rdx, str.Unsupported_transfer_encoding:
lea rcx, [rbp + 0xd0]
call fcn.1400a2540
nop
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.1400de980
lea rdx, [0x14014eeb0]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400a1f90
nop
lea r8, [rsp + 0x78]
lea rdx, str.Invalid_header:
lea rcx, [rbp + 0xd0]
call fcn.1400a2540
nop
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.1400de980
lea rdx, [0x14014eeb0]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Invalid_chunk
lea rcx, [rbp - 0x50]
call fcn.1400de930
lea rdx, [0x14014eeb0]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Unsupported_protocol
lea rcx, [rbp - 0x50]
call fcn.1400de8e0
lea rdx, [0x14014ee68]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3