Function at 0x4900b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5b25aa
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x6bd6f8]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
mov eax, dword [0x6bd6f8]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
push 4
mov dword [esp + 0x1c], edi
call fcn.00573487
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 0x490115
mov dword [eax], edi
jmp 0x490117
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.00471bb0
add esp, 8
mov byte [esp + 0x234], 6
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
je 0x4901b3
lea edx, [esp + 0x14]
push str.WindowsApps
push edx
lea ecx, [esp + 0x18]
call fcn.0040fc0a
add esp, 8
mov byte [esp + 0x234], 7
push eax
mov eax, edi
call fcn.004138ba
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 0x4901b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x14]
call fcn.0048ff90
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 0x490219
cmp dword [esi + 0xc], ebx
lea ebp, [esi + 0xc]
jl 0x49020b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x49020b
call fcn.0040b201
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x490200
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 0x490219
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea eax, [esp + 0x18]
call fcn.0040b13c
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 0x490243
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 0x490299
lea edx, [esp + 0x14]
push str.WindowsApps
push edx
lea ecx, [esp + 0x18]
call fcn.0040fc0a
add esp, 8
mov byte [esp + 0x234], 0xb
push eax
mov eax, edi
call fcn.004138ba
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 0x490299
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.005780d0
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 0x4902d0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x24]
push ecx
lea eax, [esp + 0x18]
call fcn.0040b13c
mov edx, dword [esp + 0x10]
cmp dword [edx - 0xc], ebx
je 0x490344
lea eax, [esp + 0x14]
push str.InfusedApps
push eax
lea ecx, [esp + 0x18]
call fcn.0040fc0a
add esp, 8
mov byte [esp + 0x234], 0xd
push eax
mov eax, edi
call fcn.004138ba
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 0x490344
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 0x49036b
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.0057340c
add esp, 0x228
ret