Function at 0x407720
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3f1d
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x4e5070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0xdc]
mov edx, edi
lea ecx, [ebp - 0x278]
call fcn.00410ac0
push eax
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 4], 0
call fcn.0040aa00
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x264]
cmp eax, 8
jb 0x40779b
inc eax
lea ecx, [ebp - 0x278]
push eax
push dword [ebp - 0x278]
call fcn.00404770
xor eax, eax
mov dword [ebp - 0x264], 7
push ecx
lea edx, [ebp - 0x2a8]
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
call fcn.0040e1d0
add esp, 4
mov dword [ebp - 0x21c], 7
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x230]
mov word [ebp - 0x230], ax
push 0xb
push str.DisplayName
call fcn.004036e0
mov edx, edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
call fcn.00410ac0
push ecx
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x2a8]
call fcn.0040e4e0
mov eax, dword [ebp - 0x234]
add esp, 0xc
cmp eax, 8
jb 0x407840
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00404770
xor eax, eax
mov byte [ebp - 4], 2
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
cmp eax, 8
jb 0x40787f
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00404770
lea ebx, [esi + 0xc4]
push 0x4c966c
mov edx, ebx
lea ecx, [ebp - 0x290]
call fcn.0040a8a0
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x230]
push 0xf
xor eax, eax
mov dword [ebp - 0x21c], 7
push str.UninstallString
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.004036e0
lea edx, [ebp - 0x290]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x248]
call fcn.00410ac0
push ecx
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x2a8]
call fcn.0040e4e0
mov eax, dword [ebp - 0x234]
add esp, 0xc
cmp eax, 8
jb 0x40791b
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00404770
xor eax, eax
mov byte [ebp - 4], 5
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
cmp eax, 8
jb 0x40795a
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00404770
push 0x4c95c4
mov edx, ebx
lea ecx, [ebp - 0x278]
call fcn.0040a8a0
add esp, 4
lea ecx, [esi + 0x94]
mov byte [ebp - 4], 8
push ecx
mov edx, eax
lea ecx, [ebp - 0x248]
call fcn.0040a9b0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x308]
call fcn.00410ac0
mov eax, dword [ebp - 0x234]
cmp eax, 0x10
jb 0x4079b9
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00403e20
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x264]
cmp eax, 0x10
jb 0x4079f6
inc eax
lea ecx, [ebp - 0x278]
push eax
push dword [ebp - 0x278]
call fcn.00403e20
push 0xb
xor eax, eax
mov dword [ebp - 0x264], 0xf
push str.DisplayIcon
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x268], 0
mov byte [ebp - 0x278], 0
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.004036e0
push ecx
lea eax, [ebp - 0x308]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x230]
push eax
lea edx, [ebp - 0x2a8]
call fcn.0040e4e0
mov byte [ebp - 4], 0xc
add esp, 0xc
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x407a83
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00404770
push 9
xor eax, eax
mov dword [ebp - 0x21c], 7
push str.Publisher
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.004036e0
lea edx, [esi + 0x7c]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x260]
call fcn.00410ac0
push ecx
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0xf
push eax
lea edx, [ebp - 0x2a8]
call fcn.0040e4e0
mov eax, dword [ebp - 0x24c]
add esp, 0xc
cmp eax, 8
jb 0x407afd
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00404770
xor eax, eax
mov byte [ebp - 4], 0xc
mov word [ebp - 0x260], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
cmp eax, 8
jb 0x407b3c
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00404770
push 0xe
xor eax, eax
mov dword [ebp - 0x21c], 7
push str.DisplayVersion
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.004036e0
lea edx, [esi + 0x64]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x260]
call fcn.00410ac0
push ecx
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x11
push eax
lea edx, [ebp - 0x2a8]
call fcn.0040e4e0
mov eax, dword [ebp - 0x24c]
add esp, 0xc
cmp eax, 8
jb 0x407bb6
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00404770
xor eax, eax
mov byte [ebp - 4], 0xc
mov word [ebp - 0x260], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
cmp eax, 8
jb 0x407bf5
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00404770
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00498020
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 2
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4c966c
mov edx, ebx
lea ecx, [ebp - 0x260]
call fcn.0040a8a0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x2f0]
call fcn.00410ac0
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x24c]
cmp eax, 0x10
jb 0x407c66
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00403e20
push edi
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x24c], 0xf
mov dword [ebp - 0x250], 0
mov byte [ebp - 0x260], 0
call fcn.0040aa50
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2d8]
call fcn.00410ac0
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x234]
cmp eax, 0x10
jb 0x407cc3
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00403e20
lea eax, [ebp - 0x218]
mov dword [ebp - 0x234], 0xf
push eax
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
call fcn.004031c0
mov edx, edi
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x278]
call fcn.00410ac0
mov esi, eax
push 0x4c9500
lea edx, [ebp - 0x2c0]
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x248]
call fcn.0040ab80
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x260]
call fcn.0040ac90
add esp, 4
lea ecx, [ebp - 0x2c0]
push eax
call fcn.00403140
lea ecx, [ebp - 0x260]
call fcn.00403100
lea ecx, [ebp - 0x248]
call fcn.00403100
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x18
call fcn.00403100
mov edx, ebx
lea ecx, [ebp - 0x260]
call fcn.00410ac0
mov esi, eax
mov byte [ebp - 4], 0x1b
lea edi, [ebp - 0x2d8]
mov eax, dword [ebp - 0x2c4]
cmp eax, 8
mov ecx, dword [ebp - 0x2d8]
cmovae edi, ecx
cmp dword [esi + 0x14], 8
jb 0x407d99
mov esi, dword [esi]
cmp eax, 8
lea edx, [ebp - 0x2d8]
lea eax, [ebp - 0x2c0]
cmovae edx, ecx
cmp dword [ebp - 0x2ac], 8
lea ecx, [ebp - 0x2f0]
cmovae eax, dword [ebp - 0x2c0]
cmp dword [ebp - 0x2dc], 8
cmovae ecx, dword [ebp - 0x2f0]
push ecx
push edi
push ecx
push esi
push ecx
push edx
push eax
xor edx, edx
call fcn.00407350
add esp, 0x1c
lea ecx, [ebp - 0x260]
call fcn.00403100
lea ecx, [ebp - 0x2c0]
call fcn.00403100
lea ecx, [ebp - 0x2d8]
call fcn.00403100
lea ecx, [ebp - 0x2f0]
call fcn.00403100
lea ecx, [ebp - 0x308]
call fcn.00403100
mov eax, dword [ebp - 0x27c]
cmp eax, 0x10
jb 0x407e33
inc eax
lea ecx, [ebp - 0x290]
push eax
push dword [ebp - 0x290]
call fcn.00403e20
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x27c], 0xf
mov dword [ebp - 0x280], 0
mov byte [ebp - 0x290], 0
call fcn.00403100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493122
mov esp, ebp
pop ebp
ret