Function at 0x47e770
Capabilities:
Compare security identifiers
Get hostname
Get memory capacity
Get session user name
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d6d2
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x18e4
call fcn.00537550
mov eax, dword [0x5f6ea4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push str._SYSTEM_INFO_
call fcn.0046b090
add esp, 4
mov dword [ebp - 0x6a4], 4
lea eax, [ebp - 0x6a4]
push eax
lea eax, [ebp - 0x6b0]
push eax
push 0
push 0x10010
push str.Install
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Full
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
movzx eax, byte [0x5ff84c]
mov ebx, 1
cmp dword [ebp - 0x6b0], ebx
push 0x104
push 0x5ff1b0
cmove eax, ebx
push 0
mov byte [0x5ff84c], al
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5ff1b0
push 0x104
push 0x5fefa8
call fcn.0055a3d6
add esp, 0xc
push 0x5fefa8
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x5ff1b0
push 0x104
push 0x5ff3b8
call fcn.0055a3d6
add esp, 0xc
push 0x5ff3b8
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push 0x5ff3b8
lea eax, [ebp - 0x69c]
push 0x104
push eax
call fcn.0055a3d6
add esp, 0xc
lea eax, [ebp - 0x69c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
cmp byte [0x5ff84c], 0
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push 0x5fefa8
je 0x47e898
push str._sgui40.exe
jmp 0x47e89d
push str._sgui35.exe
push 0x5ff5c0
call esi
mov ecx, 0x5fefa8
add esp, 0xc
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47e8b0
sub ecx, edx
sar ecx, 1
push ecx
push 0x5fefa8
mov ecx, 0x5f7eb8
call fcn.0044b740
push 0x13
push str.global_options.ini
mov ecx, 0x5f7eb8
call fcn.00452fa0
push str.SYSTEMDRIVE
call fcn.00559786
mov edx, eax
mov dword [ebp - 0x6d4], 0
mov ecx, edx
mov dword [ebp - 0x6d0], 7
add esp, 4
xor eax, eax
mov word [ebp - 0x6e4], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47e911
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x6e4]
call fcn.0044b740
push 0x11
push str._temp_session.tmp
lea ecx, [ebp - 0x6e4]
mov dword [ebp - 4], 0
call fcn.00452fa0
cmp dword [ebp - 0x6d0], 8
lea eax, [ebp - 0x6e4]
cmovae eax, dword [ebp - 0x6e4]
push eax
push 0x40
push 0x5ff7c8
call fcn.0055a3d6
add esp, 0xc
lea eax, [ebp - 0x77c]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x80
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.0054ec00
add esp, 0xc
lea eax, [ebp - 0x898]
mov ecx, 0x11c
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x47e9a0
lea eax, [ebp - 0x898]
mov dword [ebp - 0x898], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x47e9e9
push dword [ebp - 0x88c]
lea eax, [ebp - 0x94]
push dword [ebp - 0x890]
push dword [ebp - 0x894]
push str._i._i._i
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x758]
mov dword [ebp - 0x758], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov esi, dword [ebp - 0x750]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x74c]
mov ecx, dword [ebp - 0x748]
shrd esi, eax, 0x14
mov eax, dword [ebp - 0x744]
shrd ecx, eax, 0x14
push 0
movlpd qword [ebp - 0x6ac], xmm0
push 0
mov dword [ebp - 0x18e4], esi
mov dword [ebp - 0x18ec], esi
mov dword [ebp - 0x18e8], ecx
mov dword [ebp - 0x18f0], ecx
mov dword [ebp - 0x6ac], 0
mov dword [ebp - 0x6a8], 0
call fcn.0047f330
mov edi, eax
mov dword [ebp - 0x6ac], edi
lea eax, [ebp - 0x18d0]
mov byte [ebp - 4], 1
push eax
push 0x20008
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x47ee7d
lea eax, [ebp - 0x718]
push eax
push 4
lea eax, [ebp - 0x6b4]
push eax
push 0x12
push dword [ebp - 0x18d0]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x47eac5
movzx eax, byte [0x5fdba3]
cmp dword [ebp - 0x6b4], 3
cmovne eax, ebx
mov byte [0x5fdba3], al
xor esi, esi
mov dword [ebp - 0x18d8], 0
lea eax, [ebp - 0x18d8]
mov dword [ebp - 0x18dc], 0
push eax
lea ecx, [esi + 0x1a]
call fcn.0047e6d0
add esp, 4
test eax, eax
je 0x47ee30
lea eax, [ebp - 0x18dc]
push eax
lea ecx, [esi + 0x16]
call fcn.0047e6d0
add esp, 4
test eax, eax
je 0x47ee30
mov eax, dword [ebp - 0x18d0]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp - 0x18d4], eax
mov dword [ebp - 0x6a0], 0x1000
call ebx
push 0x1000
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x6a0]
mov esi, eax
xor eax, eax
test esi, esi
cmove ecx, eax
lea eax, [ebp - 0x6a0]
push eax
push ecx
push esi
push 2
push dword [ebp - 0x18d4]
mov dword [ebp - 0x6a0], ecx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x47ebcf
nop dword [eax + eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x47ebcf
test esi, esi
je 0x47eb8b
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebp - 0x6a0]
call ebx
push esi
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x47ebc5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x6a0]
push esi
push 2
push dword [ebp - 0x18d4]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x47eb70
jmp 0x47ebcf
mov dword [ebp - 0x6a0], 0
mov dword [ebp - 0x18e0], esi
xor ebx, ebx
cmp ebx, dword [esi]
jae 0x47ee2b
push dword [ebp - 0x18d8]
push dword [esi + ebx*8 + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x47ebfc
mov byte [0x5ff84b], 1
jmp 0x47ec29
push dword [ebp - 0x18dc]
push dword [esi + ebx*8 + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x47ec29
test byte [esi + ebx*8 + 8], 4
mov ecx, 1
movzx eax, byte [0x5ff848]
cmovne eax, ecx
mov byte [0x5ff848], al
xor eax, eax
mov dword [ebp - 0x8bc], 0
mov dword [ebp - 0x8b8], 7
mov word [ebp - 0x8cc], ax
mov dword [ebp - 0x8a0], eax
mov dword [ebp - 0x89c], 7
mov word [ebp - 0x8b0], ax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18cc]
mov edx, dword [esi + ebx*8 + 8]
mov ecx, dword [esi + ebx*8 + 4]
push eax
call fcn.0047e4b0
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x18cc]
add esp, 4
mov dword [ebp - 0x18d4], eax
push ecx
push eax
push edi
call fcn.0047f3b0
mov edx, dword [ebp - 0x6a8]
mov ecx, 0xfc4dc
sub ecx, edx
cmp ecx, 1
jb 0x47f1c2
mov ecx, dword [ebp - 0x18d4]
inc edx
mov dword [edi + 4], eax
mov dword [ebp - 0x6a8], edx
mov dword [ecx], eax
lea ecx, [ebp - 0x18cc]
call fcn.0047f1e0
mov edi, dword [ebp - 0x6ac]
inc ebx
jmp 0x47ebd7
mov ebx, 1
mov dword [ebp - 4], 1
test esi, esi
je 0x47ee4b
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x18d8]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
test eax, eax
je 0x47ee5e
push eax
call esi
mov eax, dword [ebp - 0x18dc]
test eax, eax
je 0x47ee6b
push eax
call esi
push dword [ebp - 0x18d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x18e4]
push str.LOCALAPPDATA
call fcn.00559786
mov edx, eax
mov dword [ebp - 0x6bc], 0
mov ecx, edx
mov dword [ebp - 0x6b8], 7
add esp, 4
xor eax, eax
mov word [ebp - 0x6cc], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x18e0], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47eeb4
sub ecx, dword [ebp - 0x18e0]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x6cc]
call fcn.0044b740
mov byte [ebp - 4], 7
lea eax, [ebp - 0x6cc]
cmp dword [ebp - 0x6b8], 8
push str._systemprofile_
cmovae eax, dword [ebp - 0x6cc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
movzx ecx, byte [0x5ff848]
test eax, eax
mov eax, dword [ebp - 0x768]
cmovne ecx, ebx
mov dword [0x5fdfb4], eax
cmp word [ebp - 0x77c], 0
lea eax, [ebp - 0x6a4]
push eax
setne byte [0x5ff849]
mov byte [0x5ff848], cl
cmp byte [ebp - 0x77e], 2
lea eax, [ebp - 0x494]
push eax
sete byte [0x5ff84a]
mov dword [ebp - 0x6a4], 0x100
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x6a4]
mov dword [ebp - 0x6a4], 0x100
push eax
lea eax, [ebp - 0x294]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
cmp byte [0x5ff849], 0
mov ecx, 0x5e99dc
mov eax, 0x5e99e4
cmove eax, ecx
push eax
push str.WIN_ARCH:____s
call fcn.0046b090
lea eax, [ebp - 0x94]
push eax
push str.WIN_VER:_____s
call fcn.0046b090
push dword [0x5fdfb4]
push str.CORE_COUNT:__i
call fcn.0046b090
push esi
push str.MEM_TOTAL:___lu_Mb.
call fcn.0046b090
push dword [ebp - 0x18e8]
push str.MEM_AVAIL:___lu_Mb.
call fcn.0046b090
cmp byte [0x5ff84a], 0
mov esi, 0x5e9a74
mov eax, esi
mov ebx, 0x5e9ac4
cmove eax, ebx
push eax
push str.IS_DOMAIN:___s
call fcn.0046b090
cmp byte [0x5ff848], 0
mov eax, esi
cmove eax, ebx
push eax
push str.LOCAL_SYS:___s
call fcn.0046b090
cmp byte [0x5fdba3], 0
mov eax, esi
cmove eax, ebx
push eax
push str.ELEVATED:____s
call fcn.0046b090
add esp, 0x40
cmp byte [0x5ff84b], 0
cmove esi, ebx
push esi
push str.HAS_ADMIN:___s
call fcn.0046b090
lea eax, [ebp - 0x294]
push eax
push str.PC_NAME:_____s
call fcn.0046b090
lea eax, [ebp - 0x494]
push eax
push str.USER_NAME:___s
call fcn.0046b090
push str.IN_GROUPS:
call fcn.0046b090
mov esi, dword [edi]
add esp, 0x1c
cmp esi, edi
je 0x47f0a7
nop word [eax + eax]
cmp dword [esi + 0x101c], 8
lea eax, [esi + 0x1008]
jb 0x47f081
mov eax, dword [eax]
cmp dword [esi + 0x1038], 8
lea ecx, [esi + 0x1024]
jb 0x47f092
mov ecx, dword [ecx]
push eax
push ecx
push str._t_s_t_s
call fcn.0046b090
mov esi, dword [esi]
add esp, 0xc
cmp esi, edi
jne 0x47f070
push 0x5e2468
call fcn.0046b090
mov edx, dword [ebp - 0x6b8]
add esp, 4
cmp edx, 8
jb 0x47f0f4
mov ecx, dword [ebp - 0x6cc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47f0ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47f1cc
push edx
push ecx
call fcn.00536da7
add esp, 8
xor eax, eax
mov dword [ebp - 0x6bc], 0
mov dword [ebp - 0x6b8], 7
mov word [ebp - 0x6cc], ax
mov esi, dword [edi]
mov dword [edi], edi
mov dword [edi + 4], edi
cmp esi, edi
je 0x47f14f
nop dword [eax]
mov ebx, dword [esi]
lea ecx, [esi + 8]
call fcn.0047f1e0
mov ecx, dword [esi - 4]
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x47f1cc
push 0x105f
push ecx
call fcn.00536da7
add esp, 8
mov esi, ebx
cmp ebx, edi
jne 0x47f120
mov ecx, dword [edi - 4]
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x47f1d1
push 0x105f
push ecx
call fcn.00536da7
mov edx, dword [ebp - 0x6d0]
add esp, 8
cmp edx, 8
jb 0x47f1a6
mov ecx, dword [ebp - 0x6e4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47f19c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47f1d6
push edx
push ecx
call fcn.00536da7
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00536b66
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.00533fbe
call fcn.00552841
call fcn.00552841
call fcn.00552841
int3