Function at 0x43982c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x439835
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov ebx, eax
mov eax, dword [ebp - 0xc]
call fcn.00407000
mov eax, dword [ebp + 0xc]
call fcn.00407000
mov eax, dword [ebp + 8]
call fcn.00407000
mov esi, dword [ebp - 8]
xor eax, eax
push ebp
push 0x439cd8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea edx, [ebp - 0x3c]
xor eax, eax
call fcn.00437dc0
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00437df4
mov ecx, dword [ebp - 0x38]
mov eax, esi
mov edx, 0x439cf4
call fcn.0040fdfc
push 0
lea edx, [ebp - 0x44]
mov eax, ebx
call fcn.00437dc0
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.00437df4
mov ecx, dword [ebp - 0x40]
mov eax, esi
mov edx, 0x439d0c
call fcn.0040fdfc
push ebp
push 0
call sub.kernel32.dll_GetModuleHandleW_2
mov edx, eax
mov eax, 0x439d24
call fcn.004396bc
pop ecx
push ebp
mov edx, ebx
mov eax, 0x439d34
call fcn.004396bc
pop ecx
cmp dword [ebp + 0xc], 0
jne 0x4398f4
lea eax, [ebp + 0xc]
mov edx, 0x439d44
call fcn.004068ac
push 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov edx, 0x439d58
call fcn.0040fdfc
push 0
mov eax, esi
mov ecx, dword [ebp + 0xc]
mov edx, 0x439d74
call fcn.0040fdfc
push 0
mov eax, esi
mov ecx, dword [ebp + 8]
mov edx, 0x439d8c
call fcn.0040fdfc
push 0
mov eax, esi
mov ecx, 0x439da4
mov edx, 0x439db4
call fcn.0040fdfc
lea eax, [ebp - 0x34]
push eax
call sub.kernel32.dll_GetLocalTime
lea eax, [ebp - 0x48]
push eax
movzx eax, word [ebp - 0x34]
mov cl, 0x30
mov edx, 4
call fcn.0041187c
push dword [ebp - 0x48]
push 0x439dc8
lea eax, [ebp - 0x4c]
push eax
movzx eax, word [ebp - 0x32]
mov cl, 0x30
mov edx, 2
call fcn.0041187c
push dword [ebp - 0x4c]
push 0x439dc8
lea eax, [ebp - 0x50]
push eax
movzx eax, word [ebp - 0x2e]
mov cl, 0x30
mov edx, 2
call fcn.0041187c
push dword [ebp - 0x50]
lea eax, [ebp - 0x10]
mov edx, 5
call fcn.00406dac
lea eax, [ebp - 0x54]
push eax
movzx eax, word [ebp - 0x2c]
mov cl, 0x30
mov edx, 2
call fcn.0041187c
push dword [ebp - 0x54]
push 0x439dd8
lea eax, [ebp - 0x58]
push eax
movzx eax, word [ebp - 0x2a]
mov cl, 0x30
mov edx, 2
call fcn.0041187c
push dword [ebp - 0x58]
push 0x439dd8
lea eax, [ebp - 0x5c]
push eax
movzx eax, word [ebp - 0x28]
mov cl, 0x30
mov edx, 2
call fcn.0041187c
push dword [ebp - 0x5c]
push 0x439de8
lea eax, [ebp - 0x60]
push eax
movzx eax, word [ebp - 0x26]
mov cl, 0x30
mov edx, 1
call fcn.0041187c
push dword [ebp - 0x60]
push 0x439df8
lea eax, [ebp - 0x14]
mov edx, 8
call fcn.00406dac
push dword [ebp - 0x10]
push 0x439de8
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00406dac
push 0
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov edx, 0x439e08
call fcn.0040fdfc
push 0
mov eax, esi
mov ecx, dword [ebp - 0x14]
mov edx, 0x439e1c
call fcn.0040fdfc
push 0
mov eax, esi
mov ecx, dword [ebp - 0x18]
mov edx, 0x439e30
call fcn.0040fdfc
push 0
lea eax, [ebp - 0x64]
call fcn.004384b4
mov ecx, dword [ebp - 0x64]
mov eax, esi
mov edx, 0x439e48
call fcn.0040fdfc
push 0x7fffffff
mov edx, dword [esi]
mov ecx, 1
mov eax, 0x439e64
call fcn.0041052c
test eax, eax
jg 0x439ab8
push 0x7fffffff
mov edx, dword [esi]
mov ecx, 1
mov eax, 0x439e80
call fcn.0041052c
test eax, eax
jle 0x439c9b
lea eax, [ebp - 0x20]
push eax
call sub.shell32.dll_SHGetMalloc
test eax, eax
jne 0x439c9b
push 0x7fffffff
mov edx, dword [esi]
mov ecx, 1
mov eax, 0x439e64
call fcn.0041052c
test eax, eax
jle 0x439bb2
lea eax, [ebp - 0x24]
push eax
push 0x1a
push 0xffffffffffffffff
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x439bb2
lea eax, [ebp - 0x1c]
xor ecx, ecx
mov edx, 0x105
call fcn.004072f4
mov eax, dword [ebp - 0x1c]
call fcn.00407010
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x439ba5
mov eax, dword [ebp - 0x1c]
call fcn.00407010
mov edx, eax
lea eax, [ebp - 0x1c]
mov ecx, 0
call fcn.00406ae0
cmp dword [ebp - 0x1c], 0
je 0x439b79
lea eax, [ebp - 0x1c]
xor edx, edx
call fcn.00406a28
call fcn.00406bc0
mov edx, dword [ebp - 0x1c]
cmp byte [edx + eax - 1], 0x5c
jne 0x439b79
lea eax, [ebp - 0x1c]
xor edx, edx
call fcn.00406a28
call fcn.00406bc0
mov edx, eax
lea eax, [ebp - 0x1c]
mov ecx, 1
call fcn.004070f4
cmp dword [ebp - 0x1c], 0
jne 0x439b94
lea edx, [ebp - 0x68]
xor eax, eax
call fcn.00437dc0
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x1c]
call fcn.00437e70
push 0
mov eax, esi
mov ecx, dword [ebp - 0x1c]
mov edx, 0x439e64
call fcn.0040fdfc
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
push 0x7fffffff
mov edx, dword [esi]
mov ecx, 1
mov eax, 0x439e80
call fcn.0041052c
test eax, eax
jle 0x439c9b
lea eax, [ebp - 0x24]
push eax
push 0x23
push 0xffffffffffffffff
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x439c9b
lea eax, [ebp - 0x1c]
xor ecx, ecx
mov edx, 0x105
call fcn.004072f4
mov eax, dword [ebp - 0x1c]
call fcn.00407010
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x439c8e
mov eax, dword [ebp - 0x1c]
call fcn.00407010
mov edx, eax
lea eax, [ebp - 0x1c]
mov ecx, 0
call fcn.00406ae0
cmp dword [ebp - 0x1c], 0
je 0x439c62
lea eax, [ebp - 0x1c]
xor edx, edx
call fcn.00406a28
call fcn.00406bc0
mov edx, dword [ebp - 0x1c]
cmp byte [edx + eax - 1], 0x5c
jne 0x439c62
lea eax, [ebp - 0x1c]
xor edx, edx
call fcn.00406a28
call fcn.00406bc0
mov edx, eax
lea eax, [ebp - 0x1c]
mov ecx, 1
call fcn.004070f4
cmp dword [ebp - 0x1c], 0
jne 0x439c7d
lea edx, [ebp - 0x6c]
xor eax, eax
call fcn.00437dc0
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x1c]
call fcn.00437e70
push 0
mov eax, esi
mov ecx, dword [ebp - 0x1c]
mov edx, 0x439e80
call fcn.0040fdfc
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
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 0x439cdf
lea eax, [ebp - 0x6c]
mov edx, 0xe
call fcn.00406820
lea eax, [ebp - 0x20]
call fcn.0040a73c
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00406820
lea eax, [ebp + 8]
mov edx, 2
call fcn.00406820
ret