Function at 0x407969
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4c18
call fcn.004250e0
mov eax, dword [0x46c134]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x4c18], eax
call fcn.00402dce
cmp eax, 1
jne 0x40799d
xor eax, eax
jmp 0x407d29
push ebx
push edi
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x414], ax
xor ebx, ebx
lea eax, [ebp - 0x412]
push ebx
push eax
call fcn.004246b0
xor eax, eax
push edi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.004246b0
add esp, 0x18
mov ecx, esi
call fcn.00401785
test eax, eax
push ebx
lea eax, [ebp - 0x414]
je 0x407a37
push ebx
push eax
push ebx
call dword [0x470a40]
test eax, eax
je 0x407d22
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00424c47
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.0042472a
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x20c]
push str.All_UsersDesktop
push eax
call fcn.00424c19
add esp, 0x18
jmp 0x407a60
mov edi, dword [0x470a40]
push 0x10
push eax
push ebx
call edi
test eax, eax
je 0x407d22
push ebx
push 0x19
lea eax, [ebp - 0x20c]
push eax
push ebx
call edi
test eax, eax
je 0x407d22
mov edi, 0x45afcc
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.00424c19
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00424c19
add esp, 0x10
push 0x5839
lea ecx, [ebp - 0x1c14]
call fcn.00401181
push 0x5841
lea ecx, [ebp - 0x2c14]
call fcn.00401181
push 0x5843
lea ecx, [ebp - 0x3c14]
call fcn.00401181
push 0x5854
lea ecx, [ebp - 0x4414]
call fcn.00401181
push 0x5855
lea ecx, [ebp - 0x1414]
call fcn.00401181
push 0x5856
lea ecx, [ebp - 0x4c14]
call fcn.00401181
mov edi, 0x5858
push edi
lea ecx, [ebp - 0xc14]
call fcn.00401181
push edi
lea ecx, [ebp - 0x2414]
call fcn.00401181
push edi
lea ecx, [ebp - 0x3414]
call fcn.00401181
lea eax, [ebp - 0x1c14]
push eax
lea eax, [ebp - 0x414]
push eax
mov ecx, esi
call fcn.004027c0
test eax, eax
jne 0x407ba1
lea eax, [ebp - 0x4414]
push eax
lea eax, [ebp - 0x414]
push eax
mov ecx, esi
call fcn.004027c0
test eax, eax
jne 0x407ba1
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0x414]
push eax
mov ecx, esi
call fcn.004027c0
test eax, eax
jne 0x407ba1
lea eax, [ebp - 0x1c14]
push eax
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.004027c0
test eax, eax
jne 0x407ba1
lea eax, [ebp - 0x4414]
push eax
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.004027c0
test eax, eax
jne 0x407ba1
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.004027c0
test eax, eax
je 0x407ba4
xor ebx, ebx
inc ebx
lea eax, [ebp - 0x2c14]
push eax
lea eax, [ebp - 0x414]
push eax
mov ecx, esi
call fcn.004027c0
test eax, eax
jne 0x407c42
lea eax, [ebp - 0x1414]
push eax
lea eax, [ebp - 0x414]
push eax
mov ecx, esi
call fcn.004027c0
test eax, eax
jne 0x407c42
lea eax, [ebp - 0x2414]
push eax
lea eax, [ebp - 0x414]
push eax
mov ecx, esi
call fcn.004027c0
test eax, eax
jne 0x407c42
lea eax, [ebp - 0x2c14]
push eax
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.004027c0
test eax, eax
jne 0x407c42
lea eax, [ebp - 0x1414]
push eax
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.004027c0
test eax, eax
jne 0x407c42
lea eax, [ebp - 0x2414]
push eax
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.004027c0
test eax, eax
jne 0x407c42
xor edi, edi
jmp 0x407c45
xor edi, edi
inc edi
lea eax, [ebp - 0x3c14]
push eax
lea eax, [ebp - 0x414]
push eax
mov ecx, esi
call fcn.004027c0
test eax, eax
jne 0x407cdb
lea eax, [ebp - 0x4c14]
push eax
lea eax, [ebp - 0x414]
push eax
mov ecx, esi
call fcn.004027c0
test eax, eax
jne 0x407cdb
lea eax, [ebp - 0x3414]
push eax
lea eax, [ebp - 0x414]
push eax
mov ecx, esi
call fcn.004027c0
test eax, eax
jne 0x407cdb
lea eax, [ebp - 0x3c14]
push eax
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.004027c0
test eax, eax
jne 0x407cdb
lea eax, [ebp - 0x4c14]
push eax
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.004027c0
test eax, eax
jne 0x407cdb
lea eax, [ebp - 0x3414]
push eax
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.004027c0
test eax, eax
je 0x407cde
xor eax, eax
inc eax
cmp dword [ebp - 0x4c18], 0
mov dword [esi], ebx
mov dword [esi + 4], edi
mov dword [esi + 8], eax
lea ecx, [esi + 0xc]
je 0x407cff
push dword [ebp - 0x4c18]
call fcn.00402347
jmp 0x407d04
call fcn.00401861
mov eax, dword [ebp + 0xc]
test eax, eax
jg 0x407d0d
xor eax, eax
push 0
push 0
push str.desktop
mov ecx, esi
mov dword [esi + 0x28], eax
call fcn.0040238d
jmp 0x407d27
mov eax, 0x80004005
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004246a0
leave
ret 8