Function at 0x18005a7b0
Capabilities:
Connect socket

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1800f26a8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, qword [0x1800f3760]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx + 0x34c], xmm0
movups xmmword [rbx + 0x35c], xmm0
movups xmmword [rbx + 0x36c], xmm0
movups xmmword [rbx + 0x37c], xmm0
movups xmmword [rbx + 0x38c], xmm0
mov dword [rbx + 0x39c], eax
test byte [rbx + 8], 2
je 0x18005aa46
cmp byte [reloc.WS2_32.dll_accept], al
je 0x18005a830
lea r8, [rsp + 0x30]
xor ecx, ecx
lea edx, [rax + 1]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
mov byte [reloc.WS2_32.dll_accept], 0
sete cl
mov byte [0x1800f38f4], cl
jmp 0x18005a837
movzx ecx, byte [0x1800f38f4]
and dword [rbx + 0xc], 0xfffffffe
test cl, cl
je 0x18005aa46
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x18005aa46
or dword [rbx + 0xc], 1
xorps xmm2, xmm2
movzx eax, word [rsp + 0x24]
bt ax, 0xc
movss xmm1, dword [0x1800e1a44]
jae 0x18005a878
movaps xmm0, xmm1
jmp 0x18005a87b
xorps xmm0, xmm0
bt ax, 0xd
movss dword [rbx + 0x34c], xmm0
jae 0x18005a88f
movaps xmm0, xmm1
jmp 0x18005a892
xorps xmm0, xmm0
bt ax, 0xe
movss dword [rbx + 0x350], xmm0
jae 0x18005a8a6
movaps xmm0, xmm1
jmp 0x18005a8a9
xorps xmm0, xmm0
movss dword [rbx + 0x358], xmm0
test ax, ax
jns 0x18005a8bb
movaps xmm0, xmm1
jmp 0x18005a8be
xorps xmm0, xmm0
movss dword [rbx + 0x354], xmm0
test al, 4
je 0x18005a8cf
movaps xmm0, xmm1
jmp 0x18005a8d2
xorps xmm0, xmm0
movss dword [rbx + 0x35c], xmm0
test al, 8
je 0x18005a8e3
movaps xmm0, xmm1
jmp 0x18005a8e6
xorps xmm0, xmm0
movss dword [rbx + 0x360], xmm0
test al, 1
je 0x18005a8f7
movaps xmm0, xmm1
jmp 0x18005a8fa
xorps xmm0, xmm0
movss dword [rbx + 0x364], xmm0
test al, 2
je 0x18005a90b
movaps xmm0, xmm1
jmp 0x18005a90e
xorps xmm0, xmm0
mov edx, 0x100
movss dword [rbx + 0x368], xmm0
movzx ecx, ax
and cx, dx
je 0x18005a928
movaps xmm0, xmm1
jmp 0x18005a92b
xorps xmm0, xmm0
mov edx, 0x200
movss dword [rbx + 0x37c], xmm0
and ax, dx
je 0x18005a942
movaps xmm0, xmm1
jmp 0x18005a945
xorps xmm0, xmm0
movss dword [rbx + 0x380], xmm0
test cx, cx
je 0x18005a957
movaps xmm0, xmm1
jmp 0x18005a95a
xorps xmm0, xmm0
movss dword [rbx + 0x384], xmm0
test ax, ax
je 0x18005a96c
movaps xmm0, xmm1
jmp 0x18005a96f
xorps xmm0, xmm0
movsx ecx, word [rsp + 0x28]
movaps xmm3, xmm1
movss dword [rbx + 0x388], xmm0
lea eax, [rcx + 0x1ea9]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1800e1b94]
minss xmm3, xmm0
comiss xmm3, xmm2
jbe 0x18005a9ae
comiss xmm3, dword [rbx + 0x36c]
jbe 0x18005a9ae
movss dword [rbx + 0x36c], xmm3
movss xmm4, dword [0x1800e1b50]
lea eax, [rcx - 0x1ea9]
movd xmm0, eax
movaps xmm3, xmm1
cvtdq2ps xmm0, xmm0
divss xmm0, xmm4
minss xmm3, xmm0
comiss xmm3, xmm2
jbe 0x18005a9e4
comiss xmm3, dword [rbx + 0x370]
jbe 0x18005a9e4
movss dword [rbx + 0x370], xmm3
movsx ecx, word [rsp + 0x2a]
movaps xmm3, xmm1
lea eax, [rcx - 0x1ea9]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm4
minss xmm3, xmm0
comiss xmm3, xmm2
jbe 0x18005aa17
comiss xmm3, dword [rbx + 0x374]
jbe 0x18005aa17
movss dword [rbx + 0x374], xmm3
lea eax, [rcx + 0x1ea9]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1800e1b90]
minss xmm1, xmm0
comiss xmm1, xmm2
jbe 0x18005aa46
comiss xmm1, dword [rbx + 0x378]
jbe 0x18005aa46
movss dword [rbx + 0x378], xmm1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800c6730
add rsp, 0x50
pop rbx
ret