Function at 0x407022
Capabilities:
Get common file path

Disassembly:
mov eax, 0x433738
call fcn.0041bd98
sub esp, 0x22c
push ebx
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x24]
push edi
push eax
xor edi, edi
push 2
push edi
call esi
mov ebx, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 0x24]
call ebx
lea eax, [ebp - 0x24]
push eax
push 0x10
push edi
call esi
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x24]
call ebx
lea eax, [ebp - 0x134]
lea ecx, [ebp - 0x18]
push eax
call fcn.0042b00b
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x2c]
push eax
mov dword [ebp - 4], edi
call fcn.0042b00b
lea eax, [ebp - 0x18]
push 0x43c530
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.0042b1e6
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
push eax
call fcn.00407a4c
pop ecx
mov esi, 0x4430c0
push esi
lea ecx, [ebp - 0x14]
call fcn.0042ad12
lea eax, [ebp - 0x10]
push 1
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00427476
mov eax, dword [eax]
mov edi, 0x43c1bc
push edi
push eax
call fcn.0041c4df
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x10]
inc bl
call fcn.0042af9d
test bl, bl
je 0x407123
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov eax, dword [eax - 8]
dec eax
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004274f2
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0042b08a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0042af9d
lea eax, [ebp - 0x10]
push 1
push eax
lea ecx, [ebp - 0x14]
call fcn.00427476
mov eax, dword [eax]
push 0x43c52c
push eax
call fcn.0041c4df
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x10]
inc bl
call fcn.0042af9d
test bl, bl
je 0x40715d
push edi
lea ecx, [ebp - 0x14]
call fcn.0042b2b9
lea eax, [ebp - 0x18]
push str.AppAxialisAppName.lnk
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042b1e6
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
call fcn.00407a4c
mov dword [esp], 0x43c490
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.0042b1e6
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 6
push eax
call fcn.00407a4c
lea ecx, [ebp - 0x20]
mov dword [esp], 0x43c504
call fcn.0042b00b
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 7
push eax
call fcn.00407a4c
cmp dword [0x44290c], 0
pop ecx
pop edi
pop esi
pop ebx
je 0x407210
lea eax, [ebp - 0x2c]
push str.AppName.lnk
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042b1e6
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 8
push eax
call fcn.00407a4c
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call fcn.004029aa
add esp, 0x14
lea eax, [ebp - 0x10]
mov ecx, 0x442938
push eax
call fcn.00427ad8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.0042af9d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0042af9d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0042af9d
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0042af9d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0042af9d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0042af9d
and byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0042af9d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0042af9d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret