Function at 0x10005f60
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10174cbc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x110]
push eax
push 1
push 0
push 0x1012cb84
push reloc.DSOUND.dll_DirectSoundCreate
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, 0x104
test eax, eax
jne 0x10005fe2
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x10c]
push ecx
mov ecx, dword [ebp - 0x110]
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x114]
push eax
push 0
push 0x1012cb80
push ecx
mov dword [ebp - 0x10c], ebx
call edi
test eax, eax
je 0x100060dd
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x118], esp
push str.Noname1
mov dword [esi + 0xb8], 1
call fcn.100038b0
push 1
mov ecx, esi
call fcn.10005cb0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x118], esp
push str.Noname2
call fcn.100038b0
push 2
mov ecx, esi
call fcn.10005cb0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x118], esp
push str.Noname3
call fcn.100038b0
push 3
mov ecx, esi
call fcn.10005cb0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x118], esp
push str.Noname4
call fcn.100038b0
push 4
mov ecx, esi
call fcn.10005cb0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x118], esp
push str.Noname5
call fcn.100038b0
push 5
mov ecx, esi
call fcn.10005cb0
lea eax, [ebp - 0x108]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x108]
push ecx
lea edx, [esi + 0xbc]
push 0x1012ccc4
push edx
call fcn.10002930
add esp, 0xc
push 8
lea ecx, [esi + 0xc0]
push str.Maximize
call fcn.10002600
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10105aee
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x108]
push ecx
lea edx, [esi + 0xd8]
push 0x1012ccc4
push edx
call fcn.10002930
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x114]
push edx
push 0
push 0
push eax
mov dword [ebp - 0x10c], ebx
call edi
test eax, eax
je 0x10006132
lea ecx, [ebp - 0x108]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [ebp - 0x108]
push edx
lea eax, [esi + 0xbc]
push 0x1012ccc4
push eax
call fcn.10002930
add esp, 0xc
lea ecx, [ebp - 0x10c]
push ecx
mov ecx, dword [ebp - 0x110]
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x114]
push eax
push 0
push 0x1012cb7c
push ecx
mov dword [ebp - 0x10c], ebx
call edi
test eax, eax
je 0x1000618e
push str.Noname1
lea ecx, [esi + 0xd4]
call fcn.10003870
jmp 0x100061a9
lea edx, [ebp - 0x108]
push edx
lea eax, [esi + 0xd4]
push 0x1012ccc4
push eax
call fcn.10002930
add esp, 0xc
lea ecx, [ebp - 0x10c]
push ecx
mov ecx, dword [ebp - 0x110]
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x114]
push eax
push 0
push 0x1012cb78
push ecx
mov dword [ebp - 0x10c], ebx
call edi
test eax, eax
je 0x100061ea
push str.Noname2
lea ecx, [esi + 0xd0]
call fcn.10003870
jmp 0x10006205
lea edx, [ebp - 0x108]
push edx
lea eax, [esi + 0xd0]
push 0x1012ccc4
push eax
call fcn.10002930
add esp, 0xc
lea ecx, [ebp - 0x10c]
push ecx
mov ecx, dword [ebp - 0x110]
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x114]
push eax
push 0
push 0x1012cb74
push ecx
mov dword [ebp - 0x10c], ebx
call edi
test eax, eax
je 0x10006246
push str.Noname3
lea ecx, [esi + 0xcc]
call fcn.10003870
jmp 0x10006261
lea edx, [ebp - 0x108]
push edx
lea eax, [esi + 0xcc]
push 0x1012ccc4
push eax
call fcn.10002930
add esp, 0xc
lea ecx, [ebp - 0x10c]
push ecx
mov ecx, dword [ebp - 0x110]
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x114]
push eax
push 0
push 0x1012cb70
push ecx
mov dword [ebp - 0x10c], ebx
call edi
test eax, eax
je 0x100062a2
push str.Noname4
lea ecx, [esi + 0xc8]
call fcn.10003870
jmp 0x100062bd
lea edx, [ebp - 0x108]
push edx
lea eax, [esi + 0xc8]
push 0x1012ccc4
push eax
call fcn.10002930
add esp, 0xc
lea ecx, [ebp - 0x10c]
push ecx
mov ecx, dword [ebp - 0x110]
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x114]
push eax
push 0
push str.543210
push ecx
mov dword [ebp - 0x10c], ebx
call edi
test eax, eax
je 0x100062fe
push str.Noname5
lea ecx, [esi + 0xc4]
call fcn.10003870
jmp 0x10006319
lea edx, [ebp - 0x108]
push edx
lea eax, [esi + 0xc4]
push 0x1012ccc4
push eax
call fcn.10002930
add esp, 0xc
lea ecx, [ebp - 0x10c]
push ecx
mov ecx, dword [ebp - 0x110]
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x114]
push eax
push 0
push str.Window
push ecx
mov dword [ebp - 0x10c], ebx
call edi
test eax, eax
je 0x1000635a
lea ecx, [esi + 0xc0]
push str.Maximize
call fcn.10003870
jmp 0x10006375
lea edx, [ebp - 0x108]
push edx
lea eax, [esi + 0xc0]
push 0x1012ccc4
push eax
call fcn.10002930
add esp, 0xc
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.10105aee
mov esp, ebp
pop ebp
ret