Function at 0x1400038f0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x140041020]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rdi, rdx
cmp ecx, 3
je 0x14000399c
lea rdx, str.Usage:
lea rcx, [0x1400425f0]
call fcn.140007420
mov rcx, rax
mov rdx, qword [rdi]
call fcn.140007420
mov rcx, rax
lea rdx, str.__url___proxy_
call fcn.140007420
mov rcx, rax
call fcn.140007690
lea rdx, str.Example:
lea rcx, [0x1400425f0]
call fcn.140007420
mov rcx, rax
mov rdx, qword [rdi]
call fcn.140007420
mov rcx, rax
lea rdx, str._http:__example.com_192.168.1.1:8080
call fcn.140007420
mov rcx, rax
call fcn.140007690
mov eax, 1
jmp 0x140003c73
mov ecx, 0x202
lea rdx, [rbp - 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400039bf
lea rdx, str.Failed_to_initialize_Winsock
lea rcx, [0x1400425f0]
jmp 0x140003985
mov rdx, qword [rdi + 8]
xor esi, esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], socket
mov byte [rsp + 0x60], sil
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rdx + r8], sil
jne 0x1400039e7
lea rcx, [rsp + 0x60]
call fcn.1400060c0
nop
mov rdx, qword [rdi + 0x10]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], socket
mov byte [rsp + 0x40], 0
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140003a17
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.1400060c0
nop
lea rdx, str.Fetching
lea rcx, [0x140042450]
call fcn.140007420
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rcx, rax
call fcn.140008400
lea rdx, str._through_proxy
mov rcx, rax
call fcn.140007420
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, rax
call fcn.140008400
mov rcx, rax
call fcn.140007690
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.1400028e0
nop
lea rdx, str.Content_length:
lea rcx, [0x140042450]
call fcn.140007420
mov rcx, rax
mov rbx, qword [rbp - 0x70]
mov rdx, rbx
call fcn.140004750
mov rcx, rax
lea rdx, str._bytes
call fcn.140007420
mov rcx, rax
call fcn.140007690
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], socket
mov byte [rsp + 0x20], 0
mov r8d, 0x320
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, qword [rbp - 0x80]
lea rcx, [rsp + 0x20]
call fcn.1400060c0
nop
lea rdx, str.Content_preview:
lea rcx, [0x140042450]
call fcn.140007420
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
mov rcx, rax
call fcn.140008400
lea rdx, [0x14003b924]
mov rcx, rax
call fcn.140007420
mov rcx, rax
call fcn.140007690
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140003ba5
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ba0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003ca1
call fcn.14000a960
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140003be8
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003be2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003ca7
call fcn.14000a960
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140003c25
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003cad
call fcn.14000a960
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], socket
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140003c71
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003c9b
call fcn.14000a960
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14000a940
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140013530
nop
call fcn.140013530
nop
call fcn.140013530
nop
call fcn.140013530
int3