Function at 0x14000c3b0
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.1400c22a0
sub rsp, rax
mov rax, qword [0x1400f7080]
xor rax, rsp
mov qword [rbp + 0x1210], rax
mov r12, r9
mov rbx, r8
mov qword [rsp + 0x50], 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 0x14000c42b
imul rax, rax, 0x64
jmp 0x14000c446
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 - 0x70], 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 0x14000c488
lea eax, [r13 - 0x15]
jmp 0x14000c493
cmp al, 1
jne 0x14000de93
mov eax, r13d
mov dword [rbp + 0x1c4], eax
mov dword [rbp + 0x1c8], 1
lea rdx, [r15 + 0x68]
cmp qword [rdx + 0x18], 0x10
jb 0x14000c4b1
mov rdx, qword [rdx]
lea rcx, [r15 + 0x48]
cmp qword [r15 + 0x60], 0x10
jb 0x14000c4c0
mov rcx, qword [r15 + 0x48]
lea r9, [rbp + 0xa8]
lea r8, [rbp + 0x1c0]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x14000deb3
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 + 0xa8]
mov qword [rsp + 0x68], rax
mov qword [rbp + 0x1b8], rax
mov rcx, qword [rbx + 0x10]
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
sub rax, rcx
cmp rax, 1
jb 0x14000def6
cmp qword [rbx + 0x18], 0x10
jb 0x14000c52f
mov rbx, qword [rbx]
mov qword [rsp + 0x30], 1
lea rax, [0x1400d8994]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rbx
lea rcx, [rbp + 0x60]
call fcn.14002b830
nop
lea rdx, [r15 + 0x88]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14000c56b
mov rdx, qword [rdx]
lea rcx, [rbp + 0x60]
call fcn.140025810
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], 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 + 0x70]
call fcn.140025810
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 eax, 0x1c01
mov dword [rsp + 0x44], eax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14000c639
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c634
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c634
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c16c0
movdqa xmm0, xmmword [0x1400df440]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x14000c689
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c684
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c684
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c16c0
movdqa xmm0, xmmword [0x1400df440]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov rbx, qword [r14]
mov r14, qword [r14 + 8]
cmp rbx, r14
je 0x14000c779
lea rdx, [0x1400d8998]
mov rcx, qword [rbx + 0x10]
mov rax, rdi
sub rax, rcx
cmp rax, 2
jb 0x14000df02
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000c6d2
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.14002b830
or dword [rsp + 0x44], 0x80
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.140025810
nop
mov rdx, qword [rbp + 0x1208]
cmp rdx, 0x10
jb 0x14000c765
inc rdx
mov rcx, qword [rbp + 0x11f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c760
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ddd1
call fcn.1400c16c0
add rbx, 0x20
cmp rbx, r14
lea rdx, [0x1400d8998]
jne 0x14000c6b1
mov r8, qword [r12 + 8]
sub r8, qword [r12]
lea r10, [rbp + 0x1205]
movabs r9, 0xcccccccccccccccd
nop dword [rax]
nop word [rax + rax]
dec r10
mov rax, r9
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 [r10], r8b
mov r8, rdx
test rdx, rdx
jne 0x14000c7a0
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x1205]
mov rdx, r10
lea rcx, [rbp - 0x38]
call fcn.14002bde0
mov ebx, dword [rsp + 0x44]
or ebx, 0x60
lea rax, [r15 + 0x28]
mov rcx, qword [rax + 0x10]
sub rdi, rcx
cmp rdi, 6
jb 0x14000defc
cmp qword [rax + 0x18], 0x10
jb 0x14000c808
mov rax, qword [rax]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 6
lea r9, str.Host:
lea rcx, [rbp + 0x20]
call fcn.14002b830
or ebx, 0x10
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._r_nContent_Length:
lea rcx, [rbp + 0x20]
call fcn.140025810
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
xor r14d, r14d
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
or ebx, 8
lea r9, [rbp - 0x38]
lea r8, [rbp - 8]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.14002b640
or ebx, 2
lea r8d, [r14 + 4]
lea rdx, str._r_n_r_n
lea rcx, [rbp + 0x40]
call fcn.140025810
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
or ebx, 4
mov dword [rsp + 0x44], ebx
lea rdx, [rbp - 0x60]
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.140025810
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14000c92a
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c924
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c924
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c16c0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x14000c968
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c963
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c963
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c16c0
movdqa xmm0, xmmword [0x1400df440]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x14000c9b8
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c9b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c9b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c16c0
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14000c9f6
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c9f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c9f1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c16c0
movdqa xmm0, xmmword [0x1400df440]
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14000ca45
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ca40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ca40
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c16c0
xorps xmm0, xmm0
lea rdx, [rbp + 0x130]
cmp qword [rbp + 0x148], 0x10
cmovae rdx, qword [rbp + 0x130]
mov rdi, qword [rbp + 0x140]
add rdi, rdx
lea rbx, [rbp + 0x130]
cmp qword [rbp + 0x148], 0x10
cmovae rbx, qword [rbp + 0x130]
movdqu xmmword [rbp + 0x118], xmm0
mov qword [rbp + 0x128], r14
sub rdi, rbx
je 0x14000cac5
mov rdx, rdi
lea rcx, [rbp + 0x118]
call fcn.14002b2e0
mov r8, rdi
mov rdx, rbx
mov rbx, qword [rbp + 0x118]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rdx, [rdi + rbx]
mov qword [rbp + 0x120], rdx
jmp 0x14000cacc
mov rdx, qword [rbp + 0x120]
mov r8, qword [r12]
mov r9, qword [r12 + 8]
sub r9, r8
lea rcx, [rbp + 0x118]
call fcn.14002c0d0
movzx eax, byte [r15 + 1]
test al, al
jne 0x14000caf5
mov r13d, 2
jmp 0x14000cafd
cmp al, 1
jne 0x14000de4a
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 + 0x60], rax
cmp rax, 0xffffffffffffffff
je 0x14000df08
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 0x14000df38
movabs r14, 0x431bde82d7b634db
test rsi, rsi
js 0x14000cbbe
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 0x14000cb73
imul rax, rax, 0x64
jmp 0x14000cb8e
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov r12, qword [rbp - 0x70]
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 0x14000cbcc
mov rbx, 0xffffffffffffffff
mov r12, qword [rbp - 0x70]
xor r13d, r13d
mov rax, qword [rsp + 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 0x14000cc11
nop dword [rax]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000cc56
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14000cbf0
mov r14, qword [rbp + 0x120]
mov r15, qword [rbp + 0x118]
sub r14, r15
je 0x14000cd8a
test rsi, rsi
js 0x14000cd0b
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 0x14000ccc6
imul rax, rax, 0x64
jmp 0x14000cce1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14000dfa4
mov r8, rbx
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.14000bba0
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 0x14000df73
mov edx, dword [rbp + 0xb4]
test edx, edx
jne 0x14000de6a
jmp 0x14000cc11
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 0x14000cd12
mov rdx, 0xffffffffffffffff
mov r8, rdx
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.14000bba0
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 0x14000cd7c
nop dword [rax]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000cd73
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 0x14000cd40
cdqe
add r15, rax
sub r14, rax
jmp 0x14000cc22
cmp ebx, 0xffffffff
je 0x14000dfd5
movsxd rax, ebx
add r15, rax
sub r14, rax
jmp 0x14000cc22
mov word [rbp + 0xb0], 0xa0d
mov rax, qword [rsp + 0x50]
mov dword [rax], r13d
lea rcx, [rax + 8]
mov qword [rbp - 0x10], 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 + 0x44]
or eax, 1
mov dword [rsp + 0x44], 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 + 0x40], 0
mov qword [rbp - 0x68], r13
mov byte [rsp + 0x41], 0
mov r12, r13
mov qword [rsp + 0x58], r13
xor r13b, r13b
mov dword [rbp + 0xb4], r13d
mov r14, qword [rbp + 0x108]
mov r15, qword [rbp + 0x100]
test rsi, rsi
js 0x14000ce96
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 0x14000ce4b
imul rax, rax, 0x64
jmp 0x14000ce66
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov rcx, qword [rbp - 0x70]
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 0x14000ce9d
mov rdx, 0xffffffffffffffff
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14000bba0
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 0x14000cf08
nop dword [rax]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000ceff
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 0x14000ced0
jmp 0x14000cf08
cmp ebx, 0xffffffff
je 0x14000e006
movsxd r9, ebx
test ebx, ebx
je 0x14000dd4a
lea r8, [rbp + 0x1f0]
mov rdx, r14
lea rcx, [rbp + 0x100]
call fcn.14002c0d0
mov r15, qword [rbp + 0x100]
mov r14, qword [rbp + 0x108]
mov qword [rsp + 0x48], r14
cmp dword [rbp + 0xb8], 2
je 0x14000d7c9
nop dword [rax]
mov rbx, r14
mov rcx, r14
sub rcx, r15
movzx eax, word [rbp + 0xb0]
cmp rcx, 2
jl 0x14000cf8d
lea r8, [r14 - 2]
cmp ax, word [r15]
sete cl
mov rdx, r15
test cl, cl
jne 0x14000cf8a
cmp rdx, r8
je 0x14000cf8d
inc rdx
cmp ax, word [rdx]
sete cl
test cl, cl
je 0x14000cf78
mov rbx, rdx
cmp rbx, r14
je 0x14000d868
mov r8, rbx
mov rdx, r15
lea rcx, [rbp + 0xe0]
call fcn.140027330
nop
lea rdx, [rbx + 2]
cmp r15, rdx
je 0x14000cfcf
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 0x14000d772
mov r12d, dword [rbp + 0xb8]
test r12d, r12d
jne 0x14000d23c
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, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400c2920
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 0x14000d727
inc rbx
lea rax, [rbp + 0xe0]
test dl, dl
cmovne rax, r8
lea rdx, [rcx + rax]
mov r8b, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rbx
call fcn.1400c2920
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 0x14000d0c1
mov qword [rbp + 0x180], r13
mov qword [rbp + 0x188], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x170], r13b
jmp 0x14000d0d7
mov r8, r14
sub r8, rbx
mov rdx, rbx
lea rcx, [rbp + 0x170]
call fcn.14002a700
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 0x14000db98
cmp dword [r15], 0x22
je 0x14000db8a
mov rcx, qword [rsp + 0x50]
mov dword [rcx], 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 0x14000d1f1
lea rdx, [r14 + 1]
lea rax, [rbp + 0xe0]
test r9b, r9b
cmovne rax, r8
lea r8, [rcx + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
cmp rdx, r8
jne 0x14000d199
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
jmp 0x14000d1a6
sub r8, rdx
lea rcx, [rsp + 0x70]
call fcn.14002a700
lea rdx, [rsp + 0x70]
mov rcx, qword [rbp - 0x10]
call fcn.140025970
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14000d1f1
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d1eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000db83
call fcn.1400c16c0
nop
mov rdx, qword [rbp + 0x188]
cmp rdx, 0x10
jb 0x14000d71b
inc rdx
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d716
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d716
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp r12d, 1
jne 0x14000d727
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx + 0x30]
cmp rax, qword [rbx + 0x38]
je 0x14000d26b
lea rdx, [rbp + 0xe0]
mov rcx, rax
call fcn.140025b50
add qword [rbx + 0x30], 0x20
jmp 0x14000d27e
lea r8, [rbp + 0xe0]
mov rdx, rax
lea rcx, [rbx + 0x28]
call fcn.14002d3e0
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 0x14000d2c5
mov r8, r15
mov edx, Ordinal_60
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14000d2c5
sub rbx, r14
jmp 0x14000d2cc
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x14000e078
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.14002a700
mov r14d, dword [rsp + 0x44]
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 0x14000d359
add r10, r9
jmp 0x14000d363
add r10, rdx
lea r9, [rbp + 0x150]
cmp r9, r10
je 0x14000d392
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 0x14000d370
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 0x14000e072
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.14002a700
bts r14d, 9
mov dword [rsp + 0x44], 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 0x14000d458
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x14000d450
cmp cl, 9
jne 0x14000d458
inc rax
cmp rax, rdx
jne 0x14000d443
lea rcx, [rbp + 0xc0]
mov rdx, r13
test r9b, r9b
je 0x14000d479
sub rax, r8
mov rcx, r15
sub rcx, r13
cmp rcx, rax
cmovb rax, rcx
jmp 0x14000d48a
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 0x14000d4df
mov rcx, r10
mov rax, r10
jmp 0x14000d4e6
lea rax, [rbp + 0xc0]
lea rdx, [rax + r15]
cmp rdx, rcx
je 0x14000d50c
nop
lea rax, [rdx - 1]
movzx r8d, byte [rax]
cmp r8b, 0x20
je 0x14000d504
cmp r8b, 9
jne 0x14000d50c
mov rdx, rax
cmp rax, rcx
jne 0x14000d4f0
lea rax, [rbp + 0xc0]
sub r9, rdx
test r11b, r11b
je 0x14000d520
sub rdx, r10
jmp 0x14000d52a
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 0x14000d617
mov r8, r14
lea rdx, str.content_length
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000d617
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 0x14000dbb4
cmp dword [r14], 0x22
je 0x14000dba6
mov edx, eax
mov qword [rbp - 0x68], rdx
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x50]
add rcx, 0x40
mov rax, qword [rcx + 0x10]
sub rax, qword [rcx]
cmp rdx, rax
jbe 0x14000d60e
call fcn.140026160
mov rbx, qword [rbp + 0x168]
jmp 0x14000d67f
lea rcx, [rbp + 0x150]
test r12b, r12b
cmovne rcx, qword [rbp + 0x150]
cmp r14, 0x11
jne 0x14000d67f
mov r8, r14
lea rdx, str.transfer_encoding
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000d67f
lea rcx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae rcx, qword [rbp + 0xc0]
cmp r15, 7
jne 0x14000e037
mov r8, r15
lea rdx, str.chunked
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000e037
mov byte [rsp + 0x41], 1
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x14000d6c7
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d6bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dbc2
call fcn.1400c16c0
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 0x14000d71b
lea rdx, [rbx + 1]
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d716
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dbc9
call fcn.1400c16c0
mov r15, qword [rbp + 0x100]
mov r14, qword [rsp + 0x48]
mov rcx, qword [rbp + 0xf8]
cmp rcx, 0x10
jb 0x14000cf50
lea rdx, [rcx + 1]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d768
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dbd0
call fcn.1400c16c0
jmp 0x14000cf50
mov dword [rbp + 0xb8], 2
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x14000d7bd
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d7b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dbd0
call fcn.1400c16c0
mov r12, qword [rsp + 0x58]
mov r13d, dword [rbp + 0xb4]
movzx eax, word [rbp + 0xb0]
cmp byte [rsp + 0x41], 0
je 0x14000da1c
nop dword [rax + rax]
test r12, r12
je 0x14000d886
mov rax, r14
sub rax, r15
mov rbx, r12
cmp rax, r12
cmovb rbx, rax
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rcx + 0x48]
mov r9, rbx
mov r8, r15
add rcx, 0x40
call fcn.14002c0d0
lea rdx, [r15 + rbx]
cmp r15, rdx
je 0x14000d837
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 + 0x58], r12
movzx r13d, r13b
mov eax, 1
cmove r13d, eax
mov dword [rbp + 0xb4], r13d
cmp r15, r14
je 0x14000ce28
movzx eax, word [rbp + 0xb0]
jmp 0x14000d7e0
cmp dword [rbp + 0xb8], 2
mov r12, qword [rsp + 0x58]
mov r13d, dword [rbp + 0xb4]
jne 0x14000ce28
jmp 0x14000d7d0
test r13b, r13b
je 0x14000d8e1
mov rcx, r14
sub rcx, r15
cmp rcx, 2
jb 0x14000ce28
cmp ax, word [r15]
sete cl
test cl, cl
je 0x14000e0b3
xor r13b, r13b
mov dword [rbp + 0xb4], r13d
lea rdx, [r15 + 2]
cmp r15, rdx
je 0x14000d8e1
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 0x14000d917
lea r8, [r14 - 2]
cmp ax, word [r15]
sete cl
mov rdx, r15
test cl, cl
jne 0x14000d914
cmp rdx, r8
je 0x14000d917
inc rdx
cmp ax, word [rdx]
sete cl
test cl, cl
je 0x14000d902
mov rbx, rdx
cmp rbx, r14
je 0x14000ce28
mov r8, rbx
mov rdx, r15
lea rcx, [rbp + 0x190]
call fcn.140027330
nop
lea rdx, [rbx + 2]
cmp r15, rdx
je 0x14000d959
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 + 0x90]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
cmp rbx, qword [rbp + 0x90]
je 0x14000dd3c
cmp dword [r14], 0x22
je 0x14000dd2e
mov r12d, eax
mov qword [rsp + 0x58], r12
mov rdx, qword [rbp + 0x1a8]
test eax, eax
je 0x14000dbd7
cmp rdx, 0x10
jae 0x14000d9d7
movzx eax, word [rbp + 0xb0]
mov r14, qword [rsp + 0x48]
jmp 0x14000d7e0
inc rdx
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000da06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dc08
call fcn.1400c16c0
movzx eax, word [rbp + 0xb0]
mov r14, qword [rsp + 0x48]
jmp 0x14000d7e0
mov r9, r14
sub r9, r15
mov rbx, qword [rsp + 0x50]
mov rdx, qword [rbx + 0x48]
mov r8, r15
lea rcx, [rbx + 0x40]
call fcn.14002c0d0
cmp r15, r14
cmovne r14, r15
mov qword [rbp + 0x108], r14
cmp byte [rsp + 0x40], 0
je 0x14000ce28
mov rax, qword [rbx + 0x48]
sub rax, qword [rbx + 0x40]
cmp rax, qword [rbp - 0x68]
jb 0x14000ce28
test r15, r15
je 0x14000da9f
mov rdx, qword [rbp + 0x110]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x14000da96
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dd7a
mov rcx, r15
call fcn.1400c16c0
nop
cmp rdi, 0xffffffffffffffff
je 0x14000daaf
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x14000daf0
mov rdx, qword [rbp + 0x128]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000daea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ddd1
call fcn.1400c16c0
nop
mov rdx, qword [rbp + 0x148]
cmp rdx, 0x10
jb 0x14000db31
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000db2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000de16
call fcn.1400c16c0
movdqa xmm0, xmmword [0x1400df440]
movdqu xmmword [rbp + 0x140], xmm0
mov byte [rbp + 0x130], 0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
mov rax, qword [rsp + 0x50]
mov rcx, qword [rbp + 0x1210]
xor rcx, rsp
call fcn.1400c16a0
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 0x14000dc14
inc rdx
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dc0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000dc0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c16c0
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 0x14000dc6e
mov rdx, qword [rbp + 0x110]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x14000dc65
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000dc65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1400c16c0
nop
cmp rdi, 0xffffffffffffffff
je 0x14000dc7e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x14000dcc2
mov rdx, qword [rbp + 0x128]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dcbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000dcbc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c16c0
nop
mov rdx, qword [rbp + 0x148]
cmp rdx, 0x10
jb 0x14000dd06
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dd01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000dd01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c16c0
movdqa xmm0, xmmword [0x1400df440]
movdqu xmmword [rbp + 0x140], xmm0
mov byte [rbp + 0x130], 0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x14000db54
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 0x14000dd8a
mov rdx, qword [rbp + 0x110]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x14000dd81
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000dd81
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1400c16c0
nop
cmp rdi, 0xffffffffffffffff
je 0x14000dd9a
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x14000ddde
mov rdx, qword [rbp + 0x128]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ddd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ddd8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c16c0
nop
mov rdx, qword [rbp + 0x148]
cmp rdx, 0x10
jb 0x14000de22
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000de1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000de1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c16c0
movdqa xmm0, xmmword [0x1400df440]
movdqu xmmword [rbp + 0x140], xmm0
mov byte [rbp + 0x130], 0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x14000db54
lea rcx, [rbp + 0x11f0]
call fcn.14000b9c0
lea rdx, [0x1400f2108]
lea rcx, [rbp + 0x11f0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140008d80
mov r8, rax
lea r9, str.Failed_to_connect
lea rcx, [rbp - 0x60]
call fcn.140008a40
lea rdx, [0x1400f1f58]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rbp + 0x118]
call fcn.14000b9c0
lea rdx, [0x1400f2108]
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 - 0x38]
call fcn.140026e50
mov rbx, rax
call fcn.14000baf0
mov edx, eax
call fcn.140008d80
mov r8, rax
mov r9, rbx
lea rcx, [rbp - 8]
call fcn.140008a00
lea rdx, [0x1400f1f58]
lea rcx, [rbp - 8]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400084a0
nop
call fcn.1400084a0
nop
call fcn.1400084a0
nop
call fcn.14000baf0
mov edx, eax
call fcn.140008d80
mov r8, rax
lea r9, str.Failed_to_create_socket
lea rcx, [rbp - 0x38]
call fcn.140008a40
lea rdx, [0x1400f1f58]
lea rcx, [rbp - 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rsp + 0x60]
call fcn.14000bd00
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
call fcn.140008d80
mov r8, rax
lea r9, str.Failed_to_get_socket_flags
lea rcx, [rbp - 8]
call fcn.140008a40
lea rdx, [0x1400f1f58]
lea rcx, [rbp - 8]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
call fcn.140008d80
mov r8, rax
lea r9, str.Failed_to_get_socket_option
lea rcx, [rbp - 0x60]
call fcn.140008a40
lea rdx, [0x1400f1f58]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
call fcn.140008d80
mov r8, rax
lea r9, str.Failed_to_connect
lea rcx, [rbp - 0x60]
call fcn.140008a40
lea rdx, [0x1400f1f58]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
call fcn.140008d80
mov r8, rax
lea r9, str.Failed_to_send_data
lea rcx, [rbp - 0x60]
call fcn.140008a40
lea rdx, [0x1400f1f58]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
call fcn.140008d80
mov r8, rax
lea r9, str.Failed_to_read_data
lea rcx, [rbp - 0x38]
call fcn.140008a40
lea rdx, [0x1400f1f58]
lea rcx, [rbp - 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rbp + 0xc0]
lea rdx, str.Unsupported_transfer_encoding:
lea rcx, [rbp - 0x38]
call fcn.140026e50
nop
mov rdx, rax
lea rcx, [rbp + 0x11f0]
call fcn.14000baa0
lea rdx, [0x1400f2178]
lea rcx, [rbp + 0x11f0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140026840
nop
lea r8, [rbp + 0xe0]
lea rdx, str.Invalid_header:
lea rcx, [rbp - 0x38]
call fcn.140026e50
nop
mov rdx, rax
lea rcx, [rbp + 0x11f0]
call fcn.14000baa0
lea rdx, [0x1400f2178]
lea rcx, [rbp + 0x11f0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Invalid_chunk
lea rcx, [rbp + 0x11f0]
call fcn.14000ba30
lea rdx, [0x1400f2178]
lea rcx, [rbp + 0x11f0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3