Function at 0x14000de00
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 [0x140032040]
xor rax, rsp
mov qword [rbp + 0x370], rax
xor r12d, r12d
mov r13d, 4
lea r15, [0x1400320c8]
mov rbx, r9
mov rdi, rcx
cmp rcx, 0xffffffffffffffff
jne 0x14000de98
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r13 + rcx]
cmp dword [0x140033574], eax
jle 0x14000de8e
lea rcx, [0x140033574]
call fcn.1400260b4
cmp dword [0x140033574], edi
jne 0x14000de8e
lea rcx, [0x140027e00]
call fcn.140026424
lea rcx, [0x140033574]
call fcn.140026048
mov dword [rsp + 0x30], 0x2719
jmp 0x14000def7
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x14000dea7
mov dword [rbx], r12d
jmp 0x14000df04
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r13 + rcx]
cmp dword [0x140033574], eax
jle 0x14000deed
lea rcx, [0x140033574]
call fcn.1400260b4
cmp dword [0x140033574], 0xffffffff
jne 0x14000deed
lea rcx, [0x140027e00]
call fcn.140026424
lea rcx, [0x140033574]
call fcn.140026048
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 [0x140033574]
mov r14, qword [rax]
cmp edx, dword [r14 + r13]
jle 0x14000df51
lea rcx, [0x140033574]
call fcn.1400260b4
mov edx, dword [0x140033574]
cmp edx, 0xffffffff
jne 0x14000df51
lea rcx, [0x140027e00]
call fcn.140026424
lea rcx, [0x140033574]
call fcn.140026048
mov edx, dword [0x140033574]
mov rcx, qword [rbx + 8]
mov rax, qword [0x1400320d0]
cmp qword [rcx + 8], rax
jne 0x14000df6a
cmp dword [rbx], 0x2734
je 0x14000dfc6
cmp edx, dword [r14 + r13]
jle 0x14000dfa5
lea rcx, [0x140033574]
call fcn.1400260b4
mov edx, dword [0x140033574]
cmp edx, 0xffffffff
jne 0x14000dfa5
lea rcx, [0x140027e00]
call fcn.140026424
lea rcx, [0x140033574]
call fcn.140026048
mov edx, dword [0x140033574]
mov rcx, qword [rbx + 8]
mov rax, qword [0x1400320d0]
cmp qword [rcx + 8], rax
jne 0x14000e19a
cmp dword [rbx], 0x2733
jne 0x14000e19a
cmp rdi, 0xffffffffffffffff
jne 0x14000e00b
cmp edx, dword [r14 + r13]
jle 0x14000dffe
lea rcx, [0x140033574]
call fcn.1400260b4
cmp dword [0x140033574], edi
jne 0x14000dffe
lea rcx, [0x140027e00]
call fcn.140026424
lea rcx, [0x140033574]
call fcn.140026048
mov dword [rsp + 0x30], 0x2719
jmp 0x14000e18d
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 0x14000e13d
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 0x14000e08b
mov dword [rbx], r12d
jmp 0x14000e0f1
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r13 + rcx]
cmp dword [0x140033574], eax
jle 0x14000e0d1
lea rcx, [0x140033574]
call fcn.1400260b4
cmp dword [0x140033574], 0xffffffff
jne 0x14000e0d1
lea rcx, [0x140027e00]
call fcn.140026424
lea rcx, [0x140033574]
call fcn.140026048
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 0x14000e19a
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r13 + rcx]
cmp dword [0x140033574], eax
jle 0x14000e137
lea rcx, [0x140033574]
call fcn.1400260b4
cmp dword [0x140033574], 0xffffffff
jne 0x14000e137
lea rcx, [0x140027e00]
call fcn.140026424
lea rcx, [0x140033574]
call fcn.140026048
mov eax, dword [rsp + 0x40]
jmp 0x14000e189
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r13 + rcx]
cmp dword [0x140033574], eax
jle 0x14000e183
lea rcx, [0x140033574]
call fcn.1400260b4
cmp dword [0x140033574], 0xffffffff
jne 0x14000e183
lea rcx, [0x140027e00]
call fcn.140026424
lea rcx, [0x140033574]
call fcn.140026048
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.140025fb0
add rsp, 0x488
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret