Function at 0x6e06c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push edi
push esi
push ebx
sub esp, 0x40
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
cmp dword [ebx + 8], 0xc
je 0x6e06f0
mov dword [esp + 8], 0x3b5
mov dword [esp + 4], str.src_win_tcp.c
mov dword [esp], str.handle__type__UV_TCP
call dbg._assert
mov edx, dword [ebx + 0x2c]
mov ecx, dword [esi + 0x20]
mov eax, edx
and eax, 0xfffdffff
test ecx, ecx
mov dword [ebx + 0x2c], eax
js 0x6e0885
test edx, 0x80000
je 0x6e0812
lea esi, [esp + 0x38]
lea edi, [esp + 0x34]
jmp 0x6e07d9
mov dword [esp + 4], 0
mov dword [esp], 0
call dbg.uv_buf_init
mov dword [esp + 8], esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
mov dword [esp + 4], 0x10000
mov dword [esp], ebx
call dword [ebx + 0x34]
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x6e0992
mov eax, dword [esp + 0x38]
test eax, eax
je 0x6e0992
lea eax, [esp + 0x30]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edi
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov dword [esp + 4], esi
mov eax, dword [ebx + 0x90]
mov dword [esp + 0x34], 0
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_WSARecv]
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x6e09d1
mov eax, dword [esp + 0x30]
test eax, eax
je 0x6e0a00
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp], ebx
call dword [ebx + 0x38]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x38], eax
mov eax, dword [ebx + 0x2c]
ja 0x6e07e2
test ah, 1
jne 0x6e0721
and eax, 0x20100
cmp eax, 0x100
je 0x6e084f
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x6e0861
sub eax, 1
mov edx, dword [ebx + 0x2c]
test eax, eax
mov dword [ebx + 0x3c], eax
jne 0x6e080b
test dl, 1
jne 0x6e0930
add esp, 0x40
pop ebx
pop esi
pop edi
ret
mov ecx, dword [esi + 0x24]
lea edi, [ebx + 0x98]
test ecx, ecx
je 0x6e0a70
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp], ebx
call dword [ebx + 0x38]
mov eax, dword [ebx + 0x98]
cmp dword [esi + 0x24], eax
mov eax, dword [ebx + 0x2c]
jae 0x6e0714
and eax, 0x20100
cmp eax, 0x100
jne 0x6e07ee
mov eax, dword [esp + 0x50]
mov edx, ebx
call dbg.uv_tcp_queue_read
mov eax, dword [ebx + 0x3c]
test eax, eax
jne 0x6e07f5
mov dword [esp + 8], 0x42b
mov dword [esp + 4], str.src_win_tcp.c
mov dword [esp], 0x86b043
call dbg._assert
mov eax, dword [ebx + 0x3c]
jmp 0x6e07f5
mov eax, edx
and eax, 0x80100
cmp eax, 0x80000
je 0x6e07ee
mov ecx, edx
and ecx, 0xfffdfeff
sub dword [ebx + 0x40], 1
mov dword [ebx + 0x2c], ecx
je 0x6e0960
jns 0x6e08cd
mov dword [esp + 8], 0x3be
mov dword [esp + 4], str.src_win_tcp.c
mov dword [esp], 0x86b179
call dbg._assert
mov ecx, dword [ebx + 0x2c]
and ecx, 0x80000
jne 0x6e09b0
mov eax, dword [ebx + 0x98]
mov edx, dword [ebx + 0x9c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov eax, dword [esi + 0x20]
mov dword [esp], eax
call dbg.uv_ntstatus_to_winsock_error
mov edx, 0x2746
cmp eax, 0x2745
mov esi, dword [ebx + 0x38]
cmove eax, edx
mov dword [esp], eax
call dbg.uv_translate_sys_error
lea edx, [esp + 0x38]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 8], edx
call esi
jmp 0x6e07ee
test dl, 8
jne 0x6e080b
mov eax, dword [esp + 0x50]
or edx, 8
mov dword [ebx + 0x2c], edx
mov eax, dword [eax + 0x2c]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x50]
mov dword [eax + 0x2c], ebx
add esp, 0x40
pop ebx
pop esi
pop edi
ret
test dl, 1
jne 0x6e08cd
test dl, 0x40
je 0x6e08cd
mov ecx, edx
and ecx, 0xfffdfebf
and edx, 0x20
mov dword [ebx + 0x2c], ecx
je 0x6e08cd
mov eax, dword [ebx + 4]
sub dword [eax + 4], 1
jmp 0x6e08cd
mov dword [esp + 8], esi
mov dword [esp + 4], 0xfffff024
mov dword [esp], ebx
call dword [ebx + 0x38]
mov eax, dword [ebx + 0x2c]
jmp 0x6e07e2
mov dword [esp + 4], 0
mov dword [esp], 0
call dbg.uv_buf_init
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
jmp 0x6e08ed
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x6e0ae0
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [ebx + 0x38]
mov eax, dword [ebx + 0x2c]
jmp 0x6e07e2
mov edx, dword [ebx + 0x2c]
mov eax, edx
and ah, 0x7e
sub dword [ebx + 0x40], 1
mov dword [ebx + 0x2c], eax
jne 0x6e0a33
test dl, 1
jne 0x6e0a51
test dl, 0x40
je 0x6e0a51
mov eax, edx
and eax, 0xffff7ebf
and edx, 0x20
mov dword [ebx + 0x2c], eax
je 0x6e0a51
mov eax, dword [ebx + 4]
sub dword [eax + 4], 1
jmp 0x6e0a51
jns 0x6e0a51
mov dword [esp + 8], 0x406
mov dword [esp + 4], str.src_win_tcp.c
mov dword [esp], 0x86b179
call dbg._assert
mov dword [esp + 8], esi
mov dword [esp + 4], 0xfffff001
mov dword [esp], ebx
call dword [ebx + 0x38]
mov eax, dword [ebx + 0x2c]
jmp 0x6e07e2
test dh, 1
je 0x6e0ab0
mov eax, edx
and eax, 0xfffdfeff
sub dword [ebx + 0x40], 1
mov dword [ebx + 0x2c], eax
jne 0x6e0b3f
test dl, 1
jne 0x6e0ab0
test dl, 0x40
je 0x6e0ab0
mov eax, edx
and eax, 0xfffdfebf
and edx, 0x20
mov dword [ebx + 0x2c], eax
je 0x6e0ab0
mov edx, dword [ebx + 4]
sub dword [edx + 4], 1
lea esi, [esi]
and ah, 0x7f
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [ebx + 0x2c], eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0xfffff001
mov dword [esp], ebx
call dword [ebx + 0x38]
mov eax, dword [ebx + 0x2c]
jmp 0x6e07e2
mov ecx, dword [ebx + 0x2c]
mov edx, ecx
and dh, 0xfe
sub dword [ebx + 0x40], 1
mov dword [ebx + 0x2c], edx
jne 0x6e0b69
test cl, 1
jne 0x6e0b12
test cl, 0x40
je 0x6e0b12
mov edx, ecx
and edx, 0xfffffebf
and ecx, 0x20
mov dword [ebx + 0x2c], edx
je 0x6e0b12
mov edx, dword [ebx + 4]
sub dword [edx + 4], 1
cmp eax, 0x2745
mov edx, 0x2746
mov edi, dword [ebx + 0x38]
cmove eax, edx
mov dword [esp], eax
call dbg.uv_translate_sys_error
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call edi
mov eax, dword [ebx + 0x2c]
jmp 0x6e07e2
jns 0x6e0ab0
mov dword [esp + 8], 0x3df
mov dword [esp + 4], str.src_win_tcp.c
mov dword [esp], 0x86b179
call dbg._assert
mov eax, dword [ebx + 0x2c]
jmp 0x6e0ab0
jns 0x6e0b12
mov dword [esp + 8], 0x413
mov dword [esp + 4], str.src_win_tcp.c
mov dword [esp], 0x86b179
mov dword [esp + 0x2c], eax
call dbg._assert
mov eax, dword [esp + 0x2c]
jmp 0x6e0b12