Function at 0x44c700
Capabilities:
Get socket status

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x6a8
cmp rcx, 0xffffffffffffffff
mov qword [rsp + 0x58], rcx
mov rdi, rdx
mov qword [rsp + 0x50], r8
mov esi, r9d
mov qword [rsp + 0x48], 0
jne 0x44c742
cmp rdx, 0xffffffffffffffff
jne 0x44c742
cmp r8, 0xffffffffffffffff
je 0x44cac0
xor ebx, ebx
test esi, esi
jle 0x44c754
call fcn.00458870
mov ebx, esi
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x58]
mov dword [rsp + 0x490], 0
mov dword [rsp + 0x70], 0
cmp rax, 0xffffffffffffffff
je 0x44c792
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x70], 1
mov qword [rsp + 0x498], rax
mov dword [rsp + 0x490], 1
cmp rdi, 0xffffffffffffffff
je 0x44caa0
mov ecx, dword [rsp + 0x70]
test ecx, ecx
je 0x44cadb
xor eax, eax
cmp qword [rsp + 0x78], rdi
lea r13, [rsp + 0x70]
lea rdx, [r13 + 0x10]
jne 0x44c7ca
jmp 0x44c7e2
add rdx, 8
cmp qword [rdx - 8], rdi
je 0x44c7e2
add eax, 1
cmp eax, ecx
jne 0x44c7c0
cmp eax, 0x3f
ja 0x44c7e2
add ecx, 1
mov qword [rsp + rax*8 + 0x78], rdi
mov dword [rsp + 0x70], ecx
mov ecx, dword [rsp + 0x490]
test ecx, ecx
je 0x44cae7
xor eax, eax
cmp qword [rsp + 0x498], rdi
lea rbp, [rsp + 0x490]
lea rdx, [rbp + 0x10]
jne 0x44c81a
jmp 0x44c840
add rdx, 8
cmp qword [rdx - 8], rdi
je 0x44c840
add eax, 1
cmp eax, ecx
jne 0x44c810
cmp eax, 0x3f
ja 0x44c840
add ecx, 1
mov qword [rsp + rax*8 + 0x498], rdi
mov dword [rsp + 0x490], ecx
nop dword [rax + rax]
mov r8, qword [rsp + 0x58]
cmp r8, rdi
cmovb r8, rdi
mov rax, qword [rsp + 0x50]
mov dword [rsp + 0x280], 0
cmp rax, 0xffffffffffffffff
je 0x44c8dc
mov ecx, dword [rsp + 0x490]
mov r9, rax
mov qword [rsp + 0x288], rax
mov dword [rsp + 0x280], 1
test ecx, ecx
je 0x44caf6
cmp qword [rsp + 0x498], rax
je 0x44c8d0
lea rdx, [rbp + 0x10]
xor eax, eax
jmp 0x44c8aa
add rdx, 8
cmp qword [rdx - 8], r9
je 0x44c8d0
add eax, 1
cmp eax, ecx
jne 0x44c8a0
cmp eax, 0x3f
ja 0x44c8d0
mov rdx, qword [rsp + 0x50]
add ecx, 1
mov dword [rsp + 0x490], ecx
mov qword [rsp + rax*8 + 0x498], rdx
nop dword [rax]
mov rax, qword [rsp + 0x50]
cmp r8, rax
cmovb r8, rax
lea rax, [rsp + 0x60]
xor r12d, r12d
test esi, esi
mov r14, qword [sym.imp.WS2_32.dll_select]
mov r15, qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmovns r12, rax
lea eax, [r8 + 1]
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0x280]
mov qword [rsp + 0x38], rax
nop dword [rax]
cmp esi, 0
jle 0x44c9c0
mov eax, 0x10624dd3
imul ebx
mov eax, ebx
sar eax, 0x1f
sar edx, 6
sub edx, eax
mov eax, ebx
mov dword [rsp + 0x60], edx
imul edx, edx, 0x3e8
sub eax, edx
imul eax, eax, 0x3e8
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x20], r12
mov r9, rbp
mov r8, qword [rsp + 0x38]
mov rdx, r13
mov ecx, dword [rsp + 0x44]
call r14
cmp eax, 0xffffffff
jne 0x44c9e0
call r15
test eax, eax
je 0x44c982
mov edx, dword [0x007ef740]
test edx, edx
jne 0x44ca90
cmp eax, 0x2714
jne 0x44ca90
test esi, esi
jle 0x44c910
call fcn.00458870
mov rdx, qword [rsp + 0x48]
mov rcx, rax
mov ebx, esi
call fcn.004588b0
sub ebx, eax
test ebx, ebx
jg 0x44c910
xor ebx, ebx
mov eax, ebx
add rsp, 0x6a8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
jne 0x44c942
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x64], 0
jmp 0x44c942
test eax, eax
js 0x44ca90
je 0x44c9a4
mov rsi, qword [rsp + 0x58]
xor ebx, ebx
cmp rsi, 0xffffffffffffffff
je 0x44ca1e
mov rdx, r13
mov rcx, rsi
xor ebx, ebx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
mov rdx, rbp
mov rcx, rsi
setne bl
call sub.WS2_32.dll___WSAFDIsSet
mov edx, ebx
or edx, 4
test eax, eax
cmovne ebx, edx
cmp rdi, 0xffffffffffffffff
je 0x44ca4e
mov rdx, r13
mov rcx, rdi
call sub.WS2_32.dll___WSAFDIsSet
mov edx, ebx
mov rcx, rdi
or edx, 8
test eax, eax
cmovne ebx, edx
mov rdx, rbp
call sub.WS2_32.dll___WSAFDIsSet
mov edx, ebx
or edx, 4
test eax, eax
cmovne ebx, edx
mov rdi, qword [rsp + 0x50]
cmp rdi, 0xffffffffffffffff
je 0x44c9a6
mov rdx, qword [rsp + 0x38]
mov rcx, rdi
call sub.WS2_32.dll___WSAFDIsSet
mov edx, ebx
mov rcx, rdi
or edx, 2
test eax, eax
cmovne ebx, edx
mov rdx, rbp
call sub.WS2_32.dll___WSAFDIsSet
mov edx, ebx
or edx, 4
test eax, eax
cmovne ebx, edx
jmp 0x44c9a6
mov ebx, 0xffffffff
jmp 0x44c9a6
mov r8, qword [rsp + 0x58]
lea r13, [rsp + 0x70]
lea rbp, [rsp + 0x490]
jmp 0x44c84c
test r9d, r9d
je 0x44c9a4
js 0x44cafd
mov ecx, r9d
nop
call qword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x44c9a4
xor eax, eax
lea r13, [rsp + 0x70]
jmp 0x44c7d6
xor eax, eax
lea rbp, [rsp + 0x490]
jmp 0x44c826
xor eax, eax
jmp 0x44c8b6
mov ecx, 0x2726
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov ebx, dword [rsp + 0x50]
jmp 0x44c9a6