Function at 0x45bf50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3a5b
mov eax, dword fs:[0]
push eax
mov eax, 0x2698
call fcn.004957d0
mov eax, dword [0x4c9614]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x2668], edi
mov dword [ebp - method.CFileVersion.virtual_0], vtable.CFileVersion.0
mov dword [ebp - 0x2220], esi
push ebx
lea eax, [ebp - 0x242c]
mov dword [ebp - 4], esi
call fcn.00469270
push 0x208
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.004845b0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x45c0d5
lea edx, [ebp - 0x21c]
push edx
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x45c0d5
mov ecx, ebx
call fcn.004644e0
test eax, eax
je 0x45c0d5
lea eax, [ebp - 0x265c]
push eax
call fcn.0040fa10
push ecx
mov eax, esp
mov dword [ebp - 0x2668], esp
push ecx
mov ebx, 1
mov byte [ebp - 4], bl
mov dword [eax], esi
mov eax, esp
mov dword [ebp - 0x2668], esp
mov dword [eax], esi
push edi
lea esi, [ebp - 0x2630]
call fcn.00412210
test eax, eax
je 0x45c090
lea ecx, [ebp - 0x2688]
push str.IDS_SYS_EXE_NOT_IN_SB
push ecx
mov ecx, edi
call fcn.004046e0
add esp, 8
mov byte [ebp - 4], 2
cmp dword [eax + 0x18], 8
jb 0x45c061
mov eax, dword [eax + 4]
jmp 0x45c064
add eax, 4
push 0
push 0
push eax
push 0
lea ecx, [ebp - 0x265c]
call fcn.00411960
lea ecx, [ebp - 0x2688]
mov byte [ebp - 4], bl
call fcn.00401420
push ebx
lea esi, [ebp - 0x265c]
call fcn.004116c0
lea edx, [ebp - 0x265c]
push edx
mov byte [ebp - 4], 0
call fcn.0040fbb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2220]
mov dword [ebp - method.CFileVersion.virtual_0], vtable.CFileVersion.0
test eax, eax
je 0x45c0ce
push eax
call fcn.0047ff1e
add esp, 4
mov dword [ebp - 0x2220], 0
xor eax, eax
jmp 0x45c29c
lea eax, [ebp - 0x266c]
mov dword [ebp - 0x2664], esi
push eax
lea edi, [ebp - 0x2664]
lea esi, [ebp - 0x242c]
call fcn.00454b60
xor esi, esi
push 0x38
lea ecx, [ebp - 0x26a4]
push esi
push ecx
mov dword [ebp - 0x2660], esi
call fcn.004845b0
lea eax, [ebp - 0x2660]
add esp, 0xc
lea edx, [ebp - 0x221c]
push eax
lea edi, [ebp - 0x26a4]
mov eax, ebx
mov dword [ebp - 0x2674], 0x2000
mov dword [ebp - 0x2678], edx
call fcn.00477360
add esp, 4
test eax, eax
je 0x45c26d
mov ebx, 3
cmp dword [ebp - 0x2660], ebx
jne 0x45c26d
cmp dword [ebp - 0x26a0], ebx
je 0x45c26d
cmp dword [ebp - 0x2664], esi
je 0x45c1a0
mov edx, dword [esi + 0x4cc7ac]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45c172
mov ecx, dword [ebp - 0x2664]
sub eax, edi
sar eax, 1
push eax
push edx
push ecx
call fcn.0047f911
add esp, 0xc
test eax, eax
je 0x45c204
add esi, 4
cmp esi, 0x1c
jb 0x45c167
xor esi, esi
lea edx, [ebp - 0x265c]
push edx
call fcn.0040fa10
mov edi, dword [ebp - 0x2668]
push ecx
mov byte [ebp - 4], bl
mov eax, esp
mov dword [ebp - 0x2660], esp
push ecx
mov dword [eax], esi
mov eax, esp
mov dword [ebp - 0x2660], esp
mov dword [eax], esi
push edi
lea esi, [ebp - 0x2630]
call fcn.00412210
test eax, eax
je 0x45c261
lea eax, [ebp - 0x2688]
push str.IDS_360EXE_NOT_IN_SB
push eax
mov ecx, edi
call fcn.004046e0
add esp, 8
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], 8
jb 0x45c231
mov eax, dword [eax + 4]
jmp 0x45c234
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2220]
mov dword [ebp - method.CFileVersion.virtual_0], vtable.CFileVersion.0
test eax, eax
je 0x45c297
push eax
call fcn.0047ff1e
mov dword [ebp - 0x2220], 0
jmp 0x45c294
add eax, 4
push 0
push 0
push eax
push 0
lea ecx, [ebp - 0x265c]
call fcn.00411960
lea ecx, [ebp - 0x2688]
mov byte [ebp - 4], bl
call fcn.00401420
push 1
lea esi, [ebp - 0x265c]
call fcn.004116c0
lea ecx, [ebp - 0x265c]
push ecx
jmp 0x45c097
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2220]
mov dword [ebp - method.CFileVersion.virtual_0], vtable.CFileVersion.0
cmp eax, esi
je 0x45c297
push eax
call fcn.0047ff1e
mov dword [ebp - 0x2220], esi
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047e6eb
mov esp, ebp
pop ebp
ret