Function at 0x414910
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x203c]
mov eax, 0x203c
call fcn.005027c0
push 0xffffffffffffffff
push 0x584612
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x6531f0]
xor eax, ebp
mov dword [ebp + 0x2038], 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 + 0x2044]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], ecx
xor edi, edi
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x24], 0x1000
mov dword [ebp - 0x38], 0x18
mov dword [ebp - 0x34], 0x1e
mov eax, 7
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x1d
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x30], edi
xor edx, edx
mov word [ebp + 0x20], dx
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
cmp edi, 2
jae 0x414a54
mov byte [ebp - 4], 1
mov eax, str.Common_StartUp
lea ecx, [ebp]
call fcn.0040c640
mov byte [ebp - 4], 2
lea eax, [ebp]
push eax
mov esi, dword [ebp - 0x28]
call fcn.0040da70
mov byte [ebp - 4], 1
lea esi, [ebp]
call fcn.0042f9c0
mov ecx, dword [ebp + edi*4 - 0x38]
lea edx, [ebp - 0x54]
call fcn.0040a7e0
mov byte [ebp - 4], 3
mov esi, 1
or dword [ebp - 0x18], esi
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 0x1c]
call fcn.0040e380
cmp dword [eax + 0x14], 0
je 0x414a12
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp + 0x1c]
call fcn.004071b0
add esp, 4
test al, al
je 0x414a12
mov bl, 1
jmp 0x414a14
xor bl, bl
mov dword [ebp - 4], esi
test byte [ebp - 0x18], 1
je 0x414a29
and dword [ebp - 0x18], 0xfffffffe
lea esi, [ebp - 0x54]
call fcn.0042f9c0
test bl, bl
je 0x414a31
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], 0
inc edi
jmp 0x414998
mov dword [ebp - 0x24], 0x1000
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp + 0x38]
push eax
call dword [sym.imp.USERENV.dll_GetDefaultUserProfileDirectoryW]
test eax, eax
je 0x414b6d
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
cmp ebx, 2
jae 0x414b6d
mov byte [ebp - 4], 5
lea eax, [ebp + 0x38]
lea ecx, [ebp]
call fcn.0040c640
mov byte [ebp - 4], 6
lea ecx, [ebp]
push ecx
mov eax, 0x63132c
call fcn.0040c6e0
push 0
lea edx, [ebp + 0x1c]
push edx
or eax, 0xffffffff
lea esi, [ebp]
call fcn.0040e1e0
mov eax, str.DefaultUser_StartUp
lea ecx, [ebp - 0x54]
call fcn.0040c640
mov byte [ebp - 4], 7
lea eax, [ebp - 0x54]
push eax
mov esi, dword [ebp - 0x28]
call fcn.0040da70
mov byte [ebp - 4], 6
lea esi, [ebp - 0x54]
call fcn.0042f9c0
mov ecx, dword [ebp + ebx*4 - 0x30]
lea edi, [ebp - 0x70]
call fcn.0040a670
mov byte [ebp - 4], 8
or dword [ebp - 0x18], 2
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 0x1c]
call fcn.0040e380
cmp dword [eax + 0x14], 0
je 0x414b17
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp]
call fcn.004071b0
add esp, 4
test al, al
mov byte [ebp - 0x12], 1
jne 0x414b1b
mov byte [ebp - 0x12], 0
mov dword [ebp - 4], 6
test byte [ebp - 0x18], 2
je 0x414b34
and dword [ebp - 0x18], 0xfffffffd
lea esi, [ebp - 0x70]
call fcn.0042f9c0
cmp byte [ebp - 0x12], 0
je 0x414b3e
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 5
lea esi, [ebp]
call fcn.0042f9c0
mov dword [ebp - 4], 0
inc ebx
jmp 0x414a73
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x34], 8
jb 0x414b86
mov edx, dword [ebp + 0x20]
push edx
call fcn.004fdb3f
add esp, 4
mov dword [ebp + 0x34], 7
mov dword [ebp + 0x30], 0
xor eax, eax
mov word [ebp + 0x20], ax
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2038]
xor ecx, ebp
call fcn.004fdb4a
add ebp, 0x203c
mov esp, ebp
pop ebp
ret