Function at 0x479990
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 0x4799ca
mov dword [esp + 8], 0x1cf
mov dword [esp + 4], str.src_win_udp.c
mov dword [esp], str.handle__type__UV_UDP
call fcn.004a0380
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 0x479ad3
and edx, 0x80000
je 0x479a30
test ah, 1
jne 0x479b40
mov eax, dword [ebx + 0x2c]
and eax, 0x20100
cmp eax, 0x100
je 0x479a69
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x479a7e
sub eax, 1
mov edx, dword [ebx + 0x2c]
test eax, eax
mov dword [ebx + 0x3c], eax
jne 0x479a1f
test dl, 1
jne 0x479aa2
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 0x479a02
mov eax, dword [esp + 0xf0]
mov edx, ebx
call fcn.00478f70
mov eax, dword [ebx + 0x3c]
test eax, eax
jne 0x479a09
mov dword [esp + 8], 0x235
mov dword [esp + 4], str.src_win_udp.c
mov dword [esp], str.handle__reqs_pending___0
call fcn.004a0380
mov eax, dword [ebx + 0x3c]
jmp 0x479a09
test dl, 8
jne 0x479a1f
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.0047d590
mov esi, eax
mov eax, dword [ebx + 0x2c]
cmp esi, 0x2738
je 0x479b10
mov edx, esi
and edx, 0xfffffffd
cmp edx, 0x2744
jne 0x479bb0
test eax, 0x80000
je 0x4799f6
jmp 0x4799ea
mov edx, eax
and edx, 0x80000
jne 0x4799ea
mov esi, dword [edi + 0x20]
mov eax, 2
mov ecx, dword [ebx + 0x10c]
test esi, esi
cmovs edx, eax
jmp 0x479a36
lea esi, [esp + 0x48]
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00458b30
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 0x479c20
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 0x4799f6
test ah, 1
je 0x4799f6
mov dword [esp], ebx
call fcn.00459ef0
test byte [ebx + 0x2e], 8
jne 0x479cbd
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.0045b940
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 0x4799f6
mov eax, dword [esp + 0x48]
test eax, eax
je 0x479b81
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 0x479cde
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 0x4799f3
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00458b30
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
jmp 0x479bdf
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2738
mov edi, eax
jne 0x479cf7
mov dword [esp + 0x10], 2
jmp 0x479c9f
cmp eax, 0x2733
jne 0x479d28
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 0x4799f3
and eax, 0xfffffffd
cmp eax, 0x2744
je 0x479cfe
mov dword [esp], ebx
call fcn.00459ef0
mov ebp, dword [ebx + 0x10c]
mov dword [esp], edi
call fcn.0045b940
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 0x4799f3