Function at 0x14000be40
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.1400af150
sub rsp, rax
mov rax, qword [0x1400e0080]
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 0x14000bebb
imul rax, rax, 0x64
jmp 0x14000bed6
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 0x14000bf18
lea eax, [r13 - 0x15]
jmp 0x14000bf23
cmp al, 1
jne 0x14000d923
mov eax, r13d
mov dword [rbp + 0x1c4], eax
mov dword [rbp + 0x1c8], 1
lea rcx, [r15 + 0x48]
cmp qword [r15 + 0x60], 0x10
jb 0x14000bf42
mov rcx, qword [r15 + 0x48]
lea rdx, [r15 + 0x68]
cmp qword [rdx + 0x18], 0x10
jb 0x14000bf50
mov rdx, qword [rdx]
lea r9, [rbp + 0x90]
lea r8, [rbp + 0x1c0]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x14000d943
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 + 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 0x14000d989
cmp qword [rbx + 0x18], 0x10
jb 0x14000bfbf
mov rbx, qword [rbx]
mov qword [rsp + 0x30], 1
lea rax, [0x1400c58bc]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rbx
lea rcx, [rbp + 0x18]
call fcn.14002cbe0
nop
lea rdx, [r15 + 0x88]
cmp qword [r15 + 0xa0], 0x10
jb 0x14000bffe
mov rdx, qword [r15 + 0x88]
mov r8, qword [r15 + 0x98]
lea rcx, [rbp + 0x18]
call fcn.140026930
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.140026930
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 0x14000c0d3
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c0ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c0ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ae570
movdqa xmm0, xmmword [0x1400cb080]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x14000c123
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c11e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c11e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ae570
movdqa xmm0, xmmword [0x1400cb080]
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x18], 0
mov rbx, qword [r14]
mov r14, qword [r14 + 8]
cmp rbx, r14
je 0x14000c218
lea rdx, [0x1400c58c0]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rax, rdi
sub rax, rcx
cmp rax, 2
jb 0x14000d995
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000c171
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.14002cbe0
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.140026930
nop
mov rdx, qword [rbp + 0x1208]
cmp rdx, 0x10
jb 0x14000c204
inc rdx
mov rcx, qword [rbp + 0x11f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c1ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d861
call fcn.1400ae570
add rbx, 0x20
cmp rbx, r14
lea rdx, [0x1400c58c0]
jne 0x14000c150
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 0x14000c240
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x1205]
mov rdx, r10
lea rcx, [rbp - 0x38]
call fcn.14002d190
mov ebx, dword [rsp + 0x44]
or ebx, 0x60
lea rax, [r15 + 0x28]
mov rcx, qword [rax + 0x10]
sub rdi, rcx
cmp rdi, 6
jb 0x14000d98f
cmp qword [rax + 0x18], 0x10
jb 0x14000c2a8
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 + 0x58]
call fcn.14002cbe0
or ebx, 0x10
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._r_nContent_Length:
lea rcx, [rbp + 0x58]
call fcn.140026930
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], 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 - 0x10]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x38]
call fcn.14002c9f0
or ebx, 2
lea r8d, [r14 + 4]
lea rdx, str._r_n_r_n
lea rcx, [rbp + 0x38]
call fcn.140026930
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.140026930
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14000c3ca
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c3c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c3c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ae570
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x14000c408
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c403
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c403
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ae570
movdqa xmm0, xmmword [0x1400cb080]
movdqu xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x14000c458
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c452
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c452
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ae570
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x14000c496
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c491
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c491
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ae570
movdqa xmm0, xmmword [0x1400cb080]
movdqu xmmword [rbp + 0x68], xmm0
mov byte [rbp + 0x58], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14000c4e5
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c4e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c4e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ae570
xorps xmm0, xmm0
lea rdi, [rbp + 0x130]
cmp qword [rbp + 0x148], 0x10
cmovae rdi, qword [rbp + 0x130]
add rdi, qword [rbp + 0x140]
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 0x14000c562
mov rdx, rdi
lea rcx, [rbp + 0x118]
call fcn.14002c690
mov r8, rdi
mov rdx, rbx
mov rbx, qword [rbp + 0x118]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rdx, [rbx + rdi]
mov qword [rbp + 0x120], rdx
jmp 0x14000c569
mov rdx, qword [rbp + 0x120]
mov r8, qword [r12]
mov r9, qword [r12 + 8]
sub r9, r8
lea rcx, [rbp + 0x118]
call fcn.14002d480
movzx eax, byte [r15 + 1]
test al, al
jne 0x14000c592
mov r13d, 2
jmp 0x14000c59a
cmp al, 1
jne 0x14000d8da
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 0x14000d99b
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 0x14000d9ce
movabs r14, 0x431bde82d7b634db
test rsi, rsi
js 0x14000c65b
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 0x14000c610
imul rax, rax, 0x64
jmp 0x14000c62b
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 0x14000c669
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 0x14000c6b1
nop word [rax + rax]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000c6f2
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14000c690
mov r14, qword [rbp + 0x120]
mov r15, qword [rbp + 0x118]
sub r14, r15
je 0x14000c82a
test rsi, rsi
js 0x14000c7a7
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 0x14000c762
imul rax, rax, 0x64
jmp 0x14000c77d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14000da40
mov r8, rbx
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.14000b610
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 0x14000da0c
mov edx, dword [rbp + 0xb4]
test edx, edx
jne 0x14000d8fa
jmp 0x14000c6b1
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 0x14000c7ae
mov rdx, 0xffffffffffffffff
mov r8, rdx
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.14000b610
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 0x14000c81c
nop dword [rax]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000c813
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 0x14000c7e0
cdqe
add r15, rax
sub r14, rax
jmp 0x14000c6c2
cmp ebx, 0xffffffff
je 0x14000da74
movsxd rax, ebx
add r15, rax
sub r14, rax
jmp 0x14000c6c2
mov word [rbp + 0xb0], 0xa0d
mov rcx, qword [rsp + 0x50]
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 + 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 0x14000c930
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 0x14000c8e5
imul rax, rax, 0x64
jmp 0x14000c900
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 0x14000c937
mov rdx, 0xffffffffffffffff
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14000b610
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 0x14000c99e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000c995
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 0x14000c966
jmp 0x14000c99e
cmp ebx, 0xffffffff
je 0x14000daa8
movsxd r9, ebx
test ebx, ebx
je 0x14000d7da
lea r8, [rbp + 0x1f0]
mov rdx, r14
lea rcx, [rbp + 0x100]
call fcn.14002d480
mov r15, qword [rbp + 0x100]
mov r14, qword [rbp + 0x108]
mov qword [rsp + 0x48], r14
cmp dword [rbp + 0xb8], 2
je 0x14000d259
nop
mov rbx, r14
mov rcx, r14
sub rcx, r15
movzx eax, word [rbp + 0xb0]
cmp rcx, 2
jl 0x14000ca1d
lea r8, [r14 - 2]
cmp ax, word [r15]
sete cl
mov rdx, r15
test cl, cl
jne 0x14000ca1a
cmp rdx, r8
je 0x14000ca1d
inc rdx
cmp ax, word [rdx]
sete cl
test cl, cl
je 0x14000ca08
mov rbx, rdx
cmp rbx, r14
je 0x14000d2f8
mov r8, rbx
mov rdx, r15
lea rcx, [rbp + 0xe0]
call fcn.1400284d0
nop
lea rdx, [rbx + 2]
cmp r15, rdx
je 0x14000ca5f
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 0x14000d202
mov r12d, dword [rbp + 0xb8]
test r12d, r12d
jne 0x14000cccc
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.1400af7d0
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 0x14000d1b7
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.1400af7d0
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 0x14000cb51
mov qword [rbp + 0x180], r13
mov qword [rbp + 0x188], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x170], r13b
jmp 0x14000cb67
mov r8, r14
sub r8, rbx
mov rdx, rbx
lea rcx, [rbp + 0x170]
call fcn.14002bac0
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 0x14000d628
cmp dword [r15], 0x22
je 0x14000d61a
mov rbx, qword [rsp + 0x50]
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 0x14000cc81
lea rdx, [r14 + 1]
lea rax, [rbp + 0xe0]
test r9b, r9b
cmovne rax, r8
lea r8, [rax + rcx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
cmp rdx, r8
jne 0x14000cc29
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
jmp 0x14000cc36
sub r8, rdx
lea rcx, [rsp + 0x70]
call fcn.14002bac0
lea rdx, [rsp + 0x70]
lea rcx, [rbx + 8]
call fcn.140026a90
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14000cc81
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cc7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d613
call fcn.1400ae570
nop
mov rdx, qword [rbp + 0x188]
cmp rdx, 0x10
jb 0x14000d1ab
inc rdx
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d1a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d1a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp r12d, 1
jne 0x14000d1b7
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx + 0x30]
cmp rax, qword [rbx + 0x38]
je 0x14000ccfb
lea rdx, [rbp + 0xe0]
mov rcx, rax
call fcn.140026c70
add qword [rbx + 0x30], 0x20
jmp 0x14000cd0e
lea r8, [rbp + 0xe0]
mov rdx, rax
lea rcx, [rbx + 0x28]
call fcn.14002e7a0
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 0x14000cd55
mov r8, r15
mov edx, Ordinal_60
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14000cd55
sub rbx, r14
jmp 0x14000cd5c
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x14000db1d
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.14002bac0
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 0x14000cde9
add r10, r9
jmp 0x14000cdf3
add r10, rdx
lea r9, [rbp + 0x150]
cmp r9, r10
je 0x14000ce22
sub r11, r9
nop dword [rax + rax]
movzx r8d, byte [r9]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
mov byte [r9 + r11], cl
inc r9
cmp r9, r10
jne 0x14000ce00
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 0x14000db17
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.14002bac0
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 0x14000cee8
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x14000cee0
cmp cl, 9
jne 0x14000cee8
inc rax
cmp rax, rdx
jne 0x14000ced3
lea rcx, [rbp + 0xc0]
mov rdx, r13
test r9b, r9b
je 0x14000cf09
sub rax, r8
mov rcx, r15
sub rcx, r13
cmp rcx, rax
cmovb rax, rcx
jmp 0x14000cf1a
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 0x14000cf6f
mov rcx, r10
mov rax, r10
jmp 0x14000cf76
lea rax, [rbp + 0xc0]
lea rdx, [rax + r15]
cmp rdx, rcx
je 0x14000cf9c
nop
lea rax, [rdx - 1]
movzx r8d, byte [rax]
cmp r8b, 0x20
je 0x14000cf94
cmp r8b, 9
jne 0x14000cf9c
mov rdx, rax
cmp rax, rcx
jne 0x14000cf80
lea rax, [rbp + 0xc0]
sub r9, rdx
test r11b, r11b
je 0x14000cfb0
sub rdx, r10
jmp 0x14000cfba
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 0x14000d0a7
mov r8, r14
lea rdx, str.content_length
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000d0a7
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 0x14000d644
cmp dword [r14], 0x22
je 0x14000d636
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 0x14000d09e
call fcn.140027270
mov rbx, qword [rbp + 0x168]
jmp 0x14000d10f
lea rcx, [rbp + 0x150]
test r12b, r12b
cmovne rcx, qword [rbp + 0x150]
cmp r14, 0x11
jne 0x14000d10f
mov r8, r14
lea rdx, str.transfer_encoding
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000d10f
lea rcx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae rcx, qword [rbp + 0xc0]
cmp r15, 7
jne 0x14000dadc
mov r8, r15
lea rdx, str.chunked
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000dadc
mov byte [rsp + 0x41], 1
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x14000d157
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d14b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d652
call fcn.1400ae570
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 0x14000d1ab
lea rdx, [rbx + 1]
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d1a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d659
call fcn.1400ae570
mov r15, qword [rbp + 0x100]
mov r14, qword [rsp + 0x48]
mov rcx, qword [rbp + 0xf8]
cmp rcx, 0x10
jb 0x14000c9e0
lea rdx, [rcx + 1]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d1f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d660
call fcn.1400ae570
jmp 0x14000c9e0
mov dword [rbp + 0xb8], 2
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x14000d24d
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d248
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d660
call fcn.1400ae570
mov r12, qword [rsp + 0x58]
mov r13d, dword [rbp + 0xb4]
movzx eax, word [rbp + 0xb0]
cmp byte [rsp + 0x41], 0
je 0x14000d4ac
nop dword [rax + rax]
test r12, r12
je 0x14000d316
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.14002d480
lea rdx, [r15 + rbx]
cmp r15, rdx
je 0x14000d2c7
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 0x14000c8c2
movzx eax, word [rbp + 0xb0]
jmp 0x14000d270
cmp dword [rbp + 0xb8], 2
mov r12, qword [rsp + 0x58]
mov r13d, dword [rbp + 0xb4]
jne 0x14000c8c2
jmp 0x14000d260
test r13b, r13b
je 0x14000d371
mov rcx, r14
sub rcx, r15
cmp rcx, 2
jb 0x14000c8c2
cmp ax, word [r15]
sete cl
test cl, cl
je 0x14000db58
xor r13b, r13b
mov dword [rbp + 0xb4], r13d
lea rdx, [r15 + 2]
cmp r15, rdx
je 0x14000d371
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 0x14000d3a7
lea r8, [r14 - 2]
cmp ax, word [r15]
sete cl
mov rdx, r15
test cl, cl
jne 0x14000d3a4
cmp rdx, r8
je 0x14000d3a7
inc rdx
cmp ax, word [rdx]
sete cl
test cl, cl
je 0x14000d392
mov rbx, rdx
cmp rbx, r14
je 0x14000c8c2
mov r8, rbx
mov rdx, r15
lea rcx, [rbp + 0x190]
call fcn.1400284d0
nop
lea rdx, [rbx + 2]
cmp r15, rdx
je 0x14000d3e9
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 0x14000d7cc
cmp dword [r14], 0x22
je 0x14000d7be
mov r12d, eax
mov qword [rsp + 0x58], r12
mov rdx, qword [rbp + 0x1a8]
test eax, eax
je 0x14000d667
cmp rdx, 0x10
jae 0x14000d467
movzx eax, word [rbp + 0xb0]
mov r14, qword [rsp + 0x48]
jmp 0x14000d270
inc rdx
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d496
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d698
call fcn.1400ae570
movzx eax, word [rbp + 0xb0]
mov r14, qword [rsp + 0x48]
jmp 0x14000d270
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.14002d480
cmp r15, r14
cmovne r14, r15
mov qword [rbp + 0x108], r14
cmp byte [rsp + 0x40], 0
je 0x14000c8c2
mov rax, qword [rbx + 0x48]
sub rax, qword [rbx + 0x40]
cmp rax, qword [rbp - 0x68]
jb 0x14000c8c2
test r15, r15
je 0x14000d52f
mov rdx, qword [rbp + 0x110]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x14000d526
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d80a
mov rcx, r15
call fcn.1400ae570
nop
cmp rdi, 0xffffffffffffffff
je 0x14000d53f
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x14000d580
mov rdx, qword [rbp + 0x128]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d57a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d861
call fcn.1400ae570
nop
mov rdx, qword [rbp + 0x148]
cmp rdx, 0x10
jb 0x14000d5c1
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d5bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d8a6
call fcn.1400ae570
movdqa xmm0, xmmword [0x1400cb080]
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.1400ae550
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 0x14000d6a4
inc rdx
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d69f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d69f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ae570
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 0x14000d6fe
mov rdx, qword [rbp + 0x110]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x14000d6f5
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d6f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1400ae570
nop
cmp rdi, 0xffffffffffffffff
je 0x14000d70e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x14000d752
mov rdx, qword [rbp + 0x128]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d74c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d74c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ae570
nop
mov rdx, qword [rbp + 0x148]
cmp rdx, 0x10
jb 0x14000d796
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d791
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d791
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ae570
movdqa xmm0, xmmword [0x1400cb080]
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 0x14000d5e4
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 0x14000d81a
mov rdx, qword [rbp + 0x110]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x14000d811
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d811
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1400ae570
nop
cmp rdi, 0xffffffffffffffff
je 0x14000d82a
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x14000d86e
mov rdx, qword [rbp + 0x128]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d868
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d868
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ae570
nop
mov rdx, qword [rbp + 0x148]
cmp rdx, 0x10
jb 0x14000d8b2
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d8ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d8ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ae570
movdqa xmm0, xmmword [0x1400cb080]
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 0x14000d5e4
lea rcx, [rbp + 0x11f0]
call fcn.14000b430
lea rdx, [0x1400dbd90]
lea rcx, [rbp + 0x11f0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400085b0
mov r8, rax
lea r9, str.Failed_to_connect
lea rcx, [rbp - 0x60]
call fcn.140008270
lea rdx, [0x1400dbbe0]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rbp + 0x118]
call fcn.14000b430
lea rdx, [0x1400dbd90]
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.140027f70
mov rdi, rax
call fcn.1400085b0
mov rbx, rax
call fcn.14000b560
mov edx, eax
mov r9, rdi
mov r8, rbx
lea rcx, [rbp - 0x10]
call fcn.140008230
lea rdx, [0x1400dbbe0]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140007d80
nop
call fcn.140007d80
nop
call fcn.140007d80
nop
call fcn.1400085b0
mov rbx, rax
call fcn.14000b560
mov edx, eax
lea r9, str.Failed_to_create_socket
mov r8, rbx
lea rcx, [rbp - 0x38]
call fcn.140008270
lea rdx, [0x1400dbbe0]
lea rcx, [rbp - 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rsp + 0x60]
call fcn.14000b780
call fcn.1400085b0
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 - 0x10]
call fcn.140008270
lea rdx, [0x1400dbbe0]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400085b0
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 - 0x60]
call fcn.140008270
lea rdx, [0x1400dbbe0]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400085b0
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 - 0x60]
call fcn.140008270
lea rdx, [0x1400dbbe0]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400085b0
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 - 0x60]
call fcn.140008270
lea rdx, [0x1400dbbe0]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400085b0
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 - 0x38]
call fcn.140008270
lea rdx, [0x1400dbbe0]
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.140027f70
nop
mov rdx, rax
lea rcx, [rbp + 0x11f0]
call fcn.14000b510
lea rdx, [0x1400dbe00]
lea rcx, [rbp + 0x11f0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140027960
nop
lea r8, [rbp + 0xe0]
lea rdx, str.Invalid_header:
lea rcx, [rbp - 0x38]
call fcn.140027f70
nop
mov rdx, rax
lea rcx, [rbp + 0x11f0]
call fcn.14000b510
lea rdx, [0x1400dbe00]
lea rcx, [rbp + 0x11f0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Invalid_chunk
lea rcx, [rbp + 0x11f0]
call fcn.14000b4a0
lea rdx, [0x1400dbe00]
lea rcx, [rbp + 0x11f0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3