Function at 0x4688e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x300
lea eax, [esp + 0x280]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
push edi
push 0x80
push eax
call ebp
mov esi, dword [esp + 0x314]
push str.LOCALS1Temp
push esi
call fcn.0047bec0
add esp, 8
test eax, eax
je 0x468928
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x300
ret
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor edx, edx
cmp ecx, ebx
jle 0x46894d
cmp byte [eax + esi], 0x5c
jne 0x468943
inc edx
inc eax
cmp eax, ecx
jl 0x46893c
cmp edx, 2
jge 0x468962
cmp ecx, 4
jge 0x468962
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x300
ret
lea ecx, [esp + 0x290]
lea edx, [esp + 0x10]
push ecx
push str._sDocuments_and_Settings
push edx
mov byte [esp + 0x29e], bl
call fcn.0047a8f8
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
push 0x100
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x120]
dec ecx
push esi
push eax
mov edi, ecx
call fcn.0047b120
lea ecx, [esp + 0x128]
lea edx, [esp + 0x28]
push ecx
push edx
mov byte [esp + edi + 0x130], bl
call fcn.0047fde0
add esp, 0x20
test eax, eax
jne 0x4689d3
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x300
ret
lea eax, [esp + 0x290]
lea ecx, [esp + 0x10]
push eax
push str._sProgram_FilesInternet_Explorer
push ecx
mov byte [esp + 0x1c], bl
call fcn.0047a8f8
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
push 0x100
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x120]
dec ecx
push esi
push edx
mov edi, ecx
mov byte [esp + 0x128], bl
call fcn.0047b120
lea eax, [esp + 0x128]
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + edi + 0x130], bl
call fcn.0047fde0
add esp, 0x20
test eax, eax
jne 0x468a48
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x300
ret
lea edx, [esp + 0x290]
lea eax, [esp + 0x10]
push edx
push str._sUsers
push eax
mov byte [esp + 0x1c], bl
call fcn.0047a8f8
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
push 0x100
repne scasb al, byte es:[edi]
not ecx
dec ecx
push esi
mov edi, ecx
lea ecx, [esp + 0x124]
push ecx
mov byte [esp + 0x128], bl
call fcn.0047b120
lea edx, [esp + 0x128]
lea eax, [esp + 0x28]
push edx
push eax
mov byte [esp + edi + 0x130], bl
call fcn.0047fde0
add esp, 0x20
test eax, eax
jne 0x468abd
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x300
ret
lea ecx, [esp + 0x210]
push 0x80
push ecx
call ebp
lea edx, [esp + 0x210]
lea eax, [esp + 0x10]
push edx
push str._sCursors
push eax
mov byte [esp + 0x1c], bl
call fcn.0047a8f8
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
push 0x100
repne scasb al, byte es:[edi]
not ecx
dec ecx
push esi
mov edi, ecx
lea ecx, [esp + 0x124]
push ecx
mov byte [esp + 0x128], bl
call fcn.0047b120
lea edx, [esp + 0x128]
lea eax, [esp + 0x28]
push edx
push eax
mov byte [esp + edi + 0x130], bl
call fcn.0047fde0
add esp, 0x20
test eax, eax
jne 0x468b41
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x300
ret
lea ecx, [esp + 0x210]
lea edx, [esp + 0x10]
push ecx
push str._sFonts
push edx
mov byte [esp + 0x1c], bl
call fcn.0047a8f8
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
push 0x100
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x120]
dec ecx
push esi
push eax
mov edi, ecx
mov byte [esp + 0x128], bl
call fcn.0047b120
lea ecx, [esp + 0x128]
lea edx, [esp + 0x28]
push ecx
push edx
mov byte [esp + edi + 0x130], bl
call fcn.0047fde0
add esp, 0x20
test eax, eax
jne 0x468bb6
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x300
ret
lea eax, [esp + 0x210]
lea ecx, [esp + 0x10]
push eax
push str._sTasks
push ecx
mov byte [esp + 0x1c], bl
call fcn.0047a8f8
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
push 0x100
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x120]
dec ecx
push esi
push edx
mov edi, ecx
mov byte [esp + 0x128], bl
call fcn.0047b120
lea eax, [esp + 0x128]
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + edi + 0x130], bl
call fcn.0047fde0
add esp, 0x20
test eax, eax
jne 0x468c2b
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x300
ret
lea edi, [esp + 0x210]
or ecx, 0xffffffff
xor eax, eax
push 0x100
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x14]
dec ecx
push esi
push edx
mov edi, ecx
call fcn.0047b120
lea eax, [esp + 0x21c]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + edi + 0x24], bl
call fcn.0047fde0
add esp, 0x14
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
inc eax
pop ebx
add esp, 0x300
ret