Function at 0x5cedb6d0
Capabilities:
Get hostname
Get session user name
Resolve dns

Disassembly:
mov eax, 0x5cee37e5
call fcn.5cede420
sub esp, 0x1ac
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 3
pop ebx
lea eax, [ebp - 0x18]
push eax
push 2
xor edi, edi
push edi
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], ebx
call fcn.5ced6560
test eax, eax
je 0x5cedb8d9
lea eax, [ebp - 0x20]
push eax
push 2
push edi
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 1
call fcn.5ced6560
test eax, eax
je 0x5cedb8d9
push dword [ebp - 0x20]
call fcn.5cedb23d
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
call fcn.5cedb23d
mov esi, 0xe0000000
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], eax
call fcn.5ced7750
push esi
lea ecx, [ebp - 0x50]
call fcn.5ced7750
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xb8]
push eax
mov dword [ebp - 0x28], 0x65
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x5cedb8d9
cmp dword [ebp + 8], edi
je 0x5cedb8d9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, ebx
and eax, 0xfffffffc
call fcn.5cede4a0
mov dword [ebp - 0x10], esp
mov eax, esp
push edi
push esi
push dword [ebp + 8]
push eax
call fcn.5ced91b0
cmp eax, edi
mov dword [ebp - 0x24], eax
je 0x5cedb8d9
mov dword [ebp - 4], edi
call fcn.5cedaca4
push dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
call esi
lea ecx, [ebp - 0xb8]
push ecx
mov dword [ebp + 8], eax
call esi
mov ecx, dword [ebp + 8]
add ecx, eax
movzx eax, bx
lea eax, [ecx + eax + 0x133]
push eax
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp + 8], eax
jmp 0x5cedb7f7
or dword [ebp - 4], 0xffffffff
cmp dword [ebp + 8], edi
jne 0x5cedb80d
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x5cedb8d9
push 0xff
lea eax, [ebp - 0x1b8]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x5cedb838
lea eax, [ebp - 0x1b8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, edi
je 0x5cedb838
mov eax, dword [eax]
jmp 0x5cedb83d
call fcn.5cedacb9
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp - 0x14], 0x5ced21e0
je 0x5cedb859
dec eax
jne 0x5cedb860
mov dword [ebp - 0x14], 0x5ced21cc
jmp 0x5cedb860
mov dword [ebp - 0x14], 0x5ced21c4
mov esi, dword [sym.imp.msvcrt.dll_time]
push edi
call esi
mov ebx, eax
mov edi, 0x7c558180
push 0
sub ebx, edi
call esi
sub eax, edi
push 0
mov dword [ebp + 0xc], eax
call esi
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x20]
push eax
push dword [ebp - 0x14]
sub esi, edi
call fcn.5ced880f
add eax, ebx
push eax
call fcn.5ced87fb
add eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0xb8]
push dword [ebp - 0x1c]
push esi
push eax
call fcn.5cedac90
push eax
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x34
test eax, eax
jne 0x5cedb8dd
push dword [ebp + 8]
call sub.MFC42.DLL_operatordelete
pop ecx
xor eax, eax
jmp 0x5cedb8e0
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x1c4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8