Function at 0x14009313a
Capabilities:
Connect socket
Get socket status

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
movups xmmword [rbp - 0x10], xmm6
mov rsi, r9
mov rdi, rcx
mov eax, dword [0x1402b0230]
mov ecx, dword [0x1402b0234]
shrd ecx, eax, 3
xor ecx, 0x1b205a5f
mov eax, ecx
lea rax, [rax*4 + 0xf]
and rax, 0xfffffffffffffff0
call fcn.1400fe1d0
sub rsp, rax
mov qword [rbp - 0x18], rsp
imul eax, dword [0x1402b0238], 0x737c91
imul ecx, dword [0x1402b023c], 0xe36360ca
add eax, ecx
add eax, 0xa6b64c33
mov rcx, rax
shl rcx, 9
lea rax, [rcx + rax*8]
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.1400fe1d0
sub rsp, rax
mov r12, rsp
imul eax, dword [0x1402b0240], 0x149731fc
imul ecx, dword [0x1402b0244], 0x9bcfa0de
add eax, ecx
add eax, 0xbe886345
mov rcx, rax
shl rcx, 9
lea rax, [rcx + rax*8]
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.1400fe1d0
sub rsp, rax
mov r13, rsp
mov eax, dword [0x1402b0248]
mov ecx, dword [0x1402b024c]
shrd ecx, eax, 0x12
xor ecx, 0x975805c7
mov eax, ecx
lea rax, [rax*4 + 0xf]
and rax, 0xfffffffffffffff0
call fcn.1400fe1d0
sub rsp, rax
mov r15, rsp
mov rax, qword [0x1402b0250]
mov rcx, qword [0x1402b0258]
shrd rcx, rax, 0x16
movabs r14, 0x9cb5f62d480947ce
xor r14, rcx
cmp rdi, r14
jne 0x140093334
movabs rax, 0x8674539183b00b2f
imul rax, qword [0x1402b0260]
movabs rcx, 0xd226c8722e4edd49
imul rcx, qword [0x1402b0268]
add rcx, rax
movabs rax, 0xe6b23a73067f3316
add rax, rcx
and rax, qword [0x140294740]
mov rcx, qword [0x1402b0270]
mov rdx, qword [0x1402b0278]
shrd rdx, rcx, 0x2c
movabs rcx, 0x115bf5b5b4cdf5e0
xor rcx, rdx
cmp rax, rcx
je 0x1400932f0
mov rax, qword [0x140294738]
lea rcx, [0x140294738]
mov edx, dword [0x1402b0280]
mov r8d, dword [0x1402b0284]
shrd r8d, edx, 0x10
mov edx, r8d
xor edx, 0x5adff5bd
sub rsp, 0x20
call qword [rax + 0x30]
add rsp, 0x20
mov ecx, 2
test al, al
je 0x1400932f5
mov ecx, 3
mov rax, qword [0x1402b0288]
mov rdx, qword [0x1402b0290]
shrd rdx, rax, 4
movabs rax, 0xd89562ef403792e8
xor rax, rdx
mov qword [rsi], rax
lea rax, [0x140294738]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rcx
mov ebx, 0x2719
mov rax, rcx
jmp 0x1400934c4
sub rsp, 0x20
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
add rsp, 0x20
mov ecx, dword [str.K__n_]
mov edx, dword [0x1402b029c]
shrd edx, ecx, 0xd
xor edx, 0x125b30ff
cmp eax, edx
jne 0x140093376
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
xor ebx, ebx
xor eax, eax
jmp 0x1400934c4
sub rsp, 0x20
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add rsp, 0x20
mov ebx, eax
movabs rcx, 0xacf64031d72dc051
imul rcx, qword [0x1402b02a0]
movabs rdx, 0xedbd3bbeaba5e348
imul rdx, qword [0x1402b02a8]
add rdx, rcx
movabs rcx, 0x91ca7dd5ea5a39b
add rcx, rdx
and rcx, qword [0x140294740]
movabs rdx, 0x649076a198fa39cb
imul rdx, qword [0x1402b02b0]
movabs r8, 0xefe5344645259895
imul r8, qword [0x1402b02b8]
add r8, rdx
movabs rdx, 0xcfb75397f9982368
add rdx, r8
cmp rcx, rdx
jne 0x14009341d
imul ecx, dword [0x1402b02c0], 0xb7b8f7b0
imul edx, dword [0x1402b02c4], 0x731dea25
add ecx, edx
add ecx, 0xcfb993a2
cmp eax, ecx
setne al
jmp 0x140093438
mov rax, qword [0x140294738]
lea rcx, [0x140294738]
sub rsp, 0x20
mov edx, ebx
call qword [rax + 0x30]
add rsp, 0x20
mov rcx, qword [0x1402b02c8]
mov rdx, qword [0x1402b02d0]
shrd rdx, rcx, 5
movabs rcx, 0x239a270c8a2d926f
xor rcx, rdx
movabs rdx, 0x41e484ccd278defe
imul rdx, qword [0x1402b02d8]
movabs r8, 0x8005c5adb3b7cb55
imul r8, qword [0x1402b02e0]
add r8, rdx
movabs rdx, 0xa700a4c82a12aa97
add rdx, r8
test al, al
cmovne rdx, rcx
mov dword [rsi], ebx
imul eax, dword [0x1402b02e8], 0x640617d3
imul ecx, dword [0x1402b02ec], 0x69ee3589
add eax, ecx
add eax, 0xf1807a44
mov dword [rsi + 4], eax
lea rax, [0x140294738]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdx
mov rax, rdx
mov rdx, rax
mov rcx, qword [0x140294740]
mov rax, qword [0x1402b02f0]
mov r8, qword [0x1402b02f8]
shrd r8, rax, 0x17
movabs rax, 0x402b989f9d8ed3a2
xor rax, r8
mov r8, rax
mov rax, qword [0x1402b0300]
mov r9, qword [0x1402b0308]
shrd r9, rax, 0x3a
and r8, rcx
movabs r10, 0xd8c5afb488591bcc
xor r10, r9
mov eax, ebx
cmp r8, r10
je 0x14009355f
mov rax, qword [0x140294738]
imul edx, dword [0x1402b0310], 0xfd1c6afd
imul r8d, dword [0x1402b0314], 0xa47d3394
lea rcx, [0x140294738]
add edx, r8d
add edx, 0x307281cc
sub rsp, 0x20
call qword [rax + 0x30]
add rsp, 0x20
mov rdx, qword [rsi + 0x10]
mov eax, dword [rsi]
mov rcx, qword [0x140294740]
movabs r8, 0xc848401f9fdb8fae
imul r8, qword [0x1402b0318]
movabs r9, 0x4ae91a7e74b242d7
imul r9, qword [0x1402b0320]
add r9, r8
movabs r8, 0xb83575db783161f8
add r8, r9
cmp rdx, r8
je 0x140093674
imul r8d, dword [0x1402b0328], 0x40636494
imul r9d, dword [0x1402b032c], 0xc322f0ed
add r8d, r9d
add r8d, 0x8dad348f
cmp eax, r8d
jne 0x140093674
movabs r8, 0xad46f89356f64008
imul r8, qword [0x1402b0330]
movabs r9, 0x861cae6b44e32425
imul r9, qword [0x1402b0338]
add r9, r8
movabs r10, 0xe2638edc60c3b263
add r10, r9
lea r8, [0x140294738]
mov r9, r8
cmp rdx, r10
je 0x14009360c
mov r9, qword [rsi + 8]
movabs rdx, 0x4982d15be5ddf888
imul rdx, qword [0x1402b0340]
movabs r10, 0xa7909d484dd10d3a
imul r10, qword [0x1402b0348]
add r10, rdx
movabs rdx, 0xecabec6bcfc33592
add rdx, r10
cmp r9, r8
setne r8b
cmp qword [r9 + 8], rcx
setne r9b
cmp rcx, rdx
mov edx, 0
mov dl, r8b
mov r8d, 0
mov r8b, r9b
cmove r8d, edx
mov edx, r8d
cmp r8b, 1
jne 0x140093806
movabs rdx, 0xb4881a1052ed024b
imul rdx, qword [0x1402b0350]
movabs r8, 0x6476c70656b6979a
imul r8, qword [0x1402b0358]
add r8, rdx
movabs rdx, 0x83eca2887db2467c
add rdx, r8
and rcx, rdx
mov rdx, qword [0x1402b0360]
mov r8, qword [0x1402b0368]
shrd r8, rdx, 0x14
movabs rdx, 0x3ff96c50b58f3530
xor rdx, r8
cmp rcx, rdx
je 0x140093706
mov rax, qword [0x140294738]
lea rcx, [0x140294738]
mov edx, dword [0x1402b0370]
mov r8d, dword [0x1402b0374]
shrd r8d, edx, 0xf
mov edx, r8d
xor edx, 0xc0ef957b
sub rsp, 0x20
call qword [rax + 0x30]
add rsp, 0x20
mov eax, dword [rsi]
mov ecx, eax
mov rax, qword [rsi + 0x10]
movabs rdx, 0x6a9c26bb7a3d9833
imul rdx, qword [0x1402b0378]
movabs r8, 0x7d4838909883b409
imul r8, qword [0x1402b0380]
add r8, rdx
movabs rdx, 0x1e6c0973869cd4a2
add rdx, r8
cmp rax, rdx
je 0x140093e28
mov edx, dword [0x1402b0388]
mov r8d, dword [0x1402b038c]
shrd r8d, edx, 8
xor r8d, 0x2c4a5da4
cmp ecx, r8d
jne 0x140093e28
mov rcx, qword [0x1402b0390]
mov rdx, qword [0x1402b0398]
shrd rdx, rcx, 7
movabs r8, 0x6fdf7c2e152bc10
xor r8, rdx
lea rcx, [0x140294738]
mov rdx, rcx
cmp rax, r8
je 0x14009379e
mov rdx, qword [rsi + 8]
mov rax, qword [0x140294740]
movabs r8, 0xdf46fc491bca7eb8
imul r8, qword [0x1402b03a0]
movabs r9, 0x9a192e37a0ba4f7e
imul r9, qword [0x1402b03a8]
add r9, r8
movabs r8, 0xd5fff7909e7616ba
add r8, r9
cmp rdx, rcx
setne cl
cmp qword [rdx + 8], rax
setne dl
cmp rax, r8
mov r8d, 0
mov r8b, cl
mov ecx, 0
mov cl, dl
cmove ecx, r8d
test cl, cl
je 0x140093809
jmp 0x140093e28
mov rax, rcx
cmp rdi, r14
jne 0x1400938c7
mov rcx, qword [0x1402b03b0]
mov rdx, qword [0x1402b03b8]
shrd rdx, rcx, 0x20
movabs rcx, 0x459f2f0a8b32d818
xor rcx, rdx
and rax, rcx
mov rcx, qword [0x1402b03c0]
mov rdx, qword [0x1402b03c8]
shrd rdx, rcx, 0x2e
movabs rcx, 0x5bd88a79a993a22f
xor rcx, rdx
cmp rax, rcx
je 0x140093897
mov rax, qword [0x140294738]
lea rcx, [0x140294738]
mov edx, dword [0x1402b03d0]
mov r8d, dword [0x1402b03d4]
shrd r8d, edx, 0x1b
mov edx, r8d
xor edx, 0x74b4e02d
sub rsp, 0x20
call qword [rax + 0x30]
add rsp, 0x20
mov ecx, 2
test al, al
je 0x14009389c
mov ecx, 3
mov rax, qword [0x1402b03d8]
mov rdx, qword [0x1402b03e0]
shrd rdx, rax, 0x1c
movabs rax, 0xabf9b85424d1907d
xor rax, rdx
mov qword [rsi], rax
mov rax, rcx
jmp 0x140093e19
mov r8, r12
mov r9, r13
mov qword [r12 + 8], rdi
mov eax, dword [0x1402b03e8]
mov ecx, dword [0x1402b03ec]
shrd ecx, eax, 0xb
xor ecx, 0x64f0c68d
mov dword [r12], ecx
mov qword [r13 + 8], rdi
imul eax, dword [0x1402b03f0], 0x2dcbf7f6
imul ecx, dword [0x1402b03f4], 0xf6a8028b
add eax, ecx
add eax, 0xb7043e5c
mov dword [r13], eax
imul eax, dword [0x1402b03f8], 0x67bfd5b0
imul edx, dword [0x1402b03fc], 0x3d8144c0
add edx, eax
mov eax, edi
mov ecx, edx
add ecx, eax
add ecx, 0x52d7b411
sub rsp, 0x30
mov qword [rsp + 0x20], 0
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
add rsp, 0x30
imul ecx, dword [0x1402b0400], 0x775b7ce9
imul edx, dword [0x1402b0404], 0xba8ac12d
add ecx, edx
add ecx, 0x43a0ea17
cmp eax, ecx
jge 0x140093a08
sub rsp, 0x20
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add rsp, 0x20
mov edi, eax
mov rcx, qword [0x1402b0408]
mov rdx, qword [0x1402b0410]
shrd rdx, rcx, 0x3e
movabs rcx, 0x23406c1f4b86219c
xor rcx, rdx
and rcx, qword [0x140294740]
movabs rdx, 0x667e2ebf0213f0f3
imul rdx, qword [0x1402b0418]
movabs r8, 0xdaa8e4958f22cbf8
imul r8, qword [0x1402b0420]
add r8, rdx
movabs rdx, 0x75a0e4e71c04bf6a
add rdx, r8
cmp rcx, rdx
jne 0x140093ad7
imul ecx, dword [0x1402b0428], 0xd1454ad9
imul edx, dword [0x1402b042c], 0x5acc7bf1
add ecx, edx
add ecx, 0x805df937
cmp eax, ecx
setne al
jmp 0x140093af2
mov rax, qword [rbp - 0x18]
mov rbx, r15
xorps xmm6, xmm6
movups xmmword [rsi], xmm6
mov qword [rsi + 0x10], 0
imul ecx, dword [0x1402b0458], 0x2776413b
imul edx, dword [0x1402b045c], 0xfe995e35
add ecx, edx
add ecx, 0xdf63aa9d
mov dword [r15], ecx
imul ecx, dword [0x1402b0460], 0x3d1e3a55
imul edx, dword [0x1402b0464], 0xccb23a73
add ecx, edx
add ecx, 0x3019bc88
mov dword [rax], ecx
mov ecx, dword [0x1402b0468]
mov edx, dword [0x1402b046c]
shrd edx, ecx, 7
xor edx, 0x492d5ff2
mov ecx, dword [0x1402b0470]
mov r8d, dword [0x1402b0474]
shrd r8d, ecx, 0xe
xor r8d, 0xb18bafc2
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov r9, r15
call qword [sym.imp.WS2_32.dll_getsockopt]
add rsp, 0x30
mov edi, eax
imul eax, dword [0x1402b0478], 0x33368be8
imul ecx, dword [0x1402b047c], 0x94962cac
add eax, ecx
add eax, 0x38013340
cmp edi, eax
jne 0x140093b7d
movups xmmword [rsi], xmm6
mov qword [rsi + 0x10], 0
jmp 0x140093cee
mov rax, qword [0x140294738]
lea rcx, [0x140294738]
sub rsp, 0x20
mov edx, edi
call qword [rax + 0x30]
add rsp, 0x20
movabs rcx, 0xdecfc8614952f189
imul rcx, qword [0x1402b0430]
movabs rdx, 0x7c2683efb97cc46d
imul rdx, qword [0x1402b0438]
add rdx, rcx
movabs rcx, 0x808b144e28336a40
add rcx, rdx
movabs rdx, 0xd3f1e794f42b1d6c
imul rdx, qword [0x1402b0440]
movabs r8, 0xa13be083e03bba9d
imul r8, qword [0x1402b0448]
add r8, rdx
movabs rdx, 0xea9ac4e6c3f00fb0
add rdx, r8
test al, al
cmovne rdx, rcx
mov dword [rsi], edi
mov eax, dword [0x1402b0450]
mov ecx, dword [0x1402b0454]
shrd ecx, eax, 0x1f
xor ecx, 0xc62aaa4b
jmp 0x140093e13
sub rsp, 0x20
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add rsp, 0x20
mov r14d, eax
movabs rcx, 0x486ad75af831ffbc
imul rcx, qword [0x1402b0480]
movabs rdx, 0x588c6959cda50503
imul rdx, qword [0x1402b0488]
add rdx, rcx
movabs rcx, 0xc080bcd96ffb6a9e
add rcx, rdx
and rcx, qword [0x140294740]
movabs rdx, 0xe120bc4c9ddcaae1
imul rdx, qword [0x1402b0490]
movabs r8, 0x5e44dc43066c630b
imul r8, qword [0x1402b0498]
add r8, rdx
movabs rdx, 0x93d95261b2df1b8b
add rdx, r8
cmp rcx, rdx
jne 0x140093c25
imul ecx, dword [0x1402b04a0], 0x33a922fc
imul edx, dword [0x1402b04a4], 0x4325c6ac
add ecx, edx
add ecx, 0x128e08f0
cmp eax, ecx
setne al
jmp 0x140093c41
mov rax, qword [0x140294738]
lea rcx, [0x140294738]
sub rsp, 0x20
mov edx, r14d
call qword [rax + 0x30]
add rsp, 0x20
mov rcx, qword [0x1402b04a8]
mov rdx, qword [0x1402b04b0]
shrd rdx, rcx, 0x3f
movabs rcx, 0xd9594f405d046249
xor rcx, rdx
movabs rdx, 0xd17b1f520264b811
imul rdx, qword [0x1402b04b8]
movabs r8, 0x6b6440c8cb4007c9
imul r8, qword [0x1402b04c0]
add r8, rdx
movabs rdx, 0xb049c67c0ec70b75
add rdx, r8
test al, al
cmovne rdx, rcx
mov dword [rsi], r14d
imul eax, dword [0x1402b04c8], 0xbba645cb
imul ecx, dword [0x1402b04cc], 0x7236b41b
add eax, ecx
add eax, 0x907677d1
mov dword [rsi + 4], eax
lea rax, [0x140294738]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdx
imul eax, dword [0x1402b04d0], 0x3770eb61
imul ecx, dword [0x1402b04d4], 0x71f29997
add eax, ecx
add eax, 0xd8904a9c
cmp edi, eax
je 0x140093e28
mov edi, dword [rbx]
movabs rax, 0xb6a783877316a93b
imul rax, qword [0x1402b04d8]
movabs rcx, 0x269f7ca0007847cb
imul rcx, qword [0x1402b04e0]
add rcx, rax
movabs rax, 0xac8b239a38c03eb1
add rax, rcx
and rax, qword [0x140294740]
movabs rcx, 0xf9b78a71aa585f88
imul rcx, qword [0x1402b04e8]
movabs rdx, 0x234d8f88d71ee239
imul rdx, qword [0x1402b04f0]
add rdx, rcx
movabs rcx, 0x44c9933425f13400
add rcx, rdx
cmp rax, rcx
jne 0x140093d86
imul eax, dword [0x1402b04f8], 0x1345b649
imul ecx, dword [0x1402b04fc], 0xc8afaade
add eax, ecx
add eax, 0x5e4f077f
cmp edi, eax
setne al
jmp 0x140093da1
mov rax, qword [0x140294738]
lea rcx, [0x140294738]
sub rsp, 0x20
mov edx, edi
call qword [rax + 0x30]
add rsp, 0x20
mov rcx, qword [0x1402b0500]
mov rdx, qword [0x1402b0508]
shrd rdx, rcx, 0xa
movabs rcx, 0xdb802d531268854c
xor rcx, rdx
movabs rdx, 0x6ff1ecd22aeb56d1
imul rdx, qword [0x1402b0510]
movabs r8, 0xa8a4b44f44371a26
imul r8, qword [0x1402b0518]
add r8, rdx
movabs rdx, 0x1b0f17a594108576
add rdx, r8
test al, al
cmovne rdx, rcx
mov dword [rsi], edi
mov eax, dword [0x1402b0520]
mov ecx, dword [0x1402b0524]
shrd ecx, eax, 0x18
xor ecx, 0x9d3b1ad0
mov dword [rsi + 4], ecx
mov rax, rdx
lea rcx, [0x140294738]
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
movups xmm6, xmmword [rbp - 0x10]
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret