Function at 0x4cb750
Capabilities:
Get common file path

Disassembly:
sub esp, 0x300
lea eax, [esp + 0x200]
push ebx
push esi
push edi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edi, [esp + 0x20c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.LOCALS1Temp
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x314]
push esi
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4cb7bf
pop edi
pop esi
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 0x4cb7e4
cmp byte [eax + esi], 0x5c
jne 0x4cb7da
inc edx
inc eax
cmp eax, ecx
jl 0x4cb7d3
cmp edx, 2
jge 0x4cb7f8
cmp ecx, 4
jge 0x4cb7f8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x300
ret
lea ecx, [esp + 0x20c]
lea edx, [esp + 0xc]
push ecx
push str._sDocuments_and_Settings
push edx
mov byte [esp + 0x21a], bl
call fcn.004f175f
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
push 0x100
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x11c]
dec ecx
push esi
push eax
mov edi, ecx
call fcn.004f27c0
lea ecx, [esp + 0x124]
lea edx, [esp + 0x24]
push ecx
push edx
mov byte [esp + edi + 0x12c], bl
call fcn.004f61e0
add esp, 0x20
test eax, eax
jne 0x4cb868
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x300
ret
lea eax, [esp + 0x20c]
lea ecx, [esp + 0xc]
push eax
push str._sProgram_FilesInternet_Explorer
push ecx
mov byte [esp + 0x18], bl
call fcn.004f175f
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
push 0x100
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x11c]
dec ecx
push esi
push edx
mov edi, ecx
mov byte [esp + 0x124], bl
call fcn.004f27c0
lea eax, [esp + 0x124]
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + edi + 0x12c], bl
call fcn.004f61e0
add esp, 0x20
test eax, eax
jne 0x4cb8dc
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x300
ret
lea edx, [esp + 0x20c]
lea eax, [esp + 0xc]
push edx
push str._sUsers
push eax
mov byte [esp + 0x18], bl
call fcn.004f175f
lea edi, [esp + 0x18]
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 + 0x120]
push ecx
mov byte [esp + 0x124], bl
call fcn.004f27c0
lea edx, [esp + 0x124]
lea eax, [esp + 0x24]
push edx
push eax
mov byte [esp + edi + 0x12c], bl
call fcn.004f61e0
add esp, 0x20
test eax, eax
jne 0x4cb950
pop edi
pop esi
mov eax, 3
pop ebx
add esp, 0x300
ret
lea ecx, [esp + 0x28c]
lea edx, [esp + 0xc]
push ecx
push str._sCursors
push edx
mov byte [esp + 0x18], bl
call fcn.004f175f
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
push 0x100
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x11c]
dec ecx
push esi
push eax
mov edi, ecx
mov byte [esp + 0x124], bl
call fcn.004f27c0
lea ecx, [esp + 0x124]
lea edx, [esp + 0x24]
push ecx
push edx
mov byte [esp + edi + 0x12c], bl
call fcn.004f61e0
add esp, 0x20
test eax, eax
jne 0x4cb9c4
pop edi
pop esi
mov eax, 2
pop ebx
add esp, 0x300
ret
lea eax, [esp + 0x28c]
lea ecx, [esp + 0xc]
push eax
push str._sFonts
push ecx
mov byte [esp + 0x18], bl
call fcn.004f175f
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
push 0x100
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x11c]
dec ecx
push esi
push edx
mov edi, ecx
mov byte [esp + 0x124], bl
call fcn.004f27c0
lea eax, [esp + 0x124]
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + edi + 0x12c], bl
call fcn.004f61e0
add esp, 0x20
test eax, eax
jne 0x4cba38
pop edi
pop esi
mov eax, 2
pop ebx
add esp, 0x300
ret
lea edx, [esp + 0x28c]
lea eax, [esp + 0xc]
push edx
push str._sTasks
push eax
mov byte [esp + 0x18], bl
call fcn.004f175f
lea edi, [esp + 0x18]
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 + 0x120]
push ecx
mov byte [esp + 0x124], bl
call fcn.004f27c0
lea edx, [esp + 0x124]
lea eax, [esp + 0x24]
push edx
push eax
mov byte [esp + edi + 0x12c], bl
call fcn.004f61e0
add esp, 0x20
test eax, eax
jne 0x4cbaac
pop edi
pop esi
mov eax, 2
pop ebx
add esp, 0x300
ret
lea ecx, [esp + 0x28c]
lea edx, [esp + 0xc]
push ecx
push str._s_system32explorer
push edx
mov byte [esp + 0x18], bl
call fcn.004f175f
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
push 0x100
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x11c]
dec ecx
push esi
push eax
mov edi, ecx
mov byte [esp + 0x124], bl
call fcn.004f27c0
lea ecx, [esp + 0x124]
lea edx, [esp + 0x24]
push ecx
push edx
mov byte [esp + edi + 0x12c], bl
call fcn.004f61e0
add esp, 0x20
test eax, eax
jne 0x4cbb20
pop edi
pop esi
mov eax, 2
pop ebx
add esp, 0x300
ret
lea eax, [esp + 0x20c]
lea ecx, [esp + 0xc]
push eax
push str._sSystem_Volume_Information
push ecx
mov byte [esp + 0x18], bl
call fcn.004f175f
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
push 0x100
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x11c]
dec ecx
push esi
push edx
mov edi, ecx
mov byte [esp + 0x124], bl
call fcn.004f27c0
lea eax, [esp + 0x124]
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + edi + 0x12c], bl
call fcn.004f61e0
add esp, 0x20
test eax, eax
jne 0x4cbb94
pop edi
pop esi
mov eax, 2
pop ebx
add esp, 0x300
ret
lea edx, [esp + 0x20c]
lea eax, [esp + 0xc]
push edx
push str._sRECYCLER
push eax
mov byte [esp + 0x18], bl
call fcn.004f175f
lea edi, [esp + 0x18]
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 + 0x120]
push ecx
mov byte [esp + 0x124], bl
call fcn.004f27c0
lea edx, [esp + 0x124]
lea eax, [esp + 0x24]
push edx
push eax
mov byte [esp + edi + 0x12c], bl
call fcn.004f61e0
add esp, 0x20
test eax, eax
jne 0x4cbc08
pop edi
pop esi
mov eax, 2
pop ebx
add esp, 0x300
ret
lea ecx, [esp + 0x20c]
lea edx, [esp + 0xc]
push ecx
push str._sRECYCLED
push edx
mov byte [esp + 0x18], bl
call fcn.004f175f
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
push 0x100
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x11c]
dec ecx
push esi
push eax
mov edi, ecx
mov byte [esp + 0x124], bl
call fcn.004f27c0
lea ecx, [esp + 0x124]
lea edx, [esp + 0x24]
push ecx
push edx
mov byte [esp + edi + 0x12c], bl
call fcn.004f61e0
add esp, 0x20
test eax, eax
jne 0x4cbc7c
pop edi
pop esi
mov eax, 2
pop ebx
add esp, 0x300
ret
push str.:System_Volume_Information
push esi
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4cbc9d
pop edi
pop esi
mov eax, 2
pop ebx
add esp, 0x300
ret
push str.:RECYCLED
push esi
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4cbcbe
pop edi
pop esi
mov eax, 2
pop ebx
add esp, 0x300
ret
push str.:Recycled
push esi
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4cbcdf
pop edi
pop esi
mov eax, 2
pop ebx
add esp, 0x300
ret
push str.:RECYCLER
push esi
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4cbd00
pop edi
pop esi
mov eax, 2
pop ebx
add esp, 0x300
ret
push str.:Recycler
push esi
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4cbd21
pop edi
pop esi
mov eax, 2
pop ebx
add esp, 0x300
ret
lea edi, [esp + 0x28c]
or ecx, 0xffffffff
xor eax, eax
push 0x100
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x10]
dec ecx
push esi
push eax
mov edi, ecx
call fcn.004f27c0
lea ecx, [esp + 0x298]
lea edx, [esp + 0x18]
push ecx
push edx
mov byte [esp + edi + 0x20], bl
call fcn.004f61e0
add esp, 0x14
neg eax
sbb eax, eax
pop edi
pop esi
inc eax
pop ebx
add esp, 0x300
ret