Function at 0x14000b580
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 - 0x1220]
mov eax, 0x1320
call fcn.14003b2e0
sub rsp, rax
mov rax, qword [0x14004f010]
xor rax, rsp
mov qword [rbp + 0x1210], rax
mov r12, r9
mov rbx, r8
mov qword [rsp + 0x58], rdx
mov r15, rcx
mov qword [rbp + 0x80], rdx
mov r14, qword [rbp + 0x1280]
mov eax, 1
mov dword [rbp + 0xbc], eax
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x14000b5fb
imul rax, rax, 0x64
jmp 0x14000b616
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
mov rsi, qword [rbp + 0x1288]
imul rcx, rsi, 0xf4240
add rax, rcx
mov qword [rbp - 0x68], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c0], xmm0
movups xmmword [rbp + 0x1d0], xmm0
movups xmmword [rbp + 0x1e0], xmm0
movzx eax, byte [r15 + 1]
mov r13d, reloc.WS2_32.dll_socket
test al, al
jne 0x14000b658
lea eax, [r13 - 0x15]
jmp 0x14000b663
cmp al, 1
jne 0x14000d0a3
mov eax, r13d
mov dword [rbp + 0x1c4], eax
mov dword [rbp + 0x1c8], 1
lea rcx, [r15 + 0x48]
cmp qword [r15 + 0x60], 0x10
jb 0x14000b682
mov rcx, qword [r15 + 0x48]
lea rdx, [r15 + 0x68]
cmp qword [rdx + 0x18], 0x10
jb 0x14000b690
mov rdx, qword [rdx]
lea r9, [rbp + 0x90]
lea r8, [rbp + 0x1c0]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x14000d0c3
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b0], xmm0
mov rax, qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rbp + 0x1b0], rax
mov rax, qword [rbp + 0x90]
mov qword [rsp + 0x70], rax
mov qword [rbp + 0x1b8], rax
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 1
jb 0x14000d109
cmp qword [rbx + 0x18], 0x10
jb 0x14000b6fc
mov rbx, qword [rbx]
mov qword [rsp + 0x30], 1
lea rax, [0x14003ee64]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rbx
lea rcx, [rbp + 0x20]
call fcn.140016d70
nop
lea rdx, [r15 + 0x88]
cmp qword [r15 + 0xa0], 0x10
jb 0x14000b73b
mov rdx, qword [r15 + 0x88]
mov r8, qword [r15 + 0x98]
lea rcx, [rbp + 0x20]
call fcn.140015330
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 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 + 0x78]
call fcn.140015330
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x140], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x130], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x140], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14000b807
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b802
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b802
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a040
movdqa xmm0, xmmword [0x1400434e0]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14000b857
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b852
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b852
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a040
movdqa xmm0, xmmword [0x1400434e0]
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], 0
mov rbx, qword [r14]
mov rdi, qword [r14 + 8]
mov r14d, 0x1c01
cmp rbx, rdi
je 0x14000b95c
lea rdx, [0x14003ee68]
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 2
jb 0x14000d115
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000b8b8
mov r9, qword [rbx]
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x11f0]
call fcn.140016d70
bts r14d, 7
lea rdx, [rbp + 0x11f0]
cmp qword [rbp + 0x1208], 0x10
cmovae rdx, qword [rbp + 0x11f0]
mov r8, qword [rbp + 0x1200]
lea rcx, [rbp + 0x130]
call fcn.140015330
nop
mov rdx, qword [rbp + 0x1208]
cmp rdx, 0x10
jb 0x14000b948
inc rdx
mov rcx, qword [rbp + 0x11f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b943
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cfe1
call fcn.14003a040
add rbx, 0x20
cmp rbx, rdi
lea rdx, [0x14003ee68]
jne 0x14000b890
mov r8, qword [r12 + 8]
sub r8, qword [r12]
lea r9, [rbp + 0x1205]
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 0x14000b980
lea r8, [rbp + 0x1205]
mov rdx, r9
lea rcx, [rbp - 0x30]
call fcn.140017030
or r14d, 0x60
lea rcx, [r15 + 0x28]
mov rdx, qword [rcx + 0x10]
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
sub rax, rdx
cmp rax, 6
jb 0x14000d10f
cmp qword [rcx + 0x18], 0x10
jb 0x14000b9ed
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 + 0x60]
call fcn.140016d70
or r14d, 0x10
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._r_nContent_Length:
lea rcx, [rbp + 0x60]
call fcn.140015330
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
or r14d, 8
lea r9, [rbp - 0x30]
lea r8, [rbp - 8]
lea rcx, [rbp + 0x40]
call fcn.140016b80
or r14d, 2
lea r8d, [rbx + 4]
lea rdx, str._r_n_r_n
lea rcx, [rbp + 0x40]
call fcn.140015330
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
or r14d, 4
mov dword [rsp + 0x50], r14d
lea rdx, [rbp - 0x58]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x130]
call fcn.140015330
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14000bb0c
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bb06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bb06
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a040
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x14000bb4a
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bb45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bb45
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a040
movdqa xmm0, xmmword [0x1400434e0]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x14000bb9a
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bb94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bb94
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a040
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x14000bbd8
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bbd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bbd3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a040
movdqa xmm0, xmmword [0x1400434e0]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x14000bc27
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bc22
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bc22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a040
xorps xmm0, xmm0
xor eax, eax
lea rbx, [rbp + 0x130]
cmp qword [rbp + 0x148], 0x10
cmovae rbx, qword [rbp + 0x130]
add rbx, qword [rbp + 0x140]
lea r14, [rbp + 0x130]
cmp qword [rbp + 0x148], 0x10
cmovae r14, qword [rbp + 0x130]
movdqu xmmword [rbp + 0x118], xmm0
mov qword [rbp + 0x128], rax
sub rbx, r14
je 0x14000bce4
cmp rbx, rdi
ja 0x14000d11b
cmp rbx, 0x1000
jb 0x14000bcb3
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x14000d121
call fcn.14003a048
mov rcx, rax
test rax, rax
je 0x14000cfe1
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000bcbb
mov rcx, rbx
call fcn.14003a048
mov qword [rbp + 0x118], rax
lea rdi, [rax + rbx]
mov qword [rbp + 0x128], rdi
mov r8, rbx
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x120], rdi
jmp 0x14000bceb
mov rdi, qword [rbp + 0x120]
mov r8, qword [r12]
mov r9, qword [r12 + 8]
sub r9, r8
mov rdx, rdi
lea rcx, [rbp + 0x118]
call fcn.140017320
movzx eax, byte [r15 + 1]
test al, al
jne 0x14000bd17
mov r13d, 2
jmp 0x14000bd1f
cmp al, 1
jne 0x14000d05a
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 [rsp + 0x68], rax
cmp rax, 0xffffffffffffffff
je 0x14000d127
mov dword [rbp + 0xbc], ebx
lea r8, [rbp + 0xbc]
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x14000d15a
movabs r14, 0x431bde82d7b634db
test rsi, rsi
js 0x14000bde0
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x14000bd95
imul rax, rax, 0x64
jmp 0x14000bdb0
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
mov r13d, 0
cmovle rbx, r13
jmp 0x14000bdee
mov rbx, 0xffffffffffffffff
mov r12, qword [rbp - 0x68]
xor r13d, r13d
mov rax, qword [rsp + 0x70]
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 0x14000be31
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000be72
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14000be10
mov r14, qword [rbp + 0x120]
mov r15, qword [rbp + 0x118]
sub r14, r15
je 0x14000bfaa
test rsi, rsi
js 0x14000bf27
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x14000bee2
imul rax, rax, 0x64
jmp 0x14000befd
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14000d1cc
mov r8, rbx
mov edx, 1
lea rcx, [rsp + 0x68]
call fcn.14000ad50
mov dword [rbp + 0xb8], 4
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xb4]
mov edx, 0xffff
mov r8d, 0x1007
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x14000d198
mov edx, dword [rbp + 0xb4]
test edx, edx
jne 0x14000d07a
jmp 0x14000be31
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov rcx, r12
sub rcx, rax
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test rdx, rdx
cmovle rdx, r13
jmp 0x14000bf2e
mov rdx, 0xffffffffffffffff
mov r8, rdx
mov edx, 1
lea rcx, [rsp + 0x68]
call fcn.14000ad50
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 0x14000bf9c
nop dword [rax]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000bf93
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 0x14000bf60
cdqe
add r15, rax
sub r14, rax
jmp 0x14000be42
cmp ebx, 0xffffffff
je 0x14000d200
movsxd rax, ebx
add r15, rax
sub r14, rax
jmp 0x14000be42
mov word [rbp + 0xb0], 0xa0d
mov rcx, qword [rsp + 0x58]
mov dword [rcx], r13d
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
mov qword [rcx + 0x18], r13
mov qword [rcx + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rcx + 8], 0
mov qword [rcx + 0x28], r13
mov qword [rcx + 0x30], r13
mov qword [rcx + 0x38], r13
mov qword [rcx + 0x40], r13
mov qword [rcx + 0x48], r13
mov qword [rcx + 0x50], r13
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
mov dword [rbp + 0xbc], eax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x100], xmm1
mov qword [rbp + 0x110], r13
mov dword [rbp + 0xb8], r13d
mov byte [rsp + 0x41], 0
mov qword [rbp - 0x60], r13
mov byte [rsp + 0x40], 0
mov r12, r13
mov qword [rsp + 0x60], r13
xor r13b, r13b
mov dword [rbp + 0xb4], r13d
mov r14, qword [rbp + 0x108]
mov r15, qword [rbp + 0x100]
test rsi, rsi
js 0x14000c0b0
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x14000c065
imul rax, rax, 0x64
jmp 0x14000c080
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 0x14000c0b7
mov rdx, 0xffffffffffffffff
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.14000ad50
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x1f0]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14000c11e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000c115
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x1f0]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
je 0x14000c0e6
jmp 0x14000c11e
cmp ebx, 0xffffffff
je 0x14000d234
movsxd r9, ebx
test ebx, ebx
je 0x14000cf5a
lea r8, [rbp + 0x1f0]
mov rdx, r14
lea rcx, [rbp + 0x100]
call fcn.140017320
mov r15, qword [rbp + 0x100]
mov r14, qword [rbp + 0x108]
mov qword [rsp + 0x48], r14
cmp dword [rbp + 0xb8], 2
je 0x14000c9d9
nop
mov rbx, r14
mov rcx, r14
sub rcx, r15
movzx eax, word [rbp + 0xb0]
cmp rcx, 2
jl 0x14000c19d
lea r8, [r14 - 2]
cmp ax, word [r15]
sete cl
mov rdx, r15
test cl, cl
jne 0x14000c19a
cmp rdx, r8
je 0x14000c19d
inc rdx
cmp ax, word [rdx]
sete cl
test cl, cl
je 0x14000c188
mov rbx, rdx
cmp rbx, r14
je 0x14000ca78
mov r8, rbx
mov rdx, r15
lea rcx, [rbp + 0xe0]
call fcn.1400161e0
nop
lea rdx, [rbx + 2]
cmp r15, rdx
je 0x14000c1df
sub r14, rdx
mov r8, r14
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
add r14, r15
mov qword [rsp + 0x48], r14
mov qword [rbp + 0x108], r14
mov rdx, qword [rbp + 0xf0]
test rdx, rdx
je 0x14000c982
mov r12d, dword [rbp + 0xb8]
test r12d, r12d
jne 0x14000c44c
mov dword [rbp + 0xb8], 1
lea rcx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
setae r9b
cmovae rcx, qword [rbp + 0xe0]
add rdx, rcx
lea rcx, [rbp + 0xe0]
test r9b, r9b
cmovne rcx, qword [rbp + 0xe0]
mov r8b, 0x20
call fcn.14003af90
mov rbx, rax
lea rax, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
setae dl
mov r8, qword [rbp + 0xe0]
cmovae rax, r8
mov rcx, qword [rbp + 0xf0]
add rax, rcx
cmp rbx, rax
je 0x14000c937
inc rbx
lea rax, [rbp + 0xe0]
test dl, dl
cmovne rax, r8
lea rdx, [rcx + rax]
mov r8b, 0x20
mov rcx, rbx
call fcn.14003af90
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x170], xmm0
xor r13d, r13d
mov qword [rbp + 0x180], r13
mov qword [rbp + 0x188], r13
cmp rbx, rax
jne 0x14000c2d1
mov qword [rbp + 0x180], r13
mov qword [rbp + 0x188], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x170], r13b
jmp 0x14000c2e7
mov r8, r14
sub r8, rbx
mov rdx, rbx
lea rcx, [rbp + 0x170]
call fcn.140016850
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r15, rax
lea rbx, [rbp + 0x170]
cmp qword [rbp + 0x188], 0x10
cmovae rbx, qword [rbp + 0x170]
mov dword [rax], r13d
mov r8d, 0xa
lea rdx, [rbp + 0xa0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp + 0xa0]
je 0x14000cda8
cmp dword [r15], 0x22
je 0x14000cd9a
mov rbx, qword [rsp + 0x58]
mov dword [rbx], eax
lea rax, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
setae r9b
mov r8, qword [rbp + 0xe0]
cmovae rax, r8
mov rcx, qword [rbp + 0xf0]
add rax, rcx
cmp r14, rax
je 0x14000c401
lea rdx, [r14 + 1]
lea rax, [rbp + 0xe0]
test r9b, r9b
cmovne rax, r8
lea r8, [rax + rcx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
cmp rdx, r8
jne 0x14000c3a9
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
jmp 0x14000c3b6
sub r8, rdx
lea rcx, [rsp + 0x78]
call fcn.140016850
lea rdx, [rsp + 0x78]
lea rcx, [rbx + 8]
call fcn.140015480
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14000c401
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c3fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cd93
call fcn.14003a040
nop
mov rdx, qword [rbp + 0x188]
cmp rdx, 0x10
jb 0x14000c92b
inc rdx
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c926
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c926
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp r12d, 1
jne 0x14000c937
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx + 0x30]
cmp rax, qword [rbx + 0x38]
je 0x14000c47b
lea rdx, [rbp + 0xe0]
mov rcx, rax
call fcn.140015660
add qword [rbx + 0x30], 0x20
jmp 0x14000c48e
lea r8, [rbp + 0xe0]
mov rdx, rax
lea rcx, [rbx + 0x28]
call fcn.140017cd0
lea r14, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
setae r13b
mov r12, qword [rbp + 0xe0]
cmovae r14, r12
mov r15, qword [rbp + 0xf0]
test r15, r15
je 0x14000c4d5
mov r8, r15
mov edx, 0x3a
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14000c4d5
sub rbx, r14
jmp 0x14000c4dc
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x14000d2a9
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
xor eax, eax
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x168], rax
mov r8, rbx
cmp r15, rbx
cmovb r8, r15
lea rdx, [rbp + 0xe0]
test r13b, r13b
cmovne rdx, r12
lea rcx, [rbp + 0x150]
call fcn.140016850
mov r14d, dword [rsp + 0x50]
bts r14d, 8
mov dword [rbp + 0xbc], r14d
lea r11, [rbp + 0x150]
cmp qword [rbp + 0x168], 0x10
setae cl
mov r9, qword [rbp + 0x150]
cmovae r11, r9
lea rdx, [rbp + 0x150]
mov r10, qword [rbp + 0x160]
test cl, cl
je 0x14000c569
add r10, r9
jmp 0x14000c573
add r10, rdx
lea r9, [rbp + 0x150]
cmp r9, r10
je 0x14000c5a2
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 [r11 + r9], cl
inc r9
cmp r9, r10
jne 0x14000c580
inc rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
xor r13d, r13d
mov qword [rbp + 0xd0], r13
mov qword [rbp + 0xd8], r13
mov rax, qword [rbp + 0xf0]
cmp rax, rbx
jb 0x14000d2a3
sub rax, rbx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
cmovae rdx, qword [rbp + 0xe0]
add rdx, rbx
lea rcx, [rbp + 0xc0]
call fcn.140016850
bts r14d, 9
mov dword [rsp + 0x50], r14d
mov dword [rbp + 0xbc], r14d
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
setae r9b
mov r8, qword [rbp + 0xc0]
cmovae rdx, r8
mov r15, qword [rbp + 0xd0]
add rdx, r15
lea rax, [rbp + 0xc0]
test r9b, r9b
cmovne rax, r8
cmp rax, rdx
je 0x14000c668
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x14000c660
cmp cl, 9
jne 0x14000c668
inc rax
cmp rax, rdx
jne 0x14000c653
lea rcx, [rbp + 0xc0]
mov rdx, r13
test r9b, r9b
je 0x14000c689
sub rax, r8
mov rcx, r15
sub rcx, r13
cmp rcx, rax
cmovb rax, rcx
jmp 0x14000c69a
sub rax, rcx
cmp r15, rax
cmovb rax, r15
lea r8, [rbp + 0xc0]
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 + 0xd0], r15
lea r9, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
setae r11b
mov r10, qword [rbp + 0xc0]
cmovae r9, r10
add r9, r15
lea rcx, [rbp + 0xc0]
test r11b, r11b
je 0x14000c6ef
mov rcx, r10
mov rax, r10
jmp 0x14000c6f6
lea rax, [rbp + 0xc0]
lea rdx, [rax + r15]
cmp rdx, rcx
je 0x14000c71c
nop
lea rax, [rdx - 1]
movzx r8d, byte [rax]
cmp r8b, 0x20
je 0x14000c714
cmp r8b, 9
jne 0x14000c71c
mov rdx, rax
cmp rax, rcx
jne 0x14000c700
lea rax, [rbp + 0xc0]
sub r9, rdx
test r11b, r11b
je 0x14000c730
sub rdx, r10
jmp 0x14000c73a
sub rdx, rax
lea r10, [rbp + 0xc0]
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 + 0xd0], r15
lea rcx, [rbp + 0x150]
mov rbx, qword [rbp + 0x168]
cmp rbx, 0x10
setae r12b
cmovae rcx, qword [rbp + 0x150]
mov r14, qword [rbp + 0x160]
cmp r14, 0xe
jne 0x14000c827
mov r8, r14
lea rdx, str.content_length
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000c827
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rbx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae rbx, qword [rbp + 0xc0]
mov dword [rax], r13d
mov r8d, 0xa
lea rdx, [rbp + 0x98]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
cmp rbx, qword [rbp + 0x98]
je 0x14000cdc4
cmp dword [r14], 0x22
je 0x14000cdb6
mov edx, eax
mov qword [rbp - 0x60], rdx
mov byte [rsp + 0x41], 1
mov rcx, qword [rsp + 0x58]
add rcx, 0x40
mov rax, qword [rcx + 0x10]
sub rax, qword [rcx]
cmp rdx, rax
jbe 0x14000c81e
call fcn.1400158e0
mov rbx, qword [rbp + 0x168]
jmp 0x14000c88f
lea rcx, [rbp + 0x150]
test r12b, r12b
cmovne rcx, qword [rbp + 0x150]
cmp r14, 0x11
jne 0x14000c88f
mov r8, r14
lea rdx, str.transfer_encoding
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000c88f
lea rcx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae rcx, qword [rbp + 0xc0]
cmp r15, 7
jne 0x14000d268
mov r8, r15
lea rdx, str.chunked
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000d268
mov byte [rsp + 0x40], 1
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x14000c8d7
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c8cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cdd2
call fcn.14003a040
mov rbx, qword [rbp + 0x168]
mov qword [rbp + 0xd0], r13
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc0], 0
cmp rbx, 0x10
jb 0x14000c92b
lea rdx, [rbx + 1]
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c926
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cdd9
call fcn.14003a040
mov r15, qword [rbp + 0x100]
mov r14, qword [rsp + 0x48]
mov rcx, qword [rbp + 0xf8]
cmp rcx, 0x10
jb 0x14000c160
lea rdx, [rcx + 1]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c978
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cde0
call fcn.14003a040
jmp 0x14000c160
mov dword [rbp + 0xb8], 2
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x14000c9cd
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c9c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cde0
call fcn.14003a040
mov r12, qword [rsp + 0x60]
mov r13d, dword [rbp + 0xb4]
movzx eax, word [rbp + 0xb0]
cmp byte [rsp + 0x40], 0
je 0x14000cc2c
nop dword [rax + rax]
test r12, r12
je 0x14000ca96
mov rax, r14
sub rax, r15
mov rbx, r12
cmp rax, r12
cmovb rbx, rax
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx + 0x48]
mov r9, rbx
mov r8, r15
add rcx, 0x40
call fcn.140017320
lea rdx, [r15 + rbx]
cmp r15, rdx
je 0x14000ca47
sub r14, rdx
mov r8, r14
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
add r14, r15
mov qword [rsp + 0x48], r14
mov qword [rbp + 0x108], r14
sub r12, rbx
mov qword [rsp + 0x60], r12
movzx r13d, r13b
mov eax, 1
cmove r13d, eax
mov dword [rbp + 0xb4], r13d
cmp r15, r14
je 0x14000c042
movzx eax, word [rbp + 0xb0]
jmp 0x14000c9f0
cmp dword [rbp + 0xb8], 2
mov r12, qword [rsp + 0x60]
mov r13d, dword [rbp + 0xb4]
jne 0x14000c042
jmp 0x14000c9e0
test r13b, r13b
je 0x14000caf1
mov rcx, r14
sub rcx, r15
cmp rcx, 2
jb 0x14000c042
cmp ax, word [r15]
sete cl
test cl, cl
je 0x14000d2e4
xor r13b, r13b
mov dword [rbp + 0xb4], r13d
lea rdx, [r15 + 2]
cmp r15, rdx
je 0x14000caf1
sub r14, rdx
mov r8, r14
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
add r14, r15
mov qword [rsp + 0x48], r14
mov qword [rbp + 0x108], r14
movzx eax, word [rbp + 0xb0]
mov rbx, r14
mov rcx, r14
sub rcx, r15
cmp rcx, 2
jl 0x14000cb27
lea r8, [r14 - 2]
cmp ax, word [r15]
sete cl
mov rdx, r15
test cl, cl
jne 0x14000cb24
cmp rdx, r8
je 0x14000cb27
inc rdx
cmp ax, word [rdx]
sete cl
test cl, cl
je 0x14000cb12
mov rbx, rdx
cmp rbx, r14
je 0x14000c042
mov r8, rbx
mov rdx, r15
lea rcx, [rbp + 0x190]
call fcn.1400161e0
nop
lea rdx, [rbx + 2]
cmp r15, rdx
je 0x14000cb69
sub r14, rdx
mov r8, r14
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
add r14, r15
mov qword [rsp + 0x48], r14
mov qword [rbp + 0x108], r14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rbx, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 0x10
cmovae rbx, qword [rbp + 0x190]
xor eax, eax
mov dword [r14], eax
lea r8d, [rax + 0x10]
lea rdx, [rbp + 0xa8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
cmp rbx, qword [rbp + 0xa8]
je 0x14000cf4c
cmp dword [r14], 0x22
je 0x14000cf3e
mov r12d, eax
mov qword [rsp + 0x60], r12
mov rdx, qword [rbp + 0x1a8]
test eax, eax
je 0x14000cde7
cmp rdx, 0x10
jae 0x14000cbe7
movzx eax, word [rbp + 0xb0]
mov r14, qword [rsp + 0x48]
jmp 0x14000c9f0
inc rdx
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cc16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ce18
call fcn.14003a040
movzx eax, word [rbp + 0xb0]
mov r14, qword [rsp + 0x48]
jmp 0x14000c9f0
mov r9, r14
sub r9, r15
mov rbx, qword [rsp + 0x58]
mov rdx, qword [rbx + 0x48]
mov r8, r15
lea rcx, [rbx + 0x40]
call fcn.140017320
cmp r15, r14
cmovne r14, r15
mov qword [rbp + 0x108], r14
cmp byte [rsp + 0x41], 0
je 0x14000c042
mov rax, qword [rbx + 0x48]
sub rax, qword [rbx + 0x40]
cmp rax, qword [rbp - 0x60]
jb 0x14000c042
test r15, r15
je 0x14000ccaf
mov rdx, qword [rbp + 0x110]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x14000cca6
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf8a
mov rcx, r15
call fcn.14003a040
nop
cmp rdi, 0xffffffffffffffff
je 0x14000ccbf
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x14000cd00
mov rdx, qword [rbp + 0x128]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ccfa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cfe1
call fcn.14003a040
nop
mov rdx, qword [rbp + 0x148]
cmp rdx, 0x10
jb 0x14000cd41
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cd3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d026
call fcn.14003a040
movdqa xmm0, xmmword [0x1400434e0]
movdqu xmmword [rbp + 0x140], xmm0
mov byte [rbp + 0x130], 0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
mov rax, qword [rsp + 0x58]
mov rcx, qword [rbp + 0x1210]
xor rcx, rsp
call fcn.14003a020
mov rbx, qword [rsp + 0x1378]
add rsp, 0x1320
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rdx, 0x10
jb 0x14000ce24
inc rdx
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ce1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ce1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a040
xor eax, eax
mov qword [rbp + 0x1a0], rax
mov qword [rbp + 0x1a8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x190], al
test r15, r15
je 0x14000ce7e
mov rdx, qword [rbp + 0x110]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x14000ce75
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ce75
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.14003a040
nop
cmp rdi, 0xffffffffffffffff
je 0x14000ce8e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x14000ced2
mov rdx, qword [rbp + 0x128]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cecc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cecc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a040
nop
mov rdx, qword [rbp + 0x148]
cmp rdx, 0x10
jb 0x14000cf16
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cf11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cf11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a040
movdqa xmm0, xmmword [0x1400434e0]
movdqu xmmword [rbp + 0x140], xmm0
mov byte [rbp + 0x130], 0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x14000cd64
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 r15, r15
je 0x14000cf9a
mov rdx, qword [rbp + 0x110]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x14000cf91
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cf91
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.14003a040
nop
cmp rdi, 0xffffffffffffffff
je 0x14000cfaa
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x14000cfee
mov rdx, qword [rbp + 0x128]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cfe8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cfe8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a040
nop
mov rdx, qword [rbp + 0x148]
cmp rdx, 0x10
jb 0x14000d032
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d02d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d02d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a040
movdqa xmm0, xmmword [0x1400434e0]
movdqu xmmword [rbp + 0x140], xmm0
mov byte [rbp + 0x130], 0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x14000cd64
lea rcx, [rbp + 0x11f0]
call fcn.14000ab30
lea rdx, [0x14004bc90]
lea rcx, [rbp + 0x11f0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140007f40
mov r8, rax
lea r9, str.Failed_to_connect
lea rcx, [rbp - 0x58]
call fcn.140007c00
lea rdx, [0x14004bb80]
lea rcx, [rbp - 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rbp + 0x118]
call fcn.14000ab30
lea rdx, [0x14004bc90]
lea rcx, [rbp + 0x118]
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.140015d90
mov rdi, rax
call fcn.140007f40
mov rbx, rax
call fcn.14000aca0
mov edx, eax
mov r9, rdi
mov r8, rbx
lea rcx, [rbp - 8]
call fcn.140007bc0
lea rdx, [0x14004bb80]
lea rcx, [rbp - 8]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140007770
nop
call fcn.140007770
nop
call fcn.140007770
int3
call fcn.1400158c0
int3
call fcn.1400076d0
nop
call fcn.140007f40
mov rbx, rax
call fcn.14000aca0
mov edx, eax
lea r9, str.Failed_to_create_socket
mov r8, rbx
lea rcx, [rbp - 0x30]
call fcn.140007c00
lea rdx, [0x14004bb80]
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rsp + 0x68]
call fcn.14000aec0
call fcn.140007f40
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.140007c00
lea rdx, [0x14004bb80]
lea rcx, [rbp - 8]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140007f40
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.140007c00
lea rdx, [0x14004bb80]
lea rcx, [rbp - 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140007f40
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.140007c00
lea rdx, [0x14004bb80]
lea rcx, [rbp - 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140007f40
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.140007c00
lea rdx, [0x14004bb80]
lea rcx, [rbp - 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140007f40
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.140007c00
lea rdx, [0x14004bb80]
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rbp + 0xc0]
lea rdx, str.Unsupported_transfer_encoding:
lea rcx, [rbp - 0x30]
call fcn.140015d90
nop
mov rdx, rax
lea rcx, [rbp + 0x11f0]
call fcn.14000ac10
lea rdx, [0x14004bd00]
lea rcx, [rbp + 0x11f0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140015d70
nop
lea r8, [rbp + 0xe0]
lea rdx, str.Invalid_header:
lea rcx, [rbp - 0x30]
call fcn.140015d90
nop
mov rdx, rax
lea rcx, [rbp + 0x11f0]
call fcn.14000ac10
lea rdx, [0x14004bd00]
lea rcx, [rbp + 0x11f0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Invalid_chunk
lea rcx, [rbp + 0x11f0]
call fcn.14000aba0
lea rdx, [0x14004bd00]
lea rcx, [rbp + 0x11f0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3