Function at 0x407120
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60cf11
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x20d4
call fcn.005c95e0
mov eax, dword [0x711ab8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2074], eax
mov byte [ebp - 0x2055], 0
push 0x1000
lea ecx, [ebp - 0x201c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp eax, 0x1000
ja 0x4075fe
push str.Tasks
push 0x1000
lea edx, [ebp - 0x201c]
push edx
call fcn.005c487d
add esp, 0xc
test eax, eax
jne 0x4075fe
lea eax, [ebp - 0x2068]
push eax
push 0x626aac
push 1
xor ebx, ebx
push ebx
push 0x626a9c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x4075f6
mov ecx, dword [ebp - 0x2068]
push ecx
lea esi, [ebp - 0x209c]
call fcn.004139d0
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2068]
mov edx, dword [eax]
lea ecx, [ebp - 0x2070]
push ecx
push eax
mov edx, dword [edx + 0x14]
call edx
cmp eax, ebx
jl 0x4075d6
mov eax, dword [ebp - 0x2070]
push eax
lea esi, [ebp - 0x20a8]
call fcn.00413a40
mov byte [ebp - 4], 1
mov dword [ebp - 0x205c], ebx
jmp 0x407220
mov eax, dword [ebp - 0x2070]
mov ecx, dword [eax]
lea edx, [ebp - 0x205c]
push edx
lea edx, [ebp - 0x2060]
push edx
push 5
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x4075b9
cmp dword [ebp - 0x205c], ebx
je 0x4075b9
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
push edi
mov ecx, dword [ebp - 0x2060]
push ecx
lea esi, [ebp - 0x2094]
call fcn.00413ab0
mov byte [ebp - 4], 2
nop
mov eax, dword [ebp - 0x205c]
cmp eax, ebx
je 0x407597
dec eax
mov dword [ebp - 0x205c], eax
mov ecx, dword [ebp - 0x2068]
mov edx, dword [ecx]
lea esi, [ebp - 0x2064]
push esi
push 0x626abc
mov esi, dword [ebp - 0x2060]
mov eax, dword [esi + eax*4]
push eax
push ecx
mov ecx, dword [edx + 0x18]
call ecx
cmp eax, ebx
jl 0x407270
mov edx, dword [ebp - 0x2064]
push edx
lea esi, [ebp - 0x20a4]
call fcn.00413b20
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
push edi
mov eax, dword [ebp - 0x205c]
mov ecx, dword [ebp - 0x2060]
mov edx, dword [ecx + eax*4]
push edx
lea esi, [ebp - 0x2098]
call fcn.00413b90
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2064]
mov ecx, dword [eax]
lea edx, [ebp - 0x206c]
push edx
push eax
mov eax, dword [ecx + 0x84]
call eax
cmp eax, ebx
jl 0x407548
push edi
mov ecx, dword [ebp - 0x206c]
push ecx
lea esi, [ebp - 0x2090]
call fcn.00413b90
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2064]
mov edx, dword [eax]
lea ecx, [ebp - 0x2078]
push ecx
push eax
mov edx, dword [edx + 0x94]
call edx
cmp eax, ebx
jl 0x407539
push edi
mov eax, dword [ebp - 0x2078]
push eax
lea esi, [ebp - 0x208c]
call fcn.00413b90
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2064]
mov ecx, dword [eax]
lea edx, [ebp - 0x207c]
push edx
push eax
mov eax, dword [ecx + 0x8c]
call eax
cmp eax, ebx
jl 0x40752a
push edi
mov ecx, dword [ebp - 0x207c]
push ecx
lea esi, [ebp - 0x20a0]
call fcn.00413b90
mov byte [ebp - 4], 8
lea edx, [ebp - 0x2088]
push edx
call fcn.00406fa0
mov byte [ebp - 4], 9
mov dword [ebp - 0x2088], ebx
lea edx, [ebp - 0x201c]
lea edi, [ebp - 0x2084]
call fcn.0040bab0
mov eax, dword [ebp - 0x205c]
mov ecx, dword [ebp - 0x2060]
mov edx, dword [ecx + eax*4]
lea edi, [ebp - 0x2080]
call fcn.0040bab0
mov eax, dword [ebp - 0x206c]
lea ecx, [ebp - 0x2038]
call fcn.0040b3c0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x2038]
push edx
mov eax, 0x6cb38c
call fcn.0040b460
lea eax, [ebp - 0x2038]
push eax
mov eax, dword [ebp - 0x207c]
call fcn.0040b460
mov eax, dword [ebp - 0x2078]
lea ecx, [ebp - 0x2054]
call fcn.0040b3c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2054]
push ecx
mov eax, 0x6ca140
call fcn.0040b460
push ebx
lea edx, [ebp - 0x2038]
push edx
or eax, 0xffffffff
lea esi, [ebp - 0x2054]
call fcn.0040d5a0
cmp dword [ebp - 0x203c], 8
mov eax, dword [ebp - 0x2050]
jae 0x407456
lea eax, [ebp - 0x2050]
push eax
lea edi, [ebp - 0x20c4]
call fcn.00406430
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2074]
push ecx
push eax
xor edx, edx
lea ecx, [ebp - 0x2088]
call fcn.00408600
add esp, 0xc
test al, al
sete bl
mov byte [ebp - 4], 0xb
mov esi, edi
call fcn.0044df60
test bl, bl
je 0x4074e7
cmp dword [ebp - 0x2020], 8
mov eax, dword [ebp - 0x2034]
jae 0x4074a7
lea eax, [ebp - 0x2034]
push eax
lea edi, [ebp - 0x20e0]
call fcn.00406430
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x2074]
push edx
push eax
xor edx, edx
lea ecx, [ebp - 0x2088]
call fcn.00408600
add esp, 0xc
mov bl, al
mov byte [ebp - 4], 0xb
mov esi, edi
call fcn.0044df60
test bl, bl
je 0x4074e7
mov byte [ebp - 0x2055], 1
mov byte [ebp - 4], 0xa
lea esi, [ebp - 0x2054]
call fcn.0044df60
mov byte [ebp - 4], 9
lea esi, [ebp - 0x2038]
call fcn.0044df60
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2088]
push eax
call fcn.004239e0
mov byte [ebp - 4], 7
lea esi, [ebp - 0x20a0]
call fcn.00433900
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov byte [ebp - 4], 6
lea esi, [ebp - 0x208c]
call fcn.00433900
mov byte [ebp - 4], 5
lea esi, [ebp - 0x2090]
call fcn.00433900
mov byte [ebp - 4], 4
lea esi, [ebp - 0x2098]
call fcn.00433900
mov dword [ebp - 4], 3
jmp 0x407573
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x20a4]
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx]
call eax
mov edx, dword [esi]
push 1
mov ecx, esi
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
jmp 0x407270
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x2094]
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx]
call eax
mov edx, dword [esi]
push 1
mov ecx, esi
mov eax, dword [edx + 4]
call eax
jmp 0x407220
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x20a8]
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx]
call eax
mov edx, dword [esi]
push 1
mov ecx, esi
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x209c]
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx]
call eax
mov edx, dword [esi]
push 1
mov ecx, esi
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp - 0x2055]
jmp 0x407600
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005c397a
mov esp, ebp
pop ebp
ret