Function at 0x498f50
Capabilities:
Initialize winsock library

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe09d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d0
mov eax, dword [0x53c160]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1dc], esi
mov dword [ebp - 0x1d4], esi
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov dword [ebp - 0x1e0], esi
mov dword [esi + 8], eax
lea eax, [esi + 0xc]
mov byte [esi + 4], 1
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x24], 3
mov dword [esi + 0x28], eax
mov byte [esi + 0x2c], cl
push 0x190
push ecx
lea eax, [ebp - 0x1d0]
mov dword [ebp - 4], ecx
push eax
mov dword [esi], vtable.fusion::debugviewpp::SocketReader.0
call fcn.004c6130
add esp, 0xc
lea eax, [ebp - 0x1d0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov edi, eax
test edi, edi
jne 0x4991ca
sub esp, 0x14
mov byte [ebp - 4], 2
lea ecx, [esi + 0x34]
call fcn.004aec90
add esp, 0x14
push edi
lea eax, [esi + 0x38]
mov byte [ebp - 4], 3
push 1
push ecx
mov ecx, eax
mov dword [ebp - 0x1d4], eax
call fcn.004812a0
add esp, 0xc
mov byte [ebp - 4], 4
lea eax, [ebp - 0xf0]
xorps xmm0, xmm0
movups xmmword [esi + 0x4e5c], xmm0
mov dword [esi + 0x4e6c], edi
push 0xb0
movq qword [esi + 0x4e70], xmm0
movups xmmword [esi + 0x4e78], xmm0
push edi
push eax
mov dword [esi + 0x4e88], edi
mov byte [esi + 0x4e8c], 0
call fcn.004c6130
add esp, 0xc
lea ecx, [ebp - 0xf0]
call fcn.00402480
mov edi, eax
mov edx, str.Listening_at_UDP_port
mov byte [ebp - 4], 5
lea ecx, [edi + 0x10]
call fcn.00405e40
push dword [ebx + 0x10]
lea ecx, [edi + 0x10]
call fcn.00405a80
lea eax, [ebp - 0x2c]
lea ecx, [edi + 0x18]
push eax
call fcn.00403e80
mov ecx, dword [ebp - 0x1d8]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
cmp ecx, eax
je 0x4990e4
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00406c30
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x499122
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x499118
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4991e5
push edx
push ecx
call fcn.004c3baf
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 4
call fcn.004025a0
mov esi, dword [ebp - 0x1dc]
mov ecx, dword [ebp - 0x1d4]
push 0
mov eax, dword [ecx]
mov dword [esi + 0x4e6c], eax
lea eax, [esi + 0x3c]
mov dword [esi + 0x4e74], eax
mov eax, 2
mov dword [esi + 0x4e70], 0x4e20
mov word [ebp - 0x3c], ax
call dword [sym.imp.WS2_32.dll_htonl]
push dword [ebx + 0x10]
mov dword [ebp - 0x38], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x3a], ax
lea eax, [ebp - 0x3c]
push 0x10
push eax
push dword [esi + 0x34]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x4991ea
mov byte [0x548712], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c3ba1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
push str.WSAStartup
lea ecx, [ebp - 0x2c]
call fcn.004086c0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.00480f60
call fcn.004cecff
push str.bind
lea ecx, [ebp - 0x2c]
call fcn.004086c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.004aec70
int3