Function at 0x4ac000
Capabilities:
Connect socket
Get session user name
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x517d4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov eax, dword [0x5580c0]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc4], 0
mov dword [esp + 0x14], 0x80
call fcn.004f80f4
mov eax, dword [eax + 4]
lea ecx, [esp + 0x10]
add eax, 0x844
push eax
call fcn.004dd586
call fcn.004f80f4
mov eax, dword [eax + 4]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x3c]
push ecx
mov bx, word [eax + 0x848]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
or ebp, 0xffffffff
test eax, eax
jne 0x4ac0bf
lea eax, [esp + 0x30]
push 0xe000
push eax
call fcn.0042e2e0
mov eax, dword [eax]
mov ecx, ebp
mov edi, eax
xor eax, eax
add esp, 8
lea edx, [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.004dd44d
mov dword [esp + 0x14], 8
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4ac0e3
mov ecx, dword [esp + 0xd8]
push 0x28
push 0xc73a
push 0x111
push ecx
jmp 0x4ac24b
push eax
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
test esi, esi
jne 0x4ac108
mov edx, dword [esp + 0xd8]
push 0x29
push 0xc73a
push 0x111
push edx
jmp 0x4ac24b
xor eax, eax
push ebx
mov dword [esp + 0x24], eax
mov word [esp + 0x24], 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call sub.WSOCK32.dll_htons
mov ebx, dword [esp + 0xcc]
mov word [esp + 0x22], ax
mov ecx, dword [esi + 0xc]
push 0x10
mov edx, dword [ecx]
lea ecx, [esp + 0x24]
push ecx
push ebx
mov eax, dword [edx]
mov dword [esp + 0x30], eax
call sub.WSOCK32.dll_connect
mov esi, eax
test esi, esi
je 0x4ac182
mov edx, dword [esp + 0xd8]
push 0x2a
push 0xc73a
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x10]
mov dword [esp + 0xc4], ebp
call fcn.004dd44d
mov eax, esi
jmp 0x4ac2ac
mov eax, dword [esp + 0xd0]
mov edx, dword [esp + 0x14]
add edx, 8
mov byte [esp + 0x18], 4
mov cx, word [eax + 2]
mov esi, dword [eax + 4]
push edx
mov byte [esp + 0x1d], 1
mov word [esp + 0x1e], cx
call fcn.004dda96
mov ecx, dword [esp + 0x1c]
lea edi, [eax + 8]
mov dword [eax], ecx
mov dword [eax + 4], esi
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0x40]
mov edx, ecx
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
add ecx, 8
push ecx
push eax
push ebx
call sub.WSOCK32.dll_send
mov edx, dword [esp + 0x14]
add edx, 8
cmp edx, eax
jne 0x4ac237
push 0
lea ecx, [esp + 0x38]
push 8
push ecx
push ebx
call sub.WSOCK32.dll_recv
cmp eax, 8
je 0x4ac22f
mov edx, dword [esp + 0xd8]
push 0x2b
push 0xc73a
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x10]
mov dword [esp + 0xc4], ebp
call fcn.004dd44d
mov eax, ebp
jmp 0x4ac2ac
mov al, byte [esp + 0x34]
test al, al
je 0x4ac265
mov eax, dword [esp + 0xd8]
push 0x2b
push 0xc73a
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x10]
mov dword [esp + 0xc4], ebp
call fcn.004dd44d
mov eax, ebp
jmp 0x4ac2ac
cmp byte [esp + 0x35], 0x5a
je 0x4ac29a
mov ecx, dword [esp + 0xd8]
push 0x2b
push 0xc73a
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x10]
mov dword [esp + 0xc4], ebp
call fcn.004dd44d
mov eax, ebp
jmp 0x4ac2ac
lea ecx, [esp + 0x10]
mov dword [esp + 0xc4], ebp
call fcn.004dd44d
xor eax, eax
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb8
ret