Function at 0x4a8e00
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5c278a
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x6c56f8]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
push 4
mov dword [esp + 0x1c], edi
call fcn.005812e3
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x234], 1
xor ebx, ebx
cmp eax, ebx
je 0x4a8e65
mov dword [eax], edi
jmp 0x4a8e67
xor eax, eax
mov dword [esp + 0x234], 0xffffffff
mov dword [edi], eax
mov dword [esp + 0x234], 3
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [esp + 0x234], 5
lea eax, [esp + 0x10]
push 0x2a
push eax
call fcn.0048a650
add esp, 8
mov byte [esp + 0x234], 6
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
je 0x4a8f03
lea edx, [esp + 0x14]
push str.WindowsApps
push edx
lea ecx, [esp + 0x18]
call fcn.004116ea
add esp, 8
mov byte [esp + 0x234], 7
push eax
mov eax, edi
call fcn.00416ae3
mov byte [esp + 0x234], 6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a8f03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x14]
call fcn.004a8cd0
mov byte [esp + 0x234], 9
mov ecx, dword [eax]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4a8f69
cmp dword [esi + 0xc], ebx
lea ebp, [esi + 0xc]
jl 0x4a8f5b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4a8f5b
call fcn.0040b5b4
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x4a8f50
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x10], ebx
xor ebx, ebx
jmp 0x4a8f69
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea eax, [esp + 0x18]
call fcn.0040b4fa
mov byte [esp + 0x234], 6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or esi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a8f93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], ebx
je 0x4a8fe9
lea edx, [esp + 0x14]
push str.WindowsApps
push edx
lea ecx, [esp + 0x18]
call fcn.004116ea
add esp, 8
mov byte [esp + 0x234], 0xb
push eax
mov eax, edi
call fcn.00416ae3
mov byte [esp + 0x234], 6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a8fe9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x206
lea edx, [esp + 0x26]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x2c], cx
call fcn.00586790
add esp, 0xc
push 0x104
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 0x20]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4a9020
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x24]
push ecx
lea eax, [esp + 0x18]
call fcn.0040b4fa
mov edx, dword [esp + 0x10]
cmp dword [edx - 0xc], ebx
je 0x4a9094
lea eax, [esp + 0x14]
push str.InfusedApps
push eax
lea ecx, [esp + 0x18]
call fcn.004116ea
add esp, 8
mov byte [esp + 0x234], 0xd
push eax
mov eax, edi
call fcn.00416ae3
mov byte [esp + 0x234], 6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a9094
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x234], 5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a90bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x234], esi
mov eax, edi
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00581268
add esp, 0x228
ret