Function at 0x4407e4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x4407ed
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.00406470
mov eax, dword [ebp + 0xc]
call fcn.00406470
mov eax, dword [ebp + 8]
call fcn.00406470
mov esi, dword [ebp - 4]
xor eax, eax
push ebp
push 0x440c77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea edx, [ebp - 0x38]
xor eax, eax
call fcn.0043eda8
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0043eddc
mov ecx, dword [ebp - 0x34]
mov eax, esi
mov edx, 0x440c94
call fcn.0041aa90
push 0
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.0043eda8
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.0043eddc
mov ecx, dword [ebp - 0x3c]
mov eax, esi
mov edx, 0x440cac
call fcn.0041aa90
push ebp
push 0
call sub.KERNEL32.DLL_GetModuleHandleW_2
mov edx, eax
mov eax, 0x440cc4
call fcn.00440674
pop ecx
push ebp
mov edx, ebx
mov eax, 0x440cd4
call fcn.00440674
pop ecx
cmp dword [ebp + 0xc], 0
jne 0x4408ac
lea eax, [ebp + 0xc]
mov edx, 0x440ce4
call fcn.00405d8c
push 0
mov eax, esi
mov ecx, dword [ebp - 8]
mov edx, 0x440cf8
call fcn.0041aa90
push 0
mov eax, esi
mov ecx, dword [ebp + 0xc]
mov edx, 0x440d14
call fcn.0041aa90
push 0
mov eax, esi
mov ecx, dword [ebp + 8]
mov edx, 0x440d2c
call fcn.0041aa90
push 0
mov eax, esi
mov ecx, 0x440d44
mov edx, 0x440d54
call fcn.0041aa90
lea eax, [ebp - 0x30]
push eax
call sub.KERNEL32.DLL_GetLocalTime
lea eax, [ebp - 0x44]
push eax
movzx eax, word [ebp - 0x30]
mov cl, 0x30
mov edx, 4
call fcn.0041c510
push dword [ebp - 0x44]
push 0x440d68
lea eax, [ebp - 0x48]
push eax
movzx eax, word [ebp - 0x2e]
mov cl, 0x30
mov edx, 2
call fcn.0041c510
push dword [ebp - 0x48]
push 0x440d68
lea eax, [ebp - 0x4c]
push eax
movzx eax, word [ebp - 0x2a]
mov cl, 0x30
mov edx, 2
call fcn.0041c510
push dword [ebp - 0x4c]
lea eax, [ebp - 0xc]
mov edx, 5
call fcn.00406270
lea eax, [ebp - 0x50]
push eax
movzx eax, word [ebp - 0x28]
mov cl, 0x30
mov edx, 2
call fcn.0041c510
push dword [ebp - 0x50]
push 0x440d78
lea eax, [ebp - 0x54]
push eax
movzx eax, word [ebp - 0x26]
mov cl, 0x30
mov edx, 2
call fcn.0041c510
push dword [ebp - 0x54]
push 0x440d78
lea eax, [ebp - 0x58]
push eax
movzx eax, word [ebp - 0x24]
mov cl, 0x30
mov edx, 2
call fcn.0041c510
push dword [ebp - 0x58]
push 0x440d88
lea eax, [ebp - 0x5c]
push eax
movzx eax, word [ebp - 0x22]
mov cl, 0x30
mov edx, 1
call fcn.0041c510
push dword [ebp - 0x5c]
push 0x440d98
lea eax, [ebp - 0x10]
mov edx, 8
call fcn.00406270
push dword [ebp - 0xc]
push 0x440d88
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00406270
push 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov edx, 0x440da8
call fcn.0041aa90
push 0
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov edx, 0x440dbc
call fcn.0041aa90
push 0
mov eax, esi
mov ecx, dword [ebp - 0x14]
mov edx, 0x440dd0
call fcn.0041aa90
push 0x7fffffff
mov edx, dword [esi]
mov ecx, 1
mov eax, 0x440de8
call fcn.0041b1c0
test eax, eax
jg 0x440a57
push 0x7fffffff
mov edx, dword [esi]
mov ecx, 1
mov eax, 0x440e04
call fcn.0041b1c0
test eax, eax
jle 0x440c3a
lea eax, [ebp - 0x1c]
push eax
call sub.shell32.dll_SHGetMalloc
test eax, eax
jne 0x440c3a
push 0x7fffffff
mov edx, dword [esi]
mov ecx, 1
mov eax, 0x440de8
call fcn.0041b1c0
test eax, eax
jle 0x440b51
lea eax, [ebp - 0x20]
push eax
push 0x1a
push 0xffffffffffffffff
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x440b51
lea eax, [ebp - 0x18]
xor ecx, ecx
mov edx, 0x105
call fcn.00406764
mov eax, dword [ebp - 0x18]
call fcn.00406480
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x440b44
mov eax, dword [ebp - 0x18]
call fcn.00406480
mov edx, eax
lea eax, [ebp - 0x18]
mov ecx, 0
call fcn.00405fa4
cmp dword [ebp - 0x18], 0
je 0x440b18
lea eax, [ebp - 0x18]
xor edx, edx
call fcn.00405eec
call fcn.00406084
mov edx, dword [ebp - 0x18]
cmp byte [edx + eax - 1], 0x5c
jne 0x440b18
lea eax, [ebp - 0x18]
xor edx, edx
call fcn.00405eec
call fcn.00406084
mov edx, eax
lea eax, [ebp - 0x18]
mov ecx, 1
call fcn.00406564
cmp dword [ebp - 0x18], 0
jne 0x440b33
lea edx, [ebp - 0x60]
xor eax, eax
call fcn.0043eda8
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x18]
call fcn.0043ee58
push 0
mov eax, esi
mov ecx, dword [ebp - 0x18]
mov edx, 0x440de8
call fcn.0041aa90
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
push 0x7fffffff
mov edx, dword [esi]
mov ecx, 1
mov eax, 0x440e04
call fcn.0041b1c0
test eax, eax
jle 0x440c3a
lea eax, [ebp - 0x20]
push eax
push 0x23
push 0xffffffffffffffff
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x440c3a
lea eax, [ebp - 0x18]
xor ecx, ecx
mov edx, 0x105
call fcn.00406764
mov eax, dword [ebp - 0x18]
call fcn.00406480
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x440c2d
mov eax, dword [ebp - 0x18]
call fcn.00406480
mov edx, eax
lea eax, [ebp - 0x18]
mov ecx, 0
call fcn.00405fa4
cmp dword [ebp - 0x18], 0
je 0x440c01
lea eax, [ebp - 0x18]
xor edx, edx
call fcn.00405eec
call fcn.00406084
mov edx, dword [ebp - 0x18]
cmp byte [edx + eax - 1], 0x5c
jne 0x440c01
lea eax, [ebp - 0x18]
xor edx, edx
call fcn.00405eec
call fcn.00406084
mov edx, eax
lea eax, [ebp - 0x18]
mov ecx, 1
call fcn.00406564
cmp dword [ebp - 0x18], 0
jne 0x440c1c
lea edx, [ebp - 0x64]
xor eax, eax
call fcn.0043eda8
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x18]
call fcn.0043ee58
push 0
mov eax, esi
mov ecx, dword [ebp - 0x18]
mov edx, 0x440e04
call fcn.0041aa90
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440c7e
lea eax, [ebp - 0x64]
mov edx, 0xd
call fcn.00405d00
lea eax, [ebp - 0x1c]
call fcn.00408d14
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00405d00
lea eax, [ebp + 8]
mov edx, 2
call fcn.00405d00
ret