Function at 0x14009c310
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:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1218]
mov eax, 0x1318
call fcn.14012c4b0
sub rsp, rax
mov rax, qword [0x14018e298]
xor rax, rsp
mov qword [rbp + 0x1200], rax
mov r12, r9
mov rbx, r8
mov qword [rsp + 0x50], rdx
mov r15, rcx
mov qword [rbp + 0xa8], rdx
mov r14, qword [rbp + 0x1280]
mov r13d, 1
mov dword [rbp + 0xf0], r13d
lea rcx, [rbp + 0xb0]
call fcn.14008b690
mov rsi, qword [rbp + 0x1288]
imul rcx, rsi, 0xf4240
add rcx, qword [rax]
mov qword [rbp - 0x70], rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c8], xmm0
movups xmmword [rbp + 0x1d8], xmm0
movups xmmword [rbp + 0x1e8], xmm0
movzx ecx, byte [r15 + 1]
call fcn.1400821f0
mov dword [rbp + 0x1cc], eax
mov dword [rbp + 0x1d0], r13d
lea rcx, [r15 + 0x48]
cmp qword [r15 + 0x60], 0x10
jb 0x14009c3cb
mov rcx, qword [r15 + 0x48]
lea rdx, [r15 + 0x68]
cmp qword [rdx + 0x18], 0x10
jb 0x14009c3d9
mov rdx, qword [rdx]
lea r9, [rbp + 0xc0]
lea r8, [rbp + 0x1c8]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x14009dcd8
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov rax, qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0xc0]
mov qword [rbp - 0x78], rax
mov qword [rbp + 0x38], rax
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 1
jb 0x14009dd1e
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14009c43e
mov r9, qword [rbx]
mov qword [rsp + 0x30], r13
lea rax, [0x14014dd4c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r8, rbx
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x60]
call fcn.140006b90
nop
lea r8, [r15 + 0x88]
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.140014840
nop
mov r8d, recv
lea rdx, str._HTTP_1.1_r_n
mov rcx, rax
call fcn.14000ce70
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x160], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x150], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x160], xmm1
xor ecx, ecx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], cl
mov r13d, 0x301
lea rcx, [rbp - 0x18]
call fcn.140006de0
nop
lea rcx, [rbp + 0x60]
call fcn.140006de0
mov rdi, qword [r14]
mov r14, qword [r14 + 8]
cmp rdi, r14
je 0x14009c5a3
lea rdx, [0x14014dd50]
movzx ebx, byte [rsp + 0x40]
nop
mov rcx, qword [rdi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 2
jb 0x14009dd2a
mov r9, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14009c528
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, [rsp + 0x60]
call fcn.140006b90
or r13d, 0x20
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [rbp + 0x150]
call fcn.14000ce70
nop
mov r8, qword [rsp + 0x78]
cmp r8, 0x10
jb 0x14009c58f
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140045bf0
add rdi, 0x20
cmp rdi, r14
lea rdx, [0x14014dd50]
jne 0x14009c500
mov rdx, qword [r12 + 8]
sub rdx, qword [r12]
lea rcx, [rbp - 0x40]
call fcn.1400a4ee0
mov rbx, rax
lea r8, [r15 + 0x28]
mov rcx, qword [r8 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 6
jb 0x14009dd24
mov rax, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14009c5e4
mov rax, qword [r8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 6
lea r9, [0x14014dd74]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140006b90
or r13d, 0x10
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._r_nContent_Length:
lea rcx, [rsp + 0x60]
call fcn.14000ce70
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
xor r14d, r14d
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
or r13d, 8
mov r9, rbx
lea r8, [rbp + 0x10]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.14000a720
or r13d, 2
lea r8d, [r14 + 4]
lea rdx, str._r_n_r_n
lea rcx, [rbp + 0x40]
call fcn.14000ce70
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x88], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x98], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
or r13d, 4
lea rdx, [rbp + 0x88]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x150]
call fcn.14000ce70
nop
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x14009c71b
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009c715
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009c715
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x14009c759
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009c754
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009c754
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
movdqa xmm0, xmmword [0x14014cf50]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
mov r8, qword [rbp + 0x28]
cmp r8, 0x10
jb 0x14009c785
inc r8
mov rdx, qword [rbp + 0x10]
lea rcx, [rbp + 0x10]
call fcn.140045bf0
nop
mov r8, qword [rsp + 0x78]
cmp r8, 0x10
jb 0x14009c7a2
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140045bf0
movdqa xmm0, xmmword [0x14014cf50]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov r8, qword [rbp - 0x28]
cmp r8, 0x10
jb 0x14009c7cf
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.140045bf0
xorps xmm0, xmm0
lea rdx, [rbp + 0x150]
cmp qword [rbp + 0x168], 0x10
cmovae rdx, qword [rbp + 0x150]
mov rdi, qword [rbp + 0x160]
add rdi, rdx
lea rbx, [rbp + 0x150]
cmp qword [rbp + 0x168], 0x10
cmovae rbx, qword [rbp + 0x150]
movdqu xmmword [rbp + 0x170], xmm0
mov qword [rbp + 0x180], r14
sub rdi, rbx
je 0x14009c84f
mov rdx, rdi
lea rcx, [rbp + 0x170]
call fcn.1400384c0
mov r8, rdi
mov rdx, rbx
mov rbx, qword [rbp + 0x170]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rdx, [rdi + rbx]
mov qword [rbp + 0x178], rdx
jmp 0x14009c856
mov rdx, qword [rbp + 0x178]
mov r8, qword [r12]
mov r9, qword [r12 + 8]
sub r9, r8
lea rcx, [rbp + 0x170]
call fcn.140019630
movzx ecx, byte [r15 + 1]
call fcn.1400821f0
mov ecx, eax
mov ebx, 1
lea r8d, [rbx + 5]
mov edx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
mov qword [rbp - 0x80], rax
cmp rax, 0xffffffffffffffff
je 0x14009dd30
mov dword [rbp + 0xf4], ebx
lea r8, [rbp + 0xf4]
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x14009dd63
lea rax, [rbx - 2]
mov r12, qword [rbp - 0x70]
test rsi, rsi
js 0x14009c8d4
mov rcx, r12
call fcn.140082340
mov r15, rax
mov rax, qword [rbp - 0x78]
mov ebx, dword [rax + 0x10]
mov r14, qword [rax + 0x20]
mov r8d, ebx
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14009c917
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14009c956
mov r8d, ebx
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14009c8f6
mov r14, qword [rbp + 0x178]
mov r15, qword [rbp + 0x170]
sub r14, r15
je 0x14009ca8a
test rsi, rsi
js 0x14009ca0f
call sub.MSVCP140.dll__Query_perf_frequency
mov rbx, rax
call sub.MSVCP140.dll__Query_perf_counter
cmp rbx, 0x989680
jne 0x14009c9c5
imul rax, rax, 0x64
jmp 0x14009c9e0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14009ddd4
mov r8, r15
mov edx, 1
lea rcx, [rbp - 0x80]
call fcn.14009bbb0
mov dword [rbp + 0xf0], 4
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xcc]
mov edx, 0xffff
mov r8d, 0x1007
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x14009dda0
mov ebx, dword [rbp + 0xcc]
test ebx, ebx
jne 0x14009dcad
jmp 0x14009c917
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
mov eax, 0
cmovle rdx, rax
jmp 0x14009ca16
mov rdx, 0xffffffffffffffff
mov r8, rdx
mov edx, 1
lea rcx, [rbp - 0x80]
call fcn.14009bbb0
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 0x14009ca7c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14009ca73
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 0x14009ca40
cdqe
add r15, rax
sub r14, rax
jmp 0x14009c928
cmp ebx, 0xffffffff
je 0x14009de08
movsxd rax, ebx
add r15, rax
sub r14, rax
jmp 0x14009c928
mov word [rbp + 0xc8], 0xa0d
mov rax, qword [rsp + 0x50]
xor ecx, ecx
mov dword [rax], ecx
xorps xmm0, xmm0
movups xmmword [rax + 8], xmm0
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rax + 8], cl
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], rcx
mov qword [rax + 0x38], rcx
mov qword [rax + 0x40], rcx
mov qword [rax + 0x48], rcx
mov qword [rax + 0x50], rcx
or r13d, 1
mov dword [rbp + 0xf4], r13d
mov dword [rbp + 0xf0], r13d
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x138], xmm1
mov qword [rbp + 0x148], rcx
mov dword [rbp + 0xcc], ecx
mov byte [rsp + 0x40], cl
mov qword [rbp - 0x48], rcx
mov byte [rsp + 0x41], cl
mov r15d, ecx
mov qword [rsp + 0x58], rcx
xor r13b, r13b
mov dword [rsp + 0x44], r13d
mov r14, qword [rbp + 0x140]
mov r12, qword [rbp + 0x138]
nop
test rsi, rsi
js 0x14009cb8c
call sub.MSVCP140.dll__Query_perf_frequency
mov rbx, rax
call sub.MSVCP140.dll__Query_perf_counter
cmp rbx, 0x989680
jne 0x14009cb41
imul rax, rax, 0x64
jmp 0x14009cb5c
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 0x14009cb93
mov rdx, 0xffffffffffffffff
mov r8, rdx
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.14009bbb0
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x200]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14009cbf9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14009cbf0
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x200]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
je 0x14009cbc1
jmp 0x14009cbf9
cmp ebx, 0xffffffff
je 0x14009de3c
movsxd r9, ebx
test ebx, ebx
je 0x14009db8a
lea r8, [rbp + 0x200]
mov rdx, r14
lea rcx, [rbp + 0x138]
call fcn.140019630
mov r12, qword [rbp + 0x138]
mov r14, qword [rbp + 0x140]
mov qword [rsp + 0x48], r14
cmp dword [rbp + 0xcc], 2
je 0x14009d5b0
xor r13d, r13d
nop dword [rax]
mov rbx, r14
mov rax, r14
sub rax, r12
cmp rax, 2
jl 0x14009cc8c
lea rdx, [r14 - 2]
movzx eax, word [rbp + 0xc8]
cmp ax, word [r12]
sete al
mov rcx, r12
test al, al
jne 0x14009cc89
nop dword [rax]
cmp rcx, rdx
je 0x14009cc8c
inc rcx
movzx eax, word [rbp + 0xc8]
cmp ax, word [rcx]
sete al
test al, al
je 0x14009cc70
mov rbx, rcx
cmp rbx, r14
je 0x14009d63c
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
cmp r12, rbx
jne 0x14009ccc6
mov rcx, r13
mov qword [rbp + 0xe0], rcx
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xe8], rdx
mov byte [rbp + 0xd0], 0
jmp 0x14009cdba
mov rax, rbx
sub rax, r12
mov r15, r12
mov rdx, r13
mov qword [rbp + 0xe0], rdx
mov r14d, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xe8], r14
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
ja 0x14009df04
cmp rax, 0x10
jb 0x14009cd50
mov r14, rax
or r14, 0xf
cmp r14, rcx
jbe 0x14009cd10
mov r14, rcx
jmp 0x14009cd1d
cmp r14, 0x16
mov eax, reloc.WS2_32.dll_shutdown
cmovb r14, rax
mov rdx, r14
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.140007c20
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xe8], r14
mov rdx, qword [rbp + 0xe0]
lea rcx, [rbp + 0xd0]
cmp r14, 0x10
cmovae rcx, qword [rbp + 0xd0]
movzx eax, byte [r15]
mov byte [rcx + rdx], al
mov rdx, qword [rbp + 0xe0]
inc rdx
mov qword [rbp + 0xe0], rdx
inc r15
cmp r15, rbx
je 0x14009cd8c
mov r14, qword [rbp + 0xe8]
jmp 0x14009cd50
lea rax, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0x10
cmovae rax, qword [rbp + 0xd0]
mov byte [rax + rdx], 0
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
mov r14, qword [rsp + 0x48]
add rbx, 2
cmp r12, rbx
je 0x14009cdf1
sub r14, rbx
mov r8, r14
mov rdx, rbx
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
add r14, r12
mov qword [rsp + 0x48], r14
mov qword [rbp + 0x140], r14
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
test rcx, rcx
je 0x14009d562
mov r15d, dword [rbp + 0xcc]
test r15d, r15d
jne 0x14009d04f
mov dword [rbp + 0xcc], 1
lea rax, [rbp + 0xd0]
cmp rdx, 0x10
setae r9b
cmovae rax, qword [rbp + 0xd0]
lea rdx, [rax + rcx]
lea rcx, [rbp + 0xd0]
test r9b, r9b
cmovne rcx, qword [rbp + 0xd0]
mov r8b, reloc.WLDAP32.dll_Ordinal_32
call fcn.14012b830
mov rbx, rax
lea rax, [rbp + 0xd0]
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
setae r10b
mov r8, qword [rbp + 0xd0]
cmovae rax, r8
mov r9, qword [rbp + 0xe0]
add rax, r9
cmp rbx, rax
je 0x14009d51a
inc rbx
lea rdx, [rbp + 0xd0]
test r10b, r10b
cmovne rdx, r8
add rdx, r9
mov r8b, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rbx
call fcn.14012b830
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a8], xmm0
mov qword [rbp + 0x1b8], r13
mov qword [rbp + 0x1c0], r13
cmp rbx, rax
jne 0x14009ceda
mov qword [rbp + 0x1b8], r13
mov qword [rbp + 0x1c0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1a8], r15b
jmp 0x14009cef0
mov r8, r14
sub r8, rbx
mov rdx, rbx
lea rcx, [rbp + 0x1a8]
call fcn.140015690
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r15, rax
lea rbx, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 0x10
cmovae rbx, qword [rbp + 0x1a8]
mov dword [rax], r13d
mov r8d, 0xa
lea rdx, [rbp + 0xb8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp + 0xb8]
je 0x14009de7d
cmp dword [r15], 0x22
je 0x14009de70
mov r15, qword [rsp + 0x50]
mov dword [r15], eax
lea rax, [rbp + 0xd0]
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
setae r9b
mov r8, qword [rbp + 0xd0]
cmovae rax, r8
mov rcx, qword [rbp + 0xe0]
add rax, rcx
cmp r14, rax
je 0x14009d004
lea rdx, [r14 + 1]
lea rax, [rbp + 0xd0]
test r9b, r9b
cmovne rax, r8
lea r8, [rcx + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
cmp rdx, r8
jne 0x14009cfb4
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
jmp 0x14009cfc0
sub r8, rdx
lea rcx, [rbp - 0x68]
call fcn.140015690
lea rax, [rbp - 0x68]
lea rbx, [r15 + 8]
cmp rbx, rax
je 0x14009cff4
mov rcx, rbx
call fcn.140006de0
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x58]
movups xmmword [rbx + 0x10], xmm1
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
lea rcx, [rbp - 0x68]
call fcn.140006de0
mov rdx, qword [rbp + 0xe8]
mov rax, qword [rbp + 0x1c0]
cmp rax, 0x10
jb 0x14009d51a
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x1a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009d045
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009da2b
call fcn.14012be40
jmp 0x14009d513
cmp r15d, 1
jne 0x14009d51a
mov r13, qword [rsp + 0x50]
mov rbx, qword [r13 + 0x30]
cmp rbx, qword [r13 + 0x38]
je 0x14009d127
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
lea r12, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0x10
cmovae r12, qword [rbp + 0xd0]
mov r15, qword [rbp + 0xe0]
movabs rax, 0x7fffffffffffffff
cmp r15, rax
ja 0x14009de8a
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
cmp r15, 0x10
jae 0x14009d0ce
mov qword [rbx + 0x10], r15
movups xmm0, xmmword [r12]
movups xmmword [rbx], xmm0
add qword [r13 + 0x30], 0x20
jmp 0x14009d13a
mov r14, r15
or r14, 0xf
cmp r14, rax
jbe 0x14009d0df
mov r14, rax
jmp 0x14009d0ec
cmp r14, 0x16
mov eax, reloc.WS2_32.dll_shutdown
cmovb r14, rax
mov rdx, r14
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
mov rcx, rbx
call fcn.140007c20
mov qword [rbx], rax
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r14
lea r8, [r15 + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
add qword [r13 + 0x30], 0x20
jmp 0x14009d13a
lea r8, [rbp + 0xd0]
mov rdx, rbx
lea rcx, [r13 + 0x28]
call fcn.1400172b0
lea r14, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0x10
setae r13b
mov r12, qword [rbp + 0xd0]
cmovae r14, r12
mov r15, qword [rbp + 0xe0]
test r15, r15
je 0x14009d181
mov r8, r15
mov edx, Ordinal_60
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14009d181
sub rbx, r14
jmp 0x14009d188
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x14009decd
xorps xmm0, xmm0
movups xmmword [rbp + 0x188], xmm0
xor eax, eax
mov qword [rbp + 0x198], rax
mov qword [rbp + 0x1a0], rax
mov r8, rbx
cmp r15, rbx
cmovb r8, r15
lea rdx, [rbp + 0xd0]
test r13b, r13b
cmovne rdx, r12
lea rcx, [rbp + 0x188]
call fcn.140015690
mov r14d, dword [rbp + 0xf4]
or r14d, 0x40
mov dword [rbp + 0xf0], r14d
lea r11, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 0x10
setae cl
mov r9, qword [rbp + 0x188]
cmovae r11, r9
lea rdx, [rbp + 0x188]
mov r10, qword [rbp + 0x198]
test cl, cl
je 0x14009d216
add r10, r9
jmp 0x14009d220
add r10, rdx
lea r9, [rbp + 0x188]
cmp r9, r10
je 0x14009d252
sub r11, r9
nop dword [rax + rax]
movzx r8d, byte [r9]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
mov byte [r11 + r9], cl
inc r9
cmp r9, r10
jne 0x14009d230
inc rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
xor r13d, r13d
mov qword [rbp + 0x128], r13
mov qword [rbp + 0x130], r13
mov rax, qword [rbp + 0xe0]
cmp rax, rbx
jb 0x14009dec7
sub rax, rbx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0x10
cmovae rdx, qword [rbp + 0xd0]
add rdx, rbx
lea rcx, [rbp + 0x118]
call fcn.140015690
bts r14d, 7
mov dword [rbp + 0xf4], r14d
mov dword [rbp + 0xf0], r14d
lea rdx, [rbp + 0x118]
cmp qword [rbp + 0x130], 0x10
setae r9b
mov r8, qword [rbp + 0x118]
cmovae rdx, r8
mov r14, qword [rbp + 0x128]
add rdx, r14
lea rax, [rbp + 0x118]
test r9b, r9b
cmovne rax, r8
cmp rax, rdx
je 0x14009d31a
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x14009d312
cmp cl, 9
jne 0x14009d31a
inc rax
cmp rax, rdx
jne 0x14009d305
lea rcx, [rbp + 0x118]
mov rdx, r13
test r9b, r9b
je 0x14009d33b
sub rax, r8
mov rcx, r14
sub rcx, r13
cmp rcx, rax
cmovb rax, rcx
jmp 0x14009d34c
sub rax, rcx
cmp r14, rax
cmovb rax, r14
lea r8, [rbp + 0x118]
lea rcx, [r8 + rdx]
sub r14, rax
mov r8, r14
sub r8, rdx
inc r8
lea rdx, [rcx + rax]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x128], r14
lea r9, [rbp + 0x118]
cmp qword [rbp + 0x130], 0x10
setae r11b
mov r10, qword [rbp + 0x118]
cmovae r9, r10
add r9, r14
lea rcx, [rbp + 0x118]
test r11b, r11b
je 0x14009d3a1
mov rcx, r10
mov rax, r10
jmp 0x14009d3a8
lea rax, [rbp + 0x118]
lea rdx, [rax + r14]
cmp rdx, rcx
je 0x14009d3cd
lea rax, [rdx - 1]
movzx r8d, byte [rax]
cmp r8b, 0x20
je 0x14009d3c5
cmp r8b, 9
jne 0x14009d3cd
mov rdx, rax
cmp rax, rcx
jne 0x14009d3b1
lea rax, [rbp + 0x118]
sub r9, rdx
test r11b, r11b
je 0x14009d3e1
sub rdx, r10
jmp 0x14009d3eb
sub rdx, rax
lea r10, [rbp + 0x118]
mov rax, r14
sub rax, rdx
cmp rax, r9
cmovb r9, rax
lea rcx, [r10 + rdx]
sub r14, r9
mov r8, r14
sub r8, rdx
inc r8
lea rdx, [rcx + r9]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x128], r14
lea rcx, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 0x10
setae r12b
mov r15, qword [rbp + 0x188]
cmovae rcx, r15
mov rbx, qword [rbp + 0x198]
cmp rbx, 0xe
jne 0x14009d48f
mov r8, rbx
lea rdx, str.content_length
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14009d48f
xor edx, edx
lea r8d, [rbx - 4]
lea rcx, [rbp + 0x118]
call fcn.1400a4900
mov edx, eax
mov qword [rbp - 0x48], 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 0x14009d4f3
call fcn.14003eac0
jmp 0x14009d4f3
lea rcx, [rbp + 0x188]
test r12b, r12b
cmovne rcx, r15
cmp rbx, 0x11
jne 0x14009d4f3
mov r8, rbx
lea rdx, str.transfer_encoding
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14009d4f3
lea rcx, [rbp + 0x118]
cmp qword [rbp + 0x130], 0x10
cmovae rcx, qword [rbp + 0x118]
cmp r14, 7
jne 0x14009de90
mov r8, r14
lea rdx, str.chunked
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14009de90
mov byte [rsp + 0x41], 1
lea rcx, [rbp + 0x118]
call fcn.140006de0
nop
lea rcx, [rbp + 0x188]
call fcn.140006de0
mov r12, qword [rbp + 0x138]
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
mov r14, qword [rsp + 0x48]
jb 0x14009cc40
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009d558
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009da32
call fcn.14012be40
jmp 0x14009cc40
mov dword [rbp + 0xcc], 2
cmp rdx, 0x10
jb 0x14009d5a6
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009d5a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009da32
call fcn.14012be40
mov r15, qword [rsp + 0x58]
mov r13d, dword [rsp + 0x44]
cmp byte [rsp + 0x41], 0
je 0x14009d8f4
nop dword [rax + rax]
test r15, r15
je 0x14009d658
mov rax, r14
sub rax, r12
mov rbx, r15
cmp rax, r15
cmovb rbx, rax
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rcx + 0x48]
mov r9, rbx
mov r8, r12
add rcx, 0x40
call fcn.140019630
lea rdx, [r12 + rbx]
cmp r12, rdx
je 0x14009d617
sub r14, rdx
mov r8, r14
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
add r14, r12
mov qword [rsp + 0x48], r14
mov qword [rbp + 0x140], r14
sub r15, rbx
mov qword [rsp + 0x58], r15
movzx r13d, r13b
mov eax, 1
cmove r13d, eax
mov dword [rsp + 0x44], r13d
cmp r12, r14
je 0x14009cb20
jmp 0x14009d5c0
cmp dword [rbp + 0xcc], 2
mov r15, qword [rsp + 0x58]
mov r13d, dword [rsp + 0x44]
jne 0x14009cb20
jmp 0x14009d5ab
test r13b, r13b
je 0x14009d6b3
mov rax, r14
sub rax, r12
cmp rax, 2
jb 0x14009cb20
movzx eax, word [rbp + 0xc8]
cmp ax, word [r12]
sete al
test al, al
je 0x14009df0a
xor r13b, r13b
mov dword [rsp + 0x44], r13d
lea rdx, [r12 + 2]
cmp r12, rdx
je 0x14009d6b3
sub r14, rdx
mov r8, r14
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
add r14, r12
mov qword [rsp + 0x48], r14
mov qword [rbp + 0x140], r14
mov rbx, r14
mov rax, r14
sub rax, r12
cmp rax, 2
jl 0x14009d6fc
lea rdx, [r14 - 2]
movzx eax, word [rbp + 0xc8]
cmp ax, word [r12]
sete al
mov rcx, r12
test al, al
jne 0x14009d6f9
nop dword [rax]
cmp rcx, rdx
je 0x14009d6fc
inc rcx
movzx eax, word [rbp + 0xc8]
cmp ax, word [rcx]
sete al
test al, al
je 0x14009d6e0
mov rbx, rcx
cmp rbx, r14
je 0x14009cb20
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
cmp r12, rbx
jne 0x14009d735
xor r15d, r15d
mov qword [rbp + 0x108], r15
mov qword [rbp + 0x110], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xf8], r15b
jmp 0x14009d81f
mov rax, rbx
sub rax, r12
mov r15, r12
xor edx, edx
mov qword [rbp + 0x108], rdx
mov r14d, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x110], r14
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
ja 0x14009dca7
cmp rax, 0x10
jb 0x14009d7c0
mov r14, rax
or r14, 0xf
cmp r14, rcx
jbe 0x14009d77e
mov r14, rcx
jmp 0x14009d78b
cmp r14, 0x16
mov eax, reloc.WS2_32.dll_shutdown
cmovb r14, rax
mov rdx, r14
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rbp + 0xf8]
call fcn.140007c20
mov qword [rbp + 0xf8], rax
mov qword [rbp + 0x110], r14
mov rdx, qword [rbp + 0x108]
nop
lea rcx, [rbp + 0xf8]
cmp r14, 0x10
cmovae rcx, qword [rbp + 0xf8]
movzx eax, byte [r15]
mov byte [rcx + rdx], al
mov rdx, qword [rbp + 0x108]
inc rdx
mov qword [rbp + 0x108], rdx
inc r15
cmp r15, rbx
je 0x14009d7fc
mov r14, qword [rbp + 0x110]
jmp 0x14009d7c0
lea rax, [rbp + 0xf8]
cmp qword [rbp + 0x110], 0x10
cmovae rax, qword [rbp + 0xf8]
mov byte [rdx + rax], 0
mov r14, qword [rsp + 0x48]
xor r15d, r15d
lea rdx, [rbx + 2]
cmp r12, rdx
je 0x14009d845
sub r14, rdx
mov r8, r14
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
add r14, r12
mov qword [rsp + 0x48], r14
mov qword [rbp + 0x140], r14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rbx, [rbp + 0xf8]
cmp qword [rbp + 0x110], 0x10
cmovae rbx, qword [rbp + 0xf8]
mov dword [rax], r15d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0xb0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
cmp rbx, qword [rbp + 0xb0]
je 0x14009df3a
cmp dword [r14], 0x22
je 0x14009df2d
mov r15d, eax
mov qword [rsp + 0x58], r15
mov rdx, qword [rbp + 0x110]
test eax, eax
je 0x14009da39
cmp rdx, 0x10
mov r14, qword [rsp + 0x48]
jb 0x14009d5c0
inc rdx
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009d8ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009da6a
call fcn.14012be40
jmp 0x14009d5c0
mov r9, r14
sub r9, r12
mov rbx, qword [rsp + 0x50]
mov rdx, qword [rbx + 0x48]
mov r8, r12
lea rcx, [rbx + 0x40]
call fcn.140019630
cmp r12, r14
cmovne r14, r12
mov qword [rbp + 0x140], r14
cmp byte [rsp + 0x40], 0
je 0x14009cb20
mov rax, qword [rbx + 0x48]
sub rax, qword [rbx + 0x40]
cmp rax, qword [rbp - 0x48]
jb 0x14009cb20
test r12, r12
je 0x14009d978
mov rdx, qword [rbp + 0x148]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x14009d96f
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009dbbb
mov rcx, r12
call fcn.14012be40
nop
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x170]
test rcx, rcx
je 0x14009d9c3
mov rdx, qword [rbp + 0x180]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009d9bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009dc0c
call fcn.14012be40
nop
mov rdx, qword [rbp + 0x168]
cmp rdx, 0x10
jb 0x14009da04
inc rdx
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009d9ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009dc51
call fcn.14012be40
movdqa xmm0, xmmword [0x14014cf50]
movdqu xmmword [rbp + 0x160], xmm0
mov byte [rbp + 0x150], 0
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x14009dc7f
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 0x14009da76
inc rdx
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009da71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009da71
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
xor eax, eax
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x110], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xf8], al
test r12, r12
je 0x14009dad1
mov rdx, qword [rbp + 0x148]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x14009dac8
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009dac8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14012be40
nop
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x170]
test rcx, rcx
je 0x14009db1f
mov rdx, qword [rbp + 0x180]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009db19
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009db19
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
nop
mov rdx, qword [rbp + 0x168]
cmp rdx, 0x10
jb 0x14009db63
inc rdx
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009db5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009db5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
movdqa xmm0, xmmword [0x14014cf50]
movdqu xmmword [rbp + 0x160], xmm0
mov byte [rbp + 0x150], 0
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x14009dc7f
test r12, r12
je 0x14009dbcb
mov rdx, qword [rbp + 0x148]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x14009dbc2
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009dbc2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14012be40
nop
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x170]
test rcx, rcx
je 0x14009dc19
mov rdx, qword [rbp + 0x180]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009dc13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009dc13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
nop
mov rdx, qword [rbp + 0x168]
cmp rdx, 0x10
jb 0x14009dc5d
inc rdx
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009dc58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009dc58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012be40
movdqa xmm0, xmmword [0x14014cf50]
movdqu xmmword [rbp + 0x160], xmm0
mov byte [rbp + 0x150], 0
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
mov rax, qword [rsp + 0x50]
mov rcx, qword [rbp + 0x1200]
xor rcx, rsp
call fcn.14012c1b0
add rsp, 0x1318
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140007c00
nop
call fcn.1400a4d10
mov r8, rax
lea r9, str.Failed_to_connect
mov edx, ebx
lea rcx, [rbp - 0x40]
call fcn.14002a6f0
lea rdx, [0x140185048]
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [r15 + 0x48]
lea rdx, str.Failed_to_get_address_info_of
lea rcx, [rbp - 0x18]
call fcn.140014ac0
mov rdi, rax
call fcn.1400a4d10
mov rbx, rax
call sub.WS2_32.dll_WSAGetLastError
mov edx, eax
mov r9, rdi
mov r8, rbx
lea rcx, [rbp + 0x60]
call fcn.14002a6b0
lea rdx, [0x140185048]
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140007c00
nop
call fcn.140007c00
nop
call fcn.140007c00
nop
call fcn.1400a4d10
mov rbx, rax
call sub.WS2_32.dll_WSAGetLastError
mov edx, eax
lea r9, str.Failed_to_create_socket
mov r8, rbx
lea rcx, [rbp - 0x18]
call fcn.14002a6f0
lea rdx, [0x140185048]
lea rcx, [rbp - 0x18]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x80]
call fcn.140043950
call fcn.1400a4d10
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 + 0x60]
call fcn.14002a6f0
lea rdx, [0x140185048]
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400a4d10
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 - 0x40]
call fcn.14002a6f0
lea rdx, [0x140185048]
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400a4d10
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 - 0x40]
call fcn.14002a6f0
lea rdx, [0x140185048]
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400a4d10
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 - 0x40]
call fcn.14002a6f0
lea rdx, [0x140185048]
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400a4d10
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 - 0x18]
call fcn.14002a6f0
lea rdx, [0x140185048]
lea rcx, [rbp - 0x18]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, str.stoi_argument_out_of_range
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3
lea rcx, str.invalid_stoi_argument
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_
nop
call fcn.140007c00
nop
lea r8, [rbp + 0x118]
lea rdx, str.Unsupported_transfer_encoding:
lea rcx, [rbp - 0x18]
call fcn.140014ac0
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140029200
lea rdx, [0x140185208]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.14003ff90
nop
lea r8, [rbp + 0xd0]
lea rdx, str.Invalid_header:
lea rcx, [rbp - 0x18]
call fcn.140014ac0
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140029200
lea rdx, [0x140185208]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140007c00
int3
lea rdx, str.Invalid_chunk
lea rcx, [rsp + 0x60]
call fcn.140029230
lea rdx, [0x140185208]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, str.stoul_argument_out_of_range
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3
lea rcx, str.invalid_stoul_argument
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_
int3