Function at 0x14005c020
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.1400fef40
sub rsp, rax
mov rax, qword [0x140157bc8]
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.140052480
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.14004bd10
mov dword [rbp + 0x1cc], eax
mov dword [rbp + 0x1d0], r13d
lea rcx, [r15 + 0x48]
cmp qword [r15 + 0x60], 0x10
jb 0x14005c0db
mov rcx, qword [r15 + 0x48]
lea rdx, [r15 + 0x68]
cmp qword [rdx + 0x18], 0x10
jb 0x14005c0e9
mov rdx, qword [rdx]
lea r9, [rbp + 0xc0]
lea r8, [rbp + 0x1c8]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x14005d9e8
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 0x14005da2e
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14005c14e
mov r9, qword [rbx]
mov qword [rsp + 0x30], r13
lea rax, [0x140116b0c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r8, rbx
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x60]
call fcn.140005790
nop
lea r8, [r15 + 0x88]
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.14000f520
nop
mov r8d, ntohs
lea rdx, str._HTTP_1.1_r_n
mov rcx, rax
call fcn.140007970
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.1400059a0
nop
lea rcx, [rbp + 0x60]
call fcn.1400059a0
mov rdi, qword [r14]
mov r14, qword [r14 + 8]
cmp rdi, r14
je 0x14005c2b3
lea rdx, [0x140116b10]
movzx ebx, byte [rsp + 0x40]
nop
mov rcx, qword [rdi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 2
jb 0x14005da3a
mov r9, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14005c238
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.140005790
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.140007970
nop
mov r8, qword [rsp + 0x78]
cmp r8, 0x10
jb 0x14005c29f
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.1400335e0
add rdi, 0x20
cmp rdi, r14
lea rdx, [0x140116b10]
jne 0x14005c210
mov rdx, qword [r12 + 8]
sub rdx, qword [r12]
lea rcx, [rbp - 0x40]
call fcn.140065680
mov rbx, rax
lea r8, [r15 + 0x28]
mov rcx, qword [r8 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 6
jb 0x14005da34
mov rax, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14005c2f4
mov rax, qword [r8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 6
lea r9, [0x140116b34]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140005790
or r13d, 0x10
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._r_nContent_Length:
lea rcx, [rsp + 0x60]
call fcn.140007970
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.1400055f0
or r13d, 2
lea r8d, [r14 + 4]
lea rdx, str._r_n_r_n
lea rcx, [rbp + 0x40]
call fcn.140007970
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.140007970
nop
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x14005c42b
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c425
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c425
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fe780
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x14005c469
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c464
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c464
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fe780
movdqa xmm0, xmmword [0x140115e60]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
mov r8, qword [rbp + 0x28]
cmp r8, 0x10
jb 0x14005c495
inc r8
mov rdx, qword [rbp + 0x10]
lea rcx, [rbp + 0x10]
call fcn.1400335e0
nop
mov r8, qword [rsp + 0x78]
cmp r8, 0x10
jb 0x14005c4b2
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.1400335e0
movdqa xmm0, xmmword [0x140115e60]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov r8, qword [rbp - 0x28]
cmp r8, 0x10
jb 0x14005c4df
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.1400335e0
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 0x14005c55f
mov rdx, rdi
lea rcx, [rbp + 0x170]
call fcn.140028520
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 0x14005c566
mov rdx, qword [rbp + 0x178]
mov r8, qword [r12]
mov r9, qword [r12 + 8]
sub r9, r8
lea rcx, [rbp + 0x170]
call fcn.140013030
movzx ecx, byte [r15 + 1]
call fcn.14004bd10
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 0x14005da40
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 0x14005da73
lea rax, [rbx - 2]
mov r12, qword [rbp - 0x70]
test rsi, rsi
js 0x14005c5e4
mov rcx, r12
call fcn.14004be50
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 0x14005c627
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14005c666
mov r8d, ebx
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14005c606
mov r14, qword [rbp + 0x178]
mov r15, qword [rbp + 0x170]
sub r14, r15
je 0x14005c79a
test rsi, rsi
js 0x14005c71f
call sub.MSVCP140.dll__Query_perf_frequency
mov rbx, rax
call sub.MSVCP140.dll__Query_perf_counter
cmp rbx, 0x989680
jne 0x14005c6d5
imul rax, rax, 0x64
jmp 0x14005c6f0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14005dae4
mov r8, r15
mov edx, 1
lea rcx, [rbp - 0x80]
call fcn.14005b770
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 0x14005dab0
mov ebx, dword [rbp + 0xcc]
test ebx, ebx
jne 0x14005d9bd
jmp 0x14005c627
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 0x14005c726
mov rdx, 0xffffffffffffffff
mov r8, rdx
mov edx, 1
lea rcx, [rbp - 0x80]
call fcn.14005b770
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 0x14005c78c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14005c783
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 0x14005c750
cdqe
add r15, rax
sub r14, rax
jmp 0x14005c638
cmp ebx, 0xffffffff
je 0x14005db18
movsxd rax, ebx
add r15, rax
sub r14, rax
jmp 0x14005c638
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 0x14005c89c
call sub.MSVCP140.dll__Query_perf_frequency
mov rbx, rax
call sub.MSVCP140.dll__Query_perf_counter
cmp rbx, 0x989680
jne 0x14005c851
imul rax, rax, 0x64
jmp 0x14005c86c
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 0x14005c8a3
mov rdx, 0xffffffffffffffff
mov r8, rdx
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.14005b770
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 0x14005c909
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14005c900
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 0x14005c8d1
jmp 0x14005c909
cmp ebx, 0xffffffff
je 0x14005db4c
movsxd r9, ebx
test ebx, ebx
je 0x14005d89a
lea r8, [rbp + 0x200]
mov rdx, r14
lea rcx, [rbp + 0x138]
call fcn.140013030
mov r12, qword [rbp + 0x138]
mov r14, qword [rbp + 0x140]
mov qword [rsp + 0x48], r14
cmp dword [rbp + 0xcc], 2
je 0x14005d2c0
xor r13d, r13d
nop dword [rax]
mov rbx, r14
mov rax, r14
sub rax, r12
cmp rax, 2
jl 0x14005c99c
lea rdx, [r14 - 2]
movzx eax, word [rbp + 0xc8]
cmp ax, word [r12]
sete al
mov rcx, r12
test al, al
jne 0x14005c999
nop dword [rax]
cmp rcx, rdx
je 0x14005c99c
inc rcx
movzx eax, word [rbp + 0xc8]
cmp ax, word [rcx]
sete al
test al, al
je 0x14005c980
mov rbx, rcx
cmp rbx, r14
je 0x14005d34c
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
cmp r12, rbx
jne 0x14005c9d6
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 0x14005caca
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 0x14005dc14
cmp rax, 0x10
jb 0x14005ca60
mov r14, rax
or r14, 0xf
cmp r14, rcx
jbe 0x14005ca20
mov r14, rcx
jmp 0x14005ca2d
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.140007910
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 0x14005ca9c
mov r14, qword [rbp + 0xe8]
jmp 0x14005ca60
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 0x14005cb01
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 0x14005d272
mov r15d, dword [rbp + 0xcc]
test r15d, r15d
jne 0x14005cd5f
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.1400fe360
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 0x14005d22a
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.1400fe360
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 0x14005cbea
mov qword [rbp + 0x1b8], r13
mov qword [rbp + 0x1c0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1a8], r15b
jmp 0x14005cc00
mov r8, r14
sub r8, rbx
mov rdx, rbx
lea rcx, [rbp + 0x1a8]
call fcn.140010320
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 0x14005db8d
cmp dword [r15], 0x22
je 0x14005db80
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 0x14005cd14
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 0x14005ccc4
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
jmp 0x14005ccd0
sub r8, rdx
lea rcx, [rbp - 0x68]
call fcn.140010320
lea rax, [rbp - 0x68]
lea rbx, [r15 + 8]
cmp rbx, rax
je 0x14005cd04
mov rcx, rbx
call fcn.1400059a0
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.1400059a0
mov rdx, qword [rbp + 0xe8]
mov rax, qword [rbp + 0x1c0]
cmp rax, 0x10
jb 0x14005d22a
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x1a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cd55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005d73b
call fcn.1400fe780
jmp 0x14005d223
cmp r15d, 1
jne 0x14005d22a
mov r13, qword [rsp + 0x50]
mov rbx, qword [r13 + 0x30]
cmp rbx, qword [r13 + 0x38]
je 0x14005ce37
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 0x14005db9a
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
cmp r15, 0x10
jae 0x14005cdde
mov qword [rbx + 0x10], r15
movups xmm0, xmmword [r12]
movups xmmword [rbx], xmm0
add qword [r13 + 0x30], 0x20
jmp 0x14005ce4a
mov r14, r15
or r14, 0xf
cmp r14, rax
jbe 0x14005cdef
mov r14, rax
jmp 0x14005cdfc
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.140007910
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 0x14005ce4a
lea r8, [rbp + 0xd0]
mov rdx, rbx
lea rcx, [r13 + 0x28]
call fcn.140011a70
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 0x14005ce91
mov r8, r15
mov edx, Ordinal_60
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14005ce91
sub rbx, r14
jmp 0x14005ce98
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x14005dbdd
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.140010320
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 0x14005cf26
add r10, r9
jmp 0x14005cf30
add r10, rdx
lea r9, [rbp + 0x188]
cmp r9, r10
je 0x14005cf62
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 0x14005cf40
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 0x14005dbd7
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.140010320
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 0x14005d02a
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x14005d022
cmp cl, 9
jne 0x14005d02a
inc rax
cmp rax, rdx
jne 0x14005d015
lea rcx, [rbp + 0x118]
mov rdx, r13
test r9b, r9b
je 0x14005d04b
sub rax, r8
mov rcx, r14
sub rcx, r13
cmp rcx, rax
cmovb rax, rcx
jmp 0x14005d05c
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 0x14005d0b1
mov rcx, r10
mov rax, r10
jmp 0x14005d0b8
lea rax, [rbp + 0x118]
lea rdx, [rax + r14]
cmp rdx, rcx
je 0x14005d0dd
lea rax, [rdx - 1]
movzx r8d, byte [rax]
cmp r8b, 0x20
je 0x14005d0d5
cmp r8b, 9
jne 0x14005d0dd
mov rdx, rax
cmp rax, rcx
jne 0x14005d0c1
lea rax, [rbp + 0x118]
sub r9, rdx
test r11b, r11b
je 0x14005d0f1
sub rdx, r10
jmp 0x14005d0fb
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 0x14005d19f
mov r8, rbx
lea rdx, str.content_length
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14005d19f
xor edx, edx
lea r8d, [rbx - 4]
lea rcx, [rbp + 0x118]
call fcn.140063a60
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 0x14005d203
call fcn.14002e280
jmp 0x14005d203
lea rcx, [rbp + 0x188]
test r12b, r12b
cmovne rcx, r15
cmp rbx, 0x11
jne 0x14005d203
mov r8, rbx
lea rdx, str.transfer_encoding
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14005d203
lea rcx, [rbp + 0x118]
cmp qword [rbp + 0x130], 0x10
cmovae rcx, qword [rbp + 0x118]
cmp r14, 7
jne 0x14005dba0
mov r8, r14
lea rdx, str.chunked
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14005dba0
mov byte [rsp + 0x41], 1
lea rcx, [rbp + 0x118]
call fcn.1400059a0
nop
lea rcx, [rbp + 0x188]
call fcn.1400059a0
mov r12, qword [rbp + 0x138]
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
mov r14, qword [rsp + 0x48]
jb 0x14005c950
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d268
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005d742
call fcn.1400fe780
jmp 0x14005c950
mov dword [rbp + 0xcc], 2
cmp rdx, 0x10
jb 0x14005d2b6
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d2b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005d742
call fcn.1400fe780
mov r15, qword [rsp + 0x58]
mov r13d, dword [rsp + 0x44]
cmp byte [rsp + 0x41], 0
je 0x14005d604
nop dword [rax + rax]
test r15, r15
je 0x14005d368
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.140013030
lea rdx, [r12 + rbx]
cmp r12, rdx
je 0x14005d327
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 0x14005c830
jmp 0x14005d2d0
cmp dword [rbp + 0xcc], 2
mov r15, qword [rsp + 0x58]
mov r13d, dword [rsp + 0x44]
jne 0x14005c830
jmp 0x14005d2bb
test r13b, r13b
je 0x14005d3c3
mov rax, r14
sub rax, r12
cmp rax, 2
jb 0x14005c830
movzx eax, word [rbp + 0xc8]
cmp ax, word [r12]
sete al
test al, al
je 0x14005dc1a
xor r13b, r13b
mov dword [rsp + 0x44], r13d
lea rdx, [r12 + 2]
cmp r12, rdx
je 0x14005d3c3
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 0x14005d40c
lea rdx, [r14 - 2]
movzx eax, word [rbp + 0xc8]
cmp ax, word [r12]
sete al
mov rcx, r12
test al, al
jne 0x14005d409
nop dword [rax]
cmp rcx, rdx
je 0x14005d40c
inc rcx
movzx eax, word [rbp + 0xc8]
cmp ax, word [rcx]
sete al
test al, al
je 0x14005d3f0
mov rbx, rcx
cmp rbx, r14
je 0x14005c830
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
cmp r12, rbx
jne 0x14005d445
xor r15d, r15d
mov qword [rbp + 0x108], r15
mov qword [rbp + 0x110], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xf8], r15b
jmp 0x14005d52f
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 0x14005d9b7
cmp rax, 0x10
jb 0x14005d4d0
mov r14, rax
or r14, 0xf
cmp r14, rcx
jbe 0x14005d48e
mov r14, rcx
jmp 0x14005d49b
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.140007910
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 0x14005d50c
mov r14, qword [rbp + 0x110]
jmp 0x14005d4d0
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 0x14005d555
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 0x14005dc4a
cmp dword [r14], 0x22
je 0x14005dc3d
mov r15d, eax
mov qword [rsp + 0x58], r15
mov rdx, qword [rbp + 0x110]
test eax, eax
je 0x14005d749
cmp rdx, 0x10
mov r14, qword [rsp + 0x48]
jb 0x14005d2d0
inc rdx
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d5fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005d77a
call fcn.1400fe780
jmp 0x14005d2d0
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.140013030
cmp r12, r14
cmovne r14, r12
mov qword [rbp + 0x140], r14
cmp byte [rsp + 0x40], 0
je 0x14005c830
mov rax, qword [rbx + 0x48]
sub rax, qword [rbx + 0x40]
cmp rax, qword [rbp - 0x48]
jb 0x14005c830
test r12, r12
je 0x14005d688
mov rdx, qword [rbp + 0x148]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x14005d67f
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005d8cb
mov rcx, r12
call fcn.1400fe780
nop
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x170]
test rcx, rcx
je 0x14005d6d3
mov rdx, qword [rbp + 0x180]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d6cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005d91c
call fcn.1400fe780
nop
mov rdx, qword [rbp + 0x168]
cmp rdx, 0x10
jb 0x14005d714
inc rdx
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d70f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005d961
call fcn.1400fe780
movdqa xmm0, xmmword [0x140115e60]
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 0x14005d98f
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 0x14005d786
inc rdx
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d781
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d781
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fe780
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 0x14005d7e1
mov rdx, qword [rbp + 0x148]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x14005d7d8
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d7d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.1400fe780
nop
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x170]
test rcx, rcx
je 0x14005d82f
mov rdx, qword [rbp + 0x180]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d829
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d829
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fe780
nop
mov rdx, qword [rbp + 0x168]
cmp rdx, 0x10
jb 0x14005d873
inc rdx
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d86e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d86e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fe780
movdqa xmm0, xmmword [0x140115e60]
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 0x14005d98f
test r12, r12
je 0x14005d8db
mov rdx, qword [rbp + 0x148]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x14005d8d2
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d8d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.1400fe780
nop
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x170]
test rcx, rcx
je 0x14005d929
mov rdx, qword [rbp + 0x180]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d923
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d923
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fe780
nop
mov rdx, qword [rbp + 0x168]
cmp rdx, 0x10
jb 0x14005d96d
inc rdx
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d968
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d968
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fe780
movdqa xmm0, xmmword [0x140115e60]
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.1400fe8a0
add rsp, 0x1318
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140005a90
nop
call fcn.140063e50
mov r8, rax
lea r9, str.Failed_to_connect
mov edx, ebx
lea rcx, [rbp - 0x40]
call fcn.140020a20
lea rdx, [0x14014fdd0]
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.14000f810
mov rdi, rax
call fcn.140063e50
mov rbx, rax
call sub.WS2_32.dll_WSAGetLastError
mov edx, eax
mov r9, rdi
mov r8, rbx
lea rcx, [rbp + 0x60]
call fcn.1400209e0
lea rdx, [0x14014fdd0]
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140005a90
nop
call fcn.140005a90
nop
call fcn.140005a90
nop
call fcn.140063e50
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.140020a20
lea rdx, [0x14014fdd0]
lea rcx, [rbp - 0x18]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x80]
call fcn.1400316f0
call fcn.140063e50
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.140020a20
lea rdx, [0x14014fdd0]
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140063e50
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.140020a20
lea rdx, [0x14014fdd0]
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140063e50
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.140020a20
lea rdx, [0x14014fdd0]
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140063e50
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.140020a20
lea rdx, [0x14014fdd0]
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140063e50
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.140020a20
lea rdx, [0x14014fdd0]
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.140005a90
nop
lea r8, [rbp + 0x118]
lea rdx, str.Unsupported_transfer_encoding:
lea rcx, [rbp - 0x18]
call fcn.14000f810
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14001f1f0
lea rdx, [0x14014ff90]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.14002f430
nop
lea r8, [rbp + 0xd0]
lea rdx, str.Invalid_header:
lea rcx, [rbp - 0x18]
call fcn.14000f810
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14001f1f0
lea rdx, [0x14014ff90]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140005a90
int3
lea rdx, str.Invalid_chunk
lea rcx, [rsp + 0x60]
call fcn.14001f220
lea rdx, [0x14014ff90]
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