Function at 0x140054af0
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 - 0x11f8]
mov eax, 0x12f8
call fcn.14011cb50
sub rsp, rax
mov rax, qword [0x140183fc0]
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 + 0x60], rdx
mov r14, qword [rbp + 0x1260]
mov r13d, 1
mov dword [rbp + 0x88], r13d
lea rcx, [rbp + 0x68]
call fcn.14004e7a0
mov rsi, qword [rbp + 0x1268]
imul rcx, rsi, 0xf4240
add rcx, qword [rax]
mov qword [rbp - 0x68], rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c0], xmm0
movups xmmword [rbp + 0x1d0], xmm0
movzx ecx, byte [r15 + 1]
call fcn.14004ade0
mov dword [rbp + 0x1b4], eax
mov dword [rbp + 0x1b8], r13d
lea rdx, [r15 + 0x68]
cmp qword [rdx + 0x18], 0xf
jbe 0x140054ba4
mov rdx, qword [rdx]
lea rcx, [r15 + 0x48]
cmp qword [r15 + 0x60], 0xf
jbe 0x140054bb3
mov rcx, qword [r15 + 0x48]
lea r9, [rbp + 0x78]
lea r8, [rbp + 0x1b0]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x1400563f9
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
mov rax, qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rbp + 0x1a0], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp - 0x78], rax
mov qword [rbp + 0x1a8], rax
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 1
jb 0x14005643e
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140054c1b
mov r9, qword [rbx]
mov qword [rsp + 0x30], r13
lea rax, [0x14013c094]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r8, rbx
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x38]
call fcn.140007670
nop
lea r8, [r15 + 0x88]
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.140012260
nop
mov r8d, ntohs
lea rdx, str._HTTP_1.1_r_n
mov rcx, rax
call fcn.14000a6c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x128], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x118], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x128], 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 - 0x10]
call fcn.140007880
nop
lea rcx, [rbp + 0x38]
call fcn.140007880
mov rdi, qword [r14]
mov r14, qword [r14 + 8]
cmp rdi, r14
je 0x140054d80
lea rdx, [0x14013c098]
movzx ebx, byte [rsp + 0x40]
nop dword [rax]
mov rcx, qword [rdi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 2
jb 0x14005644a
mov r9, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140054d08
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.140007670
or r13d, 0x20
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [rbp + 0x118]
call fcn.14000a6c0
nop
mov r8, qword [rsp + 0x78]
cmp r8, 0xf
jbe 0x140054d6c
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140023fb0
add rdi, 0x20
cmp rdi, r14
lea rdx, [0x14013c098]
jne 0x140054ce0
mov rdx, qword [r12 + 8]
sub rdx, qword [r12]
lea rcx, [rbp - 0x40]
call fcn.14005d710
mov rbx, rax
lea r8, [r15 + 0x28]
mov rcx, qword [r8 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 6
jb 0x140056444
mov rax, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x140054dc1
mov rax, qword [r8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 6
lea r9, [0x14013c0bc]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140007670
or r13d, 0x10
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._r_nContent_Length:
lea rcx, [rsp + 0x60]
call fcn.14000a6c0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x28], 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 + 0x18]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0xd8]
call fcn.140007480
or r13d, 2
lea r8d, [r14 + 4]
lea rdx, str._r_n_r_n
lea rcx, [rbp + 0xd8]
call fcn.14000a6c0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x108], 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 + 0xf8]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x118]
call fcn.14000a6c0
nop
mov r8, qword [rbp + 0x110]
cmp r8, 0xf
jbe 0x140054eda
mov rdx, qword [rbp + 0xf8]
lea rcx, [rbp + 0xf8]
call fcn.140023fb0
nop
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0xf
jbe 0x140054f1e
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054f19
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054f19
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011c524
movdqa xmm0, xmmword [0x14013b460]
movdqu xmmword [rbp + 0xe8], xmm0
mov byte [rbp + 0xd8], 0
mov r8, qword [rbp + 0x30]
cmp r8, 0xf
jbe 0x140054f4d
mov rdx, qword [rbp + 0x18]
lea rcx, [rbp + 0x18]
call fcn.140023fb0
nop
mov r8, qword [rsp + 0x78]
cmp r8, 0xf
jbe 0x140054f67
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140023fb0
movdqa xmm0, xmmword [0x14013b460]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov r8, qword [rbp - 0x28]
cmp r8, 0xf
jbe 0x140054f91
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.140023fb0
xorps xmm0, xmm0
lea rdx, [rbp + 0x118]
cmp qword [rbp + 0x130], 0xf
cmova rdx, qword [rbp + 0x118]
mov rdi, qword [rbp + 0x128]
add rdi, rdx
lea rbx, [rbp + 0x118]
cmp qword [rbp + 0x130], 0xf
cmova rbx, qword [rbp + 0x118]
movdqu xmmword [rbp + 0xf8], xmm0
mov qword [rbp + 0x108], r14
sub rdi, rbx
je 0x140055024
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x140056450
mov rdx, rdi
lea rcx, [rbp + 0xf8]
call fcn.140023b60
mov r8, rdi
mov rdx, rbx
mov rbx, qword [rbp + 0xf8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rdx, [rbx + rdi]
mov qword [rbp + 0x100], rdx
jmp 0x14005502b
mov rdx, qword [rbp + 0x100]
mov r8, qword [r12]
mov r9, qword [r12 + 8]
sub r9, r8
lea rcx, [rbp + 0xf8]
call fcn.1400158a0
movzx ecx, byte [r15 + 1]
call fcn.14004ade0
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 0x140056456
mov dword [rbp + 0xb0], ebx
lea r8, [rbp + 0xb0]
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x140056488
mov r12, qword [rbp - 0x68]
test rsi, rsi
js 0x1400550aa
mov rcx, r12
call fcn.14004ae40
mov r15, rax
jmp 0x1400550b1
mov r15, 0xffffffffffffffff
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 0x1400550f1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14005514d
mov r8d, ebx
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1400550d0
mov r14, qword [rbp + 0x100]
movabs rbx, 0x431bde82d7b634db
mov r15, qword [rbp + 0xf8]
sub r14, r15
je 0x14005523b
test rsi, rsi
js 0x1400551bc
lea rcx, [rbp - 0x70]
call fcn.14004e7a0
mov rcx, r12
sub rcx, qword [rbp - 0x70]
mov rax, rbx
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test rdx, rdx
mov eax, 0
cmovle rdx, rax
jmp 0x1400551c3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400564f7
mov r8, r15
mov edx, 1
lea rcx, [rbp - 0x80]
call fcn.140054830
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 0x1400564c4
mov ebx, dword [rbp + 0x84]
test ebx, ebx
jne 0x1400563ce
jmp 0x1400550f1
mov rdx, 0xffffffffffffffff
mov r8, rdx
mov edx, 1
lea rcx, [rbp - 0x80]
call fcn.140054830
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 0x140055221
nop dword [rax]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x140055218
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 0x1400551f0
jmp 0x140055221
cmp ebx, 0xffffffff
je 0x14005652a
movsxd rax, ebx
add r15, rax
sub r14, rax
je 0x14005523b
movabs rbx, 0x431bde82d7b634db
jmp 0x140055112
mov word [rbp + 0x80], 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 + 0xb0], r13d
mov dword [rbp + 0x88], r13d
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd8], xmm1
mov qword [rbp + 0xe8], rcx
mov dword [rbp + 0x84], ecx
mov byte [rsp + 0x40], cl
mov qword [rbp - 0x70], rcx
mov byte [rsp + 0x41], cl
mov r15d, ecx
mov qword [rsp + 0x58], rcx
xor r12b, r12b
mov dword [rsp + 0x44], r12d
mov r14, qword [rbp + 0xe0]
mov r13, qword [rbp + 0xd8]
nop
test rsi, rsi
js 0x14005530f
lea rcx, [rbp - 0x18]
call fcn.14004e7a0
mov rcx, qword [rbp - 0x68]
sub rcx, qword [rbp - 0x18]
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 0x140055316
mov rdx, 0xffffffffffffffff
mov r8, rdx
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.140054830
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 0x14005537c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x140055373
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 0x140055344
jmp 0x14005537c
cmp ebx, 0xffffffff
je 0x14005655d
movsxd r9, ebx
test ebx, ebx
je 0x1400562a6
lea r8, [rbp + 0x1e0]
mov rdx, r14
lea rcx, [rbp + 0xd8]
call fcn.1400158a0
mov r13, qword [rbp + 0xd8]
mov r14, qword [rbp + 0xe0]
mov qword [rsp + 0x48], r14
cmp dword [rbp + 0x84], 2
je 0x140055cae
nop dword [rax]
mov rbx, r14
mov rax, r14
sub rax, r13
cmp rax, 2
jl 0x14005540c
lea rdx, [r14 - 2]
movzx eax, word [rbp + 0x80]
cmp ax, word [r13]
sete al
mov rcx, r13
test al, al
jne 0x140055409
nop dword [rax]
cmp rcx, rdx
je 0x14005540c
inc rcx
movzx eax, word [rbp + 0x80]
cmp ax, word [rcx]
sete al
test al, al
je 0x1400553f0
mov rbx, rcx
cmp rbx, r14
je 0x140055d3b
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
cmp r13, rbx
jne 0x140055448
xor r12d, r12d
mov ecx, r12d
mov qword [rbp + 0xa0], rcx
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xa8], rdx
mov byte [rbp + 0x90], cl
jmp 0x14005555a
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 0x140056624
mov r15d, reloc.WS2_32.dll_ntohs
cmp r12, r15
jbe 0x140055514
mov r15, r12
or r15, 0xf
cmp r15, rcx
jbe 0x1400554a3
mov r15, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x1400554ca
cmp r15, 0x16
mov ecx, reloc.WS2_32.dll_shutdown
cmovb r15, rcx
lea rcx, [r15 + 1]
cmp rcx, 0x1000
jb 0x1400554fa
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140056590
mov rcx, rax
call fcn.14011c4e8
mov rcx, rax
test rax, rax
je 0x14005614a
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp + 0x90], rax
mov qword [rbp + 0xa8], r15
jmp 0x14005551b
test rcx, rcx
je 0x140055504
call fcn.14011c4e8
mov qword [rbp + 0x90], rax
mov qword [rbp + 0xa8], r15
jmp 0x14005551b
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 [r12 + r14], 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 0x140055591
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 + 0xe0], r14
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0xa0]
test rcx, rcx
je 0x140055c60
mov r15d, dword [rbp + 0x84]
test r15d, r15d
jne 0x1400557e9
mov dword [rbp + 0x84], 1
lea rax, [rbp + 0x90]
cmp rdx, 0xf
seta r9b
cmova rax, qword [rbp + 0x90]
lea rdx, [rax + rcx]
lea rcx, [rbp + 0x90]
test r9b, r9b
cmovne rcx, qword [rbp + 0x90]
mov r8b, reloc.WLDAP32.dll_Ordinal_32
call fcn.14011c100
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 0x140055c18
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.14011c100
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x178], xmm0
mov qword [rbp + 0x188], r12
mov qword [rbp + 0x190], r12
cmp rbx, rax
jne 0x14005567a
mov qword [rbp + 0x188], r12
mov qword [rbp + 0x190], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x178], r15b
jmp 0x140055690
mov r8, r14
sub r8, rbx
mov rdx, rbx
lea rcx, [rbp + 0x178]
call fcn.1400126b0
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r15, rax
lea rbx, [rbp + 0x178]
cmp qword [rbp + 0x190], 0xf
cmova rbx, qword [rbp + 0x178]
mov dword [rax], r12d
mov r8d, 0xa
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp + 0x70]
je 0x1400565a3
cmp dword [r15], 0x22
je 0x140056596
mov r15, qword [rsp + 0x50]
mov dword [r15], 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 0x14005579e
lea rdx, [r14 + 1]
lea rax, [rbp + 0x90]
test r9b, r9b
cmovne rax, r8
lea r8, [rcx + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
cmp rdx, r8
jne 0x14005574e
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], 0
jmp 0x14005575a
sub r8, rdx
lea rcx, [rbp - 0x60]
call fcn.1400126b0
lea rax, [rbp - 0x60]
lea rbx, [r15 + 8]
cmp rbx, rax
je 0x14005578e
mov rcx, rbx
call fcn.140007880
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rbx + 0x10], xmm1
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], 0
lea rcx, [rbp - 0x60]
call fcn.140007880
mov rdx, qword [rbp + 0xa8]
mov rax, qword [rbp + 0x190]
cmp rax, 0xf
jbe 0x140055c18
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400557df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056143
call fcn.14011c524
jmp 0x140055c11
cmp r15d, 1
jne 0x140055c18
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx + 0x30]
cmp rax, qword [rbx + 0x38]
je 0x140055818
lea rdx, [rbp + 0x90]
mov rcx, rax
call fcn.14001b7b0
add qword [rbx + 0x30], 0x20
jmp 0x14005582b
lea r8, [rbp + 0x90]
mov rdx, rax
lea rcx, [rbx + 0x28]
call fcn.140014410
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 0x140055872
mov r8, r15
mov edx, Ordinal_60
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140055872
sub rbx, r14
jmp 0x140055879
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x1400565ed
xorps xmm0, xmm0
movups xmmword [rbp + 0x158], xmm0
xor eax, eax
mov qword [rbp + 0x168], rax
mov qword [rbp + 0x170], rax
mov r8, rbx
cmp r15, rbx
cmovb r8, r15
lea rdx, [rbp + 0x90]
test r13b, r13b
cmovne rdx, r12
lea rcx, [rbp + 0x158]
call fcn.1400126b0
mov r14d, dword [rbp + 0xb0]
or r14d, 0x40
mov dword [rbp + 0x88], r14d
lea r11, [rbp + 0x158]
cmp qword [rbp + 0x170], 0xf
seta cl
mov r9, qword [rbp + 0x158]
cmova r11, r9
lea rdx, [rbp + 0x158]
mov r10, qword [rbp + 0x168]
test cl, cl
je 0x140055907
add r10, r9
jmp 0x140055911
add r10, rdx
lea r9, [rbp + 0x158]
cmp r9, r10
je 0x140055942
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 0x140055920
inc rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0xb8], xmm0
xor r15d, r15d
mov qword [rbp + 0xc8], r15
mov qword [rbp + 0xd0], r15
mov rax, qword [rbp + 0xa0]
cmp rax, rbx
jb 0x1400565e7
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 + 0xb8]
call fcn.1400126b0
bts r14d, 7
mov dword [rbp + 0xb0], r14d
mov dword [rbp + 0x88], r14d
lea rdx, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 0xf
seta r9b
mov r8, qword [rbp + 0xb8]
cmova rdx, r8
mov r14, qword [rbp + 0xc8]
add rdx, r14
lea rax, [rbp + 0xb8]
test r9b, r9b
cmovne rax, r8
cmp rax, rdx
je 0x140055a0a
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x140055a02
cmp cl, 9
jne 0x140055a0a
inc rax
cmp rax, rdx
jne 0x1400559f5
lea rcx, [rbp + 0xb8]
mov rdx, r15
test r9b, r9b
je 0x140055a2b
sub rax, r8
mov rcx, r14
sub rcx, r15
cmp rcx, rax
cmovb rax, rcx
jmp 0x140055a3c
sub rax, rcx
cmp r14, rax
cmovb rax, r14
lea r8, [rbp + 0xb8]
lea rcx, [rdx + r8]
sub r14, rax
mov r8, r14
sub r8, rdx
inc r8
lea rdx, [rcx + rax]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0xc8], r14
lea r9, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 0xf
seta r11b
mov r10, qword [rbp + 0xb8]
cmova r9, r10
add r9, r14
lea rcx, [rbp + 0xb8]
test r11b, r11b
je 0x140055a91
mov rcx, r10
mov rax, r10
jmp 0x140055a98
lea rax, [rbp + 0xb8]
lea rdx, [r14 + rax]
cmp rdx, rcx
je 0x140055abd
lea rax, [rdx - 1]
movzx r8d, byte [rax]
cmp r8b, 0x20
je 0x140055ab5
cmp r8b, 9
jne 0x140055abd
mov rdx, rax
cmp rax, rcx
jne 0x140055aa1
lea rax, [rbp + 0xb8]
sub r9, rdx
test r11b, r11b
je 0x140055ad1
sub rdx, r10
jmp 0x140055adb
sub rdx, rax
lea r10, [rbp + 0xb8]
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 + 0xc8], r14
lea rcx, [rbp + 0x158]
cmp qword [rbp + 0x170], 0xf
seta r12b
mov r15, qword [rbp + 0x158]
cmova rcx, r15
mov rbx, qword [rbp + 0x168]
cmp rbx, 0xe
jne 0x140055b8d
mov r8, rbx
lea rdx, str.content_length
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140055b8d
xor edx, edx
lea r8d, [rbx - 4]
lea rcx, [rbp + 0xb8]
call fcn.14005bd00
mov edx, eax
mov qword [rbp - 0x70], rdx
mov byte [rsp + 0x40], 1
mov qword [rbp + 0x198], rdx
mov rcx, qword [rsp + 0x50]
add rcx, 0x40
mov rax, qword [rcx + 0x10]
sub rax, qword [rcx]
cmp rdx, rax
jbe 0x140055bf1
lea rdx, [rbp + 0x198]
call fcn.140016030
jmp 0x140055bf1
lea rcx, [rbp + 0x158]
test r12b, r12b
cmovne rcx, r15
cmp rbx, 0x11
jne 0x140055bf1
mov r8, rbx
lea rdx, str.transfer_encoding
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140055bf1
lea rcx, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 0xf
cmova rcx, qword [rbp + 0xb8]
cmp r14, 7
jne 0x1400565b0
mov r8, r14
lea rdx, str.chunked
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400565b0
mov byte [rsp + 0x41], 1
lea rcx, [rbp + 0xb8]
call fcn.140007880
nop
lea rcx, [rbp + 0x158]
call fcn.140007880
mov r13, qword [rbp + 0xd8]
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
mov r14, qword [rsp + 0x48]
jbe 0x1400553c0
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055c56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005614a
call fcn.14011c524
jmp 0x1400553c0
mov dword [rbp + 0x84], 2
cmp rdx, 0xf
jbe 0x140055ca4
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055c9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005614a
call fcn.14011c524
mov r15, qword [rsp + 0x58]
mov r12d, dword [rsp + 0x44]
cmp byte [rsp + 0x41], 0
je 0x140056007
nop dword [rax]
test r15, r15
je 0x140055d57
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.1400158a0
lea rdx, [rbx + r13]
cmp r13, rdx
je 0x140055d17
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 + 0xe0], r14
sub r15, rbx
mov qword [rsp + 0x58], r15
movzx r12d, r12b
mov eax, 1
cmove r12d, eax
mov dword [rsp + 0x44], r12d
cmp r13, r14
jne 0x140055cc0
jmp 0x1400552d0
cmp dword [rbp + 0x84], 2
mov r15, qword [rsp + 0x58]
mov r12d, dword [rsp + 0x44]
jne 0x1400552d0
jmp 0x140055ca9
test r12b, r12b
je 0x140055db1
mov rax, r14
sub rax, r13
cmp rax, 2
jb 0x1400552d0
movzx eax, word [rbp + 0x80]
cmp ax, word [r13]
sete al
test al, al
je 0x14005662a
xor r12b, r12b
mov dword [rsp + 0x44], r12d
lea rdx, [r13 + 2]
cmp r13, rdx
je 0x140055db1
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 + 0xe0], r14
mov rbx, r14
mov rax, r14
sub rax, r13
cmp rax, 2
jl 0x140055dfc
lea rdx, [r14 - 2]
movzx eax, word [rbp + 0x80]
cmp ax, word [r13]
sete al
mov rcx, r13
test al, al
jne 0x140055df9
nop word [rax + rax]
cmp rcx, rdx
je 0x140055dfc
inc rcx
movzx eax, word [rbp + 0x80]
cmp ax, word [rcx]
sete al
test al, al
je 0x140055de0
mov rbx, rcx
cmp rbx, r14
je 0x1400552d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x138], xmm0
mov qword [rbp + 0x150], reloc.WS2_32.dll_ntohs
cmp r13, rbx
jne 0x140055e35
xor r12d, r12d
mov qword [rbp + 0x148], r12
mov byte [rbp + 0x138], r12b
jmp 0x140055f2e
mov r12, rbx
sub r12, r13
xor eax, eax
mov qword [rbp + 0x148], rax
movabs rcx, 0x7fffffffffffffff
cmp r12, rcx
ja 0x1400563c8
mov r15d, reloc.WS2_32.dll_ntohs
cmp r12, r15
jbe 0x140055ef6
mov r15, r12
or r15, 0xf
cmp r15, rcx
jbe 0x140055e85
mov r15, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x140055eac
cmp r15, 0x16
mov ecx, reloc.WS2_32.dll_shutdown
cmovb r15, rcx
lea rcx, [r15 + 1]
cmp rcx, 0x1000
jb 0x140055edc
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005664d
mov rcx, rax
call fcn.14011c4e8
mov rcx, rax
test rax, rax
je 0x140056182
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x150], r15
jmp 0x140055efd
test rcx, rcx
je 0x140055ee6
call fcn.14011c4e8
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x150], r15
jmp 0x140055efd
mov rax, qword [rbp + 0x138]
lea r14, [rbp + 0x138]
cmp r15, 0xf
cmova r14, rax
mov r8, r12
mov rdx, r13
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x148], r12
mov byte [r14 + r12], 0
mov r14, qword [rsp + 0x48]
xor r12d, r12d
lea rdx, [rbx + 2]
cmp r13, rdx
je 0x140055f54
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 + 0xe0], r14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rbx, [rbp + 0x138]
cmp qword [rbp + 0x150], 0xf
cmova rbx, qword [rbp + 0x138]
mov dword [rax], r12d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0x68]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
cmp rbx, qword [rbp + 0x68]
je 0x140056660
cmp dword [r14], 0x22
je 0x140056653
mov r15d, eax
mov qword [rsp + 0x58], r15
mov rdx, qword [rbp + 0x150]
test eax, eax
je 0x140056151
cmp rdx, 0xf
mov r14, qword [rsp + 0x48]
mov r12d, dword [rsp + 0x44]
jbe 0x140055cc0
inc rdx
mov rcx, qword [rbp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055ff8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056182
call fcn.14011c524
mov r12d, dword [rsp + 0x44]
jmp 0x140055cc0
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.1400158a0
cmp r13, r14
cmovne r14, r13
mov qword [rbp + 0xe0], r14
cmp byte [rsp + 0x40], 0
je 0x1400552d0
mov rax, qword [rbx + 0x48]
sub rax, qword [rbx + 0x40]
cmp rax, qword [rbp - 0x70]
jb 0x1400552d0
test r13, r13
je 0x14005608a
mov rdx, qword [rbp + 0xe8]
sub rdx, r13
mov rax, r13
cmp rdx, 0x1000
jb 0x140056081
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400562d6
mov rcx, r13
call fcn.14011c524
nop
cmp rdi, 0xffffffffffffffff
je 0x14005609a
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0xf8]
test rcx, rcx
je 0x1400560db
mov rdx, qword [rbp + 0x108]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400560d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005632d
call fcn.14011c524
nop
mov rdx, qword [rbp + 0x130]
cmp rdx, 0xf
jbe 0x14005611c
inc rdx
mov rcx, qword [rbp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056117
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056372
call fcn.14011c524
movdqa xmm0, xmmword [0x14013b460]
movdqu xmmword [rbp + 0x128], xmm0
mov byte [rbp + 0x118], 0
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x1400563a0
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 0x14005618e
inc rdx
mov rcx, qword [rbp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056189
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140056189
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011c524
mov qword [rbp + 0x148], r12
mov qword [rbp + 0x150], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x138], 0
test r13, r13
je 0x1400561e7
mov rdx, qword [rbp + 0xe8]
sub rdx, r13
mov rax, r13
cmp rdx, 0x1000
jb 0x1400561de
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400561de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.14011c524
nop
cmp rdi, 0xffffffffffffffff
je 0x1400561f7
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0xf8]
test rcx, rcx
je 0x14005623b
mov rdx, qword [rbp + 0x108]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056235
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140056235
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011c524
nop
mov rdx, qword [rbp + 0x130]
cmp rdx, 0xf
jbe 0x14005627f
inc rdx
mov rcx, qword [rbp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005627a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005627a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011c524
movdqa xmm0, xmmword [0x14013b460]
movdqu xmmword [rbp + 0x128], xmm0
mov byte [rbp + 0x118], 0
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x1400563a0
test r13, r13
je 0x1400562e6
mov rdx, qword [rbp + 0xe8]
sub rdx, r13
mov rax, r13
cmp rdx, 0x1000
jb 0x1400562dd
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400562dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.14011c524
nop
cmp rdi, 0xffffffffffffffff
je 0x1400562f6
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0xf8]
test rcx, rcx
je 0x14005633a
mov rdx, qword [rbp + 0x108]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056334
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140056334
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011c524
nop
mov rdx, qword [rbp + 0x130]
cmp rdx, 0xf
jbe 0x14005637e
inc rdx
mov rcx, qword [rbp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056379
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140056379
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011c524
movdqa xmm0, xmmword [0x14013b460]
movdqu xmmword [rbp + 0x128], xmm0
mov byte [rbp + 0x118], 0
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
mov rax, qword [rsp + 0x50]
mov rcx, qword [rbp + 0x11e0]
xor rcx, rsp
call fcn.14011c640
add rsp, 0x12f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140007970
nop
call fcn.14005bf40
mov r8, rax
lea r9, str.Failed_to_connect
mov edx, ebx
lea rcx, [rbp - 0x40]
call fcn.14001ddd0
lea rdx, [0x14017b680]
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 - 0x10]
call fcn.140012550
mov rdi, rax
call sub.WS2_32.dll_WSAGetLastError
mov ebx, eax
call fcn.14005bf40
mov r8, rax
mov r9, rdi
mov edx, ebx
lea rcx, [rbp + 0x38]
call fcn.14001dd90
lea rdx, [0x14017b680]
lea rcx, [rbp + 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140007970
nop
call fcn.140007970
nop
call fcn.140007970
int3
call fcn.140025710
nop
call sub.WS2_32.dll_WSAGetLastError
mov ebx, eax
call fcn.14005bf40
mov r8, rax
lea r9, str.Failed_to_create_socket
mov edx, ebx
lea rcx, [rbp - 0x10]
call fcn.14001ddd0
lea rdx, [0x14017b680]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x80]
call fcn.140027560
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
call fcn.14005bf40
mov r8, rax
lea r9, str.Failed_to_get_socket_flags
mov edx, ebx
lea rcx, [rbp + 0x38]
call fcn.14001ddd0
lea rdx, [0x14017b680]
lea rcx, [rbp + 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
call fcn.14005bf40
mov r8, rax
lea r9, str.Failed_to_get_socket_option
mov edx, ebx
lea rcx, [rbp - 0x40]
call fcn.14001ddd0
lea rdx, [0x14017b680]
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
call fcn.14005bf40
mov r8, rax
lea r9, str.Failed_to_connect
mov edx, ebx
lea rcx, [rbp - 0x40]
call fcn.14001ddd0
lea rdx, [0x14017b680]
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
call fcn.14005bf40
mov r8, rax
lea r9, str.Failed_to_send_data
mov edx, ebx
lea rcx, [rbp - 0x40]
call fcn.14001ddd0
lea rdx, [0x14017b680]
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
call fcn.14005bf40
mov r8, rax
lea r9, str.Failed_to_read_data
mov edx, ebx
lea rcx, [rbp - 0x10]
call fcn.14001ddd0
lea rdx, [0x14017b680]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140007950
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
lea r8, [rbp + 0xb8]
lea rdx, str.Unsupported_transfer_encoding:
lea rcx, [rbp - 0x10]
call fcn.140012550
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14001c7b0
lea rdx, [0x14017b840]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140025730
nop
lea r8, [rbp + 0x90]
lea rdx, str.Invalid_header:
lea rcx, [rbp - 0x10]
call fcn.140012550
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14001c7b0
lea rdx, [0x14017b840]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140007970
int3
lea rdx, str.Invalid_chunk
lea rcx, [rsp + 0x60]
call fcn.14001c7e0
lea rdx, [0x14017b840]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140007950
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