Function at 0x6da510
Capabilities:
Get socket status

Disassembly:
push edi
push esi
push ebx
sub esp, 0x40
mov ebx, dword [esp + 0x50]
mov esi, dword [ebx]
cmp dword [esi + 8], 8
je 0x6da53e
mov dword [esp + 8], 0x154
mov dword [esp + 4], str.src_win_poll.c
mov dword [esp], str.handle__type__UV_POLL
call dbg._assert
cmp dword [ebx + 4], 0xc
je 0x6da560
mov dword [esp + 8], 0x155
mov dword [esp + 4], str.src_win_poll.c
mov dword [esp], str.req__type__UV_POLL_REQ
call dbg._assert
movzx eax, byte [esi + 0xfc]
test al, 1
je 0x6da6a0
mov edx, dword [esi + 0x34]
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], edx
test al, 2
je 0x6da685
mov eax, dword [esi + 0x34]
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0xb4
mov dword [esp + 0x3c], 0
mov dword [esp], 1
mov dword [esp + 0x10], eax
lea eax, [esp + 0x30]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x28]
mov dword [esp + 8], eax
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
call dword [sym.imp.WS2_32.dll_select]
sub esp, 0x14
cmp eax, 0xffffffff
je 0x6da710
xor edx, edx
test eax, eax
jle 0x6da63f
mov eax, dword [esp + 0x20]
xor edi, edi
test eax, eax
je 0x6da615
cmp eax, 1
jne 0x6da7c0
mov eax, dword [esi + 0x34]
cmp dword [esp + 0x24], eax
mov edi, 1
jne 0x6da792
mov eax, dword [esp + 0x28]
test eax, eax
je 0x6da6b0
cmp eax, 1
jne 0x6da740
mov eax, dword [esi + 0x34]
cmp dword [esp + 0x2c], eax
jne 0x6da769
mov edx, edi
or edx, 2
movzx edx, dl
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], edx
add ebx, 0x20
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], ebx
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x1c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
sub esp, 0x10
test eax, eax
je 0x6da7f7
add esp, 0x40
xor eax, eax
pop ebx
pop esi
pop edi
ret 4
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
jmp 0x6da5a1
mov dword [esp + 0x20], 0
jmp 0x6da57e
mov eax, dword [esp + 0x30]
test eax, eax
je 0x6da735
cmp eax, 1
je 0x6da6d9
mov dword [esp + 8], 0x183
mov dword [esp + 4], str.src_win_poll.c
mov dword [esp], str.efds.fd_count__1
call dbg._assert
mov eax, dword [esi + 0x34]
cmp dword [esp + 0x34], eax
je 0x6da637
mov dword [esp + 8], 0x184
mov dword [esp + 4], str.src_win_poll.c
mov dword [esp], str.efds.fd_array_0___handle__socket
call dbg._assert
jmp 0x6da637
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
test eax, eax
jle 0x6da7f0
call edi
movzx eax, ax
or eax, 0x80070000
mov dword [esi + 0xa0], eax
jmp 0x6da649
mov eax, edi
movzx edx, al
jmp 0x6da63f
mov dword [esp + 8], 0x17f
mov dword [esp + 4], str.src_win_poll.c
mov dword [esp], str.wfds.fd_count__1
call dbg._assert
mov eax, dword [esi + 0x34]
cmp dword [esp + 0x2c], eax
je 0x6da637
mov dword [esp + 8], 0x180
mov dword [esp + 4], str.src_win_poll.c
mov dword [esp], str.wfds.fd_array_0___handle__socket
call dbg._assert
mov edx, edi
or edx, 2
movzx edx, dl
jmp 0x6da63f
mov dword [esp + 8], 0x17a
mov dword [esp + 4], str.src_win_poll.c
mov dword [esp], str.rfds.fd_array_0___handle__socket
call dbg._assert
mov eax, dword [esp + 0x28]
test eax, eax
je 0x6da6b0
jmp 0x6da621
mov dword [esp + 8], 0x179
mov dword [esp + 4], str.src_win_poll.c
mov edi, 1
mov dword [esp], str.rfds.fd_count__1
call dbg._assert
mov eax, dword [esi + 0x34]
cmp dword [esp + 0x24], eax
je 0x6da615
jmp 0x6da792
call edi
jmp 0x6da72a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], 0x86a4e2
mov dword [esp], eax
call dbg.uv_fatal_error
lea esi, [esi]