Function at 0x14000c450
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.1400b4140
sub rsp, rax
mov rax, qword [0x1400e8468]
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 0x14000c4cb
imul rax, rax, 0x64
jmp 0x14000c4e6
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 0x14000c528
lea eax, [r13 - 0x15]
jmp 0x14000c533
cmp al, 1
jne 0x14000df33
mov eax, r13d
mov dword [rbp + 0x1c4], eax
mov dword [rbp + 0x1c8], 1
lea rcx, [r15 + 0x48]
cmp qword [r15 + 0x60], 0x10
jb 0x14000c552
mov rcx, qword [r15 + 0x48]
lea rdx, [r15 + 0x68]
cmp qword [rdx + 0x18], 0x10
jb 0x14000c560
mov rdx, qword [rdx]
lea r9, [rbp + 0x90]
lea r8, [rbp + 0x1c0]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x14000df53
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 0x14000df99
cmp qword [rbx + 0x18], 0x10
jb 0x14000c5cf
mov rbx, qword [rbx]
mov qword [rsp + 0x30], 1
lea rax, [0x1400cbe7c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rbx
lea rcx, [rbp + 0x18]
call fcn.14002b9e0
nop
lea rdx, [r15 + 0x88]
cmp qword [r15 + 0xa0], 0x10
jb 0x14000c60e
mov rdx, qword [r15 + 0x88]
mov r8, qword [r15 + 0x98]
lea rcx, [rbp + 0x18]
call fcn.140025890
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.140025890
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 0x14000c6e3
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c6de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c6de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b35e0
movdqa xmm0, xmmword [0x1400d0cc0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x14000c733
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c72e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c72e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b35e0
movdqa xmm0, xmmword [0x1400d0cc0]
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x18], 0
mov rbx, qword [r14]
mov r14, qword [r14 + 8]
cmp rbx, r14
je 0x14000c828
lea rdx, [0x1400cbe80]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rax, rdi
sub rax, rcx
cmp rax, 2
jb 0x14000dfa5
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000c781
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.14002b9e0
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.140025890
nop
mov rdx, qword [rbp + 0x1208]
cmp rdx, 0x10
jb 0x14000c814
inc rdx
mov rcx, qword [rbp + 0x11f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c80f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000de71
call fcn.1400b35e0
add rbx, 0x20
cmp rbx, r14
lea rdx, [0x1400cbe80]
jne 0x14000c760
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 0x14000c850
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x1205]
mov rdx, r10
lea rcx, [rbp - 0x38]
call fcn.14002bf90
mov ebx, dword [rsp + 0x44]
or ebx, 0x60
lea rax, [r15 + 0x28]
mov rcx, qword [rax + 0x10]
sub rdi, rcx
cmp rdi, 6
jb 0x14000df9f
cmp qword [rax + 0x18], 0x10
jb 0x14000c8b8
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.14002b9e0
or ebx, 0x10
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._r_nContent_Length:
lea rcx, [rbp + 0x58]
call fcn.140025890
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.14002b7f0
or ebx, 2
lea r8d, [r14 + 4]
lea rdx, str._r_n_r_n
lea rcx, [rbp + 0x38]
call fcn.140025890
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.140025890
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14000c9da
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c9d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c9d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b35e0
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x14000ca18
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ca13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ca13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b35e0
movdqa xmm0, xmmword [0x1400d0cc0]
movdqu xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x14000ca68
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ca62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ca62
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b35e0
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x14000caa6
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000caa1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000caa1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b35e0
movdqa xmm0, xmmword [0x1400d0cc0]
movdqu xmmword [rbp + 0x68], xmm0
mov byte [rbp + 0x58], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14000caf5
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000caf0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000caf0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b35e0
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 0x14000cb72
mov rdx, rdi
lea rcx, [rbp + 0x118]
call fcn.14002b490
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 0x14000cb79
mov rdx, qword [rbp + 0x120]
mov r8, qword [r12]
mov r9, qword [r12 + 8]
sub r9, r8
lea rcx, [rbp + 0x118]
call fcn.14002c280
movzx eax, byte [r15 + 1]
test al, al
jne 0x14000cba2
mov r13d, 2
jmp 0x14000cbaa
cmp al, 1
jne 0x14000deea
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 0x14000dfab
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 0x14000dfde
movabs r14, 0x431bde82d7b634db
test rsi, rsi
js 0x14000cc6b
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 0x14000cc20
imul rax, rax, 0x64
jmp 0x14000cc3b
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 0x14000cc79
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 0x14000ccc1
nop word [rax + rax]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000cd02
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14000cca0
mov r14, qword [rbp + 0x120]
mov r15, qword [rbp + 0x118]
sub r14, r15
je 0x14000ce3a
test rsi, rsi
js 0x14000cdb7
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 0x14000cd72
imul rax, rax, 0x64
jmp 0x14000cd8d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14000e050
mov r8, rbx
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.14000bc20
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 0x14000e01c
mov edx, dword [rbp + 0xb4]
test edx, edx
jne 0x14000df0a
jmp 0x14000ccc1
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 0x14000cdbe
mov rdx, 0xffffffffffffffff
mov r8, rdx
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.14000bc20
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 0x14000ce2c
nop dword [rax]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000ce23
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 0x14000cdf0
cdqe
add r15, rax
sub r14, rax
jmp 0x14000ccd2
cmp ebx, 0xffffffff
je 0x14000e084
movsxd rax, ebx
add r15, rax
sub r14, rax
jmp 0x14000ccd2
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 0x14000cf40
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 0x14000cef5
imul rax, rax, 0x64
jmp 0x14000cf10
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 0x14000cf47
mov rdx, 0xffffffffffffffff
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14000bc20
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 0x14000cfae
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000cfa5
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 0x14000cf76
jmp 0x14000cfae
cmp ebx, 0xffffffff
je 0x14000e0b8
movsxd r9, ebx
test ebx, ebx
je 0x14000ddea
lea r8, [rbp + 0x1f0]
mov rdx, r14
lea rcx, [rbp + 0x100]
call fcn.14002c280
mov r15, qword [rbp + 0x100]
mov r14, qword [rbp + 0x108]
mov qword [rsp + 0x48], r14
cmp dword [rbp + 0xb8], 2
je 0x14000d869
nop
mov rbx, r14
mov rcx, r14
sub rcx, r15
movzx eax, word [rbp + 0xb0]
cmp rcx, 2
jl 0x14000d02d
lea r8, [r14 - 2]
cmp ax, word [r15]
sete cl
mov rdx, r15
test cl, cl
jne 0x14000d02a
cmp rdx, r8
je 0x14000d02d
inc rdx
cmp ax, word [rdx]
sete cl
test cl, cl
je 0x14000d018
mov rbx, rdx
cmp rbx, r14
je 0x14000d908
mov r8, rbx
mov rdx, r15
lea rcx, [rbp + 0xe0]
call fcn.1400273c0
nop
lea rdx, [rbx + 2]
cmp r15, rdx
je 0x14000d06f
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 0x14000d812
mov r12d, dword [rbp + 0xb8]
test r12d, r12d
jne 0x14000d2dc
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.1400b48d0
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 0x14000d7c7
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.1400b48d0
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 0x14000d161
mov qword [rbp + 0x180], r13
mov qword [rbp + 0x188], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x170], r13b
jmp 0x14000d177
mov r8, r14
sub r8, rbx
mov rdx, rbx
lea rcx, [rbp + 0x170]
call fcn.14002a8c0
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 0x14000dc38
cmp dword [r15], 0x22
je 0x14000dc2a
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 0x14000d291
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 0x14000d239
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
jmp 0x14000d246
sub r8, rdx
lea rcx, [rsp + 0x70]
call fcn.14002a8c0
lea rdx, [rsp + 0x70]
lea rcx, [rbx + 8]
call fcn.1400259f0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14000d291
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d28b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dc23
call fcn.1400b35e0
nop
mov rdx, qword [rbp + 0x188]
cmp rdx, 0x10
jb 0x14000d7bb
inc rdx
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d7b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d7b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp r12d, 1
jne 0x14000d7c7
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx + 0x30]
cmp rax, qword [rbx + 0x38]
je 0x14000d30b
lea rdx, [rbp + 0xe0]
mov rcx, rax
call fcn.140025bd0
add qword [rbx + 0x30], 0x20
jmp 0x14000d31e
lea r8, [rbp + 0xe0]
mov rdx, rax
lea rcx, [rbx + 0x28]
call fcn.14002d5a0
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 0x14000d365
mov r8, r15
mov edx, Ordinal_60
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14000d365
sub rbx, r14
jmp 0x14000d36c
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x14000e12d
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.14002a8c0
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 0x14000d3f9
add r10, r9
jmp 0x14000d403
add r10, rdx
lea r9, [rbp + 0x150]
cmp r9, r10
je 0x14000d432
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 0x14000d410
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 0x14000e127
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.14002a8c0
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 0x14000d4f8
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x14000d4f0
cmp cl, 9
jne 0x14000d4f8
inc rax
cmp rax, rdx
jne 0x14000d4e3
lea rcx, [rbp + 0xc0]
mov rdx, r13
test r9b, r9b
je 0x14000d519
sub rax, r8
mov rcx, r15
sub rcx, r13
cmp rcx, rax
cmovb rax, rcx
jmp 0x14000d52a
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 0x14000d57f
mov rcx, r10
mov rax, r10
jmp 0x14000d586
lea rax, [rbp + 0xc0]
lea rdx, [rax + r15]
cmp rdx, rcx
je 0x14000d5ac
nop
lea rax, [rdx - 1]
movzx r8d, byte [rax]
cmp r8b, 0x20
je 0x14000d5a4
cmp r8b, 9
jne 0x14000d5ac
mov rdx, rax
cmp rax, rcx
jne 0x14000d590
lea rax, [rbp + 0xc0]
sub r9, rdx
test r11b, r11b
je 0x14000d5c0
sub rdx, r10
jmp 0x14000d5ca
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 0x14000d6b7
mov r8, r14
lea rdx, str.content_length
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000d6b7
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 0x14000dc54
cmp dword [r14], 0x22
je 0x14000dc46
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 0x14000d6ae
call fcn.1400261d0
mov rbx, qword [rbp + 0x168]
jmp 0x14000d71f
lea rcx, [rbp + 0x150]
test r12b, r12b
cmovne rcx, qword [rbp + 0x150]
cmp r14, 0x11
jne 0x14000d71f
mov r8, r14
lea rdx, str.transfer_encoding
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000d71f
lea rcx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae rcx, qword [rbp + 0xc0]
cmp r15, 7
jne 0x14000e0ec
mov r8, r15
lea rdx, str.chunked
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000e0ec
mov byte [rsp + 0x41], 1
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x14000d767
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d75b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dc62
call fcn.1400b35e0
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 0x14000d7bb
lea rdx, [rbx + 1]
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d7b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dc69
call fcn.1400b35e0
mov r15, qword [rbp + 0x100]
mov r14, qword [rsp + 0x48]
mov rcx, qword [rbp + 0xf8]
cmp rcx, 0x10
jb 0x14000cff0
lea rdx, [rcx + 1]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d808
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dc70
call fcn.1400b35e0
jmp 0x14000cff0
mov dword [rbp + 0xb8], 2
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x14000d85d
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d858
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dc70
call fcn.1400b35e0
mov r12, qword [rsp + 0x58]
mov r13d, dword [rbp + 0xb4]
movzx eax, word [rbp + 0xb0]
cmp byte [rsp + 0x41], 0
je 0x14000dabc
nop dword [rax + rax]
test r12, r12
je 0x14000d926
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.14002c280
lea rdx, [r15 + rbx]
cmp r15, rdx
je 0x14000d8d7
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 0x14000ced2
movzx eax, word [rbp + 0xb0]
jmp 0x14000d880
cmp dword [rbp + 0xb8], 2
mov r12, qword [rsp + 0x58]
mov r13d, dword [rbp + 0xb4]
jne 0x14000ced2
jmp 0x14000d870
test r13b, r13b
je 0x14000d981
mov rcx, r14
sub rcx, r15
cmp rcx, 2
jb 0x14000ced2
cmp ax, word [r15]
sete cl
test cl, cl
je 0x14000e168
xor r13b, r13b
mov dword [rbp + 0xb4], r13d
lea rdx, [r15 + 2]
cmp r15, rdx
je 0x14000d981
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 0x14000d9b7
lea r8, [r14 - 2]
cmp ax, word [r15]
sete cl
mov rdx, r15
test cl, cl
jne 0x14000d9b4
cmp rdx, r8
je 0x14000d9b7
inc rdx
cmp ax, word [rdx]
sete cl
test cl, cl
je 0x14000d9a2
mov rbx, rdx
cmp rbx, r14
je 0x14000ced2
mov r8, rbx
mov rdx, r15
lea rcx, [rbp + 0x190]
call fcn.1400273c0
nop
lea rdx, [rbx + 2]
cmp r15, rdx
je 0x14000d9f9
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 0x14000dddc
cmp dword [r14], 0x22
je 0x14000ddce
mov r12d, eax
mov qword [rsp + 0x58], r12
mov rdx, qword [rbp + 0x1a8]
test eax, eax
je 0x14000dc77
cmp rdx, 0x10
jae 0x14000da77
movzx eax, word [rbp + 0xb0]
mov r14, qword [rsp + 0x48]
jmp 0x14000d880
inc rdx
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000daa6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dca8
call fcn.1400b35e0
movzx eax, word [rbp + 0xb0]
mov r14, qword [rsp + 0x48]
jmp 0x14000d880
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.14002c280
cmp r15, r14
cmovne r14, r15
mov qword [rbp + 0x108], r14
cmp byte [rsp + 0x40], 0
je 0x14000ced2
mov rax, qword [rbx + 0x48]
sub rax, qword [rbx + 0x40]
cmp rax, qword [rbp - 0x68]
jb 0x14000ced2
test r15, r15
je 0x14000db3f
mov rdx, qword [rbp + 0x110]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x14000db36
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000de1a
mov rcx, r15
call fcn.1400b35e0
nop
cmp rdi, 0xffffffffffffffff
je 0x14000db4f
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x14000db90
mov rdx, qword [rbp + 0x128]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000db8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000de71
call fcn.1400b35e0
nop
mov rdx, qword [rbp + 0x148]
cmp rdx, 0x10
jb 0x14000dbd1
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dbcc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000deb6
call fcn.1400b35e0
movdqa xmm0, xmmword [0x1400d0cc0]
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.1400b35c0
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 0x14000dcb4
inc rdx
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dcaf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000dcaf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b35e0
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 0x14000dd0e
mov rdx, qword [rbp + 0x110]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x14000dd05
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000dd05
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1400b35e0
nop
cmp rdi, 0xffffffffffffffff
je 0x14000dd1e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x14000dd62
mov rdx, qword [rbp + 0x128]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dd5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000dd5c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b35e0
nop
mov rdx, qword [rbp + 0x148]
cmp rdx, 0x10
jb 0x14000dda6
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dda1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000dda1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b35e0
movdqa xmm0, xmmword [0x1400d0cc0]
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 0x14000dbf4
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 0x14000de2a
mov rdx, qword [rbp + 0x110]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x14000de21
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000de21
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1400b35e0
nop
cmp rdi, 0xffffffffffffffff
je 0x14000de3a
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x14000de7e
mov rdx, qword [rbp + 0x128]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000de78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000de78
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b35e0
nop
mov rdx, qword [rbp + 0x148]
cmp rdx, 0x10
jb 0x14000dec2
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000debd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000debd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b35e0
movdqa xmm0, xmmword [0x1400d0cc0]
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 0x14000dbf4
lea rcx, [rbp + 0x11f0]
call fcn.14000ba40
lea rdx, [0x1400e2288]
lea rcx, [rbp + 0x11f0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140008b70
mov r8, rax
lea r9, str.Failed_to_connect
lea rcx, [rbp - 0x60]
call fcn.140008830
lea rdx, [0x1400e20d8]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rbp + 0x118]
call fcn.14000ba40
lea rdx, [0x1400e2288]
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.140026ed0
mov rdi, rax
call fcn.140008b70
mov rbx, rax
call fcn.14000bb70
mov edx, eax
mov r9, rdi
mov r8, rbx
lea rcx, [rbp - 0x10]
call fcn.1400087f0
lea rdx, [0x1400e20d8]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140008290
nop
call fcn.140008290
nop
call fcn.140008290
nop
call fcn.140008b70
mov rbx, rax
call fcn.14000bb70
mov edx, eax
lea r9, str.Failed_to_create_socket
mov r8, rbx
lea rcx, [rbp - 0x38]
call fcn.140008830
lea rdx, [0x1400e20d8]
lea rcx, [rbp - 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rsp + 0x60]
call fcn.14000bd90
call fcn.140008b70
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.140008830
lea rdx, [0x1400e20d8]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140008b70
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.140008830
lea rdx, [0x1400e20d8]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140008b70
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.140008830
lea rdx, [0x1400e20d8]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140008b70
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.140008830
lea rdx, [0x1400e20d8]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140008b70
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.140008830
lea rdx, [0x1400e20d8]
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.140026ed0
nop
mov rdx, rax
lea rcx, [rbp + 0x11f0]
call fcn.14000bb20
lea rdx, [0x1400e22f8]
lea rcx, [rbp + 0x11f0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400268c0
nop
lea r8, [rbp + 0xe0]
lea rdx, str.Invalid_header:
lea rcx, [rbp - 0x38]
call fcn.140026ed0
nop
mov rdx, rax
lea rcx, [rbp + 0x11f0]
call fcn.14000bb20
lea rdx, [0x1400e22f8]
lea rcx, [rbp + 0x11f0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Invalid_chunk
lea rcx, [rbp + 0x11f0]
call fcn.14000bab0
lea rdx, [0x1400e22f8]
lea rcx, [rbp + 0x11f0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3