Function at 0x4272b0
Capabilities:
Get hostname
List groups for user account

Disassembly:
push 0xffffffffffffffff
push 0x51f9ab
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5b339c]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x98]
mov ebp, dword [esp + 0x9c]
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x1c]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x28]
xor ebx, ebx
push eax
push 1
push ebx
mov byte [esp + 0x2f], bl
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push ebx
call sub.NETAPI32.dll_NetUserGetLocalGroups
cmp eax, ebx
jne 0x427463
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x2c], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x427438
xor edi, edi
cmp dword [esp + 0x18], ebx
jbe 0x427438
mov edi, edi
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [esp + 0x90], ebx
push 0x53bbe4
lea ecx, [esp + 0x4c]
call dword [0x539464]
mov ecx, dword [esi]
push ecx
lea ecx, [esp + 0x4c]
call dword [0x539464]
sub esp, 0x1c
lea edx, [esp + 0x64]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0xac], 1
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0xb0], bl
call fcn.00517430
add esp, 0x20
mov byte [esp + 0x90], 2
push eax
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x48]
push ebp
push ecx
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
test al, al
jne 0x42741e
add esi, 4
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
inc edi
cmp edi, dword [esp + 0x18]
jb 0x427360
jmp 0x427438
mov byte [esp + 0x17], 1
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
cmp edx, ecx
jae 0x427480
mov eax, dword [0x5b6bb0]
mov esi, dword [eax]
push ecx
push edx
mov edx, dword [esi]
push str.Security:_Entries_read___u__less_than_total___u_
push str.CACLSecurity::NAIsUserInLocalGroup
push 2
push eax
call edx
add esp, 0x18
jmp 0x427480
mov ecx, dword [0x5b6bb0]
mov edx, dword [ecx]
push eax
mov eax, dword [edx]
push str.Security:_NetUserGetLocalGroups_returned___u_
push str.CACLSecurity::NAIsUserInLocalGroup
push 2
push ecx
call eax
add esp, 0x14
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x42748e
push eax
call sub.NETAPI32.dll_NetApiBufferFree
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0051973e
add esp, 0x80
ret 8