Function at 0x41b250
Capabilities:
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3d8
mov eax, dword [0x443564]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1a4], 0xffffffff
lea eax, [ebp - 0x198]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
je 0x41b2a8
mov ecx, dword [ebp - 0x1a0]
push ecx
push str.WSAStartup_failed_with_error:__d_n
call fcn.00421cd4
add esp, 8
xor eax, eax
jmp 0x41b5d7
push 0x11
push 2
push 2
call sub.WS2_32.dll_socket
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], 0xffffffff
jne 0x41b2e1
call sub.WS2_32.dll_WSAGetLastError
push eax
push str.socket_failed_with_error:__ld_n
call fcn.00421cd4
add esp, 8
call sub.WS2_32.dll_WSACleanup
xor eax, eax
jmp 0x41b5d7
mov edx, 2
mov word [ebp - 0x1b4], dx
movzx eax, word [ebp + 8]
push eax
call sub.WS2_32.dll_htons
mov word [ebp - 0x1b2], ax
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x19c], 1
push 4
lea ecx, [ebp - 0x19c]
push ecx
push 4
push 0xffff
mov edx, dword [ebp - 0x1a4]
push edx
call sub.WS2_32.dll_setsockopt
push 0x10
lea eax, [ebp - 0x1b4]
push eax
mov ecx, dword [ebp - 0x1a4]
push ecx
call sub.WS2_32.dll_bind
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0xffffffff
jne 0x41b375
call sub.WS2_32.dll_WSAGetLastError
mov dword [ebp - 0x1b8], eax
mov edx, dword [ebp - 0x1a4]
push edx
call sub.WS2_32.dll_closesocket
call sub.WS2_32.dll_WSACleanup
xor eax, eax
jmp 0x41b5d7
mov eax, 1
test eax, eax
je 0x41b596
mov byte [ebp - 0x3c0], 0
push 0x207
push 0
lea ecx, [ebp - 0x3bf]
push ecx
call fcn.0041ee30
add esp, 0xc
mov edx, 2
mov word [ebp - 0x1b4], dx
movzx eax, word [ebp + 8]
push eax
call sub.WS2_32.dll_htons
mov word [ebp - 0x1b2], ax
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x3c4], 0x10
lea ecx, [ebp - 0x3c4]
push ecx
lea edx, [ebp - 0x1b4]
push edx
push 0
push 0x208
lea eax, [ebp - 0x3c0]
push eax
mov ecx, dword [ebp - 0x1a4]
push ecx
call sub.WS2_32.dll_recvfrom
mov dword [ebp - 0x3c8], eax
cmp dword [ebp - 0x3c8], 0xffffffff
je 0x41b591
push 0x43880c
lea edx, [ebp - 0x3c0]
push edx
call fcn.0041b5f0
add esp, 8
mov dword [ebp - 0x3cc], eax
cmp dword [ebp - 0x3cc], 0
je 0x41b591
mov eax, dword [ebp - 0x1b0]
push eax
call sub.WS2_32.dll_inet_ntoa
mov dword [ebp - 0x3d4], eax
push 0x100
call fcn.0041f0ec
add esp, 4
mov dword [ebp - 0x3d8], eax
mov ecx, dword [ebp - 0x3d8]
mov dword [ebp - 0x3d0], ecx
cmp dword [ebp - 0x3d0], 0
je 0x41b591
push 0x100
push 0
mov edx, dword [ebp - 0x3d0]
push edx
call fcn.0041ee30
add esp, 0xc
mov eax, dword [ebp - 0x3d4]
push eax
mov ecx, dword [ebp - 0x3d0]
add ecx, 0x40
push ecx
call fcn.00420fb0
add esp, 8
push str.RTFOUND
call fcn.0041f680
add esp, 4
add eax, dword [ebp - 0x3cc]
mov dword [ebp - 0x3cc], eax
push 6
mov edx, dword [ebp - 0x3cc]
push edx
mov eax, dword [ebp - 0x3d0]
push eax
call fcn.0041f160
add esp, 0xc
mov ecx, dword [ebp - 0x3cc]
add ecx, 0xa
mov dword [ebp - 0x3cc], ecx
push 4
mov edx, dword [ebp - 0x3cc]
push edx
mov eax, dword [ebp - 0x3d0]
add eax, 0x80
push eax
call fcn.0041f160
add esp, 0xc
mov ecx, dword [ebp - 0x3d0]
mov edx, dword [ecx + 0x80]
push edx
call sub.WS2_32.dll_inet_ntoa
push eax
mov eax, dword [ebp - 0x3d0]
add eax, 0x80
push eax
call fcn.00420fb0
add esp, 8
mov ecx, dword [ebp - 0x3cc]
add ecx, 4
mov dword [ebp - 0x3cc], ecx
push 4
mov edx, dword [ebp - 0x3cc]
push edx
mov eax, dword [ebp - 0x3d0]
add eax, 0xc0
push eax
call fcn.0041f160
add esp, 0xc
mov ecx, dword [ebp - 0x3d0]
mov edx, dword [ecx + 0xc0]
push edx
call sub.WS2_32.dll_inet_ntoa
push eax
mov eax, dword [ebp - 0x3d0]
add eax, 0xc0
push eax
call fcn.00420fb0
add esp, 8
mov ecx, dword [ebp - 0x3d0]
push ecx
push 0
push 0x500
mov edx, dword [0x444974]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41b375
mov eax, dword [ebp - 0x1a4]
push eax
call sub.WS2_32.dll_closesocket
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0xffffffff
jne 0x41b5cd
call sub.WS2_32.dll_WSAGetLastError
push eax
push str.closesocket_failed_with_error:__d_n
call fcn.00421cd4
add esp, 8
call sub.WS2_32.dll_WSACleanup
xor eax, eax
jmp 0x41b5d7
call sub.WS2_32.dll_WSACleanup
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041edc6
mov esp, ebp
pop ebp
ret