Function at 0x1000daa0
Capabilities:
Get common file path
Get hostname
Get session user name
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x18], 0x57
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0x10
mov dword [ebp - 4], 0x104
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 4
cmp dword [ebp + 8], 0
je 0x1000dadc
cmp dword [ebp + 0xc], 0
jne 0x1000dae6
jmp 0x1000dd00
mov eax, dword [ebp + 0xc]
push eax
call fcn.100197e5
add esp, 4
cmp eax, 0x104
jb 0x1000db03
jmp 0x1000dd00
push 0x840
call fcn.10019329
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1000db2a
mov dword [ebp - 0x18], 8
jmp 0x1000dd00
push 0x840
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.10019150
add esp, 0xc
mov edx, dword [ebp - 0x1c]
push edx
call fcn.10010810
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
push 0x104
mov ecx, dword [ebp - 0x1c]
add ecx, 8
push ecx
call fcn.100190d5
add esp, 0xc
push 0x104
mov edx, dword [ebp - 0x1c]
add edx, 0x210
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x1000db8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
jmp 0x1000dd00
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 0x210]
push ecx
push str._C:Documents_and_Settings
push 0x104
mov edx, dword [ebp - 0x1c]
add edx, 0x418
push edx
call fcn.10018bc4
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x620
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x1c]
add eax, 0x630
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
add edx, 0x630
push edx
mov eax, dword [ebp - 0x1c]
add eax, 0x620
push eax
call fcn.10011160
add esp, 0xc
test eax, eax
jne 0x1000dc08
jmp 0x1000dd00
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.10019f90
add esp, 4
cmp eax, 0x104
jb 0x1000dc25
jmp 0x1000dd00
mov edx, dword [ebp - 0x10]
push edx
call fcn.10019f90
add esp, 4
push eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x734
push ecx
call fcn.10019480
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x838], 0xffffffff
lea eax, [ebp - 0xc]
push eax
push str.SYSTEMSelect
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1000dc9d
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x1c]
add edx, 0x838
push edx
push 0
push 0
push 0x10034f14
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 8], 4
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x83c], 0xffffffff
lea eax, [ebp - 0xc]
push eax
push str.SYSTEMCurrentControlSetControlIDConfigDB
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1000dcf9
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x1c]
add edx, 0x83c
push edx
push 0
push 0
push str.CurrentCOnfig
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x10], 0
je 0x1000dd10
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x18], 0
je 0x1000dd2f
cmp dword [ebp - 0x1c], 0
je 0x1000dd2f
mov eax, dword [ebp - 0x1c]
push eax
call fcn.100193ec
add esp, 4
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 8], 0
je 0x1000dd3d
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret