Function at 0x140004a70
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 [0x1400a3c40]
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 0x140004df8
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 0x140004df8
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, [0x140088170]
lea rcx, [rsp + 0x40]
call fcn.140003650
mov r9d, 0x400
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140004e20
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140004b79
mov rax, qword [rax]
cmp rcx, 9
jne 0x140004b9a
mov r8, rcx
lea rdx, str.connected
mov rcx, rax
call fcn.14005e310
test eax, eax
jne 0x140004b9a
xor sil, sil
jmp 0x140004b9d
mov sil, 1
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140004bda
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004bd5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004e06
call fcn.14005b964
test sil, sil
jne 0x140004df8
lea rcx, [rsp + 0x60]
call fcn.140004720
mov rdx, rax
lea rcx, [rdi + 0x10]
call fcn.140008a90
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140004c36
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004e0c
call fcn.14005b964
lea rax, [rbp - 0x68]
mov qword [rbp - 0x80], rax
lea rdx, [0x1409fa620]
lea rcx, [rbp - 0x68]
call fcn.140008b30
mov rsi, rax
mov byte [rbp - 0x48], 0x3b
mov rcx, qword [rdi + 0x20]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
je 0x140004e12
lea r9, [rdi + 0x10]
cmp qword [rdi + 0x28], 0x10
jb 0x140004c7b
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.14000a0b0
nop
lea rdx, [0x140088440]
lea rcx, [rsp + 0x60]
call fcn.1400088e0
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.140005130
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140004d33
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004d2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004e18
call fcn.14005b964
lea rdx, [rdi + 0x10]
lea rcx, [rbp - 0x68]
call fcn.140008b30
mov r9d, 0x400
mov r8, rax
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140004e20
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140004d64
mov rax, qword [rax]
cmp rcx, 9
jne 0x140004d84
mov r8, rcx
lea rdx, str.connected
mov rcx, rax
call fcn.14005e310
test eax, eax
jne 0x140004d84
xor bl, bl
jmp 0x140004d86
mov bl, 1
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140004dbf
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004dba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004df2
call fcn.14005b964
test bl, bl
jne 0x140004df8
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14005b410
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.140026c98
nop
mov rcx, rdi
call fcn.140004a40
call fcn.140007c90
int3
call fcn.140026c98
int3
call fcn.140026c98
nop
call fcn.1400017b0
nop
call fcn.140026c98
int3