Function at 0x1400079c0
Capabilities:
Connect socket
Get socket status

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x388]
sub rsp, 0x488
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rbp + 0x370], rax
xor r12d, r12d
mov r13d, 4
lea r15, [0x1400280d8]
mov rbx, r9
mov rdi, rcx
cmp rcx, 0xffffffffffffffff
jne 0x140007a58
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r13 + rcx]
cmp dword [0x140029514], eax
jle 0x140007a4e
lea rcx, [0x140029514]
call fcn.14001ce34
cmp dword [0x140029514], edi
jne 0x140007a4e
lea rcx, [0x14001e810]
call fcn.14001cdb0
lea rcx, [0x140029514]
call fcn.14001cdc8
mov dword [rsp + 0x30], 0x2719
jmp 0x140007ab7
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x140007a67
mov dword [rbx], r12d
jmp 0x140007ac4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r13 + rcx]
cmp dword [0x140029514], eax
jle 0x140007aad
lea rcx, [0x140029514]
call fcn.14001ce34
cmp dword [0x140029514], 0xffffffff
jne 0x140007aad
lea rcx, [0x14001e810]
call fcn.14001cdb0
lea rcx, [0x140029514]
call fcn.14001cdc8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], r15
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
mov rax, qword gs:[0x58]
mov edx, dword [0x140029514]
mov r14, qword [rax]
cmp edx, dword [r14 + r13]
jle 0x140007b11
lea rcx, [0x140029514]
call fcn.14001ce34
mov edx, dword [0x140029514]
cmp edx, 0xffffffff
jne 0x140007b11
lea rcx, [0x14001e810]
call fcn.14001cdb0
lea rcx, [0x140029514]
call fcn.14001cdc8
mov edx, dword [0x140029514]
mov rcx, qword [rbx + 8]
mov rax, qword [0x1400280e0]
cmp qword [rcx + 8], rax
jne 0x140007b2a
cmp dword [rbx], 0x2734
je 0x140007b86
cmp edx, dword [r14 + r13]
jle 0x140007b65
lea rcx, [0x140029514]
call fcn.14001ce34
mov edx, dword [0x140029514]
cmp edx, 0xffffffff
jne 0x140007b65
lea rcx, [0x14001e810]
call fcn.14001cdb0
lea rcx, [0x140029514]
call fcn.14001cdc8
mov edx, dword [0x140029514]
mov rcx, qword [rbx + 8]
mov rax, qword [0x1400280e0]
cmp qword [rcx + 8], rax
jne 0x140007d5a
cmp dword [rbx], 0x2733
jne 0x140007d5a
cmp rdi, 0xffffffffffffffff
jne 0x140007bcb
cmp edx, dword [r14 + r13]
jle 0x140007bbe
lea rcx, [0x140029514]
call fcn.14001ce34
cmp dword [0x140029514], edi
jne 0x140007bbe
lea rcx, [0x14001e810]
call fcn.14001cdb0
lea rcx, [0x140029514]
call fcn.14001cdc8
mov dword [rsp + 0x30], 0x2719
jmp 0x140007d4d
lea ecx, [rdi + 1]
mov qword [rbp + 0x168], rdi
lea r9, [rsp + 0x50]
mov dword [rbp + 0x160], 1
lea r8, [rbp + 0x160]
mov qword [rsp + 0x58], rdi
xor edx, edx
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x20], r12
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x140007cfd
lea rax, [rsp + 0x44]
mov dword [rbx], r12d
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov dword [rsp + 0x40], r12d
mov r8d, 0x1007
mov dword [rsp + 0x44], 4
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockopt]
mov edi, eax
test eax, eax
jne 0x140007c4b
mov dword [rbx], r12d
jmp 0x140007cb1
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r13 + rcx]
cmp dword [0x140029514], eax
jle 0x140007c91
lea rcx, [0x140029514]
call fcn.14001ce34
cmp dword [0x140029514], 0xffffffff
jne 0x140007c91
lea rcx, [0x14001e810]
call fcn.14001cdb0
lea rcx, [0x140029514]
call fcn.14001cdc8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
cmp edi, 0xffffffff
je 0x140007d5a
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r13 + rcx]
cmp dword [0x140029514], eax
jle 0x140007cf7
lea rcx, [0x140029514]
call fcn.14001ce34
cmp dword [0x140029514], 0xffffffff
jne 0x140007cf7
lea rcx, [0x14001e810]
call fcn.14001cdb0
lea rcx, [0x140029514]
call fcn.14001cdc8
mov eax, dword [rsp + 0x40]
jmp 0x140007d49
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r13 + rcx]
cmp dword [0x140029514], eax
jle 0x140007d43
lea rcx, [0x140029514]
call fcn.14001ce34
cmp dword [0x140029514], 0xffffffff
jne 0x140007d43
lea rcx, [0x14001e810]
call fcn.14001cdb0
lea rcx, [0x140029514]
call fcn.14001cdc8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], r15
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.14001ca20
add rsp, 0x488
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret