Function at 0x41a370
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x488deb
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x4bc7b8]
xor eax, esp
mov dword [esp + 0x83c], eax
push ebp
push esi
push edi
mov eax, dword [0x4bc7b8]
xor eax, esp
push eax
lea eax, [esp + 0x850]
mov dword fs:[0], eax
xor ebp, ebp
push 0x206
lea eax, [esp + 0x23a]
push ebp
push eax
mov word [esp + 0x240], bp
call fcn.0046adc0
add esp, 0xc
push 0x206
lea ecx, [esp + 0x32]
push ebp
push ecx
mov word [esp + 0x38], bp
call fcn.0046adc0
add esp, 0xc
mov dword [esp + 0x10], vtable.CList_wchar_t___wchar_t__.0
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], 0xa
push str.ScrubMenus__...
mov dword [esp + 0x85c], ebp
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
push 0x206
lea edx, [esp + 0x442]
push ebp
push edx
mov word [esp + 0x448], bp
call fcn.0046adc0
add esp, 0xc
push 0x104
push str.P1100_SHORTCUT_DIRECTORY
call fcn.004277e0
push eax
lea edi, [esp + 0x448]
call fcn.00428060
push 0x104
push str.P1600_SHORTCUT_DIRECTORY
call fcn.004277e0
push eax
lea edi, [esp + 0x650]
call fcn.00428060
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x2c]
push eax
push ebp
push ebp
push 0x17
push ebp
call edi
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x499dcc
lea ecx, [esp + 0x30]
push ecx
call esi
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x238]
push 0x104
push eax
call fcn.00467e2b
add esp, 0xc
lea ecx, [esp + 0x43c]
push ecx
lea edx, [esp + 0x238]
push edx
call esi
push 1
push 0x49bf20
lea eax, [esp + 0x23c]
push eax
mov ecx, ebx
call fcn.00419bf0
lea edx, [esp + 0x10]
lea ecx, [esp + 0x2c]
call fcn.00419ea0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x238]
push 0x104
push edx
call fcn.00467e2b
add esp, 0xc
lea eax, [esp + 0x644]
push eax
lea ecx, [esp + 0x238]
push ecx
call esi
push 1
push 0x49bf20
lea edx, [esp + 0x23c]
push edx
mov ecx, ebx
call fcn.00419bf0
lea edx, [esp + 0x10]
lea ecx, [esp + 0x2c]
call fcn.00419ea0
lea eax, [esp + 0x2c]
push eax
push ebp
push ebp
push 2
push ebp
call edi
push 0x499dcc
lea ecx, [esp + 0x30]
push ecx
call esi
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x238]
push 0x104
push eax
call fcn.00467e2b
add esp, 0xc
lea ecx, [esp + 0x43c]
push ecx
lea edx, [esp + 0x238]
push edx
call esi
push 1
push 0x49bf20
lea eax, [esp + 0x23c]
push eax
mov ecx, ebx
call fcn.00419bf0
lea edx, [esp + 0x10]
lea ecx, [esp + 0x2c]
call fcn.00419ea0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x238]
push 0x104
push edx
call fcn.00467e2b
add esp, 0xc
lea eax, [esp + 0x644]
push eax
lea ecx, [esp + 0x238]
push ecx
call esi
push 1
push 0x49bf20
lea edx, [esp + 0x23c]
push edx
mov ecx, ebx
call fcn.00419bf0
lea edx, [esp + 0x10]
lea ecx, [esp + 0x2c]
call fcn.00419ea0
mov dword [esp + 0x858], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov dword [esp + 0x10], vtable.CList_wchar_t___wchar_t__.0
je 0x41a616
lea ebx, [ebx]
mov eax, dword [eax]
cmp eax, ebp
jne 0x41a610
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
call fcn.0045632d
mov ecx, dword [esp + 0x850]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x83c]
xor ecx, esp
call fcn.004677d8
add esp, 0x84c
ret