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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a5b9d
mov eax, dword fs:[0]
push eax
sub esp, 0x77c
mov eax, dword [0x100ed294]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x778], ecx
mov dword [ebp - 0x774], 0
mov eax, dword [0x100efd78]
and eax, 1
jne 0x10029d02
mov ecx, dword [0x100efd78]
or ecx, 1
mov dword [0x100efd78], ecx
mov dword [ebp - 4], 0
push str.gighmmpiobklfepjocnamgkkbiglidom
lea ecx, [ebp - 0x75c]
call fcn.100087d0
mov byte [ebp - 4], 1
push str.cfhdojbkjhnklbpkdaibdccddilifddb
lea ecx, [ebp - 0x758]
call fcn.100087d0
mov byte [ebp - 4], 2
push str.bgnkhhnnamicmpeenaelnjfhikgbkllg
lea ecx, [ebp - 0x754]
call fcn.100087d0
mov byte [ebp - 4], 3
push 0x100b6d10
lea ecx, [ebp - 0x750]
call fcn.100087d0
mov byte [ebp - 4], 4
push 0x100b6d80
lea ecx, [ebp - 0x74c]
call fcn.100087d0
mov byte [ebp - 4], 5
push str.jjmnodmnjioloohkajephjnljefnpofk
lea ecx, [ebp - 0x748]
call fcn.100087d0
mov byte [ebp - 4], 6
push str.npdmbbiopnooephgmjlebjgkkhljambm
lea ecx, [ebp - 0x744]
call fcn.100087d0
mov byte [ebp - 4], 7
push str.khikalbjeipalegfaggfglmbjjnoppdg
lea ecx, [ebp - 0x740]
call fcn.100087d0
mov byte [ebp - 4], 8
push 0x100b6ec0
lea ecx, [ebp - 0x73c]
call fcn.100087d0
mov byte [ebp - 4], 9
push 0x100b6f08
lea ecx, [ebp - 0x738]
call fcn.100087d0
mov byte [ebp - 4], 0xa
push 0x100b6f50
lea ecx, [ebp - 0x734]
call fcn.100087d0
mov byte [ebp - 4], 0xb
push 0x100b6f98
lea ecx, [ebp - 0x730]
call fcn.100087d0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x761]
call fcn.100089f0
push eax
lea edx, [ebp - 0x72c]
push edx
lea eax, [ebp - 0x75c]
push eax
lea ecx, [ebp - 0x788]
call fcn.10009970
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
mov ecx, 0x100efd6c
call fcn.10026ec0
mov byte [ebp - 4], 0
push fcn.10009e40
push 0xc
push 4
lea eax, [ebp - 0x75c]
push eax
call fcn.100634a5
push 0x100aa7d0
call fcn.100631e2
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x208
push 0
lea ecx, [ebp - 0x71c]
push ecx
call fcn.1006cfe0
add esp, 0xc
push 0
push 0x1c
lea edx, [ebp - 0x71c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
jne 0x10029d42
push 0x100b6fe0
lea eax, [ebp - 0x71c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x208
push 0
lea ecx, [ebp - 0x30c]
push ecx
call fcn.1006cfe0
add esp, 0xc
mov dword [ebp - 0x76c], 1
mov dword [ebp - 0x768], 0x104
mov edx, 0x53
mov word [ebp - 0x88], dx
mov eax, 0x6f
mov word [ebp - 0x86], ax
mov ecx, 0x66
mov word [ebp - 0x84], cx
mov edx, 0x74
mov word [ebp - 0x82], dx
mov eax, 0x77
mov word [ebp - 0x80], ax
mov ecx, 0x61
mov word [ebp - 0x7e], cx
mov edx, 0x72
mov word [ebp - 0x7c], dx
mov eax, 0x65
mov word [ebp - 0x7a], ax
mov ecx, 0x5c
mov word [ebp - 0x78], cx
mov edx, 0x4d
mov word [ebp - 0x76], dx
mov eax, 0x69
mov word [ebp - 0x74], ax
mov ecx, 0x63
mov word [ebp - 0x72], cx
mov edx, 0x72
mov word [ebp - 0x70], dx
mov eax, 0x6f
mov word [ebp - 0x6e], ax
mov ecx, 0x73
mov word [ebp - 0x6c], cx
mov edx, 0x6f
mov word [ebp - 0x6a], dx
mov eax, 0x66
mov word [ebp - 0x68], ax
mov ecx, 0x74
mov word [ebp - 0x66], cx
mov edx, 0x5c
mov word [ebp - 0x64], dx
mov eax, 0x57
mov word [ebp - 0x62], ax
mov ecx, 0x69
mov word [ebp - 0x60], cx
mov edx, 0x6e
mov word [ebp - 0x5e], dx
mov eax, 0x64
mov word [ebp - 0x5c], ax
mov ecx, 0x6f
mov word [ebp - 0x5a], cx
mov edx, 0x77
mov word [ebp - 0x58], dx
mov eax, 0x73
mov word [ebp - 0x56], ax
mov ecx, 0x5c
mov word [ebp - 0x54], cx
mov edx, 0x43
mov word [ebp - 0x52], dx
mov eax, 0x75
mov word [ebp - 0x50], ax
mov ecx, 0x72
mov word [ebp - 0x4e], cx
mov edx, 0x72
mov word [ebp - 0x4c], dx
mov eax, 0x65
mov word [ebp - 0x4a], ax
mov ecx, 0x6e
mov word [ebp - 0x48], cx
mov edx, 0x74
mov word [ebp - 0x46], dx
mov eax, 0x56
mov word [ebp - 0x44], ax
mov ecx, 0x65
mov word [ebp - 0x42], cx
mov edx, 0x72
mov word [ebp - 0x40], dx
mov eax, 0x73
mov word [ebp - 0x3e], ax
mov ecx, 0x69
mov word [ebp - 0x3c], cx
mov edx, 0x6f
mov word [ebp - 0x3a], dx
mov eax, 0x6e
mov word [ebp - 0x38], ax
mov ecx, 0x5c
mov word [ebp - 0x36], cx
mov edx, 0x55
mov word [ebp - 0x34], dx
mov eax, 0x6e
mov word [ebp - 0x32], ax
mov ecx, 0x69
mov word [ebp - 0x30], cx
mov edx, 0x6e
mov word [ebp - 0x2e], dx
mov eax, 0x73
mov word [ebp - 0x2c], ax
mov ecx, 0x74
mov word [ebp - 0x2a], cx
mov edx, 0x61
mov word [ebp - 0x28], dx
mov eax, 0x6c
mov word [ebp - 0x26], ax
mov ecx, 0x6c
mov word [ebp - 0x24], cx
mov edx, 0x5c
mov word [ebp - 0x22], dx
mov eax, 0x33
mov word [ebp - 0x20], ax
mov ecx, 0x36
mov word [ebp - 0x1e], cx
mov edx, 0x30
mov word [ebp - 0x1c], dx
mov eax, 0x73
mov word [ebp - 0x1a], ax
mov ecx, 0x65
mov word [ebp - 0x18], cx
mov edx, 0x36
mov word [ebp - 0x16], dx
xor eax, eax
mov word [ebp - 0x14], ax
lea ecx, [ebp - 0x768]
push ecx
lea edx, [ebp - 0x30c]
push edx
lea eax, [ebp - 0x76c]
push eax
push 0x100b6bc4
lea ecx, [ebp - 0x88]
push ecx
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10029fd7
lea edx, [ebp - 0x30c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x100b6be4
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x208
push 0
lea ecx, [ebp - 0x514]
push ecx
call fcn.1006cfe0
add esp, 0xc
mov dword [ebp - 0x76c], 1
mov dword [ebp - 0x768], 0x104
mov edx, 0x53
mov word [ebp - 0x104], dx
mov eax, 0x6f
mov word [ebp - 0x102], ax
mov ecx, 0x66
mov word [ebp - 0x100], cx
mov edx, 0x74
mov word [ebp - 0xfe], dx
mov eax, 0x77
mov word [ebp - 0xfc], ax
mov ecx, 0x61
mov word [ebp - 0xfa], cx
mov edx, 0x72
mov word [ebp - 0xf8], dx
mov eax, 0x65
mov word [ebp - 0xf6], ax
mov ecx, 0x5c
mov word [ebp - 0xf4], cx
mov edx, 0x4d
mov word [ebp - 0xf2], dx
mov eax, 0x69
mov word [ebp - 0xf0], ax
mov ecx, 0x63
mov word [ebp - 0xee], cx
mov edx, 0x72
mov word [ebp - 0xec], dx
mov eax, 0x6f
mov word [ebp - 0xea], ax
mov ecx, 0x73
mov word [ebp - 0xe8], cx
mov edx, 0x6f
mov word [ebp - 0xe6], dx
mov eax, 0x66
mov word [ebp - 0xe4], ax
mov ecx, 0x74
mov word [ebp - 0xe2], cx
mov edx, 0x5c
mov word [ebp - 0xe0], dx
mov eax, 0x57
mov word [ebp - 0xde], ax
mov ecx, 0x69
mov word [ebp - 0xdc], cx
mov edx, 0x6e
mov word [ebp - 0xda], dx
mov eax, 0x64
mov word [ebp - 0xd8], ax
mov ecx, 0x6f
mov word [ebp - 0xd6], cx
mov edx, 0x77
mov word [ebp - 0xd4], dx
mov eax, 0x73
mov word [ebp - 0xd2], ax
mov ecx, 0x5c
mov word [ebp - 0xd0], cx
mov edx, 0x43
mov word [ebp - 0xce], dx
mov eax, 0x75
mov word [ebp - 0xcc], ax
mov ecx, 0x72
mov word [ebp - 0xca], cx
mov edx, 0x72
mov word [ebp - 0xc8], dx
mov eax, 0x65
mov word [ebp - 0xc6], ax
mov ecx, 0x6e
mov word [ebp - 0xc4], cx
mov edx, 0x74
mov word [ebp - 0xc2], dx
mov eax, 0x56
mov word [ebp - 0xc0], ax
mov ecx, 0x65
mov word [ebp - 0xbe], cx
mov edx, 0x72
mov word [ebp - 0xbc], dx
mov eax, 0x73
mov word [ebp - 0xba], ax
mov ecx, 0x69
mov word [ebp - 0xb8], cx
mov edx, 0x6f
mov word [ebp - 0xb6], dx
mov eax, 0x6e
mov word [ebp - 0xb4], ax
mov ecx, 0x5c
mov word [ebp - 0xb2], cx
mov edx, 0x55
mov word [ebp - 0xb0], dx
mov eax, 0x6e
mov word [ebp - 0xae], ax
mov ecx, 0x69
mov word [ebp - 0xac], cx
mov edx, 0x6e
mov word [ebp - 0xaa], dx
mov eax, 0x73
mov word [ebp - 0xa8], ax
mov ecx, 0x74
mov word [ebp - 0xa6], cx
mov edx, 0x61
mov word [ebp - 0xa4], dx
mov eax, 0x6c
mov word [ebp - 0xa2], ax
mov ecx, 0x6c
mov word [ebp - 0xa0], cx
mov edx, 0x5c
mov word [ebp - 0x9e], dx
mov eax, 0x33
mov word [ebp - 0x9c], ax
mov ecx, 0x36
mov word [ebp - 0x9a], cx
mov edx, 0x30
mov word [ebp - 0x98], dx
mov eax, 0x43
mov word [ebp - 0x96], ax
mov ecx, 0x68
mov word [ebp - 0x94], cx
mov edx, 0x72
mov word [ebp - 0x92], dx
mov eax, 0x6f
mov word [ebp - 0x90], ax
mov ecx, 0x6d
mov word [ebp - 0x8e], cx
mov edx, 0x65
mov word [ebp - 0x8c], dx
xor eax, eax
mov word [ebp - 0x8a], ax
lea ecx, [ebp - 0x768]
push ecx
lea edx, [ebp - 0x514]
push edx
lea eax, [ebp - 0x76c]
push eax
push str.InstallLocation
lea ecx, [ebp - 0x104]
push ecx
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1002a335
lea edx, [ebp - 0x514]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.User_DataDefaultExtensions
lea eax, [ebp - 0x514]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x71c]
mov dword [ebp - 0x728], ecx
lea edx, [ebp - 0x30c]
mov dword [ebp - 0x724], edx
lea eax, [ebp - 0x514]
mov dword [ebp - 0x720], eax
mov dword [ebp - 0x760], 0
jmp 0x1002a374
mov ecx, dword [ebp - 0x760]
add ecx, 1
mov dword [ebp - 0x760], ecx
cmp dword [ebp - 0x760], 3
jge 0x1002a41b
lea edx, [ebp - 0x770]
push edx
mov ecx, 0x100efd6c
call fcn.1002ada0
jmp 0x1002a3a8
push 0
lea eax, [ebp - 0x77c]
push eax
lea ecx, [ebp - 0x770]
call fcn.10027700
lea ecx, [ebp - 0x780]
push ecx
mov ecx, 0x100efd6c
call fcn.1002ae00
push eax
lea ecx, [ebp - 0x770]
call fcn.10027680
movzx edx, al
test edx, edx
je 0x1002a40b
lea ecx, [ebp - 0x770]
call fcn.100276c0
mov ecx, eax
call fcn.1000ad70
push eax
mov eax, dword [ebp - 0x760]
mov ecx, dword [ebp + eax*4 - 0x728]
push ecx
mov ecx, dword [ebp - 0x778]
call fcn.1002a450
cmp eax, 1
jne 0x1002a409
mov dword [ebp - 0x774], 1
jmp 0x1002a40b
jmp 0x1002a394
cmp dword [ebp - 0x774], 1
jne 0x1002a416
jmp 0x1002a41b
jmp 0x1002a365
xor edx, edx
jne 0x10029d02
mov eax, dword [ebp - 0x774]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100633f2
mov esp, ebp
pop ebp
ret