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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5686e9
mov eax, dword fs:[0]
push eax
mov eax, 0x88d0
call fcn.00528110
mov eax, dword [0x5c5ebc]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x88b0], ecx
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x7048], eax
mov byte [ebp - 0x7044], 0
push 0x2005
push 0
lea ecx, [ebp - 0x7043]
push ecx
call fcn.005281f0
add esp, 0xc
mov byte [ebp - 0x6044], 0
mov dword [ebp - 0x2028], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x2028], 0x1000
mov edx, dword [ebp - 0x2028]
push edx
lea eax, [ebp - 0x7044]
push eax
mov ecx, dword [ebp - 0x7048]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x88b0]
call fcn.004c7870
test eax, eax
jne 0x46f45d
xor eax, eax
jmp 0x46f92e
mov byte [ebp - 0x3034], 0
push 0x1000
push 0
lea eax, [ebp - 0x3033]
push eax
call fcn.005281f0
add esp, 0xc
mov dword [ebp - 0x10], 0x1000
push 0
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x3034]
push edx
mov eax, dword [ebp - 0x7048]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x88b0]
call fcn.004c7cd0
xor edx, edx
mov word [ebp - 0x503c], dx
push 0x2000
push 0
lea eax, [ebp - 0x503a]
push eax
call fcn.005281f0
add esp, 0xc
mov dword [ebp - 0x704c], 0x50
xor ecx, ecx
mov word [ebp - 0x2024], cx
push 0x2000
push 0
lea edx, [ebp - 0x2022]
push edx
call fcn.005281f0
add esp, 0xc
lea eax, [ebp - 0x7044]
push eax
lea ecx, [ebp - 0x888c]
push ecx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x88b4], eax
mov ecx, dword [ebp - 0x88b4]
call fcn.00415f60
push eax
lea edx, [ebp - 0x2024]
push edx
call fcn.005282c4
add esp, 8
lea ecx, [ebp - 0x888c]
call fcn.00415e20
lea eax, [ebp - 0x704c]
push eax
lea ecx, [ebp - 0x503c]
push ecx
lea edx, [ebp - 0x2028]
push edx
lea eax, [ebp - 0x2024]
push eax
call fcn.00466430
add esp, 0x10
mov dword [ebp - 0x202c], eax
lea ecx, [ebp - 0x2024]
push ecx
lea edx, [ebp - 0x8890]
push edx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x88b8], eax
mov ecx, dword [ebp - 0x88b8]
call fcn.00412150
push eax
lea eax, [ebp - 0x7044]
push eax
call fcn.0052a310
add esp, 8
lea ecx, [ebp - 0x8890]
call fcn.00412130
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x202c], 1
jne 0x46f913
lea ecx, [ebp - 0x8884]
call fcn.00460d70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x8884]
push ecx
push 0
mov ecx, 0x5ca8a8
call fcn.0048bcd0
mov dword [ebp - 0x8860], 0
push 0
lea edx, [ebp - 0x8884]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x8898]
push edx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x88bc], eax
mov eax, dword [ebp - 0x88bc]
mov dword [ebp - 0x88c0], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x88c0]
call fcn.00415f60
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x88b0]
call fcn.004c8720
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x8891], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8898]
call fcn.00415e20
movzx edx, byte [ebp - 0x8891]
test edx, edx
je 0x46f69e
push 2
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x889c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8884]
call fcn.00460d20
mov eax, dword [ebp - 0x889c]
jmp 0x46f92e
mov byte [ebp - 0x8454], 0
push 0x1000
push 0
lea edx, [ebp - 0x8453]
push edx
call fcn.005281f0
add esp, 0xc
push 0x581310
lea eax, [ebp - 0x7044]
push eax
call fcn.00420b60
add esp, 8
add eax, 1
mov dword [ebp - 0x8458], eax
push 0x581314
lea ecx, [ebp - 0x7044]
push ecx
call fcn.00420b60
add esp, 8
mov byte [eax], 0
lea edx, [ebp - 0x7044]
mov dword [ebp - 0x8888], edx
push 0x581318
mov eax, dword [ebp - 0x8458]
push eax
call fcn.00420b60
add esp, 8
mov byte [eax], 0
mov byte [ebp - 0x885c], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x885b]
push ecx
call fcn.005281f0
add esp, 0xc
mov byte [ebp - 0x744c], 0
push 0x3ff
push 0
lea edx, [ebp - 0x744b]
push edx
call fcn.005281f0
add esp, 0xc
push 0x400
lea eax, [ebp - 0x885c]
push eax
mov ecx, dword [ebp - 0x8458]
push ecx
call fcn.00529140
add esp, 4
push eax
mov edx, dword [ebp - 0x8458]
push edx
mov ecx, dword [ebp - 0x88b0]
call fcn.004c6f10
push 0x400
lea eax, [ebp - 0x744c]
push eax
lea ecx, [ebp - 0x503c]
push ecx
lea edx, [ebp - 0x88a0]
push edx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x88c4], eax
mov eax, dword [ebp - 0x88c4]
mov dword [ebp - 0x88c8], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x88c8]
call fcn.00412150
push eax
call fcn.00529140
add esp, 4
push eax
lea ecx, [ebp - 0x503c]
push ecx
lea edx, [ebp - 0x88a4]
push edx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x88cc], eax
mov eax, dword [ebp - 0x88cc]
mov dword [ebp - 0x88d0], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x88d0]
call fcn.00412150
push eax
mov ecx, dword [ebp - 0x88b0]
call fcn.004c6f10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88a4]
call fcn.00412130
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88a0]
call fcn.00412130
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x885c]
push edx
lea eax, [ebp - 0x88a8]
push eax
call fcn.00473030
add esp, 8
mov dword [ebp - 0x88d4], eax
mov ecx, dword [ebp - 0x88d4]
mov dword [ebp - 0x88d8], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x88d8]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x744c]
push ecx
lea edx, [ebp - 0x88ac]
push edx
call fcn.00473030
add esp, 8
mov dword [ebp - 0x88dc], eax
mov eax, dword [ebp - 0x88dc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x8888]
push eax
push 0x58131c
lea ecx, [ebp - 0x8454]
push ecx
call fcn.0052a9d1
add esp, 0x1c
lea ecx, [ebp - 0x88ac]
call fcn.00412130
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88a8]
call fcn.00412130
lea edx, [ebp - 0x8454]
push edx
call fcn.00529140
add esp, 4
push eax
lea eax, [ebp - 0x8454]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x88b0]
call fcn.004c7f70
mov edx, dword [ebp - 0x7048]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x88b0]
call fcn.004c81e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8884]
call fcn.00460d20
push 2
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00527aad
mov esp, ebp
pop ebp
ret 0x10