Function at 0x10006720
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 - 0x108], 0xff
mov dword [ebp - 0x110], 0x10019690
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.10006700
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 0x100067b4
mov dword [ebp - 0x110], 0x100196dc
jmp 0x10006a19
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 0x100069f9
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x124], 0x100
jae 0x100067fc
jmp 0x10006801
call fcn.100092d3
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.100083ab
add esp, 4
mov dword [ebp - 0x10c], eax
push 0x10019685
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x10c]
push eax
call fcn.100093af
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.10009404
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.10007610
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.10007610
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 0x10006925
mov eax, dword [ebp - 0x10c]
push eax
call fcn.10008373
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], 2
mov dword [ebp - 0x110], 0x100196e0
jmp 0x100069f7
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 0x10006991
mov edx, dword [ebp - 0x10c]
push edx
call fcn.10008373
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax], 2
mov dword [ebp - 0x110], 0x100196e4
jmp 0x100069f7
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x120], ecx
cmp dword [ebp - 0x120], 0x100
jae 0x100069ab
jmp 0x100069b0
call fcn.100092d3
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.10009404
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 0x10006a0c
mov ecx, dword [ebp + 8]
mov dword [ecx], 2
mov dword [ebp - 0x110], 0x100196e8
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.1000848e
mov esp, ebp
pop ebp
ret