Function at 0x414190
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dba30
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x20ac
call fcn.00598dc0
mov eax, dword [0x6d26f8]
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 0x41433b
mov byte [ebp - 4], 1
mov eax, str.Common_StartUp
lea ecx, [ebp - 0x2054]
call fcn.0040b2d0
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.0040ce60
mov byte [ebp - 4], 1
lea esi, [ebp - 0x2054]
call fcn.00440d90
mov ecx, dword [ebp + edi*4 - 0x207c]
lea edx, [ebp - 0x20a0]
call fcn.00409dc0
mov byte [ebp - 4], 3
mov esi, 1
or dword [ebp - 0x205c], esi
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x2038]
call fcn.0040d430
cmp dword [eax + 0x14], 0
je 0x4142ea
mov edx, dword [ebp - 0x2074]
push edx
lea ecx, [ebp - 0x2038]
call fcn.00406cd0
add esp, 4
test al, al
je 0x4142ea
mov bl, 1
jmp 0x4142ec
xor bl, bl
mov dword [ebp - 4], esi
test byte [ebp - 0x205c], 1
je 0x41430a
and dword [ebp - 0x205c], 0xfffffffe
lea esi, [ebp - 0x20a0]
call fcn.00440d90
test bl, bl
je 0x414315
mov byte [ebp - 0x2055], 1
mov dword [ebp - 4], 0
inc edi
jmp 0x41423e
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 0x4144b9
xor ebx, ebx
mov dword [ebp - 0x2060], ebx
cmp ebx, 2
jae 0x4144b9
mov byte [ebp - 4], 5
lea eax, [ebp - 0x201c]
lea ecx, [ebp - 0x2054]
call fcn.0040b2d0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x2054]
push edx
mov eax, 0x692fe8
call fcn.0040b370
push 0
lea eax, [ebp - 0x2038]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x2054]
call fcn.0040d290
mov eax, str.DefaultUser_StartUp
lea ecx, [ebp - 0x20a0]
call fcn.0040b2d0
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.0040ce60
mov byte [ebp - 4], 6
lea esi, [ebp - 0x20a0]
call fcn.00440d90
mov ecx, dword [ebp + ebx*4 - 0x2084]
lea edi, [ebp - 0x20bc]
call fcn.00409c50
mov byte [ebp - 4], 8
or dword [ebp - 0x205c], 2
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x2038]
call fcn.0040d430
cmp dword [eax + 0x14], 0
je 0x41444b
mov ecx, dword [ebp - 0x2074]
push ecx
lea ecx, [ebp - 0x2054]
call fcn.00406cd0
add esp, 4
test al, al
mov byte [ebp - 0x2056], 1
jne 0x414452
mov byte [ebp - 0x2056], 0
mov dword [ebp - 4], 6
test byte [ebp - 0x205c], 2
je 0x414474
and dword [ebp - 0x205c], 0xfffffffd
lea esi, [ebp - 0x20bc]
call fcn.00440d90
cmp byte [ebp - 0x2056], 0
je 0x414484
mov byte [ebp - 0x2055], 1
mov byte [ebp - 4], 5
lea esi, [ebp - 0x2054]
call fcn.00440d90
mov dword [ebp - 4], 0
inc ebx
jmp 0x414363
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2020], 8
jb 0x4144d8
mov edx, dword [ebp - 0x2034]
push edx
call fcn.0059392f
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.0059393a
mov esp, ebp
pop ebp
ret