Function at 0x18005d5d0
Capabilities:
Connect socket

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1800f1690]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, qword [0x1800f27c0]
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 0x18005d866
cmp byte [reloc.WS2_32.dll_accept], al
je 0x18005d650
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 [0x1800f29cc], cl
jmp 0x18005d657
movzx ecx, byte [0x1800f29cc]
and dword [rbx + 0xc], 0xfffffffe
test cl, cl
je 0x18005d866
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x18005d866
or dword [rbx + 0xc], 1
xorps xmm2, xmm2
movzx eax, word [rsp + 0x24]
bt ax, 0xc
movss xmm1, dword [0x1800e0c64]
jae 0x18005d698
movaps xmm0, xmm1
jmp 0x18005d69b
xorps xmm0, xmm0
bt ax, 0xd
movss dword [rbx + 0x34c], xmm0
jae 0x18005d6af
movaps xmm0, xmm1
jmp 0x18005d6b2
xorps xmm0, xmm0
bt ax, 0xe
movss dword [rbx + 0x350], xmm0
jae 0x18005d6c6
movaps xmm0, xmm1
jmp 0x18005d6c9
xorps xmm0, xmm0
movss dword [rbx + 0x358], xmm0
test ax, ax
jns 0x18005d6db
movaps xmm0, xmm1
jmp 0x18005d6de
xorps xmm0, xmm0
movss dword [rbx + 0x354], xmm0
test al, 4
je 0x18005d6ef
movaps xmm0, xmm1
jmp 0x18005d6f2
xorps xmm0, xmm0
movss dword [rbx + 0x35c], xmm0
test al, 8
je 0x18005d703
movaps xmm0, xmm1
jmp 0x18005d706
xorps xmm0, xmm0
movss dword [rbx + 0x360], xmm0
test al, 1
je 0x18005d717
movaps xmm0, xmm1
jmp 0x18005d71a
xorps xmm0, xmm0
movss dword [rbx + 0x364], xmm0
test al, 2
je 0x18005d72b
movaps xmm0, xmm1
jmp 0x18005d72e
xorps xmm0, xmm0
mov edx, 0x100
movss dword [rbx + 0x368], xmm0
movzx ecx, ax
and cx, dx
je 0x18005d748
movaps xmm0, xmm1
jmp 0x18005d74b
xorps xmm0, xmm0
mov edx, 0x200
movss dword [rbx + 0x37c], xmm0
and ax, dx
je 0x18005d762
movaps xmm0, xmm1
jmp 0x18005d765
xorps xmm0, xmm0
movss dword [rbx + 0x380], xmm0
test cx, cx
je 0x18005d777
movaps xmm0, xmm1
jmp 0x18005d77a
xorps xmm0, xmm0
movss dword [rbx + 0x384], xmm0
test ax, ax
je 0x18005d78c
movaps xmm0, xmm1
jmp 0x18005d78f
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 [0x1800e0d8c]
minss xmm3, xmm0
comiss xmm3, xmm2
jbe 0x18005d7ce
comiss xmm3, dword [rbx + 0x36c]
jbe 0x18005d7ce
movss dword [rbx + 0x36c], xmm3
movss xmm4, dword [0x1800e0d54]
lea eax, [rcx - 0x1ea9]
movd xmm0, eax
movaps xmm3, xmm1
cvtdq2ps xmm0, xmm0
divss xmm0, xmm4
minss xmm3, xmm0
comiss xmm3, xmm2
jbe 0x18005d804
comiss xmm3, dword [rbx + 0x370]
jbe 0x18005d804
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 0x18005d837
comiss xmm3, dword [rbx + 0x374]
jbe 0x18005d837
movss dword [rbx + 0x374], xmm3
lea eax, [rcx + 0x1ea9]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1800e0d88]
minss xmm1, xmm0
comiss xmm1, xmm2
jbe 0x18005d866
comiss xmm1, dword [rbx + 0x378]
jbe 0x18005d866
movss dword [rbx + 0x378], xmm1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800c5e80
add rsp, 0x50
pop rbx
ret