Function at 0x41b600
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x43e268]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x318], 0
jmp 0x41b62e
mov eax, dword [ebp - 0x318]
add eax, 1
mov dword [ebp - 0x318], eax
cmp dword [ebp - 0x318], 0x10
jge 0x41b66c
mov ecx, dword [ebp - 0x318]
mov dword [ecx*4 + 0x441474], 0
mov edx, dword [ebp - 0x318]
mov dword [edx*4 + 0x441534], 0
mov eax, dword [ebp - 0x318]
mov dword [eax*4 + 0x441574], 0
jmp 0x41b61f
push 0
push 0
push 0
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [ebp - 0x304], eax
cmp dword [ebp - 0x304], 0xffffffff
jne 0x41b692
jmp 0x41b8f9
push 0
push 0
lea ecx, [ebp - 0x30c]
push ecx
push 0x2f8
lea edx, [ebp - 0x300]
push edx
push 0
push 0
push 0x4004747f
mov eax, dword [ebp - 0x304]
push eax
call dword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
jne 0x41b6c9
jmp 0x41b8f9
mov eax, dword [ebp - 0x30c]
xor edx, edx
mov ecx, 0x4c
div ecx
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x31c], 0
jmp 0x41b6f9
mov edx, dword [ebp - 0x31c]
add edx, 1
mov dword [ebp - 0x31c], edx
mov eax, dword [ebp - 0x31c]
cmp eax, dword [ebp - 0x308]
jge 0x41b762
mov ecx, dword [ebp - 0x31c]
imul ecx, ecx, 0x4c
lea edx, [ebp + ecx - 0x2fc]
mov dword [ebp - 0x324], edx
mov eax, dword [ebp - 0x31c]
imul eax, eax, 0x4c
mov ecx, dword [ebp + eax - 0x300]
mov dword [ebp - 0x320], ecx
mov edx, dword [ebp - 0x320]
and edx, 8
jne 0x41b760
mov eax, dword [ebp - 0x320]
and eax, 4
jne 0x41b760
mov ecx, dword [ebp - 0x324]
mov edx, dword [ecx + 4]
push edx
push 0x441474
call fcn.00419860
add esp, 8
jmp 0x41b6ea
mov eax, dword [ebp - 0x304]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x288
push 1
call fcn.004091cb
add esp, 8
mov dword [ebp - 4], eax
mov dword [ebp - 0x310], 0x288
lea ecx, [ebp - 0x310]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x41b7c0
mov eax, dword [ebp - 4]
push eax
call fcn.0040913d
add esp, 4
mov ecx, dword [ebp - 0x310]
push ecx
push 1
call fcn.004091cb
add esp, 8
mov dword [ebp - 4], eax
lea edx, [ebp - 0x310]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x41b8f9
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x314], ecx
cmp dword [ebp - 0x314], 0
je 0x41b8ed
mov edx, dword [ebp - 0x314]
cmp dword [edx + 0x1a4], 0
jne 0x41b8da
mov eax, dword [ebp - 0x314]
add eax, 0x1ac
mov dword [ebp - 0x328], eax
cmp dword [ebp - 0x328], 0
je 0x41b8da
mov ecx, dword [ebp - 0x328]
add ecx, 4
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x32c], eax
cmp dword [ebp - 0x32c], 0
je 0x41b8c7
mov byte [ebp - 0x32d], 0
jmp 0x41b85a
mov dl, byte [ebp - 0x32d]
add dl, 1
mov byte [ebp - 0x32d], dl
movzx eax, byte [ebp - 0x32d]
cmp eax, 0x10
jge 0x41b8c7
movzx ecx, byte [ebp - 0x32d]
mov edx, dword [ecx*4 + 0x441534]
cmp edx, dword [ebp - 0x32c]
jne 0x41b880
jmp 0x41b8c7
movzx eax, byte [ebp - 0x32d]
cmp dword [eax*4 + 0x441534], 0
jne 0x41b8c5
movzx ecx, byte [ebp - 0x32d]
mov edx, dword [ebp - 0x32c]
mov dword [ecx*4 + 0x441534], edx
mov eax, dword [ebp - 0x328]
add eax, 0x14
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
movzx ecx, byte [ebp - 0x32d]
mov dword [ecx*4 + 0x441574], eax
jmp 0x41b8c7
jmp 0x41b84b
mov edx, dword [ebp - 0x328]
mov eax, dword [edx]
mov dword [ebp - 0x328], eax
jmp 0x41b812
mov ecx, dword [ebp - 0x314]
mov edx, dword [ecx]
mov dword [ebp - 0x314], edx
jmp 0x41b7e1
mov eax, dword [ebp - 4]
push eax
call fcn.0040913d
add esp, 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00406dc0
mov esp, ebp
pop ebp
ret