Function at 0x4b2530
Capabilities:
Create pipe
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x18
mov eax, dword [0x93e25c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x24], eax
call fcn.004b0ae0
mov eax, dword [0x973bbc]
test eax, eax
je 0x4b26c5
mov eax, dword [0x974b9c]
test eax, eax
jne 0x4b26c5
mov al, byte [0x973f14]
test al, al
jne 0x4b26c5
push 0
push 1
push 2
call sub.WSOCK32.dll_socket
cmp eax, 0xffffffff
mov dword [0x974a04], eax
jne 0x4b259c
mov eax, dword [0x974690]
mov ecx, dword [eax + 0x144]
push ecx
call fcn.00408486
add esp, 4
push 1
call fcn.004084f4
mov eax, dword [0x9745a0]
xor ecx, ecx
mov cx, word [0x973bbc]
xor edx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov word [esp + 0x14], 2
push ecx
mov dword [esp + 0x1c], eax
call sub.WSOCK32.dll_htons
push 0x10
lea edx, [esp + 0x18]
mov word [esp + 0x1a], ax
mov eax, dword [0x974a04]
push edx
push eax
xor ebp, ebp
mov edi, 1
call sub.WSOCK32.dll_bind
mov esi, eax
test esi, esi
jge 0x4b265f
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2740
jne 0x4b269d
cmp ebp, dword [0x973280]
jae 0x4b269d
mov ecx, dword [0x973bbc]
push ecx
push str.Retrying_bind_on_TCP_IP_port__u
call fcn.00406df7
mov edx, edi
imul edx, edi
mov eax, 0xaaaaaaab
mul edx
mov esi, edx
add esp, 8
shr esi, 1
inc esi
mov eax, esi
imul eax, eax, 0x3e8
push eax
call ebx
mov edx, dword [0x974a04]
push 0x10
lea ecx, [esp + 0x18]
push ecx
push edx
inc edi
add ebp, esi
call sub.WSOCK32.dll_bind
mov esi, eax
test esi, esi
jl 0x4b25f7
mov ecx, dword [0x973bb8]
mov edx, dword [0x974a04]
push ecx
push edx
call sub.WSOCK32.dll_listen
test eax, eax
jge 0x4b26c5
push str.Cant_start_server:_listen___on_TCP_IP_port
call fcn.00408486
add esp, 4
call sub.WSOCK32.dll_WSAGetLastError
push eax
push str.listen___on_TCP_IP_failed_with_error__d
call fcn.004058b2
add esp, 8
push 1
call fcn.004084f4
test esi, esi
jge 0x4b265f
push str.Cant_start_server:_Bind_on_TCP_IP_port
call fcn.00408486
mov eax, dword [0x973bbc]
push eax
push str.Do_you_already_have_another_mysqld_server_running_on_port:__d__
call fcn.004058b2
add esp, 0xc
push 1
call fcn.004084f4
mov eax, dword [0x974c40]
test eax, eax
je 0x4b282e
mov eax, dword [0x9741b4]
cmp byte [eax], 0
je 0x4b282e
mov cl, byte [0x973f14]
test cl, cl
jne 0x4b282e
mov cl, byte [0x974baa]
test cl, cl
je 0x4b282e
push 0
push eax
push str..pipe_
push 0x1ff
push 0x9732c8
mov byte [0x9734c7], 0
call fcn.0062b600
xor ecx, ecx
mov dword [0x974a4c], ecx
xor eax, eax
mov dword [0x974a50], ecx
add esp, 0x14
mov dword [0x973090], eax
mov dword [0x974a54], ecx
push 1
mov dword [0x973094], eax
mov dword [0x974a58], ecx
push 0x974a4c
mov dword [0x973098], eax
mov dword [0x974a5c], ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x4b2773
push str.Cant_start_server_:_Initialize_security_descriptor
call fcn.00408486
add esp, 4
push 1
call fcn.004084f4
push 0
push 0
push 1
push 0x974a4c
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x4b279c
push str.Cant_start_server_:_Set_security_descriptor
call fcn.00408486
add esp, 4
push 1
call fcn.004084f4
mov eax, dword [0x97312c]
push 0x973090
push 0
push eax
push eax
push 0xff
push 0
push 3
push 0x9732c8
mov dword [0x973090], 0xc
mov dword [0x973094], 0x974a4c
mov dword [0x973098], 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
cmp eax, 0xffffffff
mov dword [0x81f948], eax
jne 0x4b282e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
lea edx, [esp + 0x18]
push edx
push 0x400
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov eax, dword [esp + 0x10]
push 0x40
push str.Error_from_CreateNamedPipe
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 1
call fcn.004084f4
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
call fcn.006cedd0
add esp, 0x18
ret