Function at 0x431cc8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x431cd1
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.00405ed4
mov eax, dword [ebp + 0xc]
call fcn.00405ed4
mov eax, dword [ebp + 8]
call fcn.00405ed4
mov esi, dword [ebp - 4]
xor eax, eax
push ebp
push 0x43215b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea edx, [ebp - 0x38]
xor eax, eax
call fcn.0043028c
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.004302c0
mov ecx, dword [ebp - 0x34]
mov eax, esi
mov edx, 0x432178
call fcn.0040be40
push 0
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.0043028c
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.004302c0
mov ecx, dword [ebp - 0x3c]
mov eax, esi
mov edx, 0x432190
call fcn.0040be40
push ebp
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
mov edx, eax
mov eax, 0x4321a8
call fcn.00431b58
pop ecx
push ebp
mov edx, ebx
mov eax, 0x4321b8
call fcn.00431b58
pop ecx
cmp dword [ebp + 0xc], 0
jne 0x431d90
lea eax, [ebp + 0xc]
mov edx, 0x4321c8
call fcn.004058d8
push 0
mov eax, esi
mov ecx, dword [ebp - 8]
mov edx, 0x4321dc
call fcn.0040be40
push 0
mov eax, esi
mov ecx, dword [ebp + 0xc]
mov edx, 0x4321f8
call fcn.0040be40
push 0
mov eax, esi
mov ecx, dword [ebp + 8]
mov edx, 0x432210
call fcn.0040be40
push 0
mov eax, esi
mov ecx, 0x432228
mov edx, 0x432238
call fcn.0040be40
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.0040d8c0
push dword [ebp - 0x44]
push 0x43224c
lea eax, [ebp - 0x48]
push eax
movzx eax, word [ebp - 0x2e]
mov cl, 0x30
mov edx, 2
call fcn.0040d8c0
push dword [ebp - 0x48]
push 0x43224c
lea eax, [ebp - 0x4c]
push eax
movzx eax, word [ebp - 0x2a]
mov cl, 0x30
mov edx, 2
call fcn.0040d8c0
push dword [ebp - 0x4c]
lea eax, [ebp - 0xc]
mov edx, 5
call fcn.00405d38
lea eax, [ebp - 0x50]
push eax
movzx eax, word [ebp - 0x28]
mov cl, 0x30
mov edx, 2
call fcn.0040d8c0
push dword [ebp - 0x50]
push 0x43225c
lea eax, [ebp - 0x54]
push eax
movzx eax, word [ebp - 0x26]
mov cl, 0x30
mov edx, 2
call fcn.0040d8c0
push dword [ebp - 0x54]
push 0x43225c
lea eax, [ebp - 0x58]
push eax
movzx eax, word [ebp - 0x24]
mov cl, 0x30
mov edx, 2
call fcn.0040d8c0
push dword [ebp - 0x58]
push 0x43226c
lea eax, [ebp - 0x5c]
push eax
movzx eax, word [ebp - 0x22]
mov cl, 0x30
mov edx, 1
call fcn.0040d8c0
push dword [ebp - 0x5c]
push 0x43227c
lea eax, [ebp - 0x10]
mov edx, 8
call fcn.00405d38
push dword [ebp - 0xc]
push 0x43226c
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00405d38
push 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov edx, 0x43228c
call fcn.0040be40
push 0
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov edx, 0x4322a0
call fcn.0040be40
push 0
mov eax, esi
mov ecx, dword [ebp - 0x14]
mov edx, 0x4322b4
call fcn.0040be40
push 0x7fffffff
mov edx, dword [esi]
mov ecx, 1
mov eax, 0x4322cc
call fcn.0040c570
test eax, eax
jg 0x431f3b
push 0x7fffffff
mov edx, dword [esi]
mov ecx, 1
mov eax, 0x4322e8
call fcn.0040c570
test eax, eax
jle 0x43211e
lea eax, [ebp - 0x1c]
push eax
call sub.shell32.dll_SHGetMalloc
test eax, eax
jne 0x43211e
push 0x7fffffff
mov edx, dword [esi]
mov ecx, 1
mov eax, 0x4322cc
call fcn.0040c570
test eax, eax
jle 0x432035
lea eax, [ebp - 0x20]
push eax
push 0x1a
push 0xffffffffffffffff
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x432035
lea eax, [ebp - 0x18]
xor ecx, ecx
mov edx, 0x105
call fcn.004061c8
mov eax, dword [ebp - 0x18]
call fcn.00405ee4
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x432028
mov eax, dword [ebp - 0x18]
call fcn.00405ee4
mov edx, eax
lea eax, [ebp - 0x18]
mov ecx, 0
call fcn.00405adc
cmp dword [ebp - 0x18], 0
je 0x431ffc
lea eax, [ebp - 0x18]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
mov edx, dword [ebp - 0x18]
cmp byte [edx + eax - 1], 0x5c
jne 0x431ffc
lea eax, [ebp - 0x18]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
mov edx, eax
lea eax, [ebp - 0x18]
mov ecx, 1
call fcn.00405fc8
cmp dword [ebp - 0x18], 0
jne 0x432017
lea edx, [ebp - 0x60]
xor eax, eax
call fcn.0043028c
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x18]
call fcn.0043033c
push 0
mov eax, esi
mov ecx, dword [ebp - 0x18]
mov edx, 0x4322cc
call fcn.0040be40
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, 0x4322e8
call fcn.0040c570
test eax, eax
jle 0x43211e
lea eax, [ebp - 0x20]
push eax
push 0x23
push 0xffffffffffffffff
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x43211e
lea eax, [ebp - 0x18]
xor ecx, ecx
mov edx, 0x105
call fcn.004061c8
mov eax, dword [ebp - 0x18]
call fcn.00405ee4
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x432111
mov eax, dword [ebp - 0x18]
call fcn.00405ee4
mov edx, eax
lea eax, [ebp - 0x18]
mov ecx, 0
call fcn.00405adc
cmp dword [ebp - 0x18], 0
je 0x4320e5
lea eax, [ebp - 0x18]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
mov edx, dword [ebp - 0x18]
cmp byte [edx + eax - 1], 0x5c
jne 0x4320e5
lea eax, [ebp - 0x18]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
mov edx, eax
lea eax, [ebp - 0x18]
mov ecx, 1
call fcn.00405fc8
cmp dword [ebp - 0x18], 0
jne 0x432100
lea edx, [ebp - 0x64]
xor eax, eax
call fcn.0043028c
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x18]
call fcn.0043033c
push 0
mov eax, esi
mov ecx, dword [ebp - 0x18]
mov edx, 0x4322e8
call fcn.0040be40
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 0x432162
lea eax, [ebp - 0x64]
mov edx, 0xd
call fcn.0040584c
lea eax, [ebp - 0x1c]
call fcn.00408714
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.0040584c
lea eax, [ebp + 8]
mov edx, 2
call fcn.0040584c
ret