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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56da2d
mov eax, dword fs:[0]
push eax
mov eax, 0x2060
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 - 0x2068], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0x66
jne 0x4db289
mov ecx, dword [ebp - 0x2068]
cmp dword [ecx + 0x210], 0
je 0x4db282
mov ecx, dword [ebp - 0x2068]
add ecx, 0x21c
call fcn.0041dca0
lea ecx, [ebp - 0x103c]
call fcn.004dc1c0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2068]
add edx, 0x240
push edx
lea ecx, [ebp - 0x103c]
call fcn.004dc290
mov ecx, dword [ebp - 0x2068]
add ecx, 0x240
call fcn.004dc4e0
mov ecx, dword [ebp - 0x2068]
add ecx, 0x21c
mov eax, dword [ebp - 0x2068]
mov edx, dword [eax + 0x21c]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x1040], 0
jmp 0x4db1e9
mov ecx, dword [ebp - 0x1040]
add ecx, 1
mov dword [ebp - 0x1040], ecx
lea ecx, [ebp - 0x103c]
call fcn.004dc410
cmp dword [ebp - 0x1040], eax
jae 0x4db263
mov edx, dword [ebp - 0x1040]
push edx
lea ecx, [ebp - 0x103c]
call fcn.004dc430
mov eax, dword [eax + 0xc]
push eax
mov ecx, dword [ebp - 0x1040]
push ecx
lea ecx, [ebp - 0x103c]
call fcn.004dc430
mov edx, dword [eax + 8]
push edx
mov eax, dword [ebp - 0x1040]
push eax
lea ecx, [ebp - 0x103c]
call fcn.004dc430
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x1040]
push edx
lea ecx, [ebp - 0x103c]
call fcn.004dc430
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x2068]
call fcn.004dbc80
jmp 0x4db1da
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x103c]
call fcn.004dc230
jmp 0x4db152
xor eax, eax
jmp 0x4db691
mov cl, byte [0x58ead8]
mov byte [ebp - 0x1024], cl
push 0x1000
push 0
lea edx, [ebp - 0x1023]
push edx
call fcn.005281f0
add esp, 0xc
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x2068]
cmp dword [eax + 0x210], 0
je 0x4db4fb
cmp dword [ebp - 0x14], 0
jne 0x4db4fb
mov dword [ebp - 0x1044], 0
jmp 0x4db2f1
mov ecx, dword [ebp - 0x1044]
add ecx, 1
mov dword [ebp - 0x1044], ecx
cmp dword [ebp - 0x1044], 0x14
jge 0x4db451
cmp dword [ebp - 0x14], 0
jne 0x4db451
cmp dword [ebp - 0x18], 0xffffffff
je 0x4db324
push 2
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WS2_32.dll_shutdown]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1044]
add ecx, 0x1f41
push ecx
push str.try_to_connect_to_service_control_on_port__d
push 0
call fcn.004d0e00
add esp, 0xc
push 0
push 0
mov edx, dword [ebp - 0x1044]
add edx, 0x1f41
push edx
push str.127.0.0.1
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x2068]
call fcn.004c8720
test eax, eax
jne 0x4db37d
jmp 0x4db2e2
push 1
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004c76c0
add esp, 8
test eax, eax
jne 0x4db394
jmp 0x4db2e2
push 0x1001
lea edx, [ebp - 0x1024]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x2068]
call fcn.004c7870
xor ecx, ecx
mov word [ebp - 0x1844], cx
push 0x7fe
push 0
lea edx, [ebp - 0x1842]
push edx
call fcn.005281f0
add esp, 0xc
push 0x400
lea eax, [ebp - 0x1844]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x58eb50
lea ecx, [ebp - 0x1844]
push ecx
call fcn.00528296
add esp, 8
lea edx, [ebp - 0x1844]
push edx
lea eax, [ebp - 0x1024]
push eax
lea ecx, [ebp - 0x2064]
push ecx
call fcn.004cb4e0
add esp, 8
mov dword [ebp - 0x206c], eax
mov ecx, dword [ebp - 0x206c]
call fcn.00411610
mov dword [ebp - 0x2060], eax
lea ecx, [ebp - 0x2064]
call fcn.00415e20
cmp dword [ebp - 0x2060], 0
je 0x4db443
jmp 0x4db2e2
mov dword [ebp - 0x14], 1
jmp 0x4db451
cmp dword [ebp - 0x14], 0
je 0x4db461
jmp 0x4db4fb
xor edx, edx
mov word [ebp - 0x204c], dx
push 0x7fe
push 0
lea eax, [ebp - 0x204a]
push eax
call fcn.005281f0
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x204c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x2e
lea edx, [ebp - 0x204c]
push edx
call fcn.004111d0
add esp, 8
xor ecx, ecx
mov word [eax], cx
push 0x5c
lea edx, [ebp - 0x204c]
push edx
call fcn.004111d0
add esp, 8
add eax, 2
mov dword [ebp - 0x1848], eax
mov eax, dword [ebp - 0x1848]
push eax
call fcn.004db040
add esp, 4
push 0xa
push 0x40
push str.Control_Service_Startup_Error
push str.Cannot_connect_to_the_control_service.
push 0
call fcn.00498be0
add esp, 0x14
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4db2b9
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1c], 0x67
jne 0x4db529
push str.Client2Server_r_n
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x2068]
call fcn.004c81b0
mov eax, dword [ebp - 0x2068]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x218], ecx
jmp 0x4db53d
push str.Server2Client_r_n
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x2068]
call fcn.004c81b0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0x65
jne 0x4db68f
mov ecx, dword [ebp - 0x2068]
cmp dword [ecx + 0x210], 0
je 0x4db643
push 1
mov edx, dword [ebp - 0x18]
push edx
call fcn.004c76c0
add esp, 8
test eax, eax
jne 0x4db578
jmp 0x4db551
mov dword [ebp - 0x10], 0x1001
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1024]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x2068]
call fcn.004c7870
test eax, eax
jne 0x4db5a2
jmp 0x4db643
mov dword [ebp - 0x2050], 0
mov dword [ebp - 0x2058], 0
mov dword [ebp - 0x205c], 0
mov dword [ebp - 0x2054], 0
mov eax, dword [ebp - 0x2068]
cmp dword [eax + 0x210], 0
jne 0x4db5db
jmp 0x4db643
lea ecx, [ebp - 0x2054]
push ecx
lea edx, [ebp - 0x205c]
push edx
lea eax, [ebp - 0x2058]
push eax
lea ecx, [ebp - 0x2050]
push ecx
push str._u__u__u__u
lea edx, [ebp - 0x1024]
push edx
call fcn.0052f37c
add esp, 0x18
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x2054]
push ecx
mov edx, dword [ebp - 0x205c]
push edx
mov eax, dword [ebp - 0x2058]
push eax
mov ecx, dword [ebp - 0x2050]
push ecx
mov edx, dword [ebp - 0x2068]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2068]
mov edx, dword [eax + 0xc]
call edx
jmp 0x4db551
push 2
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x18], 0xffffffff
mov edx, dword [ebp - 0x2068]
cmp dword [edx + 0x210], 0
je 0x4db68b
push str._ERROR__serviceconrolclient_server_to_client_disconnect
push 1
call fcn.004d0e00
add esp, 8
push 0x65
mov ecx, dword [ebp - 0x2068]
call fcn.004d38a0
xor eax, eax
jmp 0x4db691
xor eax, eax
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 4