Function at 0x140005e90
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 - 0x1150]
mov eax, 0x1250
call fcn.140056010
sub rsp, rax
mov rax, qword [0x1400d3010]
xor rax, rsp
mov qword [rbp + 0x1140], rax
mov qword [rsp + 0x50], r9
mov r14, r8
mov qword [rbp - 0x60], rdx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
mov qword [rbp - 0x50], rdx
mov rax, qword [rbp + 0x11b0]
mov qword [rsp + 0x40], rax
xor r12d, r12d
mov dword [rbp - 0x48], r12d
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov rsi, qword [rbp + 0x11b8]
imul rcx, rsi, 0xf4240
add rax, rcx
mov qword [rbp - 0x68], rax
lea rdx, [rdi + 8]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140005f42
mov rdx, qword [rdx]
cmp rax, 4
jne 0x1400079c0
mov rcx, r12
lea r8, str.http
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140005f79
cmp rcx, 4
jne 0x140005f60
mov eax, r12d
jmp 0x140005f7e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400079c0
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm0
movzx eax, byte [rdi + 1]
test al, al
jne 0x140005fa4
mov eax, 2
jmp 0x140005fb1
cmp al, 1
jne 0x140007962
mov eax, reloc.WS2_32.dll_socket
mov dword [rbp - 4], eax
mov eax, 1
mov dword [rbp], eax
lea rdx, [rdi + 0x48]
cmp qword [rdx + 0x18], 0x10
jb 0x140005fca
mov rdx, qword [rdx]
lea r13, [rdi + 0x28]
mov qword [rsp + 0x48], r13
mov rcx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x140005fe1
mov rcx, qword [r13]
lea r9, [rbp - 0x40]
lea r8, [rbp - 8]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x1400079e7
mov rax, qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x18], rax
mov r15, qword [r14 + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 1
jb 0x140007a35
cmp qword [r14 + 0x18], 0x10
jb 0x140006036
mov r14, qword [r14]
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], r12
lea r12, [r15 + 1]
mov ebx, select
lea rdi, [rbp + 0x28]
movabs rax, 0x8000000000000027
lea edx, [rbx + 7]
cmp r12, rbx
jbe 0x1400060c6
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x140006087
mov rbx, rcx
mov rcx, rax
call fcn.140055130
test rax, rax
je 0x1400060aa
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400060c2
cmp rbx, rdx
cmovb rbx, rdx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400060b1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140007989
jmp 0x14000606c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400060c0
call fcn.140055130
mov rdi, rax
jmp 0x1400060c2
xor edi, edi
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], rbx
mov r8, r15
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r15], 0x20
mov byte [rdi + r12], 0
mov r12, qword [rsp + 0x58]
lea rdx, [r12 + 0x68]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400060fe
mov rdx, qword [rdx]
lea rcx, [rbp + 0x28]
call fcn.14000bc60
xor ecx, ecx
mov qword [rbp + 0xa0], rcx
mov qword [rbp + 0xa8], rcx
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa0], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], select
mov byte [rax], cl
lea r8d, [rcx + 0xb]
lea rdx, str._HTTP_1.1_r_n
lea rcx, [rbp + 0x90]
call fcn.14000bc60
xor r11d, r11d
mov qword [rbp + 0xe0], r11
mov qword [rbp + 0xe8], r11
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe0], xmm1
mov qword [rax + 0x10], r11
mov qword [rax + 0x18], select
mov byte [rax], r11b
mov dword [rsp + 0x3c], select
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x1400061d5
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400061cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400061cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400553bc
xor r11d, r11d
mov qword [rbp + 0xa0], r11
mov qword [rbp + 0xa8], select
mov byte [rbp + 0x90], 0
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x14000622f
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006227
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006227
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400553bc
xor r11d, r11d
mov qword [rbp + 0x38], r11
mov qword [rbp + 0x40], select
mov byte [rbp + 0x28], 0
mov rax, qword [rsp + 0x40]
mov r14, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x40], rax
cmp r14, rax
je 0x1400063c0
nop dword [rax]
mov r12, qword [r14 + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r12
cmp rax, 2
jb 0x140007a41
mov r13, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14000628b
mov r13, qword [r14]
mov qword [rbp + 0x60], r11
mov qword [rbp + 0x68], r11
lea r15, [r12 + 2]
mov ebx, select
lea rdi, [rbp + 0x50]
cmp r15, rbx
jbe 0x14000631d
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400062c1
mov rbx, rcx
movabs rax, 0x8000000000000027
jmp 0x1400062e8
cmp rbx, 0x16
mov eax, socket
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140006307
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140007a4d
mov rcx, rax
call fcn.140055130
test rax, rax
je 0x1400078e8
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140006319
test rcx, rcx
je 0x140006316
call fcn.140055130
mov rdi, rax
jmp 0x140006319
mov rdi, r11
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], rbx
mov r8, r12
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0xa0d
mov word [r12 + rdi], ax
mov byte [rdi + r15], 0
or dword [rsp + 0x3c], 0x10
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x60]
lea rcx, [rbp + 0xd0]
call fcn.14000bc60
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x1400063a1
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000639c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400078e8
call fcn.1400553bc
add r14, 0x20
cmp r14, qword [rsp + 0x40]
mov r11d, 0
jne 0x140006260
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 8]
sub r8, qword [rax]
lea r9, [rbp + 0x85]
movabs r10, 0xcccccccccccccccd
nop dword [rax]
dec r9
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8, rdx
test rdx, rdx
jne 0x1400063e0
mov qword [rbp + 0xc0], r11
mov qword [rbp + 0xc8], select
mov byte [rbp + 0xb0], dl
lea rax, [rbp + 0x85]
cmp r9, rax
je 0x14000644a
lea r8, [rbp + 0x85]
sub r8, r9
mov rdx, r9
lea rcx, [rbp + 0xb0]
call fcn.140002960
xor r11d, r11d
mov r15, qword [r13 + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 6
jb 0x140007a3b
cmp qword [r13 + 0x18], 0x10
jb 0x140006473
mov r13, qword [r13]
mov qword [rbp + 0x60], r11
mov qword [rbp + 0x68], r11
lea r14, [r15 + 6]
mov ebx, select
lea rdi, [rbp + 0x50]
cmp r14, rbx
jbe 0x140006504
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400064c5
mov rbx, rcx
movabs rax, 0x8000000000000027
mov rcx, rax
call fcn.140055130
test rax, rax
je 0x140006712
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140006500
cmp rbx, 0x16
mov eax, socket
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400064ee
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000798f
jmp 0x1400064a6
test rcx, rcx
je 0x1400064fd
call fcn.140055130
mov rdi, rax
jmp 0x140006500
mov rdi, r11
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x68], rbx
mov eax, dword [str.Host:]
mov dword [rdi], eax
movzx eax, word [0x1400afe30]
mov word [rdi + 4], ax
lea rcx, [rdi + 6]
mov r8, r15
mov rdx, r13
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._r_nContent_Length:
lea rcx, [rbp + 0x50]
call fcn.14000bc60
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x118], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x128], xmm1
xor r13d, r13d
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], select
mov byte [rax], r13b
lea r9, [rbp + 0xb0]
lea r8, [rbp + 0x118]
lea rcx, [rbp + 0xf0]
call fcn.14000d580
nop
lea r8d, [r13 + 4]
lea rdx, str._r_n_r_n
lea rcx, [rbp + 0xf0]
call fcn.14000bc60
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], select
mov byte [rax], r13b
or dword [rsp + 0x3c], 0x7e0
lea rdx, [rbp + 0x70]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0xd0]
call fcn.14000bc60
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x14000663e
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006638
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006638
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400553bc
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x140006682
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000667d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000667d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400553bc
mov qword [rbp + 0x100], r13
mov qword [rbp + 0x108], select
mov byte [rbp + 0xf0], 0
mov rdx, qword [rbp + 0x130]
cmp rdx, 0x10
jb 0x1400066e0
inc rdx
mov rcx, qword [rbp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400066da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400066da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400553bc
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x14000671e
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006719
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006719
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400553bc
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], select
mov byte [rbp + 0x50], 0
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x140006772
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000676d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000676d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400553bc
lea r15, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0x10
cmovae r15, qword [rbp + 0xd0]
add r15, qword [rbp + 0xe0]
lea r14, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0x10
cmovae r14, qword [rbp + 0xd0]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], r13
mov rdi, r15
sub rdi, r14
je 0x140006840
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x140007a47
cmp rdi, 0x1000
jb 0x140006806
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140007a4d
call fcn.140055130
test rax, rax
je 0x1400078e8
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140006811
mov rcx, rdi
call fcn.140055130
mov rbx, rax
mov qword [rbp + 0xb0], rbx
lea rax, [rbx + rdi]
mov qword [rbp + 0xc0], rax
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
sub rbx, r14
add rbx, r15
mov qword [rbp + 0xb8], rbx
jmp 0x140006847
mov rbx, qword [rbp + 0xb8]
mov rax, qword [rsp + 0x50]
mov r9, qword [rax + 8]
mov r8, qword [rax]
mov rdx, rbx
lea rcx, [rbp + 0xb0]
call fcn.14000d9c0
movzx eax, byte [r12 + 1]
test al, al
jne 0x140006873
mov ecx, 2
jmp 0x140006880
cmp al, 1
jne 0x140007c55
mov ecx, reloc.WS2_32.dll_socket
mov ebx, 1
lea r8d, [rbx + 5]
mov edx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
mov qword [rsp + 0x50], rax
cmp rax, 0xffffffffffffffff
je 0x140007a53
mov dword [rsp + 0x48], ebx
lea r8, [rsp + 0x48]
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x140007a8c
movabs r14, 0x431bde82d7b634db
test rsi, rsi
js 0x140006925
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov r12, qword [rbp - 0x68]
mov rcx, r12
sub rcx, rax
mov rax, r14
imul rcx
mov rbx, rdx
sar rbx, 0x12
mov rax, rbx
shr rax, 0x3f
add rbx, rax
test rbx, rbx
cmovle rbx, r13
jmp 0x140006930
mov rbx, 0xffffffffffffffff
mov r12, qword [rbp - 0x68]
mov rax, qword [rbp - 0x58]
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 0x140006975
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1400069ed
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x140006950
mov r14, qword [rbp + 0xb8]
mov r15, qword [rbp + 0xb0]
sub r14, r15
je 0x140006ac5
nop dword [rax]
test rsi, rsi
js 0x140006a55
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cqo
idiv rbx
imul r8, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rcx, r12
sub rcx, rax
sub rcx, r8
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test rdx, rdx
cmovle rdx, r13
jmp 0x140006a5c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140007b04
mov r8, rbx
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.140005550
mov dword [rsp + 0x38], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov r8d, 0x1007
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x140007ad0
mov ebx, dword [rsp + 0x40]
test ebx, ebx
jne 0x140007995
jmp 0x140006975
mov rdx, 0xffffffffffffffff
mov r8, rdx
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.140005550
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 0x140006aad
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x140006aad
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 0x140006a87
cmp ebx, 0xffffffff
je 0x140007b38
movsxd rax, ebx
add r15, rax
sub r14, rax
jne 0x140006990
mov word [rsp + 0x30], 0xa0d
mov dword [rsp + 0x60], r13d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
movdqu xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r13
mov r15d, r13d
mov dword [rsp + 0x38], r13d
mov byte [rsp + 0x35], r15b
mov r14, r13
mov qword [rsp + 0x40], r13
mov byte [rsp + 0x34], r14b
mov qword [rsp + 0x58], r13
xor al, al
mov dword [rsp + 0x48], eax
mov r13, qword [rbp + 0x78]
mov r12, qword [rbp + 0x70]
test rsi, rsi
js 0x140006b83
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov rcx, qword [rbp - 0x68]
sub rcx, rax
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 0x140006b8a
mov rdx, 0xffffffffffffffff
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140005550
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x140]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140006bed
nop dword [rax]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x140006bed
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x140]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
je 0x140006bc0
cmp ebx, 0xffffffff
je 0x140007c1b
movsxd rax, ebx
test ebx, ebx
je 0x140007802
lea r9, [rbp + 0x140]
add r9, rax
lea r8, [rbp + 0x140]
mov rdx, r13
lea rcx, [rbp + 0x70]
call fcn.14000d9c0
mov r12, qword [rbp + 0x70]
mov r13, qword [rbp + 0x78]
cmp r15d, 2
je 0x140007378
mov rbx, r12
mov rax, r13
sub rax, r12
cmp rax, 2
jl 0x140007364
lea rcx, [r13 - 2]
movzx eax, word [r12]
cmp ax, word [rsp + 0x30]
sete al
test al, al
jne 0x140006c7b
nop dword [rax + rax]
cmp rbx, rcx
je 0x140007364
inc rbx
movzx eax, word [rbx]
cmp ax, word [rsp + 0x30]
sete al
test al, al
je 0x140006c60
cmp rbx, r13
je 0x140007364
xor r15d, r15d
mov qword [rbp + 0x60], r15
mov r14d, select
mov qword [rbp + 0x68], r14
mov byte [rbp + 0x50], r15b
mov rdx, rbx
sub rdx, r12
cmp rdx, 0x10
jb 0x140006cb6
lea rcx, [rbp + 0x50]
call fcn.14000de60
mov qword [rbp + 0x60], r15
mov r14, qword [rbp + 0x68]
mov r15, r12
lea rax, [rbp + 0x50]
mov qword [rbp - 0x28], rax
cmp r12, rbx
je 0x140006d12
nop word [rax + rax]
movzx r9d, byte [r15]
mov rcx, qword [rbp + 0x60]
cmp rcx, r14
jae 0x140006cfd
lea rax, [rcx + 1]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x50]
cmp r14, 0x10
cmovae rax, qword [rbp + 0x50]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140006d06
lea rcx, [rbp + 0x50]
call fcn.140002c40
inc r15
mov r14, qword [rbp + 0x68]
cmp r15, rbx
jne 0x140006cd0
lea rdx, [rbx + 2]
cmp r12, rdx
je 0x140006d34
sub r13, rdx
mov r8, r13
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
add r13, r12
mov qword [rbp + 0x78], r13
mov r14, qword [rbp + 0x68]
cmp qword [rbp + 0x60], 0
je 0x14000731f
mov r15d, dword [rsp + 0x38]
test r15d, r15d
jne 0x140006edc
mov dword [rsp + 0x38], 1
xor eax, eax
mov r12d, eax
lea rbx, [rbp + 0x50]
cmp r14, 0x10
cmovae rbx, qword [rbp + 0x50]
nop word [rax + rax]
lea rax, [rbp + 0x50]
mov rcx, qword [rbp + 0x50]
cmp r14, 0x10
cmovae rax, rcx
mov rdx, qword [rbp + 0x60]
add rax, rdx
cmp rbx, rax
je 0x140007264
lea r15, [rbp + 0x50]
cmp r14, 0x10
cmovae r15, rcx
add r15, rdx
mov r8, r15
sub r8, rbx
mov edx, 0x20
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
cmovne r15, rax
xor eax, eax
mov qword [rbp + 0x38], rax
mov edx, select
mov qword [rbp + 0x40], rdx
mov byte [rbp + 0x28], al
cmp rbx, r15
je 0x140006dea
mov r8, r15
sub r8, rbx
mov rdx, rbx
lea rcx, [rbp + 0x28]
call fcn.140002960
mov r14, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x40]
inc r12
cmp r12, 2
jne 0x140006e41
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rbx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
cmovae rbx, qword [rbp + 0x28]
xor eax, eax
mov dword [r14], eax
lea r8d, [r12 + 8]
lea rdx, [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp - 0x38]
je 0x140007659
cmp dword [r14], 0x22
je 0x14000764b
mov dword [rsp + 0x60], eax
mov r14, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x50]
cmp r14, 0x10
cmovae rcx, qword [rbp + 0x50]
add rcx, qword [rbp + 0x60]
cmp r15, rcx
je 0x140006e9b
lea rbx, [r15 + 1]
cmp rdx, 0x10
jb 0x140006d70
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006e8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006ed5
call fcn.1400553bc
mov r14, qword [rbp + 0x68]
jmp 0x140006d70
cmp rdx, 0x10
jb 0x140007264
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000725b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000725b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp r15d, 1
jne 0x14000726d
mov rbx, qword [rsp + 0x70]
cmp rbx, qword [rsp + 0x78]
je 0x140006f09
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.14000b650
add rbx, 0x20
mov qword [rsp + 0x70], rbx
jmp 0x140006f1a
lea r8, [rbp + 0x50]
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.14000c8d0
lea r14, [rbp + 0x50]
mov r12, qword [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae r14, r12
mov r15, qword [rbp + 0x60]
test r15, r15
je 0x140006f51
mov r8, r15
mov edx, 0x3a
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140006f51
sub rbx, r14
jmp 0x140006f58
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x140007bb9
xor r14d, r14d
mov qword [rbp + 0x100], r14
mov qword [rbp + 0x108], select
mov byte [rbp + 0xf0], r14b
mov r8, rbx
cmp r15, rbx
cmovb r8, r15
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rdx, r12
lea rcx, [rbp + 0xf0]
call fcn.140002960
nop
inc rbx
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x40], select
mov byte [rbp + 0x28], r14b
mov rax, qword [rbp + 0x60]
cmp rax, rbx
jb 0x140007bb3
sub rax, rbx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rdx, qword [rbp + 0x50]
add rdx, rbx
lea rcx, [rbp + 0x28]
call fcn.140002960
or dword [rsp + 0x3c], 0x1800
lea rcx, [rbp + 0x28]
mov r10, qword [rbp + 0x28]
mov r11, qword [rbp + 0x40]
cmp r11, 0x10
cmovae rcx, r10
mov r8, qword [rbp + 0x38]
add rcx, r8
lea rdx, [rbp + 0x28]
cmp r11, 0x10
cmovae rdx, r10
cmp rdx, rcx
je 0x140007034
movzx eax, byte [rdx]
cmp al, 0x20
je 0x14000702c
cmp al, 9
jne 0x140007034
inc rdx
cmp rdx, rcx
jne 0x140007021
lea rcx, [rbp + 0x28]
cmp r11, 0x10
cmovae rcx, r10
lea rax, [rbp + 0x28]
cmovae rax, r10
mov r9, rcx
sub r9, rax
cmp r8, r9
jb 0x140007bad
sub rdx, rcx
mov rax, r8
sub rax, r9
cmp rax, rdx
cmovb rdx, rax
lea rcx, [rbp + 0x28]
cmp r11, 0x10
cmovae rcx, r10
add rcx, r9
sub r8, rdx
mov qword [rbp + 0x38], r8
sub r8, r9
inc r8
add rdx, rcx
call sub.VCRUNTIME140.dll_memmove
nop
lea r10, [rbp + 0x28]
mov r11, qword [rbp + 0x28]
mov rbx, qword [rbp + 0x40]
cmp rbx, 0x10
cmovae r10, r11
mov r9, qword [rbp + 0x38]
add r10, r9
lea r8, [rbp + 0x28]
cmp rbx, 0x10
cmovae r8, r11
lea rax, [rbp + 0x28]
cmovae rax, r11
add rax, r9
cmp rax, r8
je 0x1400070dc
lea rdx, [rax - 1]
movzx ecx, byte [rdx]
cmp cl, 0x20
je 0x1400070d4
cmp cl, 9
jne 0x1400070dc
mov rax, rdx
cmp rdx, r8
jne 0x1400070c3
lea rcx, [rbp + 0x28]
cmp rbx, 0x10
cmovae rcx, r11
mov rdx, rax
sub rdx, rcx
cmp r9, rdx
jb 0x140007ba7
sub r10, rax
mov rax, r9
sub rax, rdx
cmp rax, r10
cmovb r10, rax
lea rcx, [rbp + 0x28]
cmp rbx, 0x10
cmovae rcx, r11
add rcx, rdx
sub r9, r10
mov qword [rbp + 0x38], r9
sub r9, rdx
lea r8, [r9 + 1]
lea rdx, [rcx + r10]
call sub.VCRUNTIME140.dll_memmove
nop
lea rcx, [rbp + 0xf0]
mov r15, qword [rbp + 0xf0]
mov r12, qword [rbp + 0x108]
cmp r12, 0x10
cmovae rcx, r15
mov rbx, qword [rbp + 0x100]
cmp rbx, 0xe
jne 0x1400072ae
mov r8, rbx
lea rdx, str.Content_Length
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400072ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rbx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
cmovae rbx, qword [rbp + 0x28]
xor eax, eax
mov dword [r14], eax
lea r8d, [rax + 0xa]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
cmp rbx, qword [rbp - 0x30]
je 0x140007675
cmp dword [r14], 0x22
je 0x140007667
mov ecx, eax
mov qword [rsp + 0x40], rcx
mov byte [rsp + 0x35], 1
mov rax, qword [rbp - 0x70]
sub rax, qword [rbp - 0x80]
cmp rcx, rax
jbe 0x1400071d8
mov edx, ecx
lea rcx, [rbp - 0x80]
call fcn.14000b730
mov rbx, qword [rbp + 0x28]
mov r14, qword [rbp + 0x40]
cmp r14, 0x10
jb 0x140007217
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000720f
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007683
mov rcx, rbx
call fcn.1400553bc
xor eax, eax
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], select
mov byte [rbp + 0x28], al
cmp r12, 0x10
jb 0x140007260
lea rdx, [r12 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140007258
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000768a
mov rcx, r15
call fcn.1400553bc
mov r14, qword [rbp + 0x68]
mov r15d, dword [rsp + 0x38]
mov r12, qword [rbp + 0x70]
cmp r14, 0x10
jb 0x140006c30
lea rdx, [r14 + 1]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400072a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007691
call fcn.1400553bc
jmp 0x140006c30
lea rcx, [rbp + 0xf0]
cmp r12, 0x10
cmovae rcx, r15
cmp rbx, 0x11
jne 0x1400071d8
mov r8, rbx
lea rdx, str.Transfer_Encoding
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400071d8
lea rcx, [rbp + 0x28]
mov rbx, qword [rbp + 0x28]
mov r14, qword [rbp + 0x40]
cmp r14, 0x10
cmovae rcx, rbx
cmp qword [rbp + 0x38], 7
jne 0x140007b6c
lea r8d, [rax + 7]
lea rdx, str.chunked
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140007b6c
mov byte [rsp + 0x34], 1
jmp 0x1400071e0
mov r15d, 2
mov dword [rsp + 0x38], r15d
cmp r14, 0x10
jb 0x140007373
lea rdx, [r14 + 1]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000735d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007691
call fcn.1400553bc
jmp 0x140007373
cmp r15d, 2
mov r14, qword [rsp + 0x40]
jne 0x140006b24
mov r14, qword [rsp + 0x40]
cmp byte [rsp + 0x34], 0
je 0x1400075a1
mov r15, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x48]
nop dword [rax]
test r15, r15
je 0x1400073ff
mov rax, r13
sub rax, r12
mov r14, r15
cmp rax, r15
cmovb r14, rax
lea rbx, [r12 + r14]
mov r9, rbx
mov r8, r12
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x80]
call fcn.14000d9c0
cmp r12, rbx
je 0x1400073d9
sub r13, rbx
mov r8, r13
mov rdx, rbx
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
add r13, r12
mov qword [rbp + 0x78], r13
sub r15, r14
mov qword [rsp + 0x58], r15
mov ecx, dword [rsp + 0x48]
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [rsp + 0x48], ecx
cmp r12, r13
je 0x1400075d0
jmp 0x140007390
test cl, cl
je 0x14000744d
mov rax, r13
sub rax, r12
cmp rax, 2
jb 0x1400075d0
movzx eax, word [rsp + 0x30]
cmp ax, word [r12]
sete al
test al, al
je 0x140007bf4
xor al, al
mov dword [rsp + 0x48], eax
lea rdx, [r12 + 2]
cmp r12, rdx
je 0x14000744d
sub r13, rdx
mov r8, r13
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
add r13, r12
mov qword [rbp + 0x78], r13
mov rbx, r12
mov rax, r13
sub rax, r12
cmp rax, 2
jl 0x1400075d0
lea rcx, [r13 - 2]
movzx eax, word [r12]
cmp ax, word [rsp + 0x30]
sete al
test al, al
jne 0x140007490
cmp rbx, rcx
je 0x1400075d0
inc rbx
movzx eax, word [rbx]
cmp ax, word [rsp + 0x30]
sete al
test al, al
je 0x140007475
cmp rbx, r13
je 0x1400075d0
xor r15d, r15d
mov ecx, r15d
mov qword [rbp + 0x38], rcx
mov r8d, select
mov qword [rbp + 0x40], r8
mov byte [rbp + 0x28], cl
mov rdx, rbx
sub rdx, r12
cmp rdx, 0x10
jb 0x1400074d0
lea rcx, [rbp + 0x28]
call fcn.14000de60
mov ecx, r15d
mov qword [rbp + 0x38], rcx
mov r8, qword [rbp + 0x40]
mov r14, r12
lea rax, [rbp + 0x28]
mov qword [rbp - 0x28], rax
cmp r12, rbx
je 0x140007524
movzx r9d, byte [r14]
cmp rcx, r8
jae 0x140007509
lea rax, [rcx + 1]
mov qword [rbp + 0x38], rax
lea rax, [rbp + 0x28]
cmp r8, 0x10
cmovae rax, qword [rbp + 0x28]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140007512
lea rcx, [rbp + 0x28]
call fcn.140002c40
inc r14
cmp r14, rbx
je 0x140007524
mov r8, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x38]
jmp 0x1400074e0
lea rdx, [rbx + 2]
cmp r12, rdx
je 0x140007542
sub r13, rdx
mov r8, r13
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
add r13, r12
mov qword [rbp + 0x78], r13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rbx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
cmovae rbx, qword [rbp + 0x28]
mov dword [rax], r15d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
cmp rbx, qword [rbp - 0x50]
je 0x1400077f4
cmp dword [r14], 0x22
je 0x1400077e6
mov r15d, eax
mov qword [rsp + 0x58], r15
test eax, eax
je 0x140007698
lea rcx, [rbp + 0x28]
call fcn.1400028c0
jmp 0x140007388
mov qword [rsp + 0x20], r13
mov r9, r12
mov r8, qword [rbp - 0x78]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x80]
call fcn.14000c880
mov r13, r12
mov qword [rbp + 0x78], r12
cmp byte [rsp + 0x35], 0
jne 0x1400075df
nop dword [rax + rax]
mov r15d, dword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
jmp 0x140006b24
mov rax, qword [rbp - 0x78]
sub rax, qword [rbp - 0x80]
cmp rax, r14
jb 0x140006b24
lea rdx, [rsp + 0x60]
mov rcx, qword [rbp - 0x60]
call fcn.140007cf0
nop
lea rcx, [rbp + 0x70]
call fcn.140002860
nop
lea rcx, [rsp + 0x60]
call fcn.140007c80
nop
lea rcx, [rsp + 0x50]
call fcn.140005530
nop
lea rcx, [rbp + 0xb0]
call fcn.140002860
nop
lea rcx, [rbp + 0xd0]
call fcn.1400028c0
nop
lea rcx, [rbp - 0x20]
call fcn.14000b2b0
mov rax, qword [rbp - 0x60]
jmp 0x1400077bc
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]
nop
mov eax, dword [rsp + 0x60]
mov rbx, qword [rbp - 0x60]
mov dword [rbx], eax
mov rax, qword [rsp + 0x68]
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x10], rax
mov rax, qword [rsp + 0x78]
mov qword [rbx + 0x18], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
xor edi, edi
mov qword [rsp + 0x78], rdi
mov rax, qword [rbp - 0x80]
mov qword [rbx + 0x20], rax
mov rax, qword [rbp - 0x78]
mov qword [rbx + 0x28], rax
mov rax, qword [rbp - 0x70]
mov qword [rbx + 0x30], rax
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rdi
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x14000772f
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000772a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000772a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400553bc
mov qword [rbp + 0x38], rdi
mov qword [rbp + 0x40], select
mov byte [rbp + 0x28], 0
test r12, r12
je 0x140007780
mov rdx, qword [rbp + 0x80]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x140007777
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007777
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.1400553bc
nop
lea rcx, [rsp + 0x68]
call fcn.14000b2d0
nop
lea rcx, [rsp + 0x50]
call fcn.140005530
nop
lea rcx, [rbp + 0xb0]
call fcn.140002860
nop
lea rcx, [rbp + 0xd0]
call fcn.1400028c0
nop
lea rcx, [rbp - 0x20]
call fcn.14000b2b0
mov rax, rbx
mov rcx, qword [rbp + 0x1140]
xor rcx, rsp
call fcn.140054e70
mov rbx, qword [rsp + 0x12a8]
add rsp, 0x1250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
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
mov eax, dword [rsp + 0x60]
mov rbx, qword [rbp - 0x60]
mov dword [rbx], eax
mov rax, qword [rsp + 0x68]
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x10], rax
mov rax, qword [rsp + 0x78]
mov qword [rbx + 0x18], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
xor esi, esi
mov qword [rsp + 0x78], rsi
mov rax, qword [rbp - 0x80]
mov qword [rbx + 0x20], rax
mov rax, qword [rbp - 0x78]
mov qword [rbx + 0x28], rax
mov rax, qword [rbp - 0x70]
mov qword [rbx + 0x30], rax
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], rsi
test r12, r12
je 0x14000789c
mov rdx, qword [rbp + 0x80]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x140007893
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007893
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.1400553bc
nop
lea rcx, [rsp + 0x68]
call fcn.14000b2d0
nop
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0xb0]
test rcx, rcx
je 0x1400078f5
mov rdx, qword [rbp + 0xc0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400078ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400078ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400553bc
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x140007939
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007934
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007934
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400553bc
mov qword [rbp + 0xe0], rsi
mov qword [rbp + 0xe8], select
mov byte [rbp + 0xd0], 0
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x1400077b9
lea rdx, str.Unsupported_protocol
lea rcx, [rbp + 0x90]
call fcn.140005390
lea rdx, [0x1400d0570]
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400020a0
nop
call fcn.1400020a0
nop
call fcn.140003650
lea r9, str.Failed_to_connect
mov r8, rax
mov edx, ebx
lea rcx, [rbp + 0x28]
call fcn.1400032d0
lea rdx, [0x1400d0480]
lea rcx, [rbp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Only_HTTP_scheme_is_supported
lea rcx, [rbp + 0x90]
call fcn.140005390
lea rdx, [0x1400d0570]
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov r8, r13
lea rdx, str.Failed_to_get_address_info_of
lea rcx, [rbp + 0x118]
call fcn.14000c060
mov rdi, rax
call fcn.140003650
mov rbx, rax
call sub.WS2_32.dll_WSAGetLastError
mov r9, rdi
mov r8, rbx
mov edx, eax
lea rcx, [rbp + 0xf0]
call fcn.140003290
lea rdx, [0x1400d0480]
lea rcx, [rbp + 0xf0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140002140
nop
call fcn.140002140
nop
call fcn.140002140
int3
call fcn.140002db0
int3
call fcn.1400020a0
nop
call fcn.140003650
mov rbx, rax
call sub.WS2_32.dll_WSAGetLastError
lea r9, str.Failed_to_create_socket
mov r8, rbx
mov edx, eax
lea rcx, [rbp + 0x118]
call fcn.1400032d0
lea rdx, [0x1400d0480]
lea rcx, [rbp + 0x118]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rsp + 0x50]
call fcn.1400056b0
call fcn.140003650
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, str.Failed_to_get_socket_flags
mov r8, rbx
mov edx, eax
lea rcx, [rbp + 0xf0]
call fcn.1400032d0
lea rdx, [0x1400d0480]
lea rcx, [rbp + 0xf0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140003650
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, str.Failed_to_get_socket_option
mov r8, rbx
mov edx, eax
lea rcx, [rbp + 0x28]
call fcn.1400032d0
lea rdx, [0x1400d0480]
lea rcx, [rbp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140003650
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, str.Failed_to_connect
mov r8, rbx
mov edx, eax
lea rcx, [rbp + 0x28]
call fcn.1400032d0
lea rdx, [0x1400d0480]
lea rcx, [rbp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140003650
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, str.Failed_to_send_data
mov r8, rbx
mov edx, eax
lea rcx, [rbp + 0x28]
call fcn.1400032d0
lea rdx, [0x1400d0480]
lea rcx, [rbp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rbp + 0x28]
lea rdx, str.Unsupported_transfer_encoding:
lea rcx, [rbp + 0x118]
call fcn.14000c060
nop
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.140005430
lea rdx, [0x1400d05b8]
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.14000bd60
nop
call fcn.14000bd60
nop
call fcn.14000bd60
nop
lea r8, [rbp + 0x50]
lea rdx, str.Invalid_header:
lea rcx, [rbp + 0x118]
call fcn.14000c060
nop
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.140005430
lea rdx, [0x1400d05b8]
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Invalid_chunk
lea rcx, [rbp + 0x90]
call fcn.1400053e0
lea rdx, [0x1400d05b8]
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140003650
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, str.Failed_to_read_data
mov r8, rbx
mov edx, eax
lea rcx, [rbp + 0x118]
call fcn.1400032d0
lea rdx, [0x1400d0480]
lea rcx, [rbp + 0x118]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Unsupported_protocol
lea rcx, [rbp + 0x90]
call fcn.140005390
lea rdx, [0x1400d0570]
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll__CxxThrowException
int3