Function at 0x423910
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470db1
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
push ebx
push esi
push edi
mov eax, dword [0x5e500c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x38]
call fcn.00402290
mov dword [ebp - 4], 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
xor ecx, ecx
cmp ecx, eax
sbb ebx, ebx
neg ebx
test eax, eax
je 0x423a90
push ecx
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
lea ecx, [ebp - 0x64]
call fcn.00402290
mov byte [ebp - 4], 1
mov dword [ebp - 0x64], vtable.CWConstString.0
mov dword [ebp - 0x58], str.C:WindowsSystem32downlevel_
mov byte [ebp - 4], 2
mov edi, 0x5ca534
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x42399f
cmp dword [ebp - 0x40], 0
mov eax, edi
cmovne eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00401f80
cmp esi, 0x10
je 0x4239fb
lea ecx, [ebp - 0x64]
call fcn.00402290
mov byte [ebp - 4], 4
mov dword [ebp - 0x64], vtable.CWConstString.0
mov dword [ebp - 0x58], str.C:WindowsSystem32downlevel_
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x4239e8
cmp dword [ebp - 0x40], 0
mov eax, edi
cmovne eax, dword [ebp - 0x48]
mov ecx, eax
call fcn.00460410
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00401f80
lea ecx, [ebp - 0x64]
call fcn.00402290
mov byte [ebp - 4], 7
mov dword [ebp - 0x64], vtable.CWConstString.0
mov dword [ebp - 0x58], str.C:WindowsSysWOW64downlevel_
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x423a2a
cmp dword [ebp - 0x40], 0
mov eax, edi
cmovne eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00401f80
cmp esi, 0x10
je 0x423a83
lea ecx, [ebp - 0x64]
call fcn.00402290
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x64], vtable.CWConstString.0
mov dword [ebp - 0x58], str.C:WindowsSysWOW64downlevel_
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x58]
test ecx, ecx
jne 0x423a72
cmp dword [ebp - 0x40], ecx
cmovne edi, dword [ebp - 0x48]
mov ecx, edi
call fcn.00460410
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00401f80
push 0
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
jmp 0x423b1d
lea ecx, [ebp - 0x64]
call fcn.00402290
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x64], vtable.CWConstString.0
mov dword [ebp - 0x58], str.C:WindowsSystem32downlevel_
mov byte [ebp - 4], 0xe
mov edi, 0x5ca534
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x423ac4
cmp dword [ebp - 0x40], 0
mov eax, edi
cmovne eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00401f80
cmp esi, 0x10
je 0x423b1d
lea ecx, [ebp - 0x64]
call fcn.00402290
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x64], vtable.CWConstString.0
mov dword [ebp - 0x58], str.C:WindowsSystem32downlevel_
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x58]
test ecx, ecx
jne 0x423b0c
cmp dword [ebp - 0x40], ecx
cmovne edi, dword [ebp - 0x48]
mov ecx, edi
call fcn.00460410
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00401f80
mov ecx, dword [0x5e6670]
mov eax, dword [ecx + 0xf6d8]
test eax, eax
jne 0x423b40
cmp dword [ecx + 0xf6f0], eax
mov eax, 0x5ca534
je 0x423b40
mov eax, dword [ecx + 0xf6e8]
mov ecx, 0x5cac24
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x423b6b
test dx, dx
je 0x423b67
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x423b6b
add eax, 4
add ecx, 4
test dx, dx
jne 0x423b45
xor eax, eax
jmp 0x423b70
sbb eax, eax
or eax, 1
test eax, eax
jne 0x423bc4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
cmp ebx, 1
jne 0x423b94
test eax, eax
je 0x423b8d
push eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call dword [eax + 0xc]
push str.SystemDll_SystemDll_win11_64.json
jmp 0x423ba7
test eax, eax
je 0x423ba2
push eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call dword [eax + 0xc]
push str.SystemDll_SystemDll_win11_32.json
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.004633c0
mov ecx, dword [0x5e6670]
mov eax, dword [ecx + 0xf6d8]
test eax, eax
jne 0x423be7
cmp dword [ecx + 0xf6f0], eax
mov eax, 0x5ca534
je 0x423be7
mov eax, dword [ecx + 0xf6e8]
mov ecx, 0x5cac34
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x423c16
test dx, dx
je 0x423c12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x423c16
add eax, 4
add ecx, 4
test dx, dx
jne 0x423bf0
xor eax, eax
jmp 0x423c1b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x423c6f
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
cmp ebx, 1
jne 0x423c3f
test eax, eax
je 0x423c38
push eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call dword [eax + 0xc]
push str.SystemDll_SystemDll_win10_64.json
jmp 0x423c52
test eax, eax
je 0x423c4d
push eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call dword [eax + 0xc]
push str.SystemDll_SystemDll_win10_32.json
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.004633c0
mov ecx, dword [0x5e6670]
mov eax, dword [ecx + 0xf6d8]
test eax, eax
jne 0x423c92
cmp dword [ecx + 0xf6f0], eax
mov eax, 0x5ca534
je 0x423c92
mov eax, dword [ecx + 0xf6e8]
mov ecx, 0x5cac20
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x423cbd
test dx, dx
je 0x423cb9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x423cbd
add eax, 4
add ecx, 4
test dx, dx
jne 0x423c97
xor eax, eax
jmp 0x423cc2
sbb eax, eax
or eax, 1
test eax, eax
jne 0x423d16
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
cmp ebx, 1
jne 0x423ce6
test eax, eax
je 0x423cdf
push eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call dword [eax + 0xc]
push str.SystemDll_SystemDll_win8_64.json
jmp 0x423cf9
test eax, eax
je 0x423cf4
push eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call dword [eax + 0xc]
push str.SystemDll_SystemDll_win8_32.json
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.004633c0
mov ecx, dword [0x5e6670]
mov eax, dword [ecx + 0xf6d8]
test eax, eax
jne 0x423d39
cmp dword [ecx + 0xf6f0], eax
mov eax, 0x5ca534
je 0x423d39
mov eax, dword [ecx + 0xf6e8]
mov ecx, 0x5cac2c
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x423d66
test dx, dx
je 0x423d62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x423d66
add eax, 4
add ecx, 4
test dx, dx
jne 0x423d40
xor eax, eax
jmp 0x423d6b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x423dbf
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
cmp ebx, 1
jne 0x423d8f
test eax, eax
je 0x423d88
push eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call dword [eax + 0xc]
push str.SystemDll_SystemDll_win7_64.json
jmp 0x423da2
test eax, eax
je 0x423d9d
push eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call dword [eax + 0xc]
push str.SystemDll_SystemDll_win7_32.json
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.004633c0
lea ecx, [ebp - 0x188]
call fcn.00402290
mov byte [ebp - 4], 0x13
mov dword [ebp - method.CWString.virtual_0], vtable.CWConstString.0
mov dword [ebp - 0x17c], 0x5ca534
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x15c]
call fcn.00402290
mov byte [ebp - 4], 0x15
mov dword [ebp - method.CWString.virtual_0], vtable.CWConstString.0
mov dword [ebp - 0x150], 0x5ca534
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x130]
call fcn.00402290
mov byte [ebp - 4], 0x17
mov dword [ebp - method.CWString.virtual_0], vtable.CWConstString.0
mov dword [ebp - 0x124], 0x5ca534
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x80], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0x80], vtable.CVolObject.0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x80], vtable.CVolMem.0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x68], 0x40
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x104]
call fcn.00402290
mov byte [ebp - 4], 0x1b
mov dword [ebp - method.CWString.virtual_0], vtable.CWConstString.0
mov dword [ebp - 0xf8], 0x5ca534
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xd8]
call fcn.00402290
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0xd8], vtable.CWConstString.0
mov dword [ebp - 0xcc], 0x5ca534
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xac]
call fcn.00402290
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0xac], vtable.CWConstString.0
mov dword [ebp - 0xa0], 0x5ca534
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x38]
mov edx, dword [0x5e6670]
lea ecx, [ebp - 0x1e0]
push eax
lea edx, [edx + 0xf5b4]
call fcn.00465990
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x130]
or dword [ebp - 0x7c], 1
sub esp, 0x14
push 0x4e20
push ecx
lea ecx, [ebp - 0x80]
push ecx
push ecx
lea ecx, [ebp - 0x104]
push ecx
lea ecx, [ebp - 0xd8]
push ecx
lea ecx, [ebp - 0xac]
mov edx, eax
push ecx
push ecx
lea ecx, [ebp - 0x54]
call fcn.0040cf20
mov byte [ebp - 4], 0x22
mov edx, eax
lea ecx, [ebp - 0x1b4]
call fcn.0044c520
mov edi, eax
mov byte [ebp - 4], 0x23
mov esi, dword [0x5e6670]
add esi, 0xf624
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x44]
mov eax, dword [edi + 4]
lea ecx, [esi + 0x10]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
call dword [eax + 0x44]
lea eax, [edi + 0x10]
push eax
lea ecx, [esi + 0x10]
call fcn.004026a0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x1b4]
call fcn.00401f80
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x54], vtable.CVolMem.0
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x423fdc
mov eax, dword [ebp - 0x54]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, fcn.0045f7d0
jne 0x423fd7
mov ecx, 0x5e6638
call fcn.00463fb0
jmp 0x423fdc
lea ecx, [ebp - 0x54]
call eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x54], vtable.CVolObject.0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x1e0]
call fcn.00401f80
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xac]
call fcn.00401f80
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xd8]
call fcn.00401f80
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x104]
call fcn.00401f80
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x80], vtable.CVolMem.0
mov byte [ebp - 4], 0x28
mov edx, dword [ebp - 0x74]
test edx, edx
je 0x42406d
mov eax, dword [ebp - 0x80]
push edx
mov eax, dword [eax + 0xc]
cmp eax, fcn.0045f7d0
jne 0x424068
mov ecx, 0x5e6638
call fcn.00463fb0
jmp 0x42406d
lea ecx, [ebp - 0x80]
call eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x80], vtable.CVolObject.0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x130]
call fcn.00401f80
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x15c]
call fcn.00401f80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x188]
call fcn.00401f80
mov eax, dword [0x5e6670]
mov dword [eax + 0xf6b8], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401f80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret