Function at 0x10001518
Capabilities:
Get hostname
List user accounts

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000d901
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x578
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x584], 0
push 0x10100024
lea ecx, [ebp - 0x354]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 1
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x340], 0xffffffff
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x364], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x344], 0
mov dword [ebp - 0x22c], 0
mov byte [ebp - 0x218], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x217]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x10100028
lea ecx, [ebp - 0x360]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x358]
call fcn.1000d032
mov byte [ebp - 4], 3
mov dword [ebp - 0x34c], 0x2a
mov byte [ebp - 0x33c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x33b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x344], 0x104
lea ecx, [ebp - 0x21c]
call fcn.1000d032
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x224]
and eax, 0xffff
and eax, 0xffff
shr eax, 8
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x224]
and ecx, 0xffff
and ecx, 0xffff
and ecx, 0xff
and ecx, 0xff
push ecx
push str._d._d
lea edx, [ebp - 0x21c]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp - 0x21c]
call fcn.10003420
push eax
call dword [sym.imp.MSVCRT.dll_atof]
add esp, 4
fstp dword [ebp - 0x368]
mov byte [ebp - 4], 5
mov byte [ebp - 0x570], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x56f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x344], 0x208
lea eax, [ebp - 0x344]
push eax
lea ecx, [ebp - 0x570]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x364]
push eax
lea ecx, [ebp - 0x350]
push ecx
mov edx, dword [ebp - 0x340]
push edx
lea eax, [ebp - 0x238]
push eax
push 2
mov ecx, dword [ebp - 0x220]
push ecx
push 0
call sub.NETAPI32.dll_NetUserEnum
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x35c], 0
je 0x10001730
cmp dword [ebp - 0x35c], 0xea
jne 0x100018b8
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x228], edx
cmp dword [ebp - 0x228], 0
je 0x100018b6
mov dword [ebp - 0x348], 0
jmp 0x10001764
mov eax, dword [ebp - 0x348]
add eax, 1
mov dword [ebp - 0x348], eax
mov ecx, dword [ebp - 0x348]
cmp ecx, dword [ebp - 0x350]
jae 0x100018b6
cmp dword [ebp - 0x228], 0
jne 0x10001784
jmp 0x100018b6
mov dword [ebp - 0x580], 0
mov dword [ebp - 0x574], 0
lea edx, [ebp - 0x580]
push edx
push 3
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
push ecx
push 0
call sub.NETAPI32.dll_NetUserGetInfo
mov dword [ebp - 0x57c], eax
lea edx, [ebp - 0x574]
push edx
push 2
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
push ecx
push 0
call sub.NETAPI32.dll_NetUserGetInfo
mov dword [ebp - 0x578], eax
push 0x208
push 0
lea edx, [ebp - 0x218]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
push 0
push 0x208
lea eax, [ebp - 0x218]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x580]
mov edx, dword [ecx]
push edx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x358]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x358]
call sub.MFC42.DLL_CString::MakeLower
push 0x10012084
lea ecx, [ebp - 0x358]
push ecx
call fcn.10003430
mov byte [ebp - 0x588], al
mov edx, dword [ebp - 0x588]
and edx, 0xff
test edx, edx
je 0x10001893
mov eax, dword [ebp - 0x574]
cmp dword [eax + 0xc], 0
jne 0x10001893
mov ecx, dword [ebp - 0x580]
mov edx, dword [ecx + 0x18]
and edx, 2
test edx, edx
je 0x10001883
push 0x1001208c
lea ecx, [ebp - 0x354]
call sub.MFC42.DLL_CString::operator_2
jmp 0x10001893
push 0x10012094
lea ecx, [ebp - 0x354]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [ebp - 0x228]
add eax, 0x20
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x230]
add ecx, 1
mov dword [ebp - 0x230], ecx
jmp 0x10001755
jmp 0x100018d6
mov edx, dword [ebp - 0x35c]
push edx
push str.A_system_error_has_occurred:__d_n
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
cmp dword [ebp - 0x238], 0
je 0x100018f5
mov ecx, dword [ebp - 0x238]
push ecx
call sub.NETAPI32.dll_NetApiBufferFree
mov dword [ebp - 0x238], 0
jmp 0x100018fd
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x230]
push edx
push str._nTotal_of__d_entries_enumerated_n
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
lea ecx, [ebp - 0x354]
push ecx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [ebp - 0x584]
or edx, 1
mov dword [ebp - 0x584], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x21c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x358]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x360]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x354]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret