Function at 0x1400de850
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.14010b010
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.14006d470
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 0x1400de8be
mov rcx, qword [r14 + 8]
mov r8, qword [r14 + 0x18]
cmp r8, 4
jne 0x1400dfced
lea rdx, str.http
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400dfced
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 0x1400de90d
lea eax, [r13 - 0x15]
jmp 0x1400de919
cmp al, r15b
jne 0x1400dfca3
mov eax, r13d
mov dword [rbp + 0x1b4], eax
mov dword [rbp + 0x1b8], r15d
lea rdx, [r14 + 0x68]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400de934
mov rdx, qword [rdx]
lea rcx, [r14 + 0x48]
cmp qword [r14 + 0x60], 0xf
jbe 0x1400de943
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 0x1400dfd0e
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 0x1400dfd5d
cmp qword [rbx + 0x18], 0xf
jbe 0x1400de9a7
mov rbx, qword [rbx]
mov qword [rsp + 0x30], r15
lea rax, [0x14012b2ec]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rbx
lea rcx, [rbp + 0x1e0]
call fcn.1400a5860
nop
lea rdx, [r14 + 0x88]
cmp qword [r14 + 0xa0], 0xf
jbe 0x1400de9e5
mov rdx, qword [r14 + 0x88]
mov r8, qword [r14 + 0x98]
lea rcx, [rbp + 0x1e0]
call fcn.1400a0280
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.1400a0280
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.1400672b0
nop
lea rcx, [rbp + 0x1e0]
call fcn.1400672b0
mov rax, qword [rbp + 0x1260]
mov rbx, qword [rax]
mov r15, qword [rax + 8]
cmp rbx, r15
je 0x1400deb37
lea rdx, [0x14011b150]
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rax, rdi
sub rax, rcx
cmp rax, 2
jb 0x1400dfd69
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400deae1
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.1400a5860
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.1400a0280
nop
lea rcx, [rbp - 0x50]
call fcn.1400672b0
add rbx, 0x20
cmp rbx, r15
lea rdx, [0x14011b150]
jne 0x1400deac0
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 0x1400deb50
lea r8, [rbp - 0x3b]
mov rdx, r9
lea rcx, [rbp + 0xd0]
call fcn.1400a8d40
mov ebx, dword [rsp + 0x48]
or ebx, 0x18
lea rax, [r14 + 0x28]
mov rcx, qword [rax + 0x10]
sub rdi, rcx
cmp rdi, 6
jb 0x1400dfd63
cmp qword [rax + 0x18], 0xf
jbe 0x1400debb3
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.1400a5860
or ebx, 0x20
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._r_nContent_Length:
lea rcx, [rbp + 0x138]
call fcn.1400a0280
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.1400a5660
bts ebx, 7
lea r8d, [r15 + 4]
lea rdx, str._r_n_r_n
lea rcx, [rbp + 0x70]
call fcn.1400a0280
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.1400a0280
nop
lea rcx, [rbp + 0x170]
call fcn.1400672b0
nop
lea rcx, [rbp + 0x70]
call fcn.1400672b0
nop
lea rcx, [rbp + 0x190]
call fcn.1400672b0
nop
lea rcx, [rbp + 0x138]
call fcn.1400672b0
nop
lea rcx, [rbp + 0xd0]
call fcn.1400672b0
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 0x1400ded40
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.1400b4b80
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 0x1400ded44
mov rdx, qword [rbp - 0x60]
mov r8, qword [r12]
mov r9, qword [r12 + 8]
sub r9, r8
lea rcx, [rbp - 0x68]
call fcn.1400e1a80
movzx eax, byte [r14 + 1]
test al, al
jne 0x1400ded6a
mov r13d, 2
jmp 0x1400ded72
cmp al, 1
jne 0x1400dff54
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 0x1400dfd6f
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 0x1400dfda8
movabs rbx, 0x431bde82d7b634db
test rsi, rsi
js 0x1400dee09
lea rcx, [rbp + 0x1240]
call fcn.14006d470
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 0x1400dee17
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 0x1400dee58
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1400deeb3
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1400dee37
mov ebx, 1
mov r14, qword [rbp - 0x60]
mov r15, qword [rbp - 0x68]
sub r14, r15
je 0x1400def96
nop
test rsi, rsi
js 0x1400def20
lea rcx, [rbp + 0x1240]
call fcn.14006d470
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 0x1400def27
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400dfe1f
mov r8, rbx
mov ebx, 1
mov edx, ebx
lea rcx, [rbp + 0x10]
call fcn.1400dde00
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 0x1400dfdeb
mov edx, dword [rsp + 0x54]
test edx, edx
jne 0x1400dfcc4
jmp 0x1400dee5d
mov rdx, 0xffffffffffffffff
mov r8, rdx
mov edx, ebx
lea rcx, [rbp + 0x10]
call fcn.1400dde00
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 0x1400def81
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1400def78
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 0x1400def50
jmp 0x1400def81
cmp ebx, 0xffffffff
je 0x1400dfe53
movsxd rax, ebx
add r15, rax
sub r14, rax
je 0x1400def96
mov ebx, 1
jmp 0x1400dee70
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 0x1400df06a
lea rcx, [rbp + 0xa0]
call fcn.14006d470
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 0x1400df071
mov rdx, 0xffffffffffffffff
mov r8, rdx
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.1400dde00
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 0x1400df0d8
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1400df0cf
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 0x1400df0a0
jmp 0x1400df0d8
cmp ebx, 0xffffffff
je 0x1400dfe87
movsxd r9, ebx
test ebx, ebx
je 0x1400dfbfd
lea r8, [rbp + 0x200]
mov rdx, r14
lea rcx, [rbp - 0x28]
call fcn.1400e1a80
mov r12, qword [rbp - 0x28]
mov r14, qword [rbp - 0x20]
cmp dword [rsp + 0x4c], 2
je 0x1400df803
nop dword [rax]
mov rbx, r14
mov rcx, r14
sub rcx, r12
movzx eax, word [rsp + 0x44]
cmp rcx, 2
jl 0x1400df14c
lea r8, [r14 - 2]
cmp ax, word [r12]
sete cl
mov rdx, r12
test cl, cl
jne 0x1400df149
cmp rdx, r8
je 0x1400df14c
inc rdx
cmp ax, word [rdx]
sete cl
test cl, cl
je 0x1400df137
mov rbx, rdx
cmp rbx, r14
je 0x1400df88f
mov r8, rbx
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.1400e1860
nop
lea rdx, [rbx + 2]
cmp r12, rdx
je 0x1400df184
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 0x1400df7e8
mov ebx, dword [rsp + 0x4c]
test ebx, ebx
jne 0x1400df36a
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.14010a560
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 0x1400df7d9
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.14010a560
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 0x1400df241
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x50], al
jmp 0x1400df254
mov r8, r15
sub r8, rbx
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.1400a3d80
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 0x1400dfafd
cmp dword [r13], 0x22
je 0x1400dfaef
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 0x1400df35c
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 0x1400df304
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], al
jmp 0x1400df310
sub r8, rdx
lea rcx, [rbp - 0x50]
call fcn.1400a3d80
lea rdx, [rbp - 0x50]
mov rcx, qword [rbp + 0xb0]
call fcn.14009ea80
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400df35c
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400df356
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dfae8
call fcn.14010a808
nop
lea rcx, [rbp + 0x50]
call fcn.1400672b0
jmp 0x1400df7d9
cmp ebx, 1
jne 0x1400df7d9
mov rbx, qword [rbp + 0x1248]
mov rax, qword [rbx + 0x30]
cmp rax, qword [rbx + 0x38]
je 0x1400df398
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.14009ec80
add qword [rbx + 0x30], 0x20
jmp 0x1400df3a9
lea r8, [rsp + 0x78]
mov rdx, rax
lea rcx, [rbx + 0x28]
call fcn.1400aa170
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 0x1400df3e4
mov r8, r13
mov edx, 0x3a
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400df3e4
sub rbx, r15
jmp 0x1400df3eb
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x1400dfefd
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.1400a3d80
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 0x1400df45c
add r10, r9
jmp 0x1400df463
add r10, rdx
lea r9, [rbp - 0x10]
cmp r9, r10
je 0x1400df492
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 0x1400df470
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 0x1400dfef7
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.1400a3d80
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 0x1400df53a
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x1400df532
cmp cl, 9
jne 0x1400df53a
inc rax
cmp rax, rdx
jne 0x1400df525
lea rcx, [rsp + 0x58]
mov rdx, r13
test r9b, r9b
je 0x1400df559
sub rax, r8
mov rcx, r15
sub rcx, r13
cmp rcx, rax
cmovb rax, rcx
jmp 0x1400df568
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 0x1400df5b3
mov rcx, r10
mov rax, r10
jmp 0x1400df5b8
lea rax, [rsp + 0x58]
lea rdx, [r15 + rax]
cmp rdx, rcx
je 0x1400df5dd
lea rax, [rdx - 1]
movzx r8d, byte [rax]
cmp r8b, 0x20
je 0x1400df5d5
cmp r8b, 9
jne 0x1400df5dd
mov rdx, rax
cmp rax, rcx
jne 0x1400df5c1
lea rax, [rsp + 0x58]
sub r9, rdx
test r11b, r11b
je 0x1400df5ef
sub rdx, r10
jmp 0x1400df5f7
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 0x1400df6ec
mov r8, r13
lea rdx, str.content_length
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400df6e7
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 0x1400dfb19
cmp dword [r15], 0x22
je 0x1400dfb0b
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 0x1400df6e1
lea rdx, [rbp + 0xc0]
call fcn.1400e1990
mov rbx, qword [rbp + 8]
jmp 0x1400df74c
movzx eax, byte [rsp + 0x40]
lea rcx, [rbp - 0x10]
test al, al
cmovne rcx, qword [rbp - 0x10]
cmp r13, 0x11
jne 0x1400df749
mov r8, r13
lea rdx, str.transfer_encoding
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400df749
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rcx, qword [rsp + 0x58]
cmp r15, 7
jne 0x1400dfec1
mov r8, r15
lea rdx, str.chunked
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400dfec1
mov byte [rbp + 0x1268], 1
xor r13d, r13d
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400df78d
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400df784
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dfb27
call fcn.14010a808
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 0x1400df7d9
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400df7d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dfb2e
call fcn.14010a808
nop
lea rcx, [rsp + 0x78]
call fcn.1400672b0
jmp 0x1400df110
mov dword [rsp + 0x4c], 2
lea rcx, [rsp + 0x78]
call fcn.1400672b0
mov r15, qword [rbp - 0x30]
mov r13d, dword [rsp + 0x50]
movzx eax, word [rsp + 0x44]
cmp byte [rbp + 0x1268], 0
je 0x1400df9e4
test r15, r15
je 0x1400df8a8
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.1400e1a80
lea rdx, [r12 + rbx]
cmp r12, rdx
je 0x1400df866
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 0x1400df025
movzx eax, word [rsp + 0x44]
jmp 0x1400df815
cmp dword [rsp + 0x4c], 2
mov r15, qword [rbp - 0x30]
mov r13d, dword [rsp + 0x50]
jne 0x1400df025
jmp 0x1400df808
test r13b, r13b
je 0x1400df8f9
mov rcx, r14
sub rcx, r12
cmp rcx, 2
jb 0x1400df025
cmp ax, word [r12]
sete cl
test cl, cl
je 0x1400dff33
xor r13b, r13b
mov dword [rsp + 0x50], r13d
lea rdx, [r12 + 2]
cmp r12, rdx
je 0x1400df8f9
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 0x1400df935
lea r8, [r14 - 2]
cmp ax, word [r12]
sete cl
mov rdx, r12
test cl, cl
jne 0x1400df932
nop dword [rax + rax]
cmp rdx, r8
je 0x1400df935
inc rdx
cmp ax, word [rdx]
sete cl
test cl, cl
je 0x1400df920
mov rbx, rdx
cmp rbx, r14
je 0x1400df025
mov r8, rbx
mov rdx, r12
lea rcx, [rbp + 0x118]
call fcn.1400e1860
nop
lea rdx, [rbx + 2]
cmp r12, rdx
je 0x1400df96f
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 0x1400dfbef
cmp dword [r15], 0x22
je 0x1400dfbe1
mov r15d, eax
mov qword [rbp - 0x30], r15
lea rcx, [rbp + 0x118]
test eax, eax
je 0x1400dfb35
call fcn.1400672b0
movzx eax, word [rsp + 0x44]
jmp 0x1400df815
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.1400e1a80
cmp r12, r14
cmovne r14, r12
mov qword [rbp - 0x20], r14
cmp byte [rbp + 0x1240], 0
je 0x1400df025
mov rax, qword [rbx + 0x48]
sub rax, qword [rbx + 0x40]
cmp rax, qword [rbp + 0x48]
jb 0x1400df025
test r12, r12
je 0x1400dfa66
mov rdx, qword [rbp - 0x18]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x1400dfa5d
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dfc2b
mov rcx, r12
call fcn.14010a808
nop
cmp rdi, 0xffffffffffffffff
je 0x1400dfa76
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400dfab1
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dfaab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dfc7c
call fcn.14010a808
nop
lea rcx, [rbp + 0x28]
call fcn.1400672b0
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.1400672b0
nop
test r12, r12
je 0x1400dfb79
mov rdx, qword [rbp - 0x18]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x1400dfb70
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400dfb70
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14010a808
nop
cmp rdi, 0xffffffffffffffff
je 0x1400dfb89
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400dfbc7
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dfbc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400dfbc1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010a808
nop
lea rcx, [rbp + 0x28]
call fcn.1400672b0
nop
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x1400dfac6
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 0x1400dfc3b
mov rdx, qword [rbp - 0x18]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x1400dfc32
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400dfc32
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14010a808
nop
cmp rdi, 0xffffffffffffffff
je 0x1400dfc4b
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400dfc89
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dfc83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400dfc83
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010a808
nop
lea rcx, [rbp + 0x28]
call fcn.1400672b0
nop
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x1400dfac6
lea rdx, str.Unsupported_protocol
lea rcx, [rbp - 0x68]
call fcn.1400ddc40
lea rdx, [0x14014dae8]
lea rcx, [rbp - 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400ddc30
mov r8, rax
lea r9, str.Failed_to_connect
lea rcx, [rbp + 0x70]
call fcn.1400dd940
lea rdx, [0x14014d9f8]
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Only_HTTP_scheme_is_supported
lea rcx, [rbp - 0x68]
call fcn.1400ddc40
lea rdx, [0x14014dae8]
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.1400a0c20
mov rdi, rax
call fcn.1400ddc30
mov rbx, rax
call sub.WS2_32.dll_WSAGetLastError
mov edx, eax
mov r9, rdi
mov r8, rbx
lea rcx, [rbp + 0x138]
call fcn.1400dd900
lea rdx, [0x14014d9f8]
lea rcx, [rbp + 0x138]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400668e0
nop
call fcn.1400668e0
nop
call fcn.1400668e0
nop
call fcn.1400ddc30
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.1400dd940
lea rdx, [0x14014d9f8]
lea rcx, [rbp + 0xd0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp + 0x10]
call fcn.1400ddf50
call fcn.1400ddc30
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.1400dd940
lea rdx, [0x14014d9f8]
lea rcx, [rbp + 0x138]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400ddc30
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.1400dd940
lea rdx, [0x14014d9f8]
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400ddc30
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.1400dd940
lea rdx, [0x14014d9f8]
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400ddc30
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.1400dd940
lea rdx, [0x14014d9f8]
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400ddc30
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.1400dd940
lea rdx, [0x14014d9f8]
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.1400a0c20
nop
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.1400ddce0
lea rdx, [0x14014db30]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400a0670
nop
lea r8, [rsp + 0x78]
lea rdx, str.Invalid_header:
lea rcx, [rbp + 0xd0]
call fcn.1400a0c20
nop
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.1400ddce0
lea rdx, [0x14014db30]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Invalid_chunk
lea rcx, [rbp - 0x50]
call fcn.1400ddc90
lea rdx, [0x14014db30]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Unsupported_protocol
lea rcx, [rbp - 0x50]
call fcn.1400ddc40
lea rdx, [0x14014dae8]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3