Function at 0x463e0c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x56
push 0
push 0
dec ecx
jne 0x463e14
push ecx
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
lea eax, [ebp - 0x178]
mov edx, dword [0x408014]
call fcn.00405990
xor eax, eax
push ebp
push 0x4641cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
xor eax, eax
push ebp
push 0x464118
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.0040695c
push eax
push 0x4641e4
push 1
push 0
mov eax, dword [0x468b1c]
push eax
call sub.ole32.dll_CoCreateInstance
call fcn.00463348
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, 0x4641f4
call fcn.004069a0
mov eax, esi
call fcn.00405280
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
call fcn.00463348
test edi, edi
je 0x463eb4
mov eax, edi
call fcn.00405280
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00463348
push 0
push 0
lea eax, [ebp - 0x27d]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x27d]
mov ecx, 0x105
call fcn.00405720
lea eax, [ebp - 0x10]
mov edx, 0x464208
call fcn.00405764
lea edx, [ebp - 0x28c]
mov eax, esi
call fcn.00409bc8
mov eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x288]
mov edx, 0x464214
call fcn.00409b00
mov edx, dword [ebp - 0x288]
lea eax, [ebp - 0x284]
call fcn.00405738
mov ecx, dword [ebp - 0x284]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.004057c4
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
call fcn.00405748
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
push 0
push 2
lea eax, [ebp - 0x27d]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x27d]
mov ecx, 0x105
call fcn.00405720
lea eax, [ebp - 0x14]
push eax
mov edx, esi
mov eax, 0x464224
call fcn.004053cc
mov edx, eax
sub edx, 4
mov ecx, 4
mov eax, esi
call fcn.004052e8
push dword [ebp - 0x10]
push 0x46422c
lea eax, [ebp - 0x290]
mov edx, dword [ebp - 0x14]
call fcn.00405738
push dword [ebp - 0x290]
push 0x464208
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405834
lea eax, [ebp - 0x294]
mov edx, dword [ebp - 0x10]
call fcn.00405078
mov eax, dword [ebp - 0x294]
call fcn.00409cf8
lea edx, [ebp - 0x2a0]
mov eax, esi
call fcn.00409bc8
mov eax, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x29c]
mov edx, 0x464214
call fcn.00409b00
mov edx, dword [ebp - 0x29c]
lea eax, [ebp - 0x298]
call fcn.00405738
mov ecx, dword [ebp - 0x298]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.004057c4
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
call fcn.00405748
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
lea edx, [ebp - 0x2a4]
mov eax, esi
call fcn.00409b94
mov edx, dword [ebp - 0x2a4]
lea eax, [ebp - 0x18]
mov ecx, 0x464254
call fcn.00405108
lea eax, [ebp - 0x2a8]
mov ecx, 0x464264
mov edx, dword [ebp - 0x18]
call fcn.00405108
mov eax, dword [ebp - 0x2a8]
lea ecx, [ebp - 0x178]
mov edx, 0x3f
call fcn.004099e8
test eax, eax
jne 0x464103
lea eax, [ebp - 0x2ac]
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 0x18]
call fcn.00405108
mov eax, dword [ebp - 0x2ac]
call fcn.00405280
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
call fcn.00463348
lea ecx, [ebp - 0x2b4]
mov edx, 0x464214
mov eax, dword [ebp - 0x164]
call fcn.00409b00
mov edx, dword [ebp - 0x2b4]
lea eax, [ebp - 0x2b0]
call fcn.00405738
mov ecx, dword [ebp - 0x2b0]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.004057c4
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
call fcn.00405748
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
lea eax, [ebp - 0x178]
call fcn.00409a38
test eax, eax
je 0x464076
lea eax, [ebp - 0x178]
call fcn.00409a5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x464124
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4641d9
lea eax, [ebp - 0x2b4]
call fcn.00404df0
lea eax, [ebp - 0x2b0]
call fcn.004055d0
lea eax, [ebp - 0x2ac]
mov edx, 5
call fcn.00404e14
lea eax, [ebp - 0x298]
call fcn.004055d0
lea eax, [ebp - 0x294]
call fcn.00404df0
lea eax, [ebp - 0x290]
call fcn.004055d0
lea eax, [ebp - 0x28c]
mov edx, 2
call fcn.00404e14
lea eax, [ebp - 0x284]
call fcn.004055d0
lea eax, [ebp - 0x178]
mov edx, dword [0x408014]
call fcn.00405a60
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404e14
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004055e8
lea eax, [ebp - 8]
call fcn.0040695c
lea eax, [ebp - 4]
call fcn.0040695c
ret