Function at 0x40b144
Capabilities:
Create udp socket
Send data
Send data on socket
Set socket configuration

Disassembly:
mov eax, 0x491148
call fcn.0046cdfc
sub esp, 0x6c
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x20], ecx
push edi
lea ecx, [ebp - 0x10]
lea eax, [esi + 0x214]
push eax
call fcn.00484016
lea eax, [esi + 0x114]
xor ebx, ebx
push eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], ebx
call fcn.00484016
mov edi, dword [esi + 0x10]
lea eax, [esi + 0x294]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00484016
lea eax, [esi + 0x314]
mov byte [ebp - 4], 2
push eax
call fcn.0046ceca
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00408e53
mov al, byte [0x568998]
add esp, 0xc
cmp dword [esi + 8], 1
mov byte [ebp - 0x1c], al
jne 0x40b1c6
mov al, byte [0x568994]
mov byte [ebp - 0x1c], al
mov al, byte [esi + 0x324]
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x24], al
lea eax, [esi + 0x14]
push eax
call fcn.00484016
push esi
mov byte [ebp - 4], 3
call fcn.0040da9c
pop ecx
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x14]
push dword [ebp - 0x24]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.0040a658
cmp eax, 0xffffffff
jne 0x40b251
push 0x2714
call fcn.0040da48
mov esi, eax
mov dword [esi + 0xc], ebx
push dword [ebp - 0x10]
lea eax, [esi + 0x214]
push eax
call fcn.0046d4a0
push dword [ebp + 0xc]
lea eax, [esi + 0x14]
push eax
call fcn.0046d4a0
mov eax, dword [ebp - 0x20]
add esp, 0x14
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
push esi
push 0xa
push 0x466
push dword [eax + 0x2b4]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x40b3b4
cmp edi, ebx
jbe 0x40b29e
push 0xd
call fcn.0040da48
push dword [ebp - 0x10]
mov esi, eax
lea eax, [esi + 0x214]
push eax
call fcn.0046d4a0
push dword [ebp + 0xc]
lea eax, [esi + 0x14]
push eax
call fcn.0046d4a0
mov dword [esi + 0xc], edi
push dword [ebp - 0x18]
lea eax, [esi + 0x114]
push eax
call fcn.0046d4a0
push 1
push esi
push ebx
push 0xd
call fcn.0040dc33
add esp, 0x2c
jmp 0x40b3b4
cmp dword [0x568790], ebx
je 0x40b3b4
mov eax, dword [0x4b1dc8]
mov dword [ebp - 0x1c], eax
push 0x20
lea eax, [ebp - 0x58]
push ebx
push eax
mov byte [ebp - 4], 4
call fcn.0046c780
push dword [0x568790]
lea eax, [ebp - 0x58]
push eax
call fcn.00408e53
add esp, 0x14
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x28]
push eax
call fcn.00483d1d
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 5
call fcn.00483d1d
mov ecx, dword [0x5673dc]
lea edx, [ebp - 0x24]
call fcn.00435ed0
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
call fcn.004840e1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00483fa8
push dword [ebp - 0x10]
lea eax, [ebp - 0x58]
push dword [ebp + 0xc]
push dword [0x5689cc]
push eax
lea eax, [ebp - 0x1c]
push str._s_6688__s___s___s
push eax
call fcn.0047e2fb
add esp, 0x18
push 0x11
push 2
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x40b39c
push 0x10
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.0046c780
add esp, 0xc
mov word [ebp - 0x38], 2
push 0x19c8
call dword [sym.imp.WSOCK32.dll_htons]
mov word [ebp - 0x36], ax
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x38]
push 0x10
mov ecx, dword [eax - 8]
push edx
push ebx
push ecx
push eax
push esi
call dword [sym.imp.WSOCK32.dll_sendto]
push esi
call dword [sym.imp.WSOCK32.dll_closesocket]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00483fa8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00483fa8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00483fa8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00483fa8
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.00483fa8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00483fa8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8