Function at 0x14000cf10
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 - 0x11f0]
mov eax, 0x12f0
call fcn.140052e40
sub rsp, rax
mov rax, qword [0x140070040]
xor rax, rsp
mov qword [rbp + 0x11e0], rax
mov r12, r9
mov rbx, r8
mov qword [rsp + 0x58], rdx
mov r15, rcx
mov qword [rbp + 0x50], rdx
mov r14, qword [rbp + 0x1250]
mov edi, 1
mov dword [rbp + 0x8c], edi
lea rcx, [rbp + 0x60]
call fcn.14000c130
mov rsi, qword [rbp + 0x1258]
imul rcx, rsi, 0xf4240
add rcx, qword [rax]
mov qword [rbp - 0x60], rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a8], xmm0
movups xmmword [rbp + 0x1b8], xmm0
movups xmmword [rbp + 0x1c8], xmm0
movzx eax, byte [r15 + 1]
lea r13d, [rdi + 0x16]
test al, al
jne 0x14000cfb2
lea eax, [rdi + 1]
jmp 0x14000cfbe
cmp al, dil
jne 0x14000eace
mov eax, r13d
mov dword [rbp + 0x1ac], eax
mov dword [rbp + 0x1b0], edi
lea rcx, [r15 + 0x48]
cmp qword [r15 + 0x60], 0xf
jbe 0x14000cfd9
mov rcx, qword [r15 + 0x48]
lea rdx, [r15 + 0x68]
cmp qword [rdx + 0x18], 0xf
jbe 0x14000cfe7
mov rdx, qword [rdx]
lea r9, [rbp + 0x68]
lea r8, [rbp + 0x1a8]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x14000eaea
xorps xmm0, xmm0
movups xmmword [rbp + 0x198], xmm0
mov rax, qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x68]
mov qword [rbp - 0x68], rax
mov qword [rbp + 0x1a0], rax
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 1
jb 0x14000eb30
cmp qword [rbx + 0x18], 0xf
jbe 0x14000d04c
mov rbx, qword [rbx]
mov qword [rsp + 0x30], 1
lea rax, [0x14005a084]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rbx
lea rcx, [rbp + 0x30]
call fcn.140002870
nop
lea rdx, [r15 + 0x88]
cmp qword [r15 + 0xa0], 0xf
jbe 0x14000d08b
mov rdx, qword [r15 + 0x88]
mov r8, qword [r15 + 0x98]
lea rcx, [rbp + 0x30]
call fcn.140002290
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], 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, [rsp + 0x68]
call fcn.140002290
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x120], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x120], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14000d159
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d154
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d154
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051dfc
movdqa xmm0, xmmword [0x140060e70]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14000d1aa
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d1a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d1a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051dfc
movdqa xmm0, xmmword [0x140060e70]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov rbx, qword [r14]
mov rdi, qword [r14 + 8]
mov r14d, 0x1c01
cmp rbx, rdi
je 0x14000d2ac
lea rdx, [0x14005a088]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 2
jb 0x14000eb3c
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000d208
mov r9, qword [rbx]
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0xd0]
call fcn.140002870
bts r14d, 7
lea rdx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0xf
cmova rdx, qword [rbp + 0xd0]
mov r8, qword [rbp + 0xe0]
lea rcx, [rbp + 0x110]
call fcn.140002290
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0xf
jbe 0x14000d298
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d293
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ea11
call fcn.140051dfc
add rbx, 0x20
cmp rbx, rdi
lea rdx, [0x14005a088]
jne 0x14000d1e0
mov r8, qword [r12 + 8]
sub r8, qword [r12]
lea r9, [rbp + 0x105]
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 0x14000d2d0
lea r8, [rbp + 0x105]
mov rdx, r9
lea rcx, [rbp - 0x30]
call fcn.140002990
or r14d, 0x60
lea rcx, [r15 + 0x28]
mov rdx, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, 6
jb 0x14000eb36
cmp qword [rcx + 0x18], 0xf
jbe 0x14000d33a
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 6
lea r9, str.Host:
lea rcx, [rbp - 0x58]
call fcn.140002870
or r14d, 0x10
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._r_nContent_Length:
lea rcx, [rbp - 0x58]
call fcn.140002290
movups xmm0, xmmword [rax]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x18], xmm1
xor edi, edi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], dil
or r14d, 8
lea r9, [rbp - 0x30]
lea r8, [rbp + 8]
lea rcx, [rbp + 0xd0]
call fcn.140002680
or r14d, 2
lea r8d, [rdi + 4]
lea rdx, str._r_n_r_n
lea rcx, [rbp + 0xd0]
call fcn.140002290
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x100], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], dil
or r14d, 4
mov dword [rsp + 0x50], r14d
lea rdx, [rbp + 0xf0]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x110]
call fcn.140002290
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0xf
jbe 0x14000d470
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d46a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d46a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051dfc
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0xf
jbe 0x14000d4b4
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d4af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d4af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051dfc
movdqa xmm0, xmmword [0x140060e70]
movdqu xmmword [rbp + 0xe0], xmm0
mov byte [rbp + 0xd0], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x14000d50a
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d504
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d504
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051dfc
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x14000d548
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d543
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d543
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051dfc
movdqa xmm0, xmmword [0x140060e70]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14000d597
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d592
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d592
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051dfc
xorps xmm0, xmm0
lea rbx, [rbp + 0x110]
cmp qword [rbp + 0x128], 0xf
cmova rbx, qword [rbp + 0x110]
add rbx, qword [rbp + 0x120]
lea r14, [rbp + 0x110]
cmp qword [rbp + 0x128], 0xf
cmova r14, qword [rbp + 0x110]
movdqu xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], rdi
sub rbx, r14
je 0x14000d65c
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x14000eb42
cmp rbx, 0x1000
jb 0x14000d62b
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x14000eb48
call fcn.140051dc0
mov rcx, rax
test rax, rax
je 0x14000ea11
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000d633
mov rcx, rbx
call fcn.140051dc0
mov qword [rbp + 0xd0], rax
lea rdi, [rax + rbx]
mov qword [rbp + 0xe0], rdi
mov r8, rbx
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0xd8], rdi
jmp 0x14000d663
mov rdi, qword [rbp + 0xd8]
mov r8, qword [r12]
mov r9, qword [r12 + 8]
sub r9, r8
mov rdx, rdi
lea rcx, [rbp + 0xd0]
call fcn.14001d990
movzx eax, byte [r15 + 1]
test al, al
jne 0x14000d68f
mov r13d, 2
jmp 0x14000d697
cmp al, 1
jne 0x14000ea89
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 - 0x70], rax
cmp rax, 0xffffffffffffffff
je 0x14000eb4e
mov dword [rbp + 0x8c], ebx
lea r8, [rbp + 0x8c]
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x14000eb81
movabs rbx, 0x431bde82d7b634db
test rsi, rsi
js 0x14000d72a
lea rcx, [rsp + 0x60]
call fcn.14000c130
mov r12, qword [rbp - 0x60]
mov rcx, r12
sub rcx, qword [rsp + 0x60]
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 0x14000d738
mov rbx, 0xffffffffffffffff
mov r12, qword [rbp - 0x60]
xor r13d, r13d
mov rax, qword [rbp - 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 0x14000d779
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000d7d4
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14000d758
mov ebx, 1
mov r14, qword [rbp + 0xd8]
mov r15, qword [rbp + 0xd0]
sub r14, r15
je 0x14000d8b9
test rsi, rsi
js 0x14000d845
lea rcx, [rsp + 0x60]
call fcn.14000c130
mov rcx, r12
sub rcx, qword [rsp + 0x60]
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test rdx, rdx
cmovle rdx, r13
jmp 0x14000d84c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14000ebf2
mov r8, rbx
mov ebx, 1
mov edx, ebx
lea rcx, [rbp - 0x70]
call fcn.14000c490
mov dword [rbp + 0x88], 4
lea rax, [rbp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x84]
mov edx, 0xffff
mov r8d, 0x1007
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x14000ebbe
mov edx, dword [rbp + 0x84]
test edx, edx
jne 0x14000eaa5
jmp 0x14000d77e
mov rdx, 0xffffffffffffffff
mov r8, rdx
mov edx, ebx
lea rcx, [rbp - 0x70]
call fcn.14000c490
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 0x14000d8a4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000d89b
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 0x14000d873
jmp 0x14000d8a4
cmp ebx, 0xffffffff
je 0x14000ec26
movsxd rax, ebx
add r15, rax
sub r14, rax
je 0x14000d8b9
mov ebx, 1
jmp 0x14000d795
mov word [rbp + 0x80], 0xa0d
mov rax, qword [rsp + 0x58]
mov dword [rax], r13d
lea rcx, [rax + 8]
mov qword [rbp], 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 + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
mov dword [rbp + 0x8c], eax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf0], xmm1
mov qword [rbp + 0x100], r13
mov dword [rbp + 0x88], r13d
mov byte [rsp + 0x41], 0
mov qword [rsp + 0x60], r13
mov byte [rsp + 0x40], 0
mov r15, r13
mov qword [rbp - 0x78], r13
xor r12b, r12b
mov dword [rbp + 0x84], r12d
mov r14, qword [rbp + 0xf8]
mov r13, qword [rbp + 0xf0]
test rsi, rsi
js 0x14000d996
lea rcx, [rbp - 8]
call fcn.14000c130
mov rcx, qword [rbp - 0x60]
sub rcx, qword [rbp - 8]
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 0x14000d99d
mov rdx, 0xffffffffffffffff
mov r8, rdx
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.14000c490
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x1e0]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14000da08
nop dword [rax + rax]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000d9ff
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x1e0]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
je 0x14000d9d0
jmp 0x14000da08
cmp ebx, 0xffffffff
je 0x14000ec5a
movsxd r9, ebx
test ebx, ebx
je 0x14000e98a
lea r8, [rbp + 0x1e0]
mov rdx, r14
lea rcx, [rbp + 0xf0]
call fcn.14001d990
mov r13, qword [rbp + 0xf0]
mov r14, qword [rbp + 0xf8]
mov qword [rsp + 0x48], r14
cmp dword [rbp + 0x88], 2
je 0x14000e422
xor r12d, r12d
nop dword [rax]
mov rbx, r14
mov rax, r14
sub rax, r13
cmp rax, 2
jl 0x14000da9c
lea rdx, [r14 - 2]
movzx eax, word [rbp + 0x80]
cmp ax, word [r13]
sete al
mov rcx, r13
test al, al
jne 0x14000da99
nop dword [rax]
cmp rcx, rdx
je 0x14000da9c
inc rcx
movzx eax, word [rbp + 0x80]
cmp ax, word [rcx]
sete al
test al, al
je 0x14000da80
mov rbx, rcx
cmp rbx, r14
je 0x14000e4ac
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
cmp r13, rbx
jne 0x14000dad6
mov rcx, r12
mov qword [rbp + 0xa0], rcx
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xa8], rdx
mov byte [rbp + 0x90], 0
jmp 0x14000dbe8
mov r12, rbx
sub r12, r13
xor eax, eax
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], reloc.WS2_32.dll_ntohs
movabs rcx, 0x7fffffffffffffff
cmp r12, rcx
ja 0x14000ed08
mov r15d, reloc.WS2_32.dll_ntohs
cmp r12, r15
jbe 0x14000dba2
mov r15, r12
or r15, 0xf
cmp r15, rcx
jbe 0x14000db31
mov r15, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x14000db58
cmp r15, 0x16
mov ecx, reloc.WS2_32.dll_shutdown
cmovb r15, rcx
lea rcx, [r15 + 1]
cmp rcx, 0x1000
jb 0x14000db88
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000ec8e
mov rcx, rax
call fcn.140051dc0
mov rcx, rax
test rax, rax
je 0x14000e811
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp + 0x90], rax
mov qword [rbp + 0xa8], r15
jmp 0x14000dba9
test rcx, rcx
je 0x14000db92
call fcn.140051dc0
mov qword [rbp + 0x90], rax
mov qword [rbp + 0xa8], r15
jmp 0x14000dba9
mov rax, qword [rbp + 0x90]
lea r14, [rbp + 0x90]
cmp r15, 0xf
cmova r14, rax
mov r8, r12
mov rdx, r13
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0xa0], r12
mov byte [r14 + r12], 0
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0xa0]
mov r14, qword [rsp + 0x48]
xor r12d, r12d
add rbx, 2
cmp r13, rbx
je 0x14000dc1f
sub r14, rbx
mov r8, r14
mov rdx, rbx
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
add r14, r13
mov qword [rsp + 0x48], r14
mov qword [rbp + 0xf8], r14
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0xa0]
test rcx, rcx
je 0x14000e3d3
mov r15d, dword [rbp + 0x88]
test r15d, r15d
jne 0x14000de87
mov dword [rbp + 0x88], 1
lea rax, [rbp + 0x90]
cmp rdx, 0xf
seta r9b
cmova rax, qword [rbp + 0x90]
lea rdx, [rcx + rax]
lea rcx, [rbp + 0x90]
test r9b, r9b
cmovne rcx, qword [rbp + 0x90]
mov r8b, 0x20
call fcn.140051bf0
mov rbx, rax
lea rax, [rbp + 0x90]
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
seta r10b
mov r8, qword [rbp + 0x90]
cmova rax, r8
mov r9, qword [rbp + 0xa0]
add rax, r9
cmp rbx, rax
je 0x14000e38b
inc rbx
lea rdx, [rbp + 0x90]
test r10b, r10b
cmovne rdx, r8
add rdx, r9
mov r8b, 0x20
mov rcx, rbx
call fcn.140051bf0
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
mov qword [rbp + 0x160], r12
mov qword [rbp + 0x168], r12
cmp rbx, rax
jne 0x14000dd08
mov qword [rbp + 0x160], r12
mov qword [rbp + 0x168], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x150], r15b
jmp 0x14000dd1e
mov r8, r14
sub r8, rbx
mov rdx, rbx
lea rcx, [rbp + 0x150]
call fcn.14001cff0
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r15, rax
lea rbx, [rbp + 0x150]
cmp qword [rbp + 0x168], 0xf
cmova rbx, qword [rbp + 0x150]
mov dword [rax], r12d
mov r8d, 0xa
lea rdx, [rbp + 0x78]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp + 0x78]
je 0x14000e7d9
cmp dword [r15], 0x22
je 0x14000e7cb
mov rcx, qword [rsp + 0x58]
mov dword [rcx], eax
lea rax, [rbp + 0x90]
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
seta r9b
mov r8, qword [rbp + 0x90]
cmova rax, r8
mov rcx, qword [rbp + 0xa0]
add rax, rcx
cmp r14, rax
je 0x14000de3c
lea rdx, [r14 + 1]
lea rax, [rbp + 0x90]
test r9b, r9b
cmovne rax, r8
lea r8, [rcx + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
cmp rdx, r8
jne 0x14000ddde
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], 0
jmp 0x14000ddeb
sub r8, rdx
lea rcx, [rsp + 0x68]
call fcn.14001cff0
lea rdx, [rsp + 0x68]
mov rcx, qword [rbp]
call fcn.14001c0e0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14000de35
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000de30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e7bd
call fcn.140051dfc
mov rdx, qword [rbp + 0xa8]
mov rax, qword [rbp + 0x168]
cmp rax, 0xf
jbe 0x14000e38b
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000de7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e7c4
call fcn.140051dfc
jmp 0x14000e384
cmp r15d, 1
jne 0x14000e38b
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx + 0x30]
cmp rax, qword [rbx + 0x38]
je 0x14000deb6
lea rdx, [rbp + 0x90]
mov rcx, rax
call fcn.140002160
add qword [rbx + 0x30], 0x20
jmp 0x14000dec9
lea r8, [rbp + 0x90]
mov rdx, rax
lea rcx, [rbx + 0x28]
call fcn.14001e430
lea r14, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
seta r13b
mov r12, qword [rbp + 0x90]
cmova r14, r12
mov r15, qword [rbp + 0xa0]
test r15, r15
je 0x14000df10
mov r8, r15
mov edx, 0x3a
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14000df10
sub rbx, r14
jmp 0x14000df17
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x14000ecd1
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
xor eax, eax
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], rax
mov r8, rbx
cmp r15, rbx
cmovb r8, r15
lea rdx, [rbp + 0x90]
test r13b, r13b
cmovne rdx, r12
lea rcx, [rbp + 0x130]
call fcn.14001cff0
mov r14d, dword [rsp + 0x50]
bts r14d, 8
mov dword [rbp + 0x8c], r14d
lea r11, [rbp + 0x130]
cmp qword [rbp + 0x148], 0xf
seta cl
mov r9, qword [rbp + 0x130]
cmova r11, r9
lea rdx, [rbp + 0x130]
mov r10, qword [rbp + 0x140]
test cl, cl
je 0x14000dfa4
add r10, r9
jmp 0x14000dfae
add r10, rdx
lea r9, [rbp + 0x130]
cmp r9, r10
je 0x14000dfe2
sub r11, r9
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 0x14000dfc0
inc rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
xor r12d, r12d
mov qword [rbp + 0xc0], r12
mov qword [rbp + 0xc8], r12
mov rax, qword [rbp + 0xa0]
cmp rax, rbx
jb 0x14000eccb
sub rax, rbx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rdx, qword [rbp + 0x90]
add rdx, rbx
lea rcx, [rbp + 0xb0]
call fcn.14001cff0
bts r14d, 9
mov dword [rsp + 0x50], r14d
mov dword [rbp + 0x8c], r14d
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0xf
seta r9b
mov r8, qword [rbp + 0xb0]
cmova rdx, r8
mov r15, qword [rbp + 0xc0]
add rdx, r15
lea rax, [rbp + 0xb0]
test r9b, r9b
cmovne rax, r8
cmp rax, rdx
je 0x14000e0a8
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x14000e0a0
cmp cl, 9
jne 0x14000e0a8
inc rax
cmp rax, rdx
jne 0x14000e093
lea rcx, [rbp + 0xb0]
mov rdx, r12
test r9b, r9b
je 0x14000e0c9
sub rax, r8
mov rcx, r15
sub rcx, r12
cmp rcx, rax
cmovb rax, rcx
jmp 0x14000e0da
sub rax, rcx
cmp r15, rax
cmovb rax, r15
lea r8, [rbp + 0xb0]
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 + 0xc0], r15
lea r9, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0xf
seta r11b
mov r10, qword [rbp + 0xb0]
cmova r9, r10
add r9, r15
lea rcx, [rbp + 0xb0]
test r11b, r11b
je 0x14000e12f
mov rcx, r10
mov rax, r10
jmp 0x14000e136
lea rax, [rbp + 0xb0]
lea rdx, [rax + r15]
cmp rdx, rcx
je 0x14000e15c
nop
lea rax, [rdx - 1]
movzx r8d, byte [rax]
cmp r8b, 0x20
je 0x14000e154
cmp r8b, 9
jne 0x14000e15c
mov rdx, rax
cmp rax, rcx
jne 0x14000e140
lea rax, [rbp + 0xb0]
sub r9, rdx
test r11b, r11b
je 0x14000e170
sub rdx, r10
jmp 0x14000e17a
sub rdx, rax
lea r10, [rbp + 0xb0]
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 + 0xc0], r15
lea rcx, [rbp + 0x130]
mov rbx, qword [rbp + 0x148]
cmp rbx, 0xf
seta r12b
cmova rcx, qword [rbp + 0x130]
mov r14, qword [rbp + 0x140]
cmp r14, 0xe
jne 0x14000e276
mov r8, r14
lea rdx, str.content_length
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000e276
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rbx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0xf
cmova rbx, qword [rbp + 0xb0]
xor r12d, r12d
mov dword [rax], r12d
lea r8d, [r12 + 0xa]
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
cmp rbx, qword [rbp + 0x70]
je 0x14000e7f5
cmp dword [r14], 0x22
je 0x14000e7e7
mov edx, eax
mov qword [rsp + 0x60], rdx
mov byte [rsp + 0x41], 1
mov qword [rbp + 0x190], rdx
mov rcx, qword [rsp + 0x58]
add rcx, 0x40
mov rax, qword [rcx + 0x10]
sub rax, qword [rcx]
cmp rdx, rax
jbe 0x14000e26d
lea rdx, [rbp + 0x190]
call fcn.14001cda0
mov rbx, qword [rbp + 0x148]
jmp 0x14000e2e1
lea rcx, [rbp + 0x130]
test r12b, r12b
cmovne rcx, qword [rbp + 0x130]
cmp r14, 0x11
jne 0x14000e2de
mov r8, r14
lea rdx, str.transfer_encoding
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000e2de
lea rcx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0xf
cmova rcx, qword [rbp + 0xb0]
cmp r15, 7
jne 0x14000ec94
mov r8, r15
lea rdx, str.chunked
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000ec94
mov byte [rsp + 0x40], 1
xor r12d, r12d
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x14000e329
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e31d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e803
call fcn.140051dfc
mov rbx, qword [rbp + 0x148]
mov qword [rbp + 0xc0], r12
mov qword [rbp + 0xc8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xb0], 0
cmp rbx, 0xf
jbe 0x14000e37d
lea rdx, [rbx + 1]
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e378
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e80a
call fcn.140051dfc
mov r13, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
mov r14, qword [rsp + 0x48]
jbe 0x14000da50
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e3c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e811
call fcn.140051dfc
jmp 0x14000da50
mov dword [rbp + 0x88], 2
cmp rdx, 0xf
jbe 0x14000e417
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e412
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e811
call fcn.140051dfc
mov r15, qword [rbp - 0x78]
mov r12d, dword [rbp + 0x84]
cmp byte [rsp + 0x40], 0
je 0x14000e656
nop dword [rax]
test r15, r15
je 0x14000e4c9
mov rax, r14
sub rax, r13
mov rbx, r15
cmp rax, r15
cmovb rbx, rax
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx + 0x48]
mov r9, rbx
mov r8, r13
add rcx, 0x40
call fcn.14001d990
lea rdx, [rbx + r13]
cmp r13, rdx
je 0x14000e487
sub r14, rdx
mov r8, r14
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
add r14, r13
mov qword [rsp + 0x48], r14
mov qword [rbp + 0xf8], r14
sub r15, rbx
mov qword [rbp - 0x78], r15
movzx r12d, r12b
mov eax, 1
cmove r12d, eax
mov dword [rbp + 0x84], r12d
cmp r13, r14
jne 0x14000e430
jmp 0x14000d957
cmp dword [rbp + 0x88], 2
mov r15, qword [rbp - 0x78]
mov r12d, dword [rbp + 0x84]
jne 0x14000d957
jmp 0x14000e41b
test r12b, r12b
je 0x14000e525
mov rax, r14
sub rax, r13
cmp rax, 2
jb 0x14000d957
movzx eax, word [rbp + 0x80]
cmp ax, word [r13]
sete al
test al, al
je 0x14000ed0e
xor r12b, r12b
mov dword [rbp + 0x84], r12d
lea rdx, [r13 + 2]
cmp r13, rdx
je 0x14000e525
sub r14, rdx
mov r8, r14
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
add r14, r13
mov qword [rsp + 0x48], r14
mov qword [rbp + 0xf8], r14
mov rbx, r14
mov rax, r14
sub rax, r13
cmp rax, 2
jl 0x14000e56c
lea rdx, [r14 - 2]
movzx eax, word [rbp + 0x80]
cmp ax, word [r13]
sete al
mov rcx, r13
test al, al
jne 0x14000e569
nop
cmp rcx, rdx
je 0x14000e56c
inc rcx
movzx eax, word [rbp + 0x80]
cmp ax, word [rcx]
sete al
test al, al
je 0x14000e550
mov rbx, rcx
cmp rbx, r14
je 0x14000d957
mov r8, rbx
mov rdx, r13
lea rcx, [rbp + 0x170]
call fcn.14001cad0
nop
lea rdx, [rbx + 2]
cmp r13, rdx
je 0x14000e5ae
sub r14, rdx
mov r8, r14
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
add r14, r13
mov qword [rsp + 0x48], r14
mov qword [rbp + 0xf8], r14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rbx, [rbp + 0x170]
cmp qword [rbp + 0x188], 0xf
cmova rbx, qword [rbp + 0x170]
xor eax, eax
mov dword [r14], eax
lea r8d, [rax + 0x10]
lea rdx, [rbp + 0x60]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
cmp rbx, qword [rbp + 0x60]
je 0x14000e97c
cmp dword [r14], 0x22
je 0x14000e96e
mov r15d, eax
mov qword [rbp - 0x78], r15
mov rdx, qword [rbp + 0x188]
test eax, eax
je 0x14000e818
cmp rdx, 0xf
mov r14, qword [rsp + 0x48]
jbe 0x14000e430
inc rdx
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e64c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e849
call fcn.140051dfc
jmp 0x14000e430
mov r9, r14
sub r9, r13
mov rbx, qword [rsp + 0x58]
mov rdx, qword [rbx + 0x48]
mov r8, r13
lea rcx, [rbx + 0x40]
call fcn.14001d990
cmp r13, r14
cmovne r14, r13
mov qword [rbp + 0xf8], r14
cmp byte [rsp + 0x41], 0
je 0x14000d957
mov rax, qword [rbx + 0x48]
sub rax, qword [rbx + 0x40]
cmp rax, qword [rsp + 0x60]
jb 0x14000d957
test r13, r13
je 0x14000e6da
mov rdx, qword [rbp + 0x100]
sub rdx, r13
mov rax, r13
cmp rdx, 0x1000
jb 0x14000e6d1
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e9ba
mov rcx, r13
call fcn.140051dfc
nop
cmp rdi, 0xffffffffffffffff
je 0x14000e6ea
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x14000e72b
mov rdx, qword [rbp + 0xe0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e725
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ea11
call fcn.140051dfc
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x14000e76c
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e767
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ea56
call fcn.140051dfc
movdqa xmm0, xmmword [0x140060e70]
movdqu xmmword [rbp + 0x120], xmm0
mov byte [rbp + 0x110], 0
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
mov rax, qword [rsp + 0x58]
mov rcx, qword [rbp + 0x11e0]
xor rcx, rsp
call fcn.140051da0
mov rbx, qword [rsp + 0x1348]
add rsp, 0x12f0
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
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rdx, 0xf
jbe 0x14000e855
inc rdx
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e850
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e850
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051dfc
xor eax, eax
mov qword [rbp + 0x180], rax
mov qword [rbp + 0x188], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x170], al
test r13, r13
je 0x14000e8af
mov rdx, qword [rbp + 0x100]
sub rdx, r13
mov rax, r13
cmp rdx, 0x1000
jb 0x14000e8a6
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e8a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.140051dfc
nop
cmp rdi, 0xffffffffffffffff
je 0x14000e8bf
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x14000e903
mov rdx, qword [rbp + 0xe0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e8fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e8fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051dfc
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x14000e947
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e942
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e942
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051dfc
movdqa xmm0, xmmword [0x140060e70]
movdqu xmmword [rbp + 0x120], xmm0
mov byte [rbp + 0x110], 0
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x14000e78e
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 0x14000e9ca
mov rdx, qword [rbp + 0x100]
sub rdx, r13
mov rax, r13
cmp rdx, 0x1000
jb 0x14000e9c1
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e9c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.140051dfc
nop
cmp rdi, 0xffffffffffffffff
je 0x14000e9da
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x14000ea1e
mov rdx, qword [rbp + 0xe0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ea18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ea18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051dfc
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x14000ea62
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ea5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ea5d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051dfc
movdqa xmm0, xmmword [0x140060e70]
movdqu xmmword [rbp + 0x120], xmm0
mov byte [rbp + 0x110], 0
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x14000e78e
lea rcx, [rsp + 0x68]
call fcn.14000c270
lea rdx, [0x14006c640]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400094b0
mov r8, rax
lea r9, str.Failed_to_connect
lea rcx, [rbp - 0x58]
call fcn.140009170
lea rdx, [0x14006c550]
lea rcx, [rbp - 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rsp + 0x68]
call fcn.14000c270
lea rdx, [0x14006c640]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea r8, [r15 + 0x48]
lea rdx, str.Failed_to_get_address_info_of
lea rcx, [rbp - 0x30]
call fcn.140002310
mov rdi, rax
call fcn.1400094b0
mov rbx, rax
call fcn.14000c3e0
mov edx, eax
mov r9, rdi
mov r8, rbx
lea rcx, [rbp + 8]
call fcn.140009130
lea rdx, [0x14006c550]
lea rcx, [rbp + 8]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140001650
nop
call fcn.140001650
nop
call fcn.140001650
int3
call fcn.14001c370
int3
call fcn.1400015b0
nop
call fcn.1400094b0
mov rbx, rax
call fcn.14000c3e0
mov edx, eax
lea r9, str.Failed_to_create_socket
mov r8, rbx
lea rcx, [rbp - 0x30]
call fcn.140009170
lea rdx, [0x14006c550]
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x70]
call fcn.14000c600
call fcn.1400094b0
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 + 8]
call fcn.140009170
lea rdx, [0x14006c550]
lea rcx, [rbp + 8]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400094b0
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 - 0x58]
call fcn.140009170
lea rdx, [0x14006c550]
lea rcx, [rbp - 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400094b0
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 - 0x58]
call fcn.140009170
lea rdx, [0x14006c550]
lea rcx, [rbp - 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400094b0
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 - 0x58]
call fcn.140009170
lea rdx, [0x14006c550]
lea rcx, [rbp - 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400094b0
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 - 0x30]
call fcn.140009170
lea rdx, [0x14006c550]
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400015b0
nop
lea r8, [rbp + 0xb0]
lea rdx, str.Unsupported_transfer_encoding:
lea rcx, [rbp - 0x30]
call fcn.140002310
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14000c350
lea rdx, [0x14006c688]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.14001c740
nop
lea r8, [rbp + 0x90]
lea rdx, str.Invalid_header:
lea rcx, [rbp - 0x30]
call fcn.140002310
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14000c350
lea rdx, [0x14006c688]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140001650
int3
lea rdx, str.Invalid_chunk
lea rcx, [rsp + 0x68]
call fcn.14000c2e0
lea rdx, [0x14006c688]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
int3