Function at 0x61c74c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 9], cl
mov ebx, edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x61ca86
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x10], 0xffffffff
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor edx, edx
push ebp
push 0x61ca5c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
cmp eax, 0xffffff9d
je 0x61c7a9
cmp eax, 0x1cfe3f
jl 0x61c7bb
mov edx, 0xa
mov eax, 0x61caa4
call fcn.005f9958
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0xffffff9d
jne 0x61c7ce
mov eax, dword [ebp - 8]
mov dword [eax + 0x18], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x61c9f0
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x61c7f1
cmp eax, 0xc350
jb 0x61c9f0
jmp 0x61c7f7
jl 0x61c9f0
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x61c810
cmp eax, 0x927c0
jae 0x61c9f0
jmp 0x61c816
jge 0x61c9f0
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.0045257c
lea edx, [ebp - 0x10]
mov ecx, 4
mov eax, dword [ebp - 0x1c]
call fcn.004527b0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x18], edx
cmp dword [ebp - 0x10], 0x1cfe3f
jl 0x61c9f0
cmp byte [ebp - 9], 0
jne 0x61c9f0
lea edx, [ebp - 0x1e]
mov ecx, 2
mov eax, dword [ebp - 0x1c]
call fcn.004527b0
push 0
push 4
mov eax, dword [ebp - 0x1c]
call fcn.0045257c
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x68]
call fcn.00407f58
mov eax, dword [ebp - 4]
test eax, eax
je 0x61c885
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x61c8e0
lea eax, [ebp - 4]
mov edx, 0x106
call fcn.00408d48
mov eax, dword [ebp - 4]
call fcn.00408bc4
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
cmp eax, 0x104
jg 0x61c8b4
test eax, eax
jne 0x61c8cc
push 1
mov ecx, 0x2b13
mov dl, 1
mov eax, dword [0x5fc370]
call fcn.005fc574
call fcn.00407228
mov eax, dword [ebp - 4]
call fcn.00408bc4
mov edx, eax
lea eax, [ebp - 4]
call fcn.00408c1c
jmp 0x61c8ed
lea ecx, [ebp - 4]
mov eax, dword [ebx + 0x68]
mov dl, 1
call fcn.005f95fc
lea eax, [ebp - 0x2e]
push eax
call sub.ole32.dll_CoCreateGuid
test eax, eax
jne 0x61c922
push dword [ebp - 4]
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x2e]
call fcn.004bdc38
push dword [ebp - 0x34]
push 0x61cac8
mov eax, dword [ebp - 8]
add eax, 0x49
mov edx, 3
call fcn.00408ea8
jmp 0x61c945
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x61cac8
mov edx, 0x61cae0
mov eax, ebx
call fcn.00600a3c
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
add eax, 0x49
call fcn.00407f10
mov eax, dword [ebp - 8]
cmp dword [eax + 0x49], 0
jne 0x61c966
push 1
mov ecx, 0x2b13
mov dl, 1
mov eax, dword [0x5fc370]
call fcn.005fc574
call fcn.00407228
push 0xff00
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x49]
mov dl, 1
mov eax, dword [0x444cac]
call fcn.00452f4c
mov dword [ebp - 0x18], eax
cmp word [ebp - 0x1e], 0x5a4d
jne 0x61c9c5
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
sub eax, 4
sbb edx, 0
push edx
push eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.00452870
push edx
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
sub eax, 4
sbb edx, 0
cmp edx, dword [esp + 4]
jne 0x61c9ba
cmp eax, dword [esp]
sete al
add esp, 8
mov byte [ebp - 0x11], al
jmp 0x61c9e2
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
sub ecx, 4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.005faeb0
test eax, eax
sete byte [ebp - 0x11]
cmp byte [ebp - 0x11], 0
jne 0x61c9f0
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x18], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61ca63
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x18], edx
call fcn.00405de4
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 0x1c], edx
call fcn.00405de4
cmp byte [ebp - 9], 0
jne 0x61ca5b
cmp byte [ebp - 0x11], 0
jne 0x61ca3f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x49]
mov dl, 1
call fcn.0042242c
test al, al
je 0x61ca3f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x49]
call fcn.00422920
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x49]
mov dl, 1
call fcn.0042242c
test al, al
jne 0x61ca5b
mov eax, dword [ebp - 8]
add eax, 0x49
call fcn.00407b30
ret