Function at 0x461910
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x558457
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x2e0]
mov dword fs:[0], eax
mov dword [esp + 0x44], ecx
push 0x104
lea ecx, [esp + 0x28]
call fcn.0049f020
mov ebp, vtable.cWCStr.0
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x2f0], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x104
lea ecx, [esp + 0x18]
call fcn.0049f020
mov dword [esp + 0x14], ebp
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
push edx
push eax
mov byte [esp + 0x2f0], 1
call fcn.004b9fa0
add esp, 8
or edi, 0xffffffff
push edi
lea ecx, [esp + 0x18]
call fcn.0049f100
push edi
push str.Users
lea ecx, [esp + 0x1c]
call fcn.0049eeb0
mov ecx, dword [esp + 0x18]
push 0
push ecx
lea ecx, [esp + 0x78]
call fcn.00419240
lea ecx, [esp + 0x70]
mov byte [esp + 0x2e8], 2
call fcn.00419950
test al, al
je 0x461bad
mov bl, 3
mov edx, dword [esp + 0x70]
shr edx, 4
test dl, 1
je 0x461b99
lea ecx, [esp + 0x70]
call fcn.00418910
test al, al
jne 0x461b99
push 0xffffffffffffffff
lea eax, [esp + 0xa0]
push str.All_Users
push eax
call fcn.004091c0
add esp, 0xc
test al, al
jne 0x461b99
push 0xffffffffffffffff
lea ecx, [esp + 0xa0]
push str.Public
push ecx
call fcn.004091c0
add esp, 0xc
test al, al
jne 0x461b99
push 0xffffffffffffffff
lea edx, [esp + 0xa0]
push str.Default_User
push edx
call fcn.004091c0
add esp, 0xc
test al, al
jne 0x461b99
push 0xffffffffffffffff
lea eax, [esp + 0xa0]
push str.Default
push eax
call fcn.004091c0
add esp, 0xc
test al, al
jne 0x461b99
xor esi, esi
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x3c]
call fcn.0049eff0
mov dword [esp + 0x34], ebp
mov eax, dword [esp + 0x2d4]
mov ecx, dword [esp + 0x2d0]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x2d0]
lea edx, [esp + 0xa4]
push edx
lea edx, [ecx + eax*2]
push edx
mov byte [esp + 0x2f8], bl
call fcn.004ae920
mov edi, dword [esp + 0x2d8]
push esi
call fcn.00406a50
push eax
push edi
lea eax, [esp + 0x50]
push str._sAppDataLocal_s
push eax
call fcn.00401080
add esp, 0x24
push 2
push 1
lea ecx, [esp + 0x50]
xor edi, edi
call fcn.00435710
mov byte [esp + 0x2e8], 4
cmp dword [esp + 0x5c], edi
je 0x461b1d
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx]
mov edi, dword [edx + 4]
push 0
push esi
push edi
call fcn.00407a30
add esp, 0xc
test al, al
jne 0x461b3e
mov eax, dword [esp + 0x38]
push eax
call fcn.004ba280
add esp, 4
test eax, eax
je 0x461b66
push 0xffffffffffffffff
push 0x576cfc
lea ecx, [esp + 0x3c]
call fcn.0049eeb0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
push ecx
add edx, 0x260
push edx
call fcn.00460270
add esp, 8
lea ecx, [esp + 0x48]
mov byte [esp + 0x2e8], bl
call fcn.004357a0
lea ecx, [esp + 0x34]
mov byte [esp + 0x2e8], 2
mov dword [esp + 0x34], vtable.cWCS.0
call fcn.0049ee80
inc esi
cmp esi, 4
jl 0x461a93
lea ecx, [esp + 0x70]
call fcn.004192b0
test al, al
jne 0x4619f4
or edi, 0xffffffff
mov eax, dword [esp + 0x2c0]
mov byte [esp + 0x2e8], 1
cmp eax, edi
je 0x461bce
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x2c0], edi
mov esi, vtable.cWCS.0
lea ecx, [esp + 0x2c4]
mov dword [esp + 0x2c4], esi
call fcn.0049ee80
lea ecx, [esp + 0x14]
mov byte [esp + 0x2e8], 0
mov dword [esp + 0x14], esi
call fcn.0049ee80
lea ecx, [esp + 0x24]
mov dword [esp + 0x2e8], edi
mov dword [esp + 0x24], esi
call fcn.0049ee80
mov ecx, dword [esp + 0x2e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c8]
xor ecx, esp
call fcn.0051916c
add esp, 0x2d8
ret