Function at 0x462ad0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c85b5
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x209c
call fcn.004aa810
mov eax, dword [0x502054]
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 0x462ce7
mov byte [ebp - 4], 1
push str.Common_StartUp
lea ecx, [ebp - 0x2044]
call fcn.00460330
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.0045f210
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2044]
call fcn.00460b90
mov edx, dword [ebp + edi*4 - 0x20a4]
lea ecx, [ebp - 0x205c]
call fcn.0045d5b0
mov byte [ebp - 4], 3
or esi, 1
mov dword [ebp - 0x207c], esi
push eax
lea ecx, [ebp - 0x202c]
call fcn.004602f0
cmp dword [eax + 0x10], 0
je 0x462c41
mov edx, dword [ebp - 0x2088]
lea ecx, [ebp - 0x202c]
call fcn.004582f0
test al, al
mov byte [ebp - 0x2075], 1
jne 0x462c48
mov byte [ebp - 0x2075], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x207c]
test al, 1
je 0x462c6d
and eax, 0xfffffffe
mov dword [ebp - 0x207c], eax
lea ecx, [ebp - 0x205c]
call fcn.00460b90
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 0x462ba3
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 0x462eae
xor edi, edi
mov dword [ebp - 0x2084], edi
cmp edi, 2
jae 0x462eae
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2014]
push eax
lea ecx, [ebp - 0x2044]
call fcn.00460330
mov byte [ebp - 4], 6
push 0x4ec208
lea ecx, [ebp - 0x2044]
call fcn.00460230
lea eax, [ebp - 0x202c]
cmp dword [ebp - 0x2018], 8
cmovae eax, dword [ebp - 0x202c]
push dword [ebp - 0x201c]
push eax
lea ecx, [ebp - 0x2044]
call fcn.00460d30
push str.DefaultUser_StartUp
lea ecx, [ebp - 0x205c]
call fcn.00460330
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.0045f210
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x205c]
call fcn.00460b90
mov edx, dword [ebp + edi*4 - 0x20ac]
lea ecx, [ebp - 0x2074]
call fcn.0045d320
mov byte [ebp - 4], 8
or esi, 2
mov dword [ebp - 0x207c], esi
push eax
lea ecx, [ebp - 0x202c]
call fcn.004602f0
cmp dword [eax + 0x10], 0
je 0x462df9
mov edx, dword [ebp - 0x2088]
lea ecx, [ebp - 0x2044]
call fcn.004582f0
test al, al
mov byte [ebp - 0x2075], 1
jne 0x462e00
mov byte [ebp - 0x2075], 0
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x207c]
test al, 2
je 0x462e25
and eax, 0xfffffffd
mov dword [ebp - 0x207c], eax
lea ecx, [ebp - 0x2074]
call fcn.00460b90
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.00460b90
mov dword [ebp - 4], 0
inc edi
mov esi, dword [ebp - 0x207c]
jmp 0x462d0f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x202c]
call fcn.00460b90
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.004a9913
mov esp, ebp
pop ebp
ret