Function at 0x462b80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c79a5
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x209c
call fcn.004aa970
mov eax, dword [0x4ff080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x208c], edx
mov dword [ebp - 0x2088], ecx
mov dword [ebp - 0x2098], ecx
mov dword [ebp - 0x209c], edx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x2090], ecx
xor esi, esi
mov dword [ebp - 0x207c], esi
xor al, al
mov dword [ebp - 0x2080], eax
mov byte [ebp - 0x2076], al
mov dword [ebp - 0x2094], 0x1000
mov dword [ebp - 0x20a4], 0x18
mov dword [ebp - 0x20a0], 0x1e
mov dword [ebp - 0x20ac], 7
mov dword [ebp - 0x20a8], 0x1d
xorps xmm0, xmm0
movups xmmword [ebp - 0x202c], xmm0
mov dword [ebp - 0x201c], esi
mov dword [ebp - 0x2018], esi
mov dword [ebp - 0x201c], esi
mov dword [ebp - 0x2018], 7
xor eax, eax
mov word [ebp - 0x202c], ax
mov dword [ebp - 4], eax
xor edi, edi
mov dword [ebp - 0x2084], edi
cmp edi, 2
jae 0x462d97
mov byte [ebp - 4], 1
push str.Common_StartUp
lea ecx, [ebp - 0x2044]
call fcn.00460390
mov byte [ebp - 4], 2
push dword [ebp - 0x2090]
push 0
push ecx
lea eax, [ebp - 0x2044]
push eax
mov ecx, dword [ebp - 0x208c]
call fcn.0045f270
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2044]
call fcn.00460bf0
mov edx, dword [ebp + edi*4 - 0x20a4]
lea ecx, [ebp - 0x205c]
call fcn.0045d610
mov byte [ebp - 4], 3
or esi, 1
mov dword [ebp - 0x207c], esi
push eax
lea ecx, [ebp - 0x202c]
call fcn.00460350
cmp dword [eax + 0x10], 0
je 0x462cf1
mov edx, dword [ebp - 0x2088]
lea ecx, [ebp - 0x202c]
call fcn.00458330
test al, al
mov byte [ebp - 0x2075], 1
jne 0x462cf8
mov byte [ebp - 0x2075], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x207c]
test al, 1
je 0x462d1d
and eax, 0xfffffffe
mov dword [ebp - 0x207c], eax
lea ecx, [ebp - 0x205c]
call fcn.00460bf0
mov eax, dword [ebp - 0x2080]
movzx eax, al
cmp byte [ebp - 0x2075], 0
mov ecx, 1
cmovne eax, ecx
mov dword [ebp - 0x2080], eax
mov byte [ebp - 0x2076], al
mov dword [ebp - 4], 0
inc edi
mov esi, dword [ebp - 0x207c]
jmp 0x462c53
mov dword [ebp - 0x2094], 0x1000
lea eax, [ebp - 0x2094]
push eax
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.USERENV.dll_GetDefaultUserProfileDirectoryW]
test eax, eax
je 0x462f5e
xor edi, edi
mov dword [ebp - 0x2084], edi
cmp edi, 2
jae 0x462f5e
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2014]
push eax
lea ecx, [ebp - 0x2044]
call fcn.00460390
mov byte [ebp - 4], 6
push 0x4e8858
lea ecx, [ebp - 0x2044]
call fcn.00460290
lea eax, [ebp - 0x202c]
cmp dword [ebp - 0x2018], 7
cmova eax, dword [ebp - 0x202c]
push dword [ebp - 0x201c]
push eax
lea ecx, [ebp - 0x2044]
call fcn.00460d90
push str.DefaultUser_StartUp
lea ecx, [ebp - 0x205c]
call fcn.00460390
mov byte [ebp - 4], 7
push dword [ebp - 0x2090]
push 0
push ecx
lea eax, [ebp - 0x205c]
push eax
mov ecx, dword [ebp - 0x208c]
call fcn.0045f270
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x205c]
call fcn.00460bf0
mov edx, dword [ebp + edi*4 - 0x20ac]
lea ecx, [ebp - 0x2074]
call fcn.0045d380
mov byte [ebp - 4], 8
or esi, 2
mov dword [ebp - 0x207c], esi
push eax
lea ecx, [ebp - 0x202c]
call fcn.00460350
cmp dword [eax + 0x10], 0
je 0x462ea9
mov edx, dword [ebp - 0x2088]
lea ecx, [ebp - 0x2044]
call fcn.00458330
test al, al
mov byte [ebp - 0x2075], 1
jne 0x462eb0
mov byte [ebp - 0x2075], 0
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x207c]
test al, 2
je 0x462ed5
and eax, 0xfffffffd
mov dword [ebp - 0x207c], eax
lea ecx, [ebp - 0x2074]
call fcn.00460bf0
mov eax, dword [ebp - 0x2080]
movzx eax, al
cmp byte [ebp - 0x2075], 0
mov ecx, 1
cmovne eax, ecx
mov dword [ebp - 0x2080], eax
mov byte [ebp - 0x2076], al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2044]
call fcn.00460bf0
mov dword [ebp - 4], 0
inc edi
mov esi, dword [ebp - 0x207c]
jmp 0x462dbf
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x202c]
call fcn.00460bf0
mov eax, dword [ebp - 0x2080]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a9b96
mov esp, ebp
pop ebp
ret