Function at 0x462dd8
Capabilities:
Get common file path

Disassembly:
push 0xc
mov eax, 0x4a3b3e
call fcn.0048e1d2
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, esi
mov dword [ebp - 0x14], ebx
call fcn.00401a17
mov edi, str._DESKTOP_
push edi
mov dword [ebp - 4], ebx
push esi
mov dword [ebp - 0x14], 1
call fcn.00460c15
test eax, eax
pop ecx
pop ecx
je 0x462e5a
lea eax, [ebp - 0x18]
push eax
call fcn.0045e540
mov dword [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x10]
push edi
push esi
push eax
call fcn.0046293f
add esp, 0x14
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004018c1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
mov edi, str._COMMONDESKTOP_
push edi
push esi
call fcn.00460c15
test eax, eax
pop ecx
pop ecx
je 0x462eb3
lea eax, [ebp - 0x10]
push eax
xor edx, edx
call fcn.0045e525
mov dword [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x18]
push edi
push esi
push eax
call fcn.0046293f
add esp, 0x14
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.004018c1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov edi, str._MYDOCS_
push edi
push esi
call fcn.00460c15
test eax, eax
pop ecx
pop ecx
je 0x462f0b
xor ecx, ecx
lea eax, [ebp - 0x10]
call fcn.0045e4f2
mov dword [ebp - 4], 5
push dword [eax]
lea eax, [ebp - 0x18]
push edi
push esi
push eax
call fcn.0046293f
add esp, 0x10
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.004018c1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov edi, str._MYDOCUMENTS_
push edi
push esi
call fcn.00460c15
test eax, eax
pop ecx
pop ecx
je 0x462f63
xor ecx, ecx
lea eax, [ebp - 0x10]
call fcn.0045e4f2
mov dword [ebp - 4], 7
push dword [eax]
lea eax, [ebp - 0x18]
push edi
push esi
push eax
call fcn.0046293f
add esp, 0x10
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.004018c1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov edi, str._MYPICTURES_
push edi
push esi
call fcn.00460c15
test eax, eax
pop ecx
pop ecx
je 0x462fbc
lea eax, [ebp - 0x10]
push 0x27
push eax
call fcn.0045e507
mov dword [ebp - 4], 9
push dword [eax]
lea eax, [ebp - 0x18]
push edi
push esi
push eax
call fcn.0046293f
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.004018c1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov edi, str._MYMUSIC_
push edi
push esi
call fcn.00460c15
test eax, eax
pop ecx
pop ecx
je 0x463015
lea eax, [ebp - 0x10]
push 0xd
push eax
call fcn.0045e507
mov dword [ebp - 4], 0xb
push dword [eax]
lea eax, [ebp - 0x18]
push edi
push esi
push eax
call fcn.0046293f
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.004018c1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov edi, str._MYVIDEOS_
push edi
push esi
call fcn.00460c15
test eax, eax
pop ecx
pop ecx
je 0x46306e
lea eax, [ebp - 0x10]
push 0xe
push eax
call fcn.0045e507
mov dword [ebp - 4], 0xd
push dword [eax]
lea eax, [ebp - 0x18]
push edi
push esi
push eax
call fcn.0046293f
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.004018c1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov edi, str._TEMP_
push edi
push esi
call fcn.00460c15
test eax, eax
pop ecx
pop ecx
je 0x4630c5
lea ebx, [ebp - 0x10]
call fcn.0045a4ce
mov dword [ebp - 4], 0xf
push dword [eax]
lea eax, [ebp - 0x18]
push edi
push esi
push eax
call fcn.0046293f
add esp, 0x10
push eax
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.004018c1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov edi, str._WINDIR_
push edi
push esi
call fcn.00460c15
test eax, eax
pop ecx
pop ecx
je 0x46313d
call fcn.0046e7df
push eax
lea ecx, [ebp - 0x10]
call fcn.00401764
mov eax, 0x104
push eax
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0x11
call fcn.004017a2
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00403395
mov ebx, dword [ebp - 0x10]
push ebx
push edi
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0046293f
add esp, 0x10
push eax
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.004018c1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
lea ecx, [ebx - 0x10]
call fcn.0040174a
mov eax, esi
call fcn.0048e2aa
ret