Function at 0x140011390
Capabilities:
Connect socket
Get socket status
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1378]
mov eax, 0x1478
call fcn.14005d8e0
sub rsp, rax
movaps xmmword [rsp + 0x1460], xmm6
movaps xmmword [rsp + 0x1450], xmm7
movaps xmmword [rsp + 0x1440], xmm8
movaps xmmword [rsp + 0x1430], xmm9
mov rsi, rcx
mov edi, 1
mov dword [rbp - 0x58], edi
lea rcx, [rbp + 0x13c0]
call fcn.14000c610
mov r14, qword [rbp + 0x13e8]
imul r15, r14, 0xf4240
add r15, qword [rax]
mov qword [rbp - 0x50], r15
mov r8, qword [rsi + 0x18]
lea rcx, [rsi + 8]
cmp qword [rsi + 0x20], 0xf
jbe 0x140011421
mov rcx, qword [rsi + 8]
cmp r8, 4
jne 0x140012402
lea rdx, str.http
call fcn.140084350
test eax, eax
jne 0x140012402
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movzx eax, byte [rsi + 1]
mov ebx, 2
test al, al
jne 0x140011468
mov eax, ebx
jmp 0x140011476
cmp al, dil
jne 0x140012389
mov eax, reloc.WS2_32.dll_socket
mov dword [rbp + 0xf4], eax
mov dword [rbp + 0xf8], edi
cmp qword [rsi + 0x98], 0
jne 0x140011495
lea rdx, [0x1400b38a8]
jmp 0x1400114a6
lea rdx, [rsi + 0x88]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400114a6
mov rdx, qword [rdx]
lea rcx, [rsi + 0x68]
cmp qword [rsi + 0x80], 0xf
jbe 0x1400114b8
mov rcx, qword [rsi + 0x68]
lea r9, [rbp + 0x40]
lea r8, [rbp + 0xf0]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x140012423
mov rax, qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp + 0x40]
mov qword [rsp + 0x78], rax
mov qword [rbp + 0xe8], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xor ecx, ecx
mov qword [rsp + 0x50], rcx
mov r13, qword [rbp + 0x13e0]
mov rdi, qword [r13 + 8]
sub rdi, qword [r13]
sar rdi, 6
test rdi, rdi
je 0x140011600
movabs rax, 0x3ffffffffffffff
cmp rdi, rax
ja 0x14001245f
shl rdi, 6
cmp rdi, 0x1000
jb 0x140011564
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140012465
call fcn.14005d110
test rax, rax
je 0x14001246b
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140011579
test rdi, rdi
je 0x140011576
mov rcx, rdi
call fcn.14005d110
mov rbx, rax
jmp 0x140011579
mov rbx, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
lea rax, [rdi + rbx]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x13e8], rax
mov r15, qword [r13 + 8]
mov rdi, qword [r13]
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
lea rax, [rsp + 0x40]
mov qword [rbp - 0x70], rax
cmp rdi, r15
je 0x1400115f2
nop word [rax + rax]
mov qword [rbp + 0x13c0], rbx
mov rdx, rdi
mov rcx, rbx
call fcn.14002eba0
nop
lea rcx, [rbx + 0x20]
lea rdx, [rdi + 0x20]
call fcn.14002eba0
nop
add rbx, 0x40
mov qword [rbp - 0x78], rbx
add rdi, 0x40
cmp rdi, r15
jne 0x1400115c0
mov qword [rsp + 0x48], rbx
mov ebx, 2
mov r15, qword [rbp - 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x13d8]
mov r8, qword [rbp + 0x13d0]
lea rdx, [rsi + 8]
lea rcx, [rsp + 0x60]
call fcn.140010830
nop
movzx eax, byte [rsi + 1]
test al, al
je 0x14001163c
cmp al, 1
jne 0x140012674
mov ebx, reloc.WS2_32.dll_socket
mov r8d, 6
mov r12d, 1
mov edx, r12d
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, rax
mov qword [rbp - 0x48], rax
cmp rax, 0xffffffffffffffff
je 0x140012471
mov dword [rbp + 0x13e8], r12d
lea r8, [rbp + 0x13e8]
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x1400124a1
movabs rbx, 0x431bde82d7b634db
test r14, r14
js 0x1400116d4
lea rcx, [rbp + 0x13c0]
call fcn.14000c610
mov rcx, r15
sub rcx, qword [rbp + 0x13c0]
mov rax, rbx
imul rcx
mov rbx, rdx
sar rbx, 0x12
mov rax, rbx
shr rax, 0x3f
add rbx, rax
test rbx, rbx
mov r13d, 0
cmovle rbx, r13
jmp 0x1400116de
mov rbx, 0xffffffffffffffff
xor r13d, r13d
mov rax, qword [rsp + 0x78]
mov edi, dword [rax + 0x10]
mov r15, qword [rax + 0x20]
mov r8d, edi
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140011721
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x140011786
mov r8d, edi
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x140011700
mov rdi, qword [rsp + 0x68]
mov r15, qword [rsp + 0x60]
sub rdi, r15
je 0x140011904
mov r12, qword [rbp - 0x50]
nop dword [rax + rax]
test r14, r14
js 0x14001188d
lea rcx, [rbp + 0x13c0]
call fcn.14000c610
mov rcx, r12
sub rcx, qword [rbp + 0x13c0]
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test rdx, rdx
cmovle rdx, r13
jmp 0x140011894
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14001252b
mov qword [rbp + 0x128], rsi
mov dword [rbp + 0x120], r12d
movabs rax, 0x20c49ba5e353f7cf
imul rbx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov dword [rsp + 0x58], edx
imul eax, edx, 0x3e8
mov ecx, ebx
sub ecx, eax
imul eax, ecx, 0x3e8
mov dword [rsp + 0x5c], eax
lea rdi, [rsp + 0x58]
test rbx, rbx
cmovs rdi, r13
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rbp + 0x120]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140011831
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x140011882
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rbp + 0x120]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
cmp eax, 0xffffffff
je 0x140011804
test ebx, ebx
je 0x1400124da
mov dword [rbp + 0x13c0], 4
lea rax, [rbp + 0x13c0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
mov edx, 0xffff
mov r8d, 0x1007
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x1400124fb
mov edx, dword [rsp + 0x38]
test edx, edx
jne 0x1400123aa
jmp 0x140011721
cmp ebx, 0xffffffff
je 0x1400123d2
jmp 0x140011831
mov rdx, 0xffffffffffffffff
mov r8, rdx
mov edx, 1
lea rcx, [rbp - 0x48]
call fcn.140010090
xor r9d, r9d
mov r8d, edi
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1400118f1
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1400118e8
xor r9d, r9d
mov r8d, edi
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
cmp eax, 0xffffffff
je 0x1400118c0
jmp 0x1400118f1
cmp ebx, 0xffffffff
je 0x14001255b
movsxd rax, ebx
add r15, rax
sub rdi, rax
jne 0x140011740
lea r12d, [rdi + 1]
mov word [rsp + 0x34], 0xa0d
mov dword [rsp + 0x3c], 0xa0d0a0d
mov rax, qword [rbp + 0x13c8]
xorps xmm0, xmm0
movups xmmword [rax + 8], xmm0
mov qword [rax + 0x18], r13
mov qword [rax + 0x20], send
mov byte [rax + 8], 0
mov qword [rax + 0x28], r13
mov qword [rax + 0x30], r13
mov qword [rax + 0x38], r13
mov qword [rax + 0x40], r13
mov qword [rax + 0x48], r13
mov qword [rax + 0x50], r13
mov dword [rbp - 0x58], r12d
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
xor al, al
mov byte [rbp + 0x13e8], al
mov byte [rsp + 0x30], al
mov rdi, r13
mov qword [rsp + 0x58], r13
mov byte [rbp + 0x13c0], al
mov r15, r13
mov dword [rsp + 0x38], eax
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x40]
test r14, r14
js 0x1400119c2
lea rcx, [rbp + 0x48]
call fcn.14000c610
mov rcx, qword [rbp - 0x50]
sub rcx, qword [rbp + 0x48]
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 0x1400119c9
mov rdx, 0xffffffffffffffff
mov r8, rdx
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.140010090
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x330]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140011a2f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x140011a26
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x330]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
je 0x1400119f7
jmp 0x140011a2f
cmp ebx, 0xffffffff
je 0x14001258b
movsxd r9, ebx
test ebx, ebx
je 0x1400122e0
lea r8, [rbp + 0x330]
mov rdx, r13
lea rcx, [rsp + 0x40]
call fcn.140041c90
mov r12, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
cmp byte [rbp + 0x13e8], 0
jne 0x140011ee3
mov rax, r13
sub rax, r12
cmp rax, 4
jl 0x140012190
lea rdx, [r13 - 4]
mov rbx, r12
mov eax, dword [rsp + 0x3c]
cmp eax, dword [rbx]
sete cl
test cl, cl
jne 0x140011a97
cmp rbx, rdx
je 0x140012190
inc rbx
jmp 0x140011a80
cmp rbx, r13
je 0x140012190
add rbx, 2
mov r8, rbx
mov rdx, r12
lea rcx, [rbp + 0x60]
call fcn.140035d30
nop
mov rdi, qword [rbp + 0x60]
mov eax, dword [rbp + 0x68]
mov rcx, qword [rbp + 0x13c8]
mov dword [rcx], eax
movzx eax, word [rbp + 0x6c]
mov word [rcx + 4], ax
lea rdx, [rbp + 0x70]
add rcx, 8
call fcn.14002e9b0
nop dword [rax]
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x90]
call fcn.140035fa0
nop
mov rdi, qword [rbp + 0x90]
movups xmm9, xmmword [rbp + 0x98]
movups xmmword [rbp - 0x20], xmm9
movups xmm8, xmmword [rbp + 0xa8]
movups xmmword [rbp - 0x10], xmm8
xor eax, eax
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], send
mov byte [rbp + 0x98], al
movups xmm7, xmmword [rbp + 0xb8]
movups xmmword [rbp - 0x40], xmm7
movups xmm6, xmmword [rbp + 0xc8]
movups xmmword [rbp - 0x30], xmm6
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], send
mov byte [rbp + 0xb8], al
lea rcx, [rbp - 0x20]
movdqa xmm0, xmm8
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
seta byte [rbp + 0x13e8]
movq rdx, xmm9
mov qword [rbp + 0x50], rdx
cmova rcx, rdx
movq rax, xmm8
mov qword [rbp + 0x58], rax
cmp rax, 0x11
jne 0x140011c02
mov r8, rax
lea rdx, str.transfer_encoding
call fcn.140084350
test eax, eax
jne 0x140011bfa
lea rcx, [rbp - 0x40]
movq rdx, xmm7
movdqa xmm0, xmm6
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rcx, rdx
movq rax, xmm6
cmp rax, 7
jne 0x1400125bb
mov r8, rax
lea rdx, str.chunked
call fcn.140084350
test eax, eax
jne 0x1400125bb
mov byte [rbp + 0x13c0], 1
jmp 0x140011cf4
mov rdx, qword [rbp + 0x50]
mov rax, qword [rbp + 0x58]
lea rcx, [rbp - 0x20]
cmp byte [rbp + 0x13e8], 0
cmovne rcx, rdx
cmp rax, 0xe
jne 0x140011cf4
mov r8, rax
lea rdx, str.content_length
call fcn.140084350
test eax, eax
jne 0x140011cf4
lea r9, [rbp - 0x40]
movdqa xmm0, xmm6
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
seta dl
movq rcx, xmm7
cmova r9, rcx
movq rax, xmm6
add r9, rax
lea rax, [rbp - 0x40]
test dl, dl
cmovne rax, rcx
xor r8d, r8d
mov qword [rsp + 0x58], r8
cmp rax, r9
je 0x140011caa
nop dword [rax]
nop word [rax + rax]
movsx edx, byte [rax]
lea ecx, [rdx - 0x30]
cmp cl, 9
ja 0x1400125ed
lea ecx, [rdx - 0x30]
movsxd rdx, ecx
lea rcx, [r8 + r8*4]
lea r8, [rdx + rcx*2]
mov qword [rsp + 0x58], r8
inc rax
cmp rax, r9
jne 0x140011c80
mov byte [rsp + 0x30], 1
mov qword [rbp + 0x13e8], r8
mov rcx, qword [rbp + 0x13c8]
add rcx, 0x40
mov rax, qword [rcx + 0x10]
sub rax, qword [rcx]
cmp r8, rax
jbe 0x140011cf4
movabs rax, 0x7fffffffffffffff
cmp r8, rax
ja 0x14001260e
lea rdx, [rbp + 0x13e8]
call fcn.140037ae0
movups xmm6, xmmword [rbp - 0x30]
movups xmm7, xmmword [rbp - 0x40]
movups xmmword [rbp], xmm9
movups xmmword [rbp + 0x10], xmm8
xor r8d, r8d
mov qword [rbp - 0x10], r8
mov qword [rbp - 8], send
mov byte [rbp - 0x20], r8b
movups xmmword [rbp + 0x20], xmm7
movups xmmword [rbp + 0x30], xmm6
mov qword [rbp - 0x30], r8
mov qword [rbp - 0x28], send
mov byte [rbp - 0x40], r8b
mov rcx, qword [rbp + 0x13c8]
mov rdx, qword [rcx + 0x30]
cmp rdx, qword [rcx + 0x38]
je 0x140011d69
movups xmmword [rdx], xmm9
movups xmmword [rdx + 0x10], xmm8
mov qword [rbp + 0x13e8], send
mov byte [rbp], r8b
movups xmmword [rdx + 0x20], xmm7
movups xmmword [rdx + 0x30], xmm6
lea edx, [r8 + 0xf]
mov byte [rbp + 0x20], r8b
add qword [rcx + 0x30], 0x40
jmp 0x140011d85
lea r8, [rbp]
add rcx, 0x28
call fcn.140043650
mov rdx, qword [rbp + 0x38]
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x13e8], rax
cmp rdx, 0xf
jbe 0x140011dbc
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011db7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012614
call fcn.14005cfe8
mov rax, qword [rbp + 0x13e8]
cmp rax, 0xf
jbe 0x140011dfc
lea rdx, [rax + 1]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011df6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012614
call fcn.14005cfe8
nop
mov rdx, qword [rbp - 0x28]
cmp rdi, rbx
je 0x140011e42
cmp rdx, 0xf
jbe 0x140011e3d
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011e37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001261a
call fcn.14005cfe8
nop
jmp 0x140011ae0
cmp rdx, 0xf
jbe 0x140011e7a
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011e74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001261a
call fcn.14005cfe8
nop
lea rdx, [rbx + 2]
cmp r12, rdx
je 0x140011e99
sub r13, rdx
mov r8, r13
mov rcx, r12
call fcn.140083870
add r13, r12
mov qword [rsp + 0x48], r13
mov byte [rbp + 0x13e8], 1
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140011ede
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011ed9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012620
call fcn.14005cfe8
mov rdi, qword [rsp + 0x58]
cmp byte [rbp + 0x13c0], 0
je 0x140012074
mov r8d, dword [rsp + 0x38]
xor ebx, ebx
test r15, r15
je 0x140011f6a
mov rax, r13
sub rax, r12
mov rbx, r15
cmp rax, r15
cmovb rbx, rax
mov rcx, qword [rbp + 0x13c8]
mov rdx, qword [rcx + 0x48]
mov r9, rbx
mov r8, r12
add rcx, 0x40
call fcn.140041c90
lea rdx, [r12 + rbx]
cmp r12, rdx
je 0x140011f45
sub r13, rdx
mov r8, r13
mov rcx, r12
call fcn.140083870
add r13, r12
mov qword [rsp + 0x48], r13
sub r15, rbx
mov r8d, dword [rsp + 0x38]
movzx r8d, r8b
mov eax, 1
cmove r8d, eax
mov dword [rsp + 0x38], r8d
cmp r12, r13
je 0x140011983
jmp 0x140011ef5
test r8b, r8b
je 0x140011fba
mov rax, r13
sub rax, r12
cmp rax, 2
jb 0x140011983
movzx eax, word [rsp + 0x34]
cmp ax, word [r12]
sete al
test al, al
je 0x140012626
xor al, al
mov dword [rsp + 0x38], eax
lea rdx, [r12 + 2]
cmp r12, rdx
je 0x140011fba
sub r13, rdx
mov r8, r13
mov rcx, r12
call fcn.140083870
add r13, r12
mov qword [rsp + 0x48], r13
mov rcx, r13
mov rax, r13
sub rax, r12
cmp rax, 2
jl 0x140011fec
lea r8, [r13 - 2]
mov rdx, r12
movzx eax, word [rsp + 0x34]
cmp ax, word [rdx]
sete al
test al, al
jne 0x140011fe9
cmp rdx, r8
je 0x140011fec
inc rdx
jmp 0x140011fd0
mov rcx, rdx
cmp rcx, r13
je 0x140011983
mov r15, rbx
cmp r12, rcx
je 0x140012042
mov rax, r12
movzx r8d, byte [rax]
lea edx, [r8 - 0x30]
cmp dl, 9
ja 0x140012013
lea rdx, [r8 - 0x30]
jmp 0x140012033
lea edx, [r8 - 0x41]
cmp dl, 5
ja 0x140012022
lea rdx, [r8 - 0x37]
jmp 0x140012033
lea edx, [r8 - 0x61]
cmp dl, 5
ja 0x140012647
lea rdx, [r8 - 0x57]
shl r15, 4
add r15, rdx
inc rax
cmp rax, rcx
jne 0x140012000
lea rdx, [rcx + 2]
cmp r12, rdx
je 0x140012061
sub r13, rdx
mov r8, r13
mov rcx, r12
call fcn.140083870
add r13, r12
mov qword [rsp + 0x48], r13
test r15, r15
je 0x140012239
mov r8d, dword [rsp + 0x38]
jmp 0x140011ef7
mov r9, r13
sub r9, r12
mov rbx, qword [rbp + 0x13c8]
mov rdx, qword [rbx + 0x48]
mov r8, r12
lea rcx, [rbx + 0x40]
call fcn.140041c90
cmp r12, r13
cmovne r13, r12
mov qword [rsp + 0x48], r13
cmp byte [rsp + 0x30], 0
je 0x140011983
mov rax, qword [rbx + 0x48]
sub rax, qword [rbx + 0x40]
cmp rax, rdi
jb 0x140011983
test r12, r12
je 0x1400120f5
mov rdx, qword [rsp + 0x50]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x1400120ec
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012668
mov rcx, r12
call fcn.14005cfe8
nop
cmp rsi, 0xffffffffffffffff
je 0x140012105
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140012151
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001213c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001266e
call fcn.14005cfe8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
xor eax, eax
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
mov rax, qword [rbp + 0x13c8]
lea r11, [rsp + 0x1478]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
test r12, r12
je 0x1400121cc
mov rdx, qword [rsp + 0x50]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x1400121c3
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012668
mov rcx, r12
call fcn.14005cfe8
nop
cmp rsi, 0xffffffffffffffff
je 0x1400121dc
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140012228
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012213
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001266e
call fcn.14005cfe8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
xor eax, eax
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x14001215d
test r12, r12
je 0x140012275
mov rdx, qword [rsp + 0x50]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x14001226c
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012668
mov rcx, r12
call fcn.14005cfe8
nop
cmp rsi, 0xffffffffffffffff
je 0x140012285
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400122cf
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400122bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001266e
call fcn.14005cfe8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rbx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x14001215d
test r12, r12
je 0x14001231c
mov rdx, qword [rsp + 0x50]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x140012313
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012668
mov rcx, r12
call fcn.14005cfe8
nop
cmp rsi, 0xffffffffffffffff
je 0x14001232c
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140012378
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012363
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001266e
call fcn.14005cfe8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
xor eax, eax
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x14001215d
lea rdx, str.Unsupported_protocol
lea rcx, [rbp - 0x20]
call fcn.14000ffa0
lea rdx, [0x1400c4bd0]
lea rcx, [rbp - 0x20]
call fcn.14005ef60
nop
lea r9, str.Failed_to_connect
lea r8, [0x1400c6d10]
lea rcx, [rbp - 0x80]
call fcn.14000a2f0
lea rdx, [0x1400c4908]
lea rcx, [rbp - 0x80]
call fcn.14005ef60
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_select_socket
lea r8, [0x1400c6d10]
lea rcx, [rbp - 0x80]
call fcn.14000a2f0
lea rdx, [0x1400c4908]
lea rcx, [rbp - 0x80]
call fcn.14005ef60
nop
lea rdx, str.Only_HTTP_scheme_is_supported
lea rcx, [rbp - 0x20]
call fcn.14000ffa0
lea rdx, [0x1400c4bd0]
lea rcx, [rbp - 0x20]
call fcn.14005ef60
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
lea r8, [rsi + 0x68]
lea rdx, str.Failed_to_get_address_info_of
lea rcx, [rbp - 0x20]
call fcn.140034aa0
nop
mov r9, rax
mov edx, ebx
lea rcx, [rbp]
call fcn.14000a2a0
lea rdx, [0x1400c4908]
lea rcx, [rbp]
call fcn.14005ef60
nop
call fcn.140031160
int3
call fcn.140009d40
int3
call fcn.14006e068
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_create_socket
lea r8, [0x1400c6d10]
lea rcx, [rbp]
call fcn.14000a2f0
lea rdx, [0x1400c4908]
lea rcx, [rbp]
call fcn.14005ef60
int3
lea rcx, [rbp - 0x48]
call fcn.1400101e0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_get_socket_flags
lea r8, [0x1400c6d10]
lea rcx, [rbp + 0x60]
call fcn.14000a2f0
lea rdx, [0x1400c4908]
lea rcx, [rbp + 0x60]
call fcn.14005ef60
nop
lea rdx, str.Request_timed_out
lea rcx, [rbp - 0x80]
call fcn.1400101f0
lea rdx, [0x1400c4c60]
lea rcx, [rbp - 0x80]
call fcn.14005ef60
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_get_socket_option
lea r8, [0x1400c6d10]
lea rcx, [rbp - 0x80]
call fcn.14000a2f0
lea rdx, [0x1400c4908]
lea rcx, [rbp - 0x80]
call fcn.14005ef60
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_connect
lea r8, [0x1400c6d10]
lea rcx, [rbp - 0x80]
call fcn.14000a2f0
lea rdx, [0x1400c4908]
lea rcx, [rbp - 0x80]
call fcn.14005ef60
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_send_data
lea r8, [0x1400c6d10]
lea rcx, [rbp - 0x80]
call fcn.14000a2f0
lea rdx, [0x1400c4908]
lea rcx, [rbp - 0x80]
call fcn.14005ef60
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_read_data
lea r8, [0x1400c6d10]
lea rcx, [rbp + 0x60]
call fcn.14000a2f0
lea rdx, [0x1400c4908]
lea rcx, [rbp + 0x60]
call fcn.14005ef60
nop
lea r8, [rbp - 0x40]
lea rdx, str.Unsupported_transfer_encoding:
lea rcx, [rbp]
call fcn.140034aa0
nop
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140012a80
lea rdx, [0x1400c4c60]
lea rcx, [rbp - 0x80]
call fcn.14005ef60
nop
lea rdx, str.Invalid_digit
lea rcx, [rbp - 0x80]
call fcn.1400101f0
lea rdx, [0x1400c4c60]
lea rcx, [rbp - 0x80]
call fcn.14005ef60
int3
call fcn.140031160
int3
call fcn.14006e068
nop
call fcn.14006e068
nop
call fcn.14006e068
int3
lea rdx, str.Invalid_chunk
lea rcx, [rbp - 0x80]
call fcn.1400101f0
lea rdx, [0x1400c4c60]
lea rcx, [rbp - 0x80]
call fcn.14005ef60
int3
lea rdx, str.Invalid_hex_digit
lea rcx, [rbp - 0x80]
call fcn.1400101f0
lea rdx, [0x1400c4c60]
lea rcx, [rbp - 0x80]
call fcn.14005ef60
nop
call fcn.14006e068
nop
call fcn.14006e068
nop
lea rdx, str.Unsupported_protocol
lea rcx, [rbp - 0x20]
call fcn.14000ffa0
lea rdx, [0x1400c4bd0]
lea rcx, [rbp - 0x20]
call fcn.14005ef60
int3