Function at 0x404900
Capabilities:
Create raw socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474ff2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x496074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x499600]
push 0x34
mov dword [ebp - 0x1c], eax
call fcn.00456336
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
test esi, esi
je 0x404991
mov dword [esi + 0x14], 0
lea ecx, [esi + 0x30]
mov dword [esi + 0x18], 0xf
xor eax, eax
mov byte [esi + 4], 0
xchg dword [ecx], eax
mov eax, dword [0x499600]
xor ecx, ecx
mov edx, 8
mov eax, dword [eax + 0x40]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00456336
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
test edi, edi
jne 0x404998
push esi
call fcn.00456331
add esp, 4
xor al, al
jmp 0x404b99
add edi, 0x48
mov dword [ebp - 0x24], edi
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0xf
mov byte [edi + 0x54], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0xf
mov byte [edi + 0x6c], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0xf
mov byte [edi + 0x84], 0
lea esi, [edi + 0x9c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00407070
mov dword [esi], eax
lea esi, [edi + 0xa4]
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00407070
mov ecx, dword [ebp - 0x18]
xorps xmm0, xmm0
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc0], 0xf
mov esi, dword [ebp - 0x20]
mov byte [edi + 0xac], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0xf
mov byte [edi + 0xc4], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0xf
mov byte [edi + 0xe0], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0xf
mov byte [edi + 0x118], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x144], 0xf
mov byte [edi + 0x130], 0
mov dword [ebp - 4], 0xffffffff
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x1c], 0x4051a0
mov dword [ecx + 0x20], 0x405510
mov dword [ecx + 0x24], fcn.00405540
mov dword [ecx + 0x30], 0
mov ecx, edi
push edi
call fcn.00403250
mov eax, 1
lea ecx, [esi + 0x30]
lock xadd dword [ecx], eax
push 1
push 0
push 0
push 6
push 1
push 2
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov edi, dword [ebp - 0x18]
mov dword [esi], eax
push edi
cmp eax, 0xffffffff
je 0x404b8a
mov ecx, dword [ebp - 0x1c]
call fcn.00405e20
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x20
push 0x20
push 0
lea eax, [edi + 0x190]
push eax
mov eax, dword [0x499600]
push dword [esi]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
jne 0x404b97
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x404b97
mov ecx, dword [ebp - 0x1c]
push edi
call fcn.00405e80
push edi
push esi
call fcn.00405540
add esp, 8
xor al, al
jmp 0x404b99
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043930f
mov esp, ebp
pop ebp
ret 4