Function at 0x414180
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610790
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x20ac
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 dword [ebp - 0x2064], ecx
mov dword [ebp - 0x2068], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x206c], eax
xor edi, edi
mov dword [ebp - 0x205c], edi
mov byte [ebp - 0x2055], 0
mov dword [ebp - 0x2070], 0x1000
mov dword [ebp - 0x207c], 0x18
mov dword [ebp - 0x2078], 0x1e
mov eax, 7
mov dword [ebp - 0x2084], eax
mov dword [ebp - 0x2080], 0x1d
mov dword [ebp - 0x2020], eax
mov dword [ebp - 0x2024], edi
xor ecx, ecx
mov word [ebp - 0x2034], cx
mov dword [ebp - 4], edi
mov dword [ebp - 0x2060], edi
cmp edi, 2
jae 0x41432b
mov byte [ebp - 4], 1
mov eax, str.Common_StartUp
lea ecx, [ebp - 0x2054]
call fcn.0040b3c0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2068]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2054]
push ecx
mov edx, dword [ebp - 0x206c]
mov esi, dword [ebp - 0x2064]
call fcn.0040cf40
mov byte [ebp - 4], 1
lea esi, [ebp - 0x2054]
call fcn.0044df60
mov ecx, dword [ebp + edi*4 - 0x207c]
lea edx, [ebp - 0x20a0]
call fcn.00409d80
mov byte [ebp - 4], 3
mov esi, 1
or dword [ebp - 0x205c], esi
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x2038]
call fcn.0040d740
cmp dword [eax + 0x14], 0
je 0x4142da
mov edx, dword [ebp - 0x2074]
push edx
lea ecx, [ebp - 0x2038]
call fcn.00406c80
add esp, 4
test al, al
je 0x4142da
mov bl, 1
jmp 0x4142dc
xor bl, bl
mov dword [ebp - 4], esi
test byte [ebp - 0x205c], 1
je 0x4142fa
and dword [ebp - 0x205c], 0xfffffffe
lea esi, [ebp - 0x20a0]
call fcn.0044df60
test bl, bl
je 0x414305
mov byte [ebp - 0x2055], 1
mov dword [ebp - 4], 0
inc edi
jmp 0x41422e
mov dword [ebp - 0x2070], 0x1000
lea eax, [ebp - 0x2070]
push eax
lea ecx, [ebp - 0x201c]
push ecx
call dword [sym.imp.USERENV.dll_GetDefaultUserProfileDirectoryW]
test eax, eax
je 0x4144a9
xor ebx, ebx
mov dword [ebp - 0x2060], ebx
cmp ebx, 2
jae 0x4144a9
mov byte [ebp - 4], 5
lea eax, [ebp - 0x201c]
lea ecx, [ebp - 0x2054]
call fcn.0040b3c0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x2054]
push edx
mov eax, 0x6ca140
call fcn.0040b460
push 0
lea eax, [ebp - 0x2038]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x2054]
call fcn.0040d5a0
mov eax, str.DefaultUser_StartUp
lea ecx, [ebp - 0x20a0]
call fcn.0040b3c0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2068]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x20a0]
push eax
mov edx, dword [ebp - 0x206c]
mov esi, dword [ebp - 0x2064]
call fcn.0040cf40
mov byte [ebp - 4], 6
lea esi, [ebp - 0x20a0]
call fcn.0044df60
mov ecx, dword [ebp + ebx*4 - 0x2084]
lea edi, [ebp - 0x20bc]
call fcn.00409c10
mov byte [ebp - 4], 8
or dword [ebp - 0x205c], 2
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x2038]
call fcn.0040d740
cmp dword [eax + 0x14], 0
je 0x41443b
mov ecx, dword [ebp - 0x2074]
push ecx
lea ecx, [ebp - 0x2054]
call fcn.00406c80
add esp, 4
test al, al
mov byte [ebp - 0x2056], 1
jne 0x414442
mov byte [ebp - 0x2056], 0
mov dword [ebp - 4], 6
test byte [ebp - 0x205c], 2
je 0x414464
and dword [ebp - 0x205c], 0xfffffffd
lea esi, [ebp - 0x20bc]
call fcn.0044df60
cmp byte [ebp - 0x2056], 0
je 0x414474
mov byte [ebp - 0x2055], 1
mov byte [ebp - 4], 5
lea esi, [ebp - 0x2054]
call fcn.0044df60
mov dword [ebp - 4], 0
inc ebx
jmp 0x414353
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2020], 8
jb 0x4144c8
mov edx, dword [ebp - 0x2034]
push edx
call fcn.005c396f
add esp, 4
mov dword [ebp - 0x2020], 7
mov dword [ebp - 0x2024], 0
xor eax, eax
mov word [ebp - 0x2034], ax
mov al, byte [ebp - 0x2055]
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