Function at 0x100065c0
Capabilities:
Get hostname
Get session user name
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x10020060]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x110], 0x100196a8
mov dword [ebp - 0x108], 0xff
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp + 8]
mov dword [eax], 2
mov dword [ebp - 0x128], str.SoftwareMicrosoftWindows_NTCurrentVersion
mov dword [ebp - 0x130], str.InstallDate
mov dword [ebp - 0x12c], str.ProductName
lea ecx, [ebp - 0x118]
push ecx
push 0x20019
call fcn.100065a0
add esp, 4
push eax
push 0
mov edx, dword [ebp - 0x128]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10006654
mov dword [ebp - 0x110], 0x100196f4
jmp 0x100068b9
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x104]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10006899
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x124], 0x100
jae 0x1000669c
jmp 0x100066a1
call fcn.100091c3
mov edx, dword [ebp - 0x124]
mov byte [ebp + edx - 0x104], 0
mov eax, dword [ebp - 0x108]
add eax, 0x211
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.1000829b
add esp, 4
mov dword [ebp - 0x10c], eax
push 0x1001969d
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x10c]
push eax
call fcn.1000929f
add esp, 0xc
lea ecx, [ebp - 0x104]
push ecx
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x10c]
push eax
call fcn.100092f4
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x108]
mov dword [ecx], edx
mov eax, dword [ebp - 0x10c]
push eax
call fcn.10007500
add esp, 4
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x108], 0x10
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x10c]
add edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x108]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0x10c]
push eax
call fcn.10007500
add esp, 4
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x108], 0x101
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x10c]
add edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x100067c5
mov eax, dword [ebp - 0x10c]
push eax
call fcn.10008263
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], 2
mov dword [ebp - 0x110], 0x100196f8
jmp 0x10006897
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x108]
lea edx, [ecx + eax - 1]
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov dword [ebp - 0x108], 0xff
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x104]
push edx
push 0
push 0
mov eax, dword [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10006831
mov edx, dword [ebp - 0x10c]
push edx
call fcn.10008263
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax], 2
mov dword [ebp - 0x110], 0x100196fc
jmp 0x10006897
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x120], ecx
cmp dword [ebp - 0x120], 0x100
jae 0x1000684b
jmp 0x10006850
call fcn.100091c3
mov edx, dword [ebp - 0x120]
mov byte [ebp + edx - 0x104], 0
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x10c]
push edx
call fcn.100092f4
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x108]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x110], eax
jmp 0x100068ac
mov ecx, dword [ebp + 8]
mov dword [ecx], 2
mov dword [ebp - 0x110], 0x10019700
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000837e
mov esp, ebp
pop ebp
ret