Function at 0xd92a62
Capabilities:
Create udp socket
Get socket status
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x128
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x1000
sub ebp, ebp
push ebp
mov dword [eax], 1
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
cmp ebx, ebp
jne 0xd92a99
sub eax, eax
jmp 0xd92ce1
push edi
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
mov dword [esp + 0x24], edi
cmp edi, ebp
je 0xd92cd3
cmp edi, 0xffffffff
je 0xd92cd3
mov dword [esp + 0x14], ebp
jmp 0xd92ac9
mov edi, dword [esp + 0x24]
sub ebp, ebp
mov dword [esp + 0x18], ebp
cmp dword [esp + 0x14], ebp
jne 0xd92ada
push 0x100
jmp 0xd92adb
push ebp
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
push eax
push dword [esp + 0x140]
mov eax, dword [esp + 0x148]
push edi
call fcn.00d926ff
add esp, 0xc
or eax, eax
jne 0xd92c95
push 0xc
pop esi
lea eax, [esp + 0x2c]
push eax
push ebp
push ebp
lea eax, [esp + 0x40]
push eax
push ebp
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], 1
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebp
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0xd92c95
push 4
push ebp
push ebx
call fcn.00d9ee2a
add esp, 0xc
push ebp
push 0x1000
push ebx
push edi
call dword [sym.imp.WS2_32.dll_recv]
push eax
pop ebp
mov dword [esp + 0x28], ebp
or ebp, ebp
jle 0xd92c95
cmp ebp, esi
jbe 0xd92c95
movzx eax, word [ebx + 2]
mov edi, dword [sym.imp.WS2_32.dll_ntohs]
push eax
call edi
movzx esi, ax
and esi, 0xf
cmp esi, 3
je 0xd92ca6
cmp esi, 2
jne 0xd92b96
movzx eax, word [ebx + 2]
push eax
call edi
test al, al
js 0xd92ca6
test esi, esi
jne 0xd92c95
push ebp
push ebx
pop esi
call fcn.00d92923
pop ecx
mov dword [esp + 0x20], eax
test eax, eax
je 0xd92c95
and dword [esp + 0x1c], 0
and dword [esp + 0x18], 0
push eax
pop edi
mov dword [esp + 0x10], edi
jmp 0xd92bc9
mov edi, dword [esp + 0x10]
cmp word [edi + 0x10a], 1
jne 0xd92c77
cmp word [edi + 0x108], 0xf
jne 0xd92c77
cmp word [edi + 0x10c], 3
jb 0xd92c77
mov ebp, 0x108
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
pop esi
test esi, esi
je 0xd92c85
push ebp
push 0
push esi
call fcn.00d9ee2a
mov eax, dword [edi + 0x110]
movzx eax, word [eax + ebx]
add esp, 0xc
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
push dword [esp + 0x28]
movzx eax, ax
mov dword [esi + 4], eax
mov eax, dword [edi + 0x110]
add eax, 2
lea edi, [esi + 8]
call fcn.00d92871
cmp byte [esi + 8], 0
pop ecx
jne 0xd92c5f
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0xd92c73
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], esi
or eax, eax
jne 0xd92c71
mov dword [esp + 0x18], esi
jmp 0xd92c73
mov dword [eax], esi
mov edi, dword [esp + 0x10]
mov edi, dword [edi]
mov dword [esp + 0x10], edi
test edi, edi
jne 0xd92bc5
mov eax, dword [esp + 0x20]
call fcn.00d92904
cmp dword [esp + 0x18], 0
jne 0xd92cb3
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0xd92ac3
jmp 0xd92cb3
mov eax, dword [esp + 0x144]
mov dword [eax], 2
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [esp + 0x18]
jmp 0xd92ce0
push ebx
push ebp
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
sub eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret