Function at 0x4943d0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b599f
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4e5258]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0xd], 0
push 1
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x49441e
xor al, al
jmp 0x4945f8
push 1
push 0
push 0
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x49444a
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x4945f8
mov ecx, dword [ebp - 0x14]
add ecx, 0x50
push ecx
lea ecx, [ebp - 0x4c]
call fcn.0048f930
mov dword [ebp - 4], 0
push 0x38
call fcn.004add38
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x28], 0
je 0x494484
mov ecx, dword [ebp - 0x28]
call fcn.004900e0
mov dword [ebp - 0x2c], eax
jmp 0x49448b
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xc
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x28], eax
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.00491210
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00490ae0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.0049c5d0
movzx ecx, al
test ecx, ecx
jne 0x494507
jmp 0x49454f
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.0049c5d0
movzx eax, al
test eax, eax
jne 0x49451f
jmp 0x49454f
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0049d470
movzx eax, al
test eax, eax
jne 0x494544
jmp 0x49454f
mov byte [ebp - 0xd], 1
jmp 0x49454f
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
jne 0x4945f5
mov edx, dword [ebp - 0x14]
add edx, 0x50
push edx
lea ecx, [ebp - 0x54]
call fcn.0048f930
mov dword [ebp - 4], 2
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.00495470
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.0043e480
push eax
lea ecx, [ebp - 0x24]
call fcn.00439140
movzx eax, al
test eax, eax
je 0x4945e6
lea ecx, [ebp - 0x24]
call fcn.00439290
mov ecx, dword [eax + 8]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0
je 0x4945cc
push 1
mov ecx, dword [ebp - 0x30]
call fcn.004915b0
mov dword [ebp - 0x3c], eax
jmp 0x4945d3
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.0048f570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00490ae0
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10