Function at 0x44cb20
Capabilities:
Get socket status

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x698
test rcx, rcx
mov qword [rsp + 0x40], rcx
mov esi, r8d
mov qword [rsp + 0x38], 0
je 0x44cb71
test edx, edx
je 0x44cb71
cmp qword [rcx], 0xffffffffffffffff
jne 0x44cb90
xor eax, eax
jmp 0x44cb6a
add rcx, 0x10
cmp qword [rcx], 0xffffffffffffffff
jne 0x44cb90
add eax, 1
cmp eax, edx
jne 0x44cb60
test esi, esi
jne 0x44ce80
xor eax, eax
add rsp, 0x698
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor ebx, ebx
test esi, esi
jle 0x44cbaa
mov dword [rsp + 0x48], edx
mov ebx, esi
call fcn.00458870
mov edx, dword [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x40]
sub edx, 1
lea rbp, [rsp + 0x60]
shl rdx, 4
lea r15, [rsp + 0x480]
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x270], 0
mov dword [rsp + 0x480], 0
xor r11d, r11d
lea rdi, [rax + rdx + 0x10]
xor r10d, r10d
mov rcx, rax
xor r9d, r9d
mov r12, rdi
mov qword [rsp + 0x48], rdi
lea rdi, [rsp + 0x270]
mov rax, qword [rcx]
xor r13d, r13d
mov word [rcx + 0xa], r13w
cmp rax, 0xffffffffffffffff
je 0x44ccf0
movzx r13d, word [rcx + 8]
test r13b, 7
je 0x44ccf0
test r13b, 1
je 0x44cc60
test r11d, r11d
je 0x44cea8
cmp rax, qword [rsp + 0x68]
je 0x44cc60
lea r8, [rbp + 0x10]
xor edx, edx
jmp 0x44cc4e
add r8, 8
cmp rax, qword [r8 - 8]
je 0x44cc60
add edx, 1
cmp edx, r11d
jne 0x44cc44
cmp edx, 0x3f
jbe 0x44ceaa
nop
test r13b, 4
je 0x44cca0
test r10d, r10d
je 0x44ce95
cmp rax, qword [rsp + 0x278]
je 0x44cca0
lea r8, [rdi + 0x10]
xor edx, edx
jmp 0x44cc8b
add r8, 8
cmp rax, qword [r8 - 8]
je 0x44cca0
add edx, 1
cmp edx, r10d
jne 0x44cc81
cmp edx, 0x3f
jbe 0x44ce97
nop dword [rax]
and r13d, 2
je 0x44ccf0
test r9d, r9d
je 0x44ceb8
cmp rax, qword [rsp + 0x488]
je 0x44ccf0
lea r8, [r15 + 0x10]
xor edx, edx
jmp 0x44cccf
add r8, 8
cmp rax, qword [r8 - 8]
je 0x44cdd5
add edx, 1
cmp edx, r9d
jne 0x44ccc1
cmp r9d, 0x3f
ja 0x44ccf0
mov qword [rsp + rdx*8 + 0x488], rax
add r9d, 1
nop dword [rax]
add rcx, 0x10
cmp rcx, r12
jne 0x44cc02
lea rax, [rsp + 0x50]
mov r13, qword [sym.imp.WS2_32.dll_select]
mov r14, qword [sym.imp.WS2_32.dll_WSAGetLastError]
xor r12d, r12d
test esi, esi
mov dword [rsp + 0x60], r11d
mov dword [rsp + 0x270], r10d
mov dword [rsp + 0x480], r9d
cmovns r12, rax
nop
cmp esi, 0
jle 0x44cdc1
mov eax, 0x10624dd3
imul ebx
mov eax, ebx
sar eax, 0x1f
sar edx, 6
sub edx, eax
mov eax, ebx
mov dword [rsp + 0x50], edx
imul edx, edx, 0x3e8
sub eax, edx
imul eax, eax, 0x3e8
mov dword [rsp + 0x54], eax
xor ecx, ecx
mov qword [rsp + 0x20], r12
mov r9, r15
mov r8, rdi
mov rdx, rbp
call r13
cmp eax, 0xffffffff
jne 0x44cdf0
call r14
test eax, eax
nop
je 0x44cd95
mov r8d, dword [0x007ef740]
test r8d, r8d
jne 0x44cdb7
cmp eax, 0x2714
jne 0x44cdb7
test esi, esi
jle 0x44cd30
call fcn.00458870
mov rdx, qword [rsp + 0x38]
mov rcx, rax
mov ebx, esi
call fcn.004588b0
sub ebx, eax
test ebx, ebx
jg 0x44cd30
mov eax, 0xffffffff
jmp 0x44cb7b
jne 0x44cd62
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 0
jmp 0x44cd62
cmp r9d, edx
je 0x44ccd7
add rcx, 0x10
cmp rcx, r12
jne 0x44cc02
jmp 0x44ccfd
test eax, eax
js 0x44cdb7
mov rbx, qword [rsp + 0x40]
mov esi, 0
je 0x44cb79
mov r12, qword [rsp + 0x48]
jmp 0x44ce20
cmp word [rbx + 0xa], 0
jne 0x44ce68
add rbx, 0x10
cmp r12, rbx
je 0x44ce74
xor ecx, ecx
mov word [rbx + 0xa], cx
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x44ce17
mov rdx, rbp
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x44ce40
or word [rbx + 0xa], 1
mov rcx, qword [rbx]
mov rdx, rdi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x44ce54
or word [rbx + 0xa], 4
mov rcx, qword [rbx]
mov rdx, r15
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x44ce10
or word [rbx + 0xa], 2
add rbx, 0x10
add esi, 1
cmp r12, rbx
jne 0x44ce20
mov eax, esi
jmp 0x44cb7b
js 0x44cebf
mov ecx, esi
call qword [sym.imp.KERNEL32.DLL_Sleep]
xor eax, eax
nop dword [rax]
jmp 0x44cb7b
xor edx, edx
mov qword [rsp + rdx*8 + 0x278], rax
add r10d, 1
jmp 0x44cca0
xor edx, edx
mov qword [rsp + rdx*8 + 0x68], rax
add r11d, 1
jmp 0x44cc60
xor edx, edx
jmp 0x44ccdd
mov ecx, 0x2726
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, 0xffffffff
jmp 0x44cb7b