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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1198]
mov eax, 0x1298
call fcn.1400a63b0
sub rsp, rax
movaps xmmword [rsp + 0x1280], xmm6
movaps xmmword [rsp + 0x1270], xmm7
movaps xmmword [rsp + 0x1260], xmm8
movaps xmmword [rsp + 0x1250], xmm9
mov rax, qword [0x14012d080]
xor rax, rsp
mov qword [rbp + 0x1140], rax
mov qword [rsp + 0x40], r9
mov qword [rbp - 0x20], r8
mov qword [rsp + 0x38], rdx
mov rsi, rcx
mov qword [rbp - 0x60], rdx
mov r13, qword [rbp + 0x1200]
mov edi, 1
mov dword [rbp + 0x48], edi
call fcn.1400a2d80
mov rbx, rax
call fcn.1400a2d64
cmp rbx, 0x989680
jne 0x14002b345
imul rax, rax, 0x64
jmp 0x14002b360
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov r14, qword [rbp + 0x1208]
imul rcx, r14, 0xf4240
add rax, rcx
mov qword [rsp + 0x50], rax
mov r8, qword [rsi + 0x18]
lea rcx, [rsi + 8]
cmp qword [rsi + 0x20], 0x10
jb 0x14002b389
mov rcx, qword [rsi + 8]
cmp r8, 4
jne 0x14002c379
lea rdx, str.http
call fcn.1400a8530
test eax, eax
jne 0x14002c379
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movzx eax, byte [rsi + 1]
mov ebx, 2
test al, al
jne 0x14002b3d0
mov eax, ebx
jmp 0x14002b3de
cmp al, dil
jne 0x14002c337
mov eax, reloc.WS2_32.dll_socket
mov dword [rbp + 0x114], eax
mov dword [rbp + 0x118], edi
cmp qword [rsi + 0x98], 0
jne 0x14002b3fd
lea rdx, [0x14010ec00]
jmp 0x14002b40e
lea rdx, [rsi + 0x88]
cmp qword [rdx + 0x18], 0x10
jb 0x14002b40e
mov rdx, qword [rdx]
lea rcx, [rsi + 0x68]
cmp qword [rsi + 0x80], 0x10
jb 0x14002b420
mov rcx, qword [rsi + 0x68]
lea r9, [rbp - 0x50]
lea r8, [rbp + 0x110]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x14002c39a
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
mov rax, qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rbp + 0xd0], rax
mov r15, qword [rbp - 0x50]
mov qword [rsp + 0x48], r15
mov qword [rbp + 0xd8], r15
xor eax, eax
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], rax
movdqu xmmword [rbp - 0x10], xmm0
xor ecx, ecx
mov qword [rbp], rcx
mov rdi, qword [r13 + 8]
sub rdi, qword [r13]
sar rdi, 6
test rdi, rdi
je 0x14002b56d
movabs rax, 0x3ffffffffffffff
cmp rdi, rax
ja 0x14002c3d8
shl rdi, 6
cmp rdi, 0x1000
jb 0x14002b4d4
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14002c3de
call fcn.1400a56f0
test rax, rax
je 0x14002c3e4
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14002b4e9
test rdi, rdi
je 0x14002b4e6
mov rcx, rdi
call fcn.1400a56f0
mov rbx, rax
jmp 0x14002b4e9
mov rbx, rcx
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rbx
lea rax, [rbx + rdi]
mov qword [rbp], rax
lea rax, [rbp - 0x10]
mov qword [rbp + 0x48], rax
mov r15, qword [r13 + 8]
mov rdi, qword [r13]
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rbx
lea rax, [rbp - 0x10]
mov qword [rbp + 0x40], rax
cmp rdi, r15
je 0x14002b55f
nop word [rax + rax]
mov qword [rbp - 0x18], rbx
mov rdx, rdi
mov rcx, rbx
call fcn.140009510
nop
lea rcx, [rbx + 0x20]
lea rdx, [rdi + 0x20]
call fcn.140009510
nop
add rbx, 0x40
mov qword [rbp + 0x38], rbx
add rdi, 0x40
cmp rdi, r15
jne 0x14002b530
mov qword [rbp - 8], rbx
mov ebx, 2
mov r15, qword [rsp + 0x48]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x40]
mov r8, qword [rbp - 0x20]
lea rdx, [rsi + 8]
lea rcx, [rbp + 0x18]
call fcn.14002a980
nop
movzx eax, byte [rsi + 1]
test al, al
je 0x14002b5a2
cmp al, 1
jne 0x14002c5a8
mov ebx, reloc.WS2_32.dll_socket
mov edi, 1
lea r8d, [rdi + 5]
mov edx, edi
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, rax
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x14002c3ea
mov dword [rbp - 0x18], edi
lea r8, [rbp - 0x18]
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x14002c415
movabs rdi, 0x431bde82d7b634db
test r14, r14
js 0x14002b65c
call fcn.1400a2d80
mov rbx, rax
call fcn.1400a2d64
cmp rbx, 0x989680
jne 0x14002b610
imul rax, rax, 0x64
jmp 0x14002b62b
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov r12, qword [rsp + 0x50]
mov rcx, r12
sub rcx, rax
mov rax, rdi
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 0x14002b66b
mov rbx, 0xffffffffffffffff
mov r12, qword [rsp + 0x50]
xor r13d, r13d
mov edi, dword [r15 + 0x10]
mov r15, qword [r15 + 0x20]
mov r8d, edi
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14002b6a8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14002b6de
mov r8d, edi
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14002b687
mov rdi, qword [rbp + 0x20]
mov r15, qword [rbp + 0x18]
sub rdi, r15
je 0x14002b80a
test r14, r14
js 0x14002b787
call fcn.1400a2d80
mov rbx, rax
call fcn.1400a2d64
cmp rbx, 0x989680
jne 0x14002b742
imul rax, rax, 0x64
jmp 0x14002b75d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14002c471
mov r8, rbx
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.14002a240
mov dword [rbp - 0x20], 4
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x48]
mov edx, 0xffff
mov r8d, 0x1007
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x14002c448
mov edx, dword [rbp + 0x48]
test edx, edx
jne 0x14002c358
jmp 0x14002b6a8
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov rcx, r12
sub rcx, rax
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test rdx, rdx
cmovle rdx, r13
jmp 0x14002b78e
mov rdx, 0xffffffffffffffff
mov r8, rdx
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.14002a240
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 0x14002b7fc
nop dword [rax]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14002b7f3
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 0x14002b7c0
cdqe
add r15, rax
sub rdi, rax
jmp 0x14002b6b3
cmp ebx, 0xffffffff
je 0x14002c49a
movsxd rax, ebx
add r15, rax
sub rdi, rax
jmp 0x14002b6b3
mov word [rbp - 0x48], 0xa0d
mov dword [rbp - 0x28], 0xa0d0a0d
mov rdi, qword [rsp + 0x38]
xorps xmm0, xmm0
movups xmmword [rdi + 8], xmm0
mov qword [rdi + 0x18], r13
mov qword [rdi + 0x20], select
mov byte [rdi + 8], 0
mov qword [rdi + 0x28], r13
mov qword [rdi + 0x30], r13
mov qword [rdi + 0x38], r13
mov qword [rdi + 0x40], r13
mov qword [rdi + 0x48], r13
mov qword [rdi + 0x50], r13
mov dword [rbp + 0x48], 1
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov qword [rbp - 0x30], r13
xor r15b, r15b
mov byte [rsp + 0x30], r15b
mov byte [rsp + 0x32], r15b
mov qword [rbp - 0x20], r13
mov byte [rsp + 0x31], r15b
xor ecx, ecx
mov r12d, ecx
mov dword [rbp - 0x18], eax
jmp 0x14002b885
mov rdi, qword [rsp + 0x38]
test r14, r14
js 0x14002b8f2
call fcn.1400a2d80
mov rbx, rax
call fcn.1400a2d64
cmp rbx, 0x989680
jne 0x14002b8a6
imul rax, rax, 0x64
jmp 0x14002b8c1
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov rcx, qword [rsp + 0x50]
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 0x14002b8f9
mov rdx, 0xffffffffffffffff
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14002a240
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x140]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14002b960
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14002b957
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x140]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
je 0x14002b928
jmp 0x14002b960
cmp ebx, 0xffffffff
je 0x14002c4c3
movsxd r9, ebx
test ebx, ebx
je 0x14002c28a
lea r8, [rbp + 0x140]
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x40]
call fcn.140035bc0
test r15b, r15b
jne 0x14002be47
mov r8, qword [rbp - 0x38]
mov rax, r8
mov r9, qword [rbp - 0x40]
sub rax, r9
cmp rax, 4
jl 0x14002c142
lea rdx, [r8 - 4]
mov rbx, r9
mov eax, dword [rbp - 0x28]
nop word [rax + rax]
cmp eax, dword [rbx]
sete cl
test cl, cl
jne 0x14002b9c7
cmp rbx, rdx
je 0x14002c142
inc rbx
jmp 0x14002b9b0
cmp rbx, r8
je 0x14002c142
add rbx, 2
mov r8, rbx
mov rdx, r9
lea rcx, [rbp + 0xe0]
call fcn.1400315f0
nop
mov rdi, qword [rbp + 0xe0]
mov eax, dword [rbp + 0xe8]
mov rcx, qword [rsp + 0x38]
mov dword [rcx], eax
movzx eax, word [rbp + 0xec]
mov word [rcx + 4], ax
lea rdx, [rbp + 0xf0]
add rcx, 8
call fcn.140011050
nop word [rax + rax]
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.140031880
nop
mov rdi, qword [rbp + 0x80]
movups xmm9, xmmword [rbp + 0x88]
movups xmmword [rbp + 0x50], xmm9
movups xmm8, xmmword [rbp + 0x98]
movups xmmword [rbp + 0x60], xmm8
xor eax, eax
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa0], socket
mov byte [rbp + 0x88], al
movups xmm7, xmmword [rbp + 0xa8]
movups xmmword [rbp - 0x10], xmm7
movups xmm6, xmmword [rbp + 0xb8]
movups xmmword [rbp], xmm6
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], socket
mov byte [rbp + 0xa8], al
lea rcx, [rbp + 0x50]
movdqa xmm0, xmm8
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
setae dl
mov byte [rsp + 0x30], dl
movq r15, xmm9
cmovae rcx, r15
movq r13, xmm8
cmp r13, 0x11
jne 0x14002bbb3
mov r8, r13
lea rdx, str.transfer_encoding
call fcn.1400a8530
test eax, eax
jne 0x14002bbae
lea rcx, [rbp - 0x10]
movq rdx, xmm7
movdqa xmm0, xmm6
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rcx, rdx
movq rax, xmm6
cmp rax, 7
jne 0x14002c4ee
mov r8, rax
lea rdx, str.chunked
call fcn.1400a8530
test eax, eax
jne 0x14002c4ee
mov byte [rsp + 0x31], 1
mov r13, qword [rbp - 0x20]
movaps xmmword [rsp + 0x60], xmm9
movaps xmmword [rsp + 0x70], xmm8
xor r9d, r9d
mov qword [rbp + 0x60], r9
mov qword [rbp + 0x68], select
mov byte [rbp + 0x50], r9b
movaps xmmword [rbp - 0x80], xmm7
movaps xmmword [rbp - 0x70], xmm6
mov qword [rbp], r9
mov qword [rbp + 8], select
mov byte [rbp - 0x10], r9b
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx + 0x30]
cmp rdx, qword [rcx + 0x38]
je 0x14002bc96
movups xmmword [rdx], xmm9
movups xmmword [rdx + 0x10], xmm8
mov r15d, select
mov byte [rsp + 0x60], r9b
movups xmmword [rdx + 0x20], xmm7
movups xmmword [rdx + 0x30], xmm6
mov edx, r15d
mov byte [rbp - 0x80], r9b
add qword [rcx + 0x30], 0x40
jmp 0x14002bcad
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp + 0x50]
test dl, dl
cmovne rcx, r15
cmp r13, 0xe
jne 0x14002bb33
mov r8, r13
lea rdx, str.content_length
call fcn.1400a8530
test eax, eax
jne 0x14002bb33
lea r9, [rbp - 0x10]
movdqa xmm0, xmm6
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
setae dl
movq rcx, xmm7
cmovae r9, rcx
movq rax, xmm6
add r9, rax
lea rax, [rbp - 0x10]
test dl, dl
cmovne rax, rcx
xor ecx, ecx
mov r13d, ecx
mov qword [rbp - 0x20], rcx
cmp rax, r9
je 0x14002bc50
movsx edx, byte [rax]
lea ecx, [rdx - 0x30]
cmp cl, 9
ja 0x14002c521
lea ecx, [rdx - 0x30]
movsxd rdx, ecx
lea rcx, [r13*4]
add rcx, r13
lea r13, [rdx + rcx*2]
mov qword [rbp - 0x20], r13
inc rax
cmp rax, r9
jne 0x14002bc20
mov byte [rsp + 0x32], 1
mov rcx, qword [rsp + 0x38]
add rcx, 0x40
mov rax, qword [rcx + 0x10]
sub rax, qword [rcx]
cmp r13, rax
jbe 0x14002bb37
movabs rax, 0x7fffffffffffffff
cmp r13, rax
ja 0x14002c542
mov rdx, r13
call fcn.14002fec0
movups xmm6, xmmword [rbp]
movups xmm7, xmmword [rbp - 0x10]
jmp 0x14002bb37
lea r8, [rsp + 0x60]
add rcx, 0x28
call fcn.140036580
mov rdx, qword [rbp - 0x68]
mov r15, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14002bce4
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bcdf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c548
call fcn.1400a5a4c
cmp r15, 0x10
jb 0x14002bd1e
lea rdx, [r15 + 1]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bd18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c548
call fcn.1400a5a4c
nop
mov rdx, qword [rbp + 8]
cmp rdi, rbx
je 0x14002bd80
cmp rdx, 0x10
jb 0x14002bd5e
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bd59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c54e
call fcn.1400a5a4c
xor eax, eax
mov qword [rbp], rax
mov qword [rbp + 8], select
mov byte [rbp - 0x10], al
lea rcx, [rbp + 0x88]
call fcn.14002b200
jmp 0x14002ba20
cmp rdx, 0x10
jb 0x14002bdb7
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bdb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c54e
call fcn.1400a5a4c
xor eax, eax
mov qword [rbp], rax
mov qword [rbp + 8], select
mov byte [rbp - 0x10], al
lea rcx, [rbp + 0x88]
call fcn.14002b200
lea rdx, [rbx + 2]
mov rdi, qword [rbp - 0x40]
mov rbx, qword [rbp - 0x38]
cmp rdi, rdx
je 0x14002bdfe
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call fcn.1400a7a40
add rbx, rdi
mov qword [rbp - 0x38], rbx
mov rdi, qword [rbp - 0x40]
mov r15b, 1
mov byte [rsp + 0x30], r15b
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x14002be4f
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002be42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c554
call fcn.1400a5a4c
mov rdi, qword [rbp - 0x40]
mov rbx, qword [rbp - 0x38]
cmp byte [rsp + 0x31], 0
je 0x14002c0a8
mov r8d, dword [rbp - 0x18]
nop
test r12, r12
je 0x14002bedd
sub rbx, rdi
mov r15, r12
cmp rbx, r12
cmovb r15, rbx
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx + 0x48]
mov r9, r15
mov r8, rdi
add rcx, 0x40
call fcn.140035bc0
mov rdi, qword [rbp - 0x40]
lea rdx, [rdi + r15]
mov rbx, qword [rbp - 0x38]
cmp rdi, rdx
je 0x14002beb4
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call fcn.1400a7a40
add rbx, rdi
mov qword [rbp - 0x38], rbx
mov rdi, qword [rbp - 0x40]
sub r12, r15
mov r8d, dword [rbp - 0x18]
movzx r8d, r8b
mov eax, 1
cmove r8d, eax
mov dword [rbp - 0x18], r8d
cmp rdi, rbx
movzx r15d, byte [rsp + 0x30]
je 0x14002b880
jmp 0x14002be60
test r8b, r8b
je 0x14002bf31
mov rax, rbx
sub rax, rdi
cmp rax, 2
movzx r15d, byte [rsp + 0x30]
jb 0x14002b880
movzx eax, word [rbp - 0x48]
cmp ax, word [rdi]
sete al
test al, al
je 0x14002c55a
xor al, al
mov dword [rbp - 0x18], eax
lea rdx, [rdi + 2]
cmp rdi, rdx
je 0x14002bf31
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call fcn.1400a7a40
add rbx, rdi
mov qword [rbp - 0x38], rbx
mov rdi, qword [rbp - 0x40]
mov rcx, rbx
mov rax, rbx
sub rax, rdi
cmp rax, 2
jl 0x14002bf6b
lea r8, [rbx - 2]
mov rdx, rdi
nop word [rax + rax]
movzx eax, word [rbp - 0x48]
cmp ax, word [rdx]
sete al
test al, al
jne 0x14002bf68
cmp rdx, r8
je 0x14002bf6b
inc rdx
jmp 0x14002bf50
mov rcx, rdx
cmp rcx, rbx
movzx r15d, byte [rsp + 0x30]
je 0x14002b880
xor r15d, r15d
mov r12d, r15d
cmp rdi, rcx
je 0x14002bfd2
mov rax, rdi
nop dword [rax + rax]
movzx r8d, byte [rax]
lea edx, [r8 - 0x30]
cmp dl, 9
ja 0x14002bfa3
lea rdx, [r8 - 0x30]
jmp 0x14002bfc3
lea edx, [r8 - 0x41]
cmp dl, 5
ja 0x14002bfb2
lea rdx, [r8 - 0x37]
jmp 0x14002bfc3
lea edx, [r8 - 0x61]
cmp dl, 5
ja 0x14002c57b
lea rdx, [r8 - 0x57]
shl r12, 4
add r12, rdx
inc rax
cmp rax, rcx
jne 0x14002bf90
lea rdx, [rcx + 2]
cmp rdi, rdx
je 0x14002bff4
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call fcn.1400a7a40
add rbx, rdi
mov qword [rbp - 0x38], rbx
mov rdi, qword [rbp - 0x40]
test r12, r12
jne 0x14002be5a
test rdi, rdi
je 0x14002c042
mov rdx, qword [rbp - 0x30]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x14002c02e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c59c
mov rcx, rdi
call fcn.1400a5a4c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r15
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14002c092
mov rdx, qword [rbp + 0x28]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c081
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c5a2
call fcn.1400a5a4c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], r15
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
mov rax, qword [rsp + 0x38]
jmp 0x14002c1ec
sub rbx, rdi
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx + 0x48]
mov r9, rbx
mov r8, rdi
mov rdi, rcx
lea rcx, [rcx + 0x40]
call fcn.140035bc0
mov rax, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x40]
cmp rcx, rax
cmovne rax, rcx
mov qword [rbp - 0x38], rax
cmp byte [rsp + 0x32], 0
je 0x14002b885
mov rax, qword [rdi + 0x48]
sub rax, qword [rdi + 0x40]
cmp rax, r13
jb 0x14002b885
test rcx, rcx
je 0x14002c227
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c12a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c59c
call fcn.1400a5a4c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
xor ebx, ebx
mov qword [rbp - 0x30], rbx
jmp 0x14002c229
test r9, r9
je 0x14002c18b
mov rdx, qword [rbp - 0x30]
sub rdx, r9
mov rax, r9
cmp rdx, 0x1000
jb 0x14002c173
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c59c
mov rcx, r9
call fcn.1400a5a4c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
xor ebx, ebx
mov qword [rbp - 0x30], rbx
jmp 0x14002c18d
xor ebx, ebx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14002c1dd
mov rdx, qword [rbp + 0x28]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c1cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c5a2
call fcn.1400a5a4c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
mov rax, rdi
mov rcx, qword [rbp + 0x1140]
xor rcx, rsp
call fcn.1400a56d0
lea r11, [rsp + 0x1298]
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
xor ebx, ebx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14002c279
mov rdx, qword [rbp + 0x28]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c268
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c5a2
call fcn.1400a5a4c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x14002c1e9
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14002c2d4
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c2bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c59c
call fcn.1400a5a4c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
xor ebx, ebx
mov qword [rbp - 0x30], rbx
jmp 0x14002c2d6
xor ebx, ebx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14002c326
mov rdx, qword [rbp + 0x28]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c315
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c5a2
call fcn.1400a5a4c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
jmp 0x14002c1e9
lea rdx, str.Unsupported_protocol
lea rcx, [rbp + 0x30]
call fcn.14002a130
lea rdx, [0x14012b620]
lea rcx, [rbp + 0x30]
call fcn.1400a794c
nop
lea r9, str.Failed_to_connect
lea rcx, [rbp - 0x10]
call fcn.140027d70
lea rdx, [0x14012b3a8]
lea rcx, [rbp - 0x10]
call fcn.1400a794c
nop
lea rdx, str.Only_HTTP_scheme_is_supported
lea rcx, [rbp + 0x30]
call fcn.14002a130
lea rdx, [0x14012b620]
lea rcx, [rbp + 0x30]
call fcn.1400a794c
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 + 0x50]
call fcn.140030480
nop
mov r9, rax
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.140027cb0
lea rdx, [0x14012b3a8]
lea rcx, [rsp + 0x60]
call fcn.1400a794c
nop
call fcn.140009f20
int3
call fcn.140007600
int3
call fcn.1400ac440
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_create_socket
lea rcx, [rsp + 0x60]
call fcn.140027d70
lea rdx, [0x14012b3a8]
lea rcx, [rsp + 0x60]
call fcn.1400a794c
int3
lea rcx, [rsp + 0x40]
call fcn.14002a390
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_get_socket_flags
lea rcx, [rbp + 0x50]
call fcn.140027d70
lea rdx, [0x14012b3a8]
lea rcx, [rbp + 0x50]
call fcn.1400a794c
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_get_socket_option
lea rcx, [rbp - 0x10]
call fcn.140027d70
lea rdx, [0x14012b3a8]
lea rcx, [rbp - 0x10]
call fcn.1400a794c
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_connect
lea rcx, [rbp - 0x10]
call fcn.140027d70
lea rdx, [0x14012b3a8]
lea rcx, [rbp - 0x10]
call fcn.1400a794c
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_send_data
lea rcx, [rbp - 0x10]
call fcn.140027d70
lea rdx, [0x14012b3a8]
lea rcx, [rbp - 0x10]
call fcn.1400a794c
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_read_data
lea rcx, [rsp + 0x60]
call fcn.140027d70
lea rdx, [0x14012b3a8]
lea rcx, [rsp + 0x60]
call fcn.1400a794c
nop
lea r8, [rbp - 0x10]
lea rdx, str.Unsupported_transfer_encoding:
lea rcx, [rsp + 0x60]
call fcn.140030480
nop
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.14002c9b0
lea rdx, [0x14012b668]
lea rcx, [rbp + 0x30]
call fcn.1400a794c
nop
lea rdx, str.Invalid_digit
lea rcx, [rbp + 0x30]
call fcn.14002a3a0
lea rdx, [0x14012b668]
lea rcx, [rbp + 0x30]
call fcn.1400a794c
int3
call fcn.140009f20
int3
call fcn.1400ac440
nop
call fcn.1400ac440
nop
call fcn.1400ac440
int3
lea rdx, str.Invalid_chunk
lea rcx, [rbp + 0x30]
call fcn.14002a3a0
lea rdx, [0x14012b668]
lea rcx, [rbp + 0x30]
call fcn.1400a794c
int3
lea rdx, str.Invalid_hex_digit
lea rcx, [rbp + 0x30]
call fcn.14002a3a0
lea rdx, [0x14012b668]
lea rcx, [rbp + 0x30]
call fcn.1400a794c
nop
call fcn.1400ac440
nop
call fcn.1400ac440
nop
lea rdx, str.Unsupported_protocol
lea rcx, [rbp + 0x30]
call fcn.14002a130
lea rdx, [0x14012b620]
lea rcx, [rbp + 0x30]
call fcn.1400a794c
int3