Function at 0x14000ba90
Capabilities:
Connect socket
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x11f0]
mov eax, 0x12f0
call fcn.1400addd0
sub rsp, rax
mov rax, qword [0x1400df080]
xor rax, rsp
mov qword [rbp + 0x11e0], rax
mov r12, r9
mov rbx, r8
mov qword [rsp + 0x50], rdx
mov r15, rcx
mov qword [rbp + 0x50], rdx
mov r14, qword [rbp + 0x1250]
mov edi, 1
mov dword [rbp + 0x8c], edi
lea rcx, [rbp + 0x60]
call fcn.14000ad00
mov rsi, qword [rbp + 0x1258]
imul rcx, rsi, 0xf4240
add rcx, qword [rax]
mov qword [rbp - 0x68], rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a8], xmm0
movups xmmword [rbp + 0x1b8], xmm0
movups xmmword [rbp + 0x1c8], xmm0
movzx eax, byte [r15 + 1]
lea r13d, [rdi + 0x16]
test al, al
jne 0x14000bb32
lea eax, [rdi + 1]
jmp 0x14000bb3e
cmp al, dil
jne 0x14000d63e
mov eax, r13d
mov dword [rbp + 0x1ac], eax
mov dword [rbp + 0x1b0], edi
lea rcx, [r15 + 0x48]
cmp qword [r15 + 0x60], 0xf
jbe 0x14000bb59
mov rcx, qword [r15 + 0x48]
lea rdx, [r15 + 0x68]
cmp qword [rdx + 0x18], 0xf
jbe 0x14000bb67
mov rdx, qword [rdx]
lea r9, [rbp + 0x68]
lea r8, [rbp + 0x1a8]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x14000d65a
xorps xmm0, xmm0
movups xmmword [rbp + 0x198], xmm0
mov rax, qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x68]
mov qword [rbp - 0x70], rax
mov qword [rbp + 0x1a0], rax
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 1
jb 0x14000d6a0
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000bbcf
mov r9, qword [rbx]
mov qword [rsp + 0x30], 1
lea rax, [0x1400c4694]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r8, rbx
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x28]
call fcn.140018c20
nop
lea rdx, [r15 + 0x88]
cmp qword [r15 + 0xa0], 0xf
jbe 0x14000bc13
mov rdx, qword [r15 + 0x88]
mov r8, qword [r15 + 0x98]
lea rcx, [rbp + 0x28]
call fcn.140017560
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], 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 + 0x60]
call fcn.140017560
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x120], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x120], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
mov ebx, 0x1c01
mov dword [rsp + 0x44], ebx
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14000bceb
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bce6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bce6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ad200
movdqa xmm0, xmmword [0x1400c9e10]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x14000bd3c
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bd37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bd37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ad200
movdqa xmm0, xmmword [0x1400c9e10]
movdqu xmmword [rbp + 0x38], xmm0
mov byte [rbp + 0x28], 0
mov rdi, qword [r14]
mov r14, qword [r14 + 8]
cmp rdi, r14
je 0x14000be49
lea rdx, [0x1400c4698]
movzx ebx, byte [rsp + 0x40]
nop dword [rax]
mov rcx, qword [rdi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 2
jb 0x14000d6ac
mov r9, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14000bd98
mov r9, qword [rdi]
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
mov r8, rdi
movzx edx, bl
lea rcx, [rbp + 0xd0]
call fcn.140018c20
or dword [rsp + 0x44], 0x80
lea rdx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0xf
cmova rdx, qword [rbp + 0xd0]
mov r8, qword [rbp + 0xe0]
lea rcx, [rbp + 0x110]
call fcn.140017560
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0xf
jbe 0x14000be31
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000be2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d581
call fcn.1400ad200
add rdi, 0x20
cmp rdi, r14
lea rdx, [0x1400c4698]
jne 0x14000bd70
mov ebx, dword [rsp + 0x44]
mov r8, qword [r12 + 8]
sub r8, qword [r12]
lea r10, [rbp + 0x105]
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 0x14000be70
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x105]
mov rdx, r10
lea rcx, [rbp - 0x38]
call fcn.140019090
or ebx, 0x60
lea r8, [r15 + 0x28]
mov rcx, qword [r8 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 6
jb 0x14000d6a6
mov rax, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x14000bee1
mov rax, qword [r8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 6
lea r9, str.Host:
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140018c20
or ebx, 0x10
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._r_nContent_Length:
lea rcx, [rbp - 0x60]
call fcn.140017560
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], 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]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0xd0]
call fcn.140018a30
or ebx, 2
lea r8d, [r14 + 4]
lea rdx, str._r_n_r_n
lea rcx, [rbp + 0xd0]
call fcn.140017560
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x100], 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 + 0xf0]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x110]
call fcn.140017560
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0xf
jbe 0x14000c01d
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c017
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c017
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ad200
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0xf
jbe 0x14000c061
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c05c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c05c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ad200
movdqa xmm0, xmmword [0x1400c9e10]
movdqu xmmword [rbp + 0xe0], xmm0
mov byte [rbp + 0xd0], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x14000c0b7
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c0b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c0b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ad200
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14000c0f5
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c0f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c0f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ad200
movdqa xmm0, xmmword [0x1400c9e10]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14000c144
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c13f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c13f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ad200
xorps xmm0, xmm0
lea rdi, [rbp + 0x110]
cmp qword [rbp + 0x128], 0xf
cmova rdi, qword [rbp + 0x110]
add rdi, qword [rbp + 0x120]
lea rbx, [rbp + 0x110]
cmp qword [rbp + 0x128], 0xf
cmova rbx, qword [rbp + 0x110]
movdqu xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], r14
sub rdi, rbx
je 0x14000c1c1
mov rdx, rdi
lea rcx, [rbp + 0xd0]
call fcn.14001a1d0
mov r8, rdi
mov rdx, rbx
mov rbx, qword [rbp + 0xd0]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rdx, [rdi + rbx]
mov qword [rbp + 0xd8], rdx
jmp 0x14000c1c8
mov rdx, qword [rbp + 0xd8]
mov r8, qword [r12]
mov r9, qword [r12 + 8]
sub r9, r8
lea rcx, [rbp + 0xd0]
call fcn.140019380
movzx eax, byte [r15 + 1]
test al, al
jne 0x14000c1f1
mov r13d, 2
jmp 0x14000c1f9
cmp al, 1
jne 0x14000d5f9
mov ebx, 1
lea r8d, [rbx + 5]
mov edx, ebx
mov ecx, r13d
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
mov qword [rbp - 0x78], rax
cmp rax, 0xffffffffffffffff
je 0x14000d6b2
mov dword [rbp + 0x8c], ebx
lea r8, [rbp + 0x8c]
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x14000d6e5
movabs rbx, 0x431bde82d7b634db
test rsi, rsi
js 0x14000c28c
lea rcx, [rsp + 0x58]
call fcn.14000ad00
mov r12, qword [rbp - 0x68]
mov rcx, r12
sub rcx, qword [rsp + 0x58]
mov rax, rbx
imul rcx
mov rbx, rdx
sar rbx, 0x12
mov rax, rbx
shr rax, 0x3f
add rbx, rax
test rbx, rbx
mov r13d, 0
cmovle rbx, r13
jmp 0x14000c29a
mov rbx, 0xffffffffffffffff
mov r12, qword [rbp - 0x68]
xor r13d, r13d
mov rax, qword [rbp - 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 0x14000c2e1
nop word [rax + rax]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000c33f
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14000c2c0
mov ebx, 1
mov r14, qword [rbp + 0xd8]
mov r15, qword [rbp + 0xd0]
sub r14, r15
je 0x14000c426
nop dword [rax]
test rsi, rsi
js 0x14000c3b0
lea rcx, [rsp + 0x58]
call fcn.14000ad00
mov rcx, r12
sub rcx, qword [rsp + 0x58]
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test rdx, rdx
cmovle rdx, r13
jmp 0x14000c3b7
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14000d756
mov r8, rbx
mov ebx, 1
mov edx, ebx
lea rcx, [rbp - 0x78]
call fcn.14000b060
mov dword [rbp + 0x88], 4
lea rax, [rbp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x84]
mov edx, 0xffff
mov r8d, 0x1007
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x14000d722
mov edx, dword [rbp + 0x84]
test edx, edx
jne 0x14000d615
jmp 0x14000c2e6
mov rdx, 0xffffffffffffffff
mov r8, rdx
mov edx, ebx
lea rcx, [rbp - 0x78]
call fcn.14000b060
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 0x14000c411
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000c408
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 0x14000c3e0
jmp 0x14000c411
cmp ebx, 0xffffffff
je 0x14000d78a
movsxd rax, ebx
add r15, rax
sub r14, rax
je 0x14000c426
mov ebx, 1
jmp 0x14000c300
mov word [rbp + 0x80], 0xa0d
mov rax, qword [rsp + 0x50]
mov dword [rax], r13d
lea rcx, [rax + 8]
mov qword [rbp - 8], 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 + 0x8c], eax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf0], xmm1
mov qword [rbp + 0x100], r13
mov dword [rbp + 0x88], r13d
mov byte [rsp + 0x40], 0
mov qword [rsp + 0x58], r13
mov byte [rsp + 0x41], 0
mov r15, r13
mov qword [rbp - 0x80], r13
xor r12b, r12b
mov dword [rbp + 0x84], r12d
mov r14, qword [rbp + 0xf8]
mov r13, qword [rbp + 0xf0]
test rsi, rsi
js 0x14000c503
lea rcx, [rbp - 0x10]
call fcn.14000ad00
mov rcx, qword [rbp - 0x68]
sub rcx, qword [rbp - 0x10]
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 0x14000c50a
mov rdx, 0xffffffffffffffff
mov r8, rdx
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.14000b060
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x1e0]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14000c570
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000c567
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x1e0]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
je 0x14000c538
jmp 0x14000c570
cmp ebx, 0xffffffff
je 0x14000d7be
movsxd r9, ebx
test ebx, ebx
je 0x14000d4fa
lea r8, [rbp + 0x1e0]
mov rdx, r14
lea rcx, [rbp + 0xf0]
call fcn.140019380
mov r13, qword [rbp + 0xf0]
mov r14, qword [rbp + 0xf8]
mov qword [rsp + 0x48], r14
cmp dword [rbp + 0x88], 2
je 0x14000cf92
xor r12d, r12d
nop dword [rax]
nop dword [rax + rax]
mov rbx, r14
mov rax, r14
sub rax, r13
cmp rax, 2
jl 0x14000c60c
lea rdx, [r14 - 2]
movzx eax, word [rbp + 0x80]
cmp ax, word [r13]
sete al
mov rcx, r13
test al, al
jne 0x14000c609
nop dword [rax]
cmp rcx, rdx
je 0x14000c60c
inc rcx
movzx eax, word [rbp + 0x80]
cmp ax, word [rcx]
sete al
test al, al
je 0x14000c5f0
mov rbx, rcx
cmp rbx, r14
je 0x14000d01c
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
cmp r13, rbx
jne 0x14000c646
mov rcx, r12
mov qword [rbp + 0xa0], rcx
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xa8], rdx
mov byte [rbp + 0x90], 0
jmp 0x14000c758
mov r12, rbx
sub r12, r13
xor eax, eax
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], reloc.WS2_32.dll_ntohs
movabs rcx, 0x7fffffffffffffff
cmp r12, rcx
ja 0x14000d86c
mov r15d, reloc.WS2_32.dll_ntohs
cmp r12, r15
jbe 0x14000c712
mov r15, r12
or r15, 0xf
cmp r15, rcx
jbe 0x14000c6a1
mov r15, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x14000c6c8
cmp r15, 0x16
mov ecx, reloc.WS2_32.dll_shutdown
cmovb r15, rcx
lea rcx, [r15 + 1]
cmp rcx, 0x1000
jb 0x14000c6f8
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000d7f2
mov rcx, rax
call fcn.1400ad208
mov rcx, rax
test rax, rax
je 0x14000d381
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp + 0x90], rax
mov qword [rbp + 0xa8], r15
jmp 0x14000c719
test rcx, rcx
je 0x14000c702
call fcn.1400ad208
mov qword [rbp + 0x90], rax
mov qword [rbp + 0xa8], r15
jmp 0x14000c719
mov rax, qword [rbp + 0x90]
lea r14, [rbp + 0x90]
cmp r15, 0xf
cmova r14, rax
mov r8, r12
mov rdx, r13
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0xa0], r12
mov byte [r14 + r12], 0
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0xa0]
mov r14, qword [rsp + 0x48]
xor r12d, r12d
add rbx, 2
cmp r13, rbx
je 0x14000c78f
sub r14, rbx
mov r8, r14
mov rdx, rbx
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
add r14, r13
mov qword [rsp + 0x48], r14
mov qword [rbp + 0xf8], r14
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0xa0]
test rcx, rcx
je 0x14000cf43
mov r15d, dword [rbp + 0x88]
test r15d, r15d
jne 0x14000c9fa
mov dword [rbp + 0x88], 1
lea rax, [rbp + 0x90]
cmp rdx, 0xf
seta r9b
cmova rax, qword [rbp + 0x90]
lea rdx, [rcx + rax]
lea rcx, [rbp + 0x90]
test r9b, r9b
cmovne rcx, qword [rbp + 0x90]
mov r8b, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400ae450
mov rbx, rax
lea rax, [rbp + 0x90]
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
seta r10b
mov r8, qword [rbp + 0x90]
cmova rax, r8
mov r9, qword [rbp + 0xa0]
add rax, r9
cmp rbx, rax
je 0x14000cefb
inc rbx
lea rdx, [rbp + 0x90]
test r10b, r10b
cmovne rdx, r8
add rdx, r9
mov r8b, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rbx
call fcn.1400ae450
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
mov qword [rbp + 0x160], r12
mov qword [rbp + 0x168], r12
cmp rbx, rax
jne 0x14000c878
mov qword [rbp + 0x160], r12
mov qword [rbp + 0x168], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x150], r15b
jmp 0x14000c88e
mov r8, r14
sub r8, rbx
mov rdx, rbx
lea rcx, [rbp + 0x150]
call fcn.140018290
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r15, rax
lea rbx, [rbp + 0x150]
cmp qword [rbp + 0x168], 0xf
cmova rbx, qword [rbp + 0x150]
mov dword [rax], r12d
mov r8d, 0xa
lea rdx, [rbp + 0x78]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp + 0x78]
je 0x14000d349
cmp dword [r15], 0x22
je 0x14000d33b
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
lea rax, [rbp + 0x90]
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
seta r9b
mov r8, qword [rbp + 0x90]
cmova rax, r8
mov rcx, qword [rbp + 0xa0]
add rax, rcx
cmp r14, rax
je 0x14000c9af
lea rdx, [r14 + 1]
lea rax, [rbp + 0x90]
test r9b, r9b
cmovne rax, r8
lea r8, [rax + rcx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
cmp rdx, r8
jne 0x14000c950
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], 0
jmp 0x14000c95d
sub r8, rdx
lea rcx, [rsp + 0x60]
call fcn.140018290
lea rdx, [rsp + 0x60]
mov rcx, qword [rbp - 8]
call fcn.140016f50
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14000c9a8
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c9a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d32d
call fcn.1400ad200
mov rdx, qword [rbp + 0xa8]
mov rax, qword [rbp + 0x168]
cmp rax, 0xf
jbe 0x14000cefb
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c9f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d334
call fcn.1400ad200
jmp 0x14000cef4
cmp r15d, 1
jne 0x14000cefb
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx + 0x30]
cmp rax, qword [rbx + 0x38]
je 0x14000ca29
lea rdx, [rbp + 0x90]
mov rcx, rax
call fcn.140017130
add qword [rbx + 0x30], 0x20
jmp 0x14000ca3c
lea r8, [rbp + 0x90]
mov rdx, rax
lea rcx, [rbx + 0x28]
call fcn.140019e20
lea r14, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
seta r13b
mov r12, qword [rbp + 0x90]
cmova r14, r12
mov r15, qword [rbp + 0xa0]
test r15, r15
je 0x14000ca83
mov r8, r15
mov edx, Ordinal_60
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14000ca83
sub rbx, r14
jmp 0x14000ca8a
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x14000d835
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
xor eax, eax
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], rax
mov r8, rbx
cmp r15, rbx
cmovb r8, r15
lea rdx, [rbp + 0x90]
test r13b, r13b
cmovne rdx, r12
lea rcx, [rbp + 0x130]
call fcn.140018290
mov r14d, dword [rsp + 0x44]
bts r14d, 8
mov dword [rbp + 0x8c], r14d
lea r11, [rbp + 0x130]
cmp qword [rbp + 0x148], 0xf
seta cl
mov r9, qword [rbp + 0x130]
cmova r11, r9
lea rdx, [rbp + 0x130]
mov r10, qword [rbp + 0x140]
test cl, cl
je 0x14000cb17
add r10, r9
jmp 0x14000cb21
add r10, rdx
lea r9, [rbp + 0x130]
cmp r9, r10
je 0x14000cb52
sub r11, r9
nop dword [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 0x14000cb30
inc rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
xor r12d, r12d
mov qword [rbp + 0xc0], r12
mov qword [rbp + 0xc8], r12
mov rax, qword [rbp + 0xa0]
cmp rax, rbx
jb 0x14000d82f
sub rax, rbx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rdx, qword [rbp + 0x90]
add rdx, rbx
lea rcx, [rbp + 0xb0]
call fcn.140018290
bts r14d, 9
mov dword [rsp + 0x44], r14d
mov dword [rbp + 0x8c], r14d
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0xf
seta r9b
mov r8, qword [rbp + 0xb0]
cmova rdx, r8
mov r15, qword [rbp + 0xc0]
add rdx, r15
lea rax, [rbp + 0xb0]
test r9b, r9b
cmovne rax, r8
cmp rax, rdx
je 0x14000cc18
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x14000cc10
cmp cl, 9
jne 0x14000cc18
inc rax
cmp rax, rdx
jne 0x14000cc03
lea rcx, [rbp + 0xb0]
mov rdx, r12
test r9b, r9b
je 0x14000cc39
sub rax, r8
mov rcx, r15
sub rcx, r12
cmp rcx, rax
cmovb rax, rcx
jmp 0x14000cc4a
sub rax, rcx
cmp r15, rax
cmovb rax, r15
lea r8, [rbp + 0xb0]
lea rcx, [r8 + rdx]
sub r15, rax
mov r8, r15
sub r8, rdx
inc r8
lea rdx, [rcx + rax]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0xc0], r15
lea r9, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0xf
seta r11b
mov r10, qword [rbp + 0xb0]
cmova r9, r10
add r9, r15
lea rcx, [rbp + 0xb0]
test r11b, r11b
je 0x14000cc9f
mov rcx, r10
mov rax, r10
jmp 0x14000cca6
lea rax, [rbp + 0xb0]
lea rdx, [rax + r15]
cmp rdx, rcx
je 0x14000cccc
nop
lea rax, [rdx - 1]
movzx r8d, byte [rax]
cmp r8b, 0x20
je 0x14000ccc4
cmp r8b, 9
jne 0x14000cccc
mov rdx, rax
cmp rax, rcx
jne 0x14000ccb0
lea rax, [rbp + 0xb0]
sub r9, rdx
test r11b, r11b
je 0x14000cce0
sub rdx, r10
jmp 0x14000ccea
sub rdx, rax
lea r10, [rbp + 0xb0]
mov rax, r15
sub rax, rdx
cmp rax, r9
cmovb r9, rax
lea rcx, [r10 + rdx]
sub r15, r9
mov r8, r15
sub r8, rdx
inc r8
lea rdx, [rcx + r9]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0xc0], r15
lea rcx, [rbp + 0x130]
mov rbx, qword [rbp + 0x148]
cmp rbx, 0xf
seta r12b
cmova rcx, qword [rbp + 0x130]
mov r14, qword [rbp + 0x140]
cmp r14, 0xe
jne 0x14000cde6
mov r8, r14
lea rdx, str.content_length
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000cde6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rbx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0xf
cmova rbx, qword [rbp + 0xb0]
xor r12d, r12d
mov dword [rax], r12d
lea r8d, [r12 + 0xa]
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
cmp rbx, qword [rbp + 0x70]
je 0x14000d365
cmp dword [r14], 0x22
je 0x14000d357
mov edx, eax
mov qword [rsp + 0x58], rdx
mov byte [rsp + 0x40], 1
mov qword [rbp + 0x190], rdx
mov rcx, qword [rsp + 0x50]
add rcx, 0x40
mov rax, qword [rcx + 0x10]
sub rax, qword [rcx]
cmp rdx, rax
jbe 0x14000cddd
lea rdx, [rbp + 0x190]
call fcn.140018060
mov rbx, qword [rbp + 0x148]
jmp 0x14000ce51
lea rcx, [rbp + 0x130]
test r12b, r12b
cmovne rcx, qword [rbp + 0x130]
cmp r14, 0x11
jne 0x14000ce4e
mov r8, r14
lea rdx, str.transfer_encoding
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000ce4e
lea rcx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0xf
cmova rcx, qword [rbp + 0xb0]
cmp r15, 7
jne 0x14000d7f8
mov r8, r15
lea rdx, str.chunked
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000d7f8
mov byte [rsp + 0x41], 1
xor r12d, r12d
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x14000ce99
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ce8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d373
call fcn.1400ad200
mov rbx, qword [rbp + 0x148]
mov qword [rbp + 0xc0], r12
mov qword [rbp + 0xc8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xb0], 0
cmp rbx, 0xf
jbe 0x14000ceed
lea rdx, [rbx + 1]
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cee8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d37a
call fcn.1400ad200
mov r13, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
mov r14, qword [rsp + 0x48]
jbe 0x14000c5c0
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cf39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d381
call fcn.1400ad200
jmp 0x14000c5c0
mov dword [rbp + 0x88], 2
cmp rdx, 0xf
jbe 0x14000cf87
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cf82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d381
call fcn.1400ad200
mov r15, qword [rbp - 0x80]
mov r12d, dword [rbp + 0x84]
cmp byte [rsp + 0x41], 0
je 0x14000d1c6
nop dword [rax]
test r15, r15
je 0x14000d039
mov rax, r14
sub rax, r13
mov rbx, r15
cmp rax, r15
cmovb rbx, rax
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rcx + 0x48]
mov r9, rbx
mov r8, r13
add rcx, 0x40
call fcn.140019380
lea rdx, [rbx + r13]
cmp r13, rdx
je 0x14000cff7
sub r14, rdx
mov r8, r14
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
add r14, r13
mov qword [rsp + 0x48], r14
mov qword [rbp + 0xf8], r14
sub r15, rbx
mov qword [rbp - 0x80], r15
movzx r12d, r12b
mov eax, 1
cmove r12d, eax
mov dword [rbp + 0x84], r12d
cmp r13, r14
jne 0x14000cfa0
jmp 0x14000c4c4
cmp dword [rbp + 0x88], 2
mov r15, qword [rbp - 0x80]
mov r12d, dword [rbp + 0x84]
jne 0x14000c4c4
jmp 0x14000cf8b
test r12b, r12b
je 0x14000d095
mov rax, r14
sub rax, r13
cmp rax, 2
jb 0x14000c4c4
movzx eax, word [rbp + 0x80]
cmp ax, word [r13]
sete al
test al, al
je 0x14000d872
xor r12b, r12b
mov dword [rbp + 0x84], r12d
lea rdx, [r13 + 2]
cmp r13, rdx
je 0x14000d095
sub r14, rdx
mov r8, r14
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
add r14, r13
mov qword [rsp + 0x48], r14
mov qword [rbp + 0xf8], r14
mov rbx, r14
mov rax, r14
sub rax, r13
cmp rax, 2
jl 0x14000d0dc
lea rdx, [r14 - 2]
movzx eax, word [rbp + 0x80]
cmp ax, word [r13]
sete al
mov rcx, r13
test al, al
jne 0x14000d0d9
nop
cmp rcx, rdx
je 0x14000d0dc
inc rcx
movzx eax, word [rbp + 0x80]
cmp ax, word [rcx]
sete al
test al, al
je 0x14000d0c0
mov rbx, rcx
cmp rbx, r14
je 0x14000c4c4
mov r8, rbx
mov rdx, r13
lea rcx, [rbp + 0x170]
call fcn.140017d90
nop
lea rdx, [rbx + 2]
cmp r13, rdx
je 0x14000d11e
sub r14, rdx
mov r8, r14
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
add r14, r13
mov qword [rsp + 0x48], r14
mov qword [rbp + 0xf8], r14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rbx, [rbp + 0x170]
cmp qword [rbp + 0x188], 0xf
cmova rbx, qword [rbp + 0x170]
xor eax, eax
mov dword [r14], eax
lea r8d, [rax + 0x10]
lea rdx, [rbp + 0x60]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
cmp rbx, qword [rbp + 0x60]
je 0x14000d4ec
cmp dword [r14], 0x22
je 0x14000d4de
mov r15d, eax
mov qword [rbp - 0x80], r15
mov rdx, qword [rbp + 0x188]
test eax, eax
je 0x14000d388
cmp rdx, 0xf
mov r14, qword [rsp + 0x48]
jbe 0x14000cfa0
inc rdx
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d1bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d3b9
call fcn.1400ad200
jmp 0x14000cfa0
mov r9, r14
sub r9, r13
mov rbx, qword [rsp + 0x50]
mov rdx, qword [rbx + 0x48]
mov r8, r13
lea rcx, [rbx + 0x40]
call fcn.140019380
cmp r13, r14
cmovne r14, r13
mov qword [rbp + 0xf8], r14
cmp byte [rsp + 0x40], 0
je 0x14000c4c4
mov rax, qword [rbx + 0x48]
sub rax, qword [rbx + 0x40]
cmp rax, qword [rsp + 0x58]
jb 0x14000c4c4
test r13, r13
je 0x14000d24a
mov rdx, qword [rbp + 0x100]
sub rdx, r13
mov rax, r13
cmp rdx, 0x1000
jb 0x14000d241
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d52a
mov rcx, r13
call fcn.1400ad200
nop
cmp rdi, 0xffffffffffffffff
je 0x14000d25a
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x14000d29b
mov rdx, qword [rbp + 0xe0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d295
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d581
call fcn.1400ad200
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x14000d2dc
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d2d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d5c6
call fcn.1400ad200
movdqa xmm0, xmmword [0x1400c9e10]
movdqu xmmword [rbp + 0x120], xmm0
mov byte [rbp + 0x110], 0
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
mov rax, qword [rsp + 0x50]
mov rcx, qword [rbp + 0x11e0]
xor rcx, rsp
call fcn.1400ad1e0
mov rbx, qword [rsp + 0x1348]
add rsp, 0x12f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
lea rcx, str.stoul_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoul_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rdx, 0xf
jbe 0x14000d3c5
inc rdx
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d3c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d3c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ad200
xor eax, eax
mov qword [rbp + 0x180], rax
mov qword [rbp + 0x188], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x170], al
test r13, r13
je 0x14000d41f
mov rdx, qword [rbp + 0x100]
sub rdx, r13
mov rax, r13
cmp rdx, 0x1000
jb 0x14000d416
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d416
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.1400ad200
nop
cmp rdi, 0xffffffffffffffff
je 0x14000d42f
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x14000d473
mov rdx, qword [rbp + 0xe0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d46d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d46d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ad200
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x14000d4b7
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d4b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d4b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ad200
movdqa xmm0, xmmword [0x1400c9e10]
movdqu xmmword [rbp + 0x120], xmm0
mov byte [rbp + 0x110], 0
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x14000d2fe
lea rcx, str.stoul_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoul_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
test r13, r13
je 0x14000d53a
mov rdx, qword [rbp + 0x100]
sub rdx, r13
mov rax, r13
cmp rdx, 0x1000
jb 0x14000d531
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d531
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.1400ad200
nop
cmp rdi, 0xffffffffffffffff
je 0x14000d54a
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x14000d58e
mov rdx, qword [rbp + 0xe0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d588
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d588
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ad200
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x14000d5d2
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d5cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d5cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ad200
movdqa xmm0, xmmword [0x1400c9e10]
movdqu xmmword [rbp + 0x120], xmm0
mov byte [rbp + 0x110], 0
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x14000d2fe
lea rcx, [rsp + 0x60]
call fcn.14000ae40
lea rdx, [0x1400da8f0]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140008220
mov r8, rax
lea r9, str.Failed_to_connect
lea rcx, [rbp - 0x60]
call fcn.140007ee0
lea rdx, [0x1400da7e0]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rsp + 0x60]
call fcn.14000ae40
lea rdx, [0x1400da8f0]
lea rcx, [rsp + 0x60]
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.140017830
mov rdi, rax
call fcn.140008220
mov rbx, rax
call fcn.14000afb0
mov edx, eax
mov r9, rdi
mov r8, rbx
lea rcx, [rbp]
call fcn.140007ea0
lea rdx, [0x1400da7e0]
lea rcx, [rbp]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140007930
nop
call fcn.140007930
nop
call fcn.140007930
nop
call fcn.140008220
mov rbx, rax
call fcn.14000afb0
mov edx, eax
lea r9, str.Failed_to_create_socket
mov r8, rbx
lea rcx, [rbp - 0x38]
call fcn.140007ee0
lea rdx, [0x1400da7e0]
lea rcx, [rbp - 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x78]
call fcn.14000b1d0
call fcn.140008220
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]
call fcn.140007ee0
lea rdx, [0x1400da7e0]
lea rcx, [rbp]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140008220
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.140007ee0
lea rdx, [0x1400da7e0]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140008220
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.140007ee0
lea rdx, [0x1400da7e0]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140008220
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.140007ee0
lea rdx, [0x1400da7e0]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140008220
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.140007ee0
lea rdx, [0x1400da7e0]
lea rcx, [rbp - 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140007890
nop
lea r8, [rbp + 0xb0]
lea rdx, str.Unsupported_transfer_encoding:
lea rcx, [rbp - 0x38]
call fcn.140017830
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14000af20
lea rdx, [0x1400da960]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140017810
nop
lea r8, [rbp + 0x90]
lea rdx, str.Invalid_header:
lea rcx, [rbp - 0x38]
call fcn.140017830
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14000af20
lea rdx, [0x1400da960]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140007930
int3
lea rdx, str.Invalid_chunk
lea rcx, [rsp + 0x60]
call fcn.14000aeb0
lea rdx, [0x1400da960]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3