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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xdc
mov ebx, dword [esp + 0xf4]
mov edi, dword [esp + 0xf8]
cmp dword [ebx + 8], 0xf
je 0x47695a
mov dword [esp + 8], 0x1cf
mov dword [esp + 4], str.src_win_udp.c
mov dword [esp], str.handle__type__UV_UDP
call fcn.0049c730
mov edx, dword [ebx + 0x2c]
mov ecx, dword [edi + 0x20]
mov eax, edx
and eax, 0xfffdffff
test ecx, ecx
mov dword [ebx + 0x2c], eax
js 0x476a63
and edx, 0x80000
je 0x4769c0
test ah, 1
jne 0x476ad0
mov eax, dword [ebx + 0x2c]
and eax, 0x20100
cmp eax, 0x100
je 0x4769f9
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x476a0e
sub eax, 1
mov edx, dword [ebx + 0x2c]
test eax, eax
mov dword [ebx + 0x3c], eax
jne 0x4769af
test dl, 1
jne 0x476a32
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebx + 0x10c]
lea eax, [ebx + 0x88]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
lea eax, [ebx + 0x80]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x24]
mov dword [esp], ebx
mov dword [esp + 4], eax
call ecx
mov eax, dword [ebx + 0x2c]
and eax, 0x20100
cmp eax, 0x100
jne 0x476992
mov eax, dword [esp + 0xf0]
mov edx, ebx
call fcn.00475f00
mov eax, dword [ebx + 0x3c]
test eax, eax
jne 0x476999
mov dword [esp + 8], 0x235
mov dword [esp + 4], str.src_win_udp.c
mov dword [esp], str.handle__reqs_pending___0
call fcn.0049c730
mov eax, dword [ebx + 0x3c]
jmp 0x476999
test dl, 8
jne 0x4769af
mov eax, dword [esp + 0xf0]
or edx, 8
mov dword [ebx + 0x2c], edx
mov eax, dword [eax + 0x2c]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0xf0]
mov dword [eax + 0x2c], ebx
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ecx
call fcn.0047a520
mov esi, eax
mov eax, dword [ebx + 0x2c]
cmp esi, 0x2738
je 0x476aa0
mov edx, esi
and edx, 0xfffffffd
cmp edx, 0x2744
jne 0x476b40
test eax, 0x80000
je 0x476986
jmp 0x47697a
mov edx, eax
and edx, 0x80000
jne 0x47697a
mov esi, dword [edi + 0x20]
mov eax, 2
mov ecx, dword [ebx + 0x10c]
test esi, esi
cmovs edx, eax
jmp 0x4769c6
lea esi, [esp + 0x48]
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00455ac0
mov dword [esp + 8], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
mov dword [esp + 4], 0x10000
mov dword [esp], ebx
call dword [ebx + 0x110]
mov edx, dword [esp + 0x4c]
test edx, edx
jne 0x476bb0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0xfffff024
mov dword [esp], ebx
call dword [ebx + 0x10c]
mov eax, dword [ebx + 0x2c]
jmp 0x476986
test ah, 1
je 0x476986
mov dword [esp], ebx
call fcn.00456e80
test byte [ebx + 0x2e], 8
jne 0x476c4d
mov eax, dword [ebx + 0x80]
mov edx, dword [ebx + 0x84]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov edi, dword [ebx + 0x10c]
mov dword [esp], esi
call fcn.004588d0
lea edx, [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp], ebx
mov dword [esp + 8], edx
call edi
mov eax, dword [ebx + 0x2c]
jmp 0x476986
mov eax, dword [esp + 0x48]
test eax, eax
je 0x476b11
lea ebp, [esp + 0x50]
xor eax, eax
mov ecx, 0x20
mov dword [esp + 0x44], pe_nt_image_headers32
mov dword [esp + 0x40], 0
mov edi, ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 8], 1
mov dword [esp + 0x18], eax
lea eax, [esp + 0x40]
mov dword [esp + 4], esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x38]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
sub esp, 0x24
cmp eax, 0xffffffff
je 0x476c6e
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [ebx + 0x10c]
jmp 0x476983
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00455ac0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
jmp 0x476b6f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2738
mov edi, eax
jne 0x476c87
mov dword [esp + 0x10], 2
jmp 0x476c2f
cmp eax, 0x2733
jne 0x476cb8
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [ebx + 0x10c]
jmp 0x476983
and eax, 0xfffffffd
cmp eax, 0x2744
je 0x476c8e
mov dword [esp], ebx
call fcn.00456e80
mov ebp, dword [ebx + 0x10c]
mov dword [esp], edi
call fcn.004588d0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call ebp
jmp 0x476983