Function at 0x140002740
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x680
mov rax, qword [0x140045048]
xor rax, rsp
mov qword [rsp + 0x670], rax
mov eax, 1
xor ecx, ecx
cpuid
mov r8d, ecx
mov dword [rsp + 0xe4], ebx
sar r8d, 0x1f
and r8d, 1
mov eax, 0x40000003
xor ecx, ecx
cpuid
mov dword [rsp + 0xe0], eax
mov dword [rsp + 0xe8], ecx
mov dword [rsp + 0xec], edx
sar ebx, 0xb
and ebx, 1
mov r9d, ebx
lea rdx, str.VmEnable_d__CpuManagement_d_n
lea rcx, [rsp + 0x470]
call fcn.14000add0
xor r14d, r14d
mov qword [rsp + 0xa0], r14
mov r15d, recv
mov qword [rsp + 0xb8], r15
mov ecx, 7
mov qword [rsp + 0xb0], rcx
mov eax, dword [str.http:__]
mov dword [rsp + 0xa0], eax
movzx eax, word [0x1400313a4]
mov word [rsp + 0xa4], ax
movzx eax, byte [0x1400313a6]
mov byte [rsp + 0xa6], al
mov byte [rsp + 0xa7], r14b
mov qword [rsp + 0x20], recv
lea r9, str.test.echo1.pro
xor r8d, r8d
lea edx, [rcx + 7]
lea rcx, [rsp + 0xa0]
call fcn.140003ec0
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xb8]
mov rax, rdx
sub rax, rcx
cmp rax, 5
jb 0x140002899
lea rax, [rcx + 5]
mov qword [rsp + 0xb0], rax
lea rbx, [rsp + 0xa0]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0xa0]
add rbx, rcx
lea r8d, [r14 + 5]
lea rdx, str.:8085
mov rcx, rbx
call fcn.140010020
mov byte [rbx + 5], r14b
jmp 0x1400028bd
mov qword [rsp + 0x20], 5
lea r9, str.:8085
xor r8d, r8d
lea edx, [r8 + 5]
lea rcx, [rsp + 0xa0]
call fcn.140003ec0
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xb8]
mov rax, rdx
sub rax, rcx
cmp rax, 0xf
jb 0x140002915
lea rax, [rcx + 0xf]
mov qword [rsp + 0xb0], rax
lea rbx, [rsp + 0xa0]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0xa0]
add rbx, rcx
mov r8, r15
lea rdx, str._p_1aa06e_fskW_
mov rcx, rbx
call fcn.140010020
mov byte [rbx + 0xf], 0
jmp 0x140002935
mov qword [rsp + 0x20], r15
lea r9, str._p_1aa06e_fskW_
xor r8d, r8d
mov rdx, r15
lea rcx, [rsp + 0xa0]
call fcn.140003ec0
nop
mov byte [rsp + 0x1c0], 0
mov ecx, 0x202
lea rdx, [rsp + 0x2d0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140002fbf
movzx eax, word [rsp + 0x2d0]
cmp al, 2
jne 0x140003015
shr ax, 8
cmp al, 2
jne 0x140003015
mov word [rsp + 0x1c0], 1
lea r8, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0x10
cmovae r8, qword [rsp + 0xa0]
add r8, qword [rsp + 0xb0]
lea rdx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0x10
cmovae rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x1c8]
call fcn.140005520
nop
mov qword [rsp + 0x100], r14
mov qword [rsp + 0x110], r14
mov qword [rsp + 0x118], r15
mov byte [rsp + 0x100], 0
lea rax, [rsp + 0x470]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140002a00
lea rdx, [rsp + 0x470]
lea rcx, [rsp + 0x100]
call fcn.1400080e0
nop
mov qword [rsp + 0x138], r15
mov qword [rsp + 0x130], recv
movsd xmm0, qword [str.Content_Type]
movsd qword [rsp + 0x120], xmm0
mov eax, dword [0x140031400]
mov dword [rsp + 0x128], eax
mov byte [rsp + 0x12c], 0
mov qword [rsp + 0x140], r14
movdqa xmm0, xmmword [0x1400314f0]
movdqa xmmword [rsp + 0x150], xmm0
mov byte [rsp + 0x140], 0
mov r8d, 0x21
lea rdx, str.application_x_www_form_urlencoded
lea rcx, [rsp + 0x140]
call fcn.1400080e0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140007fe0
mov rbx, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
lea rcx, [rax + 0x40]
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x50], rax
lea rdi, [rsp + 0x120]
lea rsi, [rsp + 0x160]
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xc8], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0xd0], rax
cmp rdi, rsi
je 0x140002b39
mov qword [rsp + 0xe0], rbx
mov rdx, rdi
mov rcx, rbx
call fcn.140006640
nop
lea rcx, [rbx + 0x20]
lea rdx, [rdi + 0x20]
call fcn.140006640
nop
add rbx, 0x40
mov qword [rsp + 0xc8], rbx
add rdi, 0x40
jmp 0x140002b00
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0xe0], r14
mov qword [rsp + 0xf8], r15
mov qword [rsp + 0xf0], 4
mov dword [rsp + 0xe0], 0x54534f50
mov byte [rsp + 0xe4], 0
lea r8, [rsp + 0x100]
cmp qword [rsp + 0x118], 0x10
cmovae r8, qword [rsp + 0x100]
add r8, qword [rsp + 0x110]
lea rdx, [rsp + 0x100]
cmp qword [rsp + 0x118], 0x10
cmovae rdx, qword [rsp + 0x100]
lea r9, [rsp + 0x30]
lea rcx, [rsp + 0xc0]
call fcn.140003040
nop
mov qword [rsp + 0x28], 0xffffffffffffffff
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x1c0]
call fcn.140009640
nop
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x140002c33
mov rdx, qword [rsp + 0xd0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002feb
call fcn.14000e0ac
nop
mov rdx, qword [rsp + 0xf8]
cmp rdx, 0x10
jb 0x140002c77
inc rdx
mov rcx, qword [rsp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002ff1
call fcn.14000e0ac
nop
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140002ced
mov rdi, qword [rsp + 0x40]
cmp rbx, rdi
je 0x140002ca6
nop dword [rax + rax]
mov rcx, rbx
call fcn.140007580
add rbx, 0x40
cmp rbx, rdi
jne 0x140002c90
mov rbx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
and rdx, 0xffffffffffffffc0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140002cd7
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002ff7
mov rcx, rbx
call fcn.14000e0ac
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
lea r9, [fcn.140007580]
mov edx, 0x40
lea r8d, [rdx - 0x3f]
lea rcx, [rsp + 0x120]
call fcn.14000dfa0
mov qword [rsp + 0xc0], r14
mov r8, r14
mov qword [rsp + 0xd0], r14
mov rcx, r15
mov qword [rsp + 0xd8], rcx
mov byte [rsp + 0xc0], r8b
mov rsi, qword [rsp + 0x1a8]
mov rdx, rsi
mov rdi, qword [rsp + 0x1a0]
sub rdx, rdi
cmp rdx, 0x10
jb 0x140002d6c
lea rcx, [rsp + 0xc0]
call fcn.140004050
mov r8, r14
mov qword [rsp + 0xd0], r14
mov rcx, qword [rsp + 0xd8]
mov rbx, rdi
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xe0], rax
nop
cmp rbx, rsi
je 0x140002df7
movzx r9d, byte [rbx]
cmp r8, rcx
jae 0x140002dce
lea rax, [r8 + 1]
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0xc0]
cmp rcx, 0x10
cmovae rax, qword [rsp + 0xc0]
mov byte [rax + r8], r9b
mov byte [rax + r8 + 1], 0
inc rbx
mov rcx, qword [rsp + 0xd8]
mov r8, qword [rsp + 0xd0]
jmp 0x140002d80
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0xc0]
call fcn.140003d50
inc rbx
mov rcx, qword [rsp + 0xd8]
mov r8, qword [rsp + 0xd0]
jmp 0x140002d80
lea rdx, [rsp + 0xc0]
cmp rcx, 0x10
cmovae rdx, qword [rsp + 0xc0]
lea rcx, [0x140046260]
call fcn.140003aa0
mov dl, 0xa
mov rcx, rax
call fcn.140003110
nop
mov rdx, qword [rsp + 0xd8]
cmp rdx, 0x10
jb 0x140002e67
inc rdx
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002ffd
call fcn.14000e0ac
nop
test rdi, rdi
je 0x140002eb8
mov rdx, qword [rsp + 0x1b0]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x140002e9c
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003003
mov rcx, rdi
call fcn.14000e0ac
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x1a0], xmm0
mov qword [rsp + 0x1b0], r14
lea rcx, [rsp + 0x188]
call fcn.140007e60
lea rcx, [rsp + 0x160]
call fcn.140007520
nop
mov rdx, qword [rsp + 0x118]
cmp rdx, 0x10
jb 0x140002f16
inc rdx
mov rcx, qword [rsp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003009
call fcn.14000e0ac
mov qword [rsp + 0x110], r14
mov qword [rsp + 0x118], r15
mov byte [rsp + 0x100], 0
lea rcx, [rsp + 0x1c8]
call fcn.1400077b0
cmp byte [rsp + 0x1c0], 0
je 0x140002f4c
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rdx, qword [rsp + 0xb8]
cmp rdx, 0x10
jb 0x140002f8f
inc rdx
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000300f
call fcn.14000e0ac
xor eax, eax
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.14000e470
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
lea r9, str.WSAStartup_failed
lea r8, section..data
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.140007340
lea rdx, [0x140043678]
lea rcx, [rsp + 0x78]
call fcn.14000f14c
nop
call fcn.14001443c
nop
call fcn.14001443c
nop
call fcn.14001443c
nop
call fcn.14001443c
nop
call fcn.14001443c
nop
call fcn.14001443c
nop
call fcn.14001443c
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str.Invalid_WinSock_version
lea rcx, [rsp + 0x60]
call fcn.1400070e0
lea rdx, [0x140043710]
lea rcx, [rsp + 0x60]
call fcn.14000f14c
int3