Function at 0x469ac0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d780c
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x234], esi
mov ebx, dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push str.libraryWin_msvc2015x64_
mov edx, ebx
mov dword [esi + 0x54], 2
lea ecx, [ebp - 0x230]
call fcn.0041c030
add esp, 4
push str.vcrt_x64.7z
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.0041c030
add esp, 4
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov esi, dword [ebp - 0x230]
mov eax, edi
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x469b5b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push str.libraryWin_msvc2015x64System64
mov edx, ebx
lea ecx, [ebp - 0x224]
call fcn.0041c030
add esp, 4
push 0x20a
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.004a73c0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4f86e4
push 0x515408
call fcn.0048be90
add esp, 8
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.0046a4c0
test eax, eax
jne 0x469be5
push dword [ebp - 0x228]
push 0x4f805c
push 0x515408
call fcn.0048be90
add esp, 0xc
xor esi, esi
jmp 0x469cfc
mov eax, dword [0x515be4]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x469c1d
push str.Kernel32.dll
call esi
test eax, eax
je 0x469c14
push str.Wow64EnableWow64FsRedirection
push eax
call ebx
mov dword [0x515be4], eax
jmp 0x469c19
mov eax, dword [0x515be4]
test eax, eax
je 0x469c29
push 0
call eax
test eax, eax
je 0x469ccc
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x224]
push 0x4f8710
push 0x515408
call fcn.0048be90
add esp, 0x10
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x22c]
push eax
call fcn.0041c9e0
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x22c]
push 1
push eax
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 4
push eax
call fcn.00469d60
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x469c9a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x515be4]
test eax, eax
jne 0x469cc6
push str.Kernel32.dll
call esi
test eax, eax
je 0x469cbd
push str.Wow64EnableWow64FsRedirection
push eax
call ebx
mov dword [0x515be4], eax
jmp 0x469cc2
mov eax, dword [0x515be4]
test eax, eax
je 0x469ce5
push 1
call eax
jmp 0x469ce5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f874c
push 0x515408
call fcn.0048be90
add esp, 0xc
push str._vc_runtime__MsiInstallProduct_vc_runtimeMinimum_x64
push 0x515408
call fcn.0048be90
add esp, 8
mov esi, 1
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x469d1d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x469d3f
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret 8