Function at 0x41b9e0
Capabilities:
Create raw socket
Create tcp socket
Create udp socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d244
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x49b0c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00409240
movzx eax, al
test eax, eax
jne 0x41ba2d
cmp dword [ebp + 0x24], 0
je 0x41ba2d
cmp dword [ebp + 0x28], 0
jg 0x41ba4b
mov dword [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404910
mov eax, dword [ebp - 0x64]
jmp 0x41bc80
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x58], eax
mov ecx, 2
mov word [ebp - 0x24], cx
movzx edx, word [ebp + 0x20]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x22], ax
lea ecx, [ebp + 8]
call fcn.00409350
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0x8000
push 4
lea eax, [ebp - 0x14]
push eax
push 0x1001
push 0xffff
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edx, dword [ebp + 0x28]
push edx
mov eax, dword [ebp + 0x24]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00405650
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x78], ecx
mov byte [ebp - 4], 1
lea edx, [ebp + 8]
push edx
push 0x495108
lea eax, [ebp - 0xc8]
push eax
call fcn.0040ccf0
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
mov byte [ebp - 4], 2
push 0x495104
mov edx, dword [ebp - 0x70]
push edx
lea eax, [ebp - 0xb0]
push eax
call fcn.0040cdf0
add esp, 0xc
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x7c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0041c990
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb0]
call fcn.00404910
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc8]
call fcn.00404910
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe0]
call fcn.00404910
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x8c], esp
push 0x495114
lea eax, [ebp - 0x3c]
push eax
push edx
call fcn.004029d0
add esp, 0xc
mov dword [ebp - 0x90], eax
call fcn.0041b1c0
add esp, 0x18
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00404910
mov dword [ebp - 0x5c], 0xffffffff
push 0x10
lea ecx, [ebp - 0x24]
push ecx
push 0
mov edx, dword [ebp + 0x28]
push edx
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xffffffff
jne 0x41bc3b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cdq
push edx
push eax
lea edx, [ebp - 0xf8]
push edx
call fcn.0041cda0
add esp, 0xc
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x84]
push ecx
push 0x495118
lea edx, [ebp - 0x54]
push edx
call fcn.0040cdb0
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xf8]
call fcn.00404910
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x94], esp
push 0x49512c
lea ecx, [ebp - 0x54]
push ecx
push eax
call fcn.004029d0
add esp, 0xc
mov dword [ebp - 0x98], eax
call fcn.0041b1c0
add esp, 0x18
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00404910
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x58], 0xffffffff
cmp dword [ebp - 0x5c], 0xffffffff
je 0x41bc5b
mov dword [ebp - 0x60], 1
jmp 0x41bc62
mov dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404910
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00456b9f
mov esp, ebp
pop ebp
ret