Function at 0x46a9a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d91f2
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 edi, ecx
mov ebx, dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push str.libraryWin_msvc2015x86_
mov edx, ebx
mov dword [edi + 0x54], 1
lea ecx, [ebp - 0x230]
call fcn.0041c010
add esp, 4
push str.vcrt_x86.7z
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.0041c010
add esp, 4
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [ebp - 0x230]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46aa35
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004a8960
add esp, 0xc
lea eax, [ebp - 0x220]
cmp dword [ebp + 8], 0
push 0
je 0x46aa5d
push 0x29
jmp 0x46aa5f
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4f8a5c
push 0x515488
call fcn.0048d4b0
push str.libraryWin_msvc2015x86System
mov edx, ebx
lea ecx, [ebp - 0x224]
call fcn.0041c010
add esp, 0xc
mov byte [ebp - 4], 3
lea edx, [ebp - 0x22c]
mov ecx, dword [edi + 0x3c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x22c]
cmp dword [eax - 0xc], 0
jne 0x46ab1d
push dword [ebp - 0x224]
push str._vc_runtime__
push 0x515488
call fcn.0048d4b0
add esp, 0xc
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x228]
push eax
call fcn.0041c970
push 0
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
call fcn.0046aec0
mov byte [ebp - 4], 4
mov ebx, eax
mov edx, dword [ebp - 0x228]
mov ecx, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x46ab17
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x46ab34
jmp 0x46ab82
push 0
lea eax, [ebp - 0x22c]
mov ecx, edi
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.0046aec0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x228]
call fcn.0041c970
push 0
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
call fcn.0046aec0
mov byte [ebp - 4], 4
mov eax, esi
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46ab82
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str._vc_runtime__MsiInstallProduct_vc_runtimeMinimum_x86
push 0x515488
call fcn.0048d4b0
mov byte [ebp - 4], 3
add esp, 8
mov edx, dword [ebp - 0x22c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46abb5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, esi
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46abd6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x234]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x46abf8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 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 - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 8