Function at 0x140004d10
Capabilities:
Connect socket
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400b7c40]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rcx
mov qword [rbp - 0x70], rcx
xor r15d, r15d
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x20], r15
mov qword [rcx + 0x28], send
mov byte [rcx + 0x10], r15b
mov ecx, 0x202
lea rdx, [rbp - 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140005098
xor r8d, r8d
lea edx, [rax + 1]
mov r14d, 2
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, rax
mov word [rbp - 0x40], r14w
mov ecx, 0xab8
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x3e], ax
mov dword [rbp - 0x3c], 0x2dfadb68
lea r8d, [r15 + 0x10]
lea rdx, [rbp - 0x40]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
js 0x140005098
mov byte [rdi], 1
mov qword [rdi + 8], rsi
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], send
xor r8d, r8d
lea rdx, [0x14008fff0]
lea rcx, [rsp + 0x40]
call fcn.140003990
mov r9d, 0x400
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.1400050c0
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140004e19
mov rax, qword [rax]
cmp rcx, 9
jne 0x140004e3a
mov r8, rcx
lea rdx, str.connected
mov rcx, rax
call fcn.140065590
test eax, eax
jne 0x140004e3a
xor sil, sil
jmp 0x140004e3d
mov sil, 1
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140004e7a
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400050a6
call fcn.140062a94
test sil, sil
jne 0x140005098
lea rcx, [rsp + 0x60]
call fcn.1400049c0
mov rdx, rax
lea rcx, [rdi + 0x10]
call fcn.140008d30
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140004ed6
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ed1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400050ac
call fcn.140062a94
lea rax, [rbp - 0x68]
mov qword [rbp - 0x80], rax
lea rdx, [0x1400b7f18]
lea rcx, [rbp - 0x68]
call fcn.140008df0
mov rsi, rax
mov byte [rbp - 0x48], 0x3b
mov rcx, qword [rdi + 0x20]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
je 0x1400050b2
lea r9, [rdi + 0x10]
cmp qword [rdi + 0x28], 0x10
jb 0x140004f1b
mov r9, qword [rdi + 0x10]
mov qword [rsp + 0x30], 1
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rdi + 0x10]
movzx edx, byte [rbp - 0x48]
lea rcx, [rsp + 0x60]
call fcn.14000a440
nop
lea rdx, [0x1400902c0]
lea rcx, [rsp + 0x60]
call fcn.140008b80
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], send
mov byte [rax], 0
mov r8, rsi
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400053d0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140004fd3
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004fce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400050b8
call fcn.140062a94
lea rdx, [rdi + 0x10]
lea rcx, [rbp - 0x68]
call fcn.140008df0
mov r9d, 0x400
mov r8, rax
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.1400050c0
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140005004
mov rax, qword [rax]
cmp rcx, 9
jne 0x140005024
mov r8, rcx
lea rdx, str.connected
mov rcx, rax
call fcn.140065590
test eax, eax
jne 0x140005024
xor bl, bl
jmp 0x140005026
mov bl, 1
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14000505f
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000505a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005092
call fcn.140062a94
test bl, bl
jne 0x140005098
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140062540
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14002de94
nop
mov rcx, rdi
call fcn.140004ce0
call fcn.140007f30
int3
call fcn.14002de94
int3
call fcn.14002de94
nop
call fcn.140001ad0
nop
call fcn.14002de94
int3