Function at 0x4251c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5570bb
mov eax, dword fs:[0]
push eax
sub esp, 0x878
mov eax, dword [0x5ac3e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x884], esi
mov dword [ebp - 0x880], 0
mov dword [ebp - 0x87c], esi
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
mov ecx, dword [0x5b4988]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x880], 1
test ecx, ecx
jne 0x425366
push 0x5ad230
call edi
cmp dword [0x5b4988], 0
jne 0x425355
push 0x10
call fcn.004e0596
mov edi, eax
add esp, 4
mov dword [ebp - 0x844], edi
xorps xmm0, xmm0
mov dword [ebp - 4], 1
movups xmmword [edi], xmm0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x878]
push 0x42
xor eax, eax
mov dword [edi], vtable.CAppCompatFlagJunkScanner.0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
mov dword [ebp - 0x868], 0
mov dword [ebp - 0x864], 7
mov word [ebp - 0x878], ax
call fcn.004295e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x860]
push 0x59
xor eax, eax
mov dword [ebp - 0x850], 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantStore
mov dword [ebp - 0x84c], 7
mov word [ebp - 0x860], ax
call fcn.004295e0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x848]
push dword [ebp - 0x884]
lea ecx, [edi + 4]
mov dword [edi + 4], 0
push eax
lea eax, [ebp - 0x878]
mov dword [edi + 8], 0
push eax
mov dword [edi + 0xc], 0
call fcn.0042d740
push fcn.00414630
push 2
push 0x18
lea eax, [ebp - 0x878]
mov byte [ebp - 4], 6
push eax
call fcn.004e05c6
mov byte [ebp - 4], 0
lea eax, [ebp - 0x844]
xor ecx, ecx
lock or dword [eax], ecx
mov dword [0x5b4988], edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x5ad230
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x5b4988]
mov eax, dword [esi + 4]
mov dword [ebp - 0x844], ecx
cmp dword [esi + 8], eax
je 0x42537c
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x42538b
lea ecx, [ebp - 0x844]
push ecx
push eax
mov ecx, esi
call fcn.0042c5d0
mov eax, dword [0x5b4964]
test eax, eax
jne 0x4253da
push 0x5ad1dc
call edi
cmp dword [0x5b4964], 0
jne 0x4253ca
push 4
call fcn.004e0596
mov dword [ebp - 0x844], eax
lea ecx, [ebp - 0x844]
add esp, 4
xor edx, edx
mov dword [eax], vtable.CDebugTracingJunkScanner.0
lock or dword [ecx], edx
mov dword [0x5b4964], eax
push 0x5ad1dc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x5b4964]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x844], eax
cmp dword [esi + 8], ecx
je 0x4253f0
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x4253ff
lea eax, [ebp - 0x844]
push eax
push ecx
mov ecx, esi
call fcn.0042c5d0
mov eax, dword [0x5b4910]
test eax, eax
jne 0x42544e
push 0x5ad1a4
call edi
cmp dword [0x5b4910], 0
jne 0x42543e
push 4
call fcn.004e0596
mov dword [ebp - 0x844], eax
lea ecx, [ebp - 0x844]
add esp, 4
xor edx, edx
mov dword [eax], vtable.CEventLogJunkScanner.0
lock or dword [ecx], edx
mov dword [0x5b4910], eax
push 0x5ad1a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x5b4910]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x844], eax
cmp dword [esi + 8], ecx
je 0x425464
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x425473
lea eax, [ebp - 0x844]
push eax
push ecx
mov ecx, esi
call fcn.0042c5d0
mov eax, dword [0x5b4948]
test eax, eax
jne 0x4254c2
push 0x5ad134
call edi
cmp dword [0x5b4948], 0
jne 0x4254b2
push 4
call fcn.004e0596
mov dword [ebp - 0x844], eax
lea ecx, [ebp - 0x844]
add esp, 4
xor edx, edx
mov dword [eax], vtable.CFirewallRuleJunkScanner.0
lock or dword [ecx], edx
mov dword [0x5b4948], eax
push 0x5ad134
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x5b4948]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x844], eax
cmp dword [esi + 8], ecx
je 0x4254d8
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x4254e7
lea eax, [ebp - 0x844]
push eax
push ecx
mov ecx, esi
call fcn.0042c5d0
mov eax, dword [0x5b4968]
test eax, eax
jne 0x425548
push 0x5ad24c
call edi
cmp dword [0x5b4968], 0
jne 0x425538
push 0x10
call fcn.004e0596
add esp, 4
mov dword [ebp - 0x844], eax
xorps xmm0, xmm0
mov dword [ebp - 4], 7
mov ecx, eax
movups xmmword [eax], xmm0
call fcn.0043e9c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x844]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x5b4968], eax
push 0x5ad24c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x5b4968]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x844], eax
cmp dword [esi + 8], ecx
je 0x42555e
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x42556d
lea eax, [ebp - 0x844]
push eax
push ecx
mov ecx, esi
call fcn.0042c5d0
mov eax, dword [0x5b494c]
test eax, eax
jne 0x4255ce
push 0x5ad1f8
call edi
cmp dword [0x5b494c], 0
jne 0x4255be
push 0x10
call fcn.004e0596
add esp, 4
mov dword [ebp - 0x844], eax
xorps xmm0, xmm0
mov dword [ebp - 4], 8
mov ecx, eax
movups xmmword [eax], xmm0
call fcn.0043fa30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x844]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x5b494c], eax
push 0x5ad1f8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x5b494c]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x844], eax
cmp dword [esi + 8], ecx
je 0x4255e4
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x4255f3
lea eax, [ebp - 0x844]
push eax
push ecx
mov ecx, esi
call fcn.0042c5d0
mov eax, dword [0x5b4920]
test eax, eax
jne 0x42565c
push 0x5ad288
call edi
cmp dword [0x5b4920], 0
jne 0x42564c
push 0xc
call fcn.004e0596
add esp, 4
mov dword [ebp - 0x844], eax
mov dword [ebp - 4], 9
xorps xmm0, xmm0
movq qword [eax], xmm0
mov ecx, eax
mov dword [eax + 8], 0
call fcn.00440d60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x844]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x5b4920], eax
push 0x5ad288
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x5b4920]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x844], eax
cmp dword [esi + 8], ecx
je 0x425672
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x425681
lea eax, [ebp - 0x844]
push eax
push ecx
mov ecx, esi
call fcn.0042c5d0
mov eax, dword [0x5b492c]
test eax, eax
jne 0x4256d0
push 0x5ad188
call edi
cmp dword [0x5b492c], 0
jne 0x4256c0
push 4
call fcn.004e0596
mov dword [ebp - 0x844], eax
lea ecx, [ebp - 0x844]
add esp, 4
xor edx, edx
mov dword [eax], vtable.CUninstallerKeyJunkScanner.0
lock or dword [ecx], edx
mov dword [0x5b492c], eax
push 0x5ad188
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x5b492c]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x844], eax
cmp dword [esi + 8], ecx
je 0x4256e6
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x4256f5
lea eax, [ebp - 0x844]
push eax
push ecx
mov ecx, esi
call fcn.0042c5d0
mov eax, dword [0x5b4924]
test eax, eax
jne 0x425750
push 0x5ad214
call edi
cmp dword [0x5b4924], 0
jne 0x425740
push 0x18
call fcn.004e0596
add esp, 4
mov dword [ebp - 0x844], eax
mov ecx, eax
mov dword [ebp - 4], 0xa
call fcn.00415bd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x844]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x5b4924], eax
push 0x5ad214
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x5b4924]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x844], eax
cmp dword [esi + 8], ecx
je 0x425766
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x425775
lea eax, [ebp - 0x844]
push eax
push ecx
mov ecx, esi
call fcn.0042c5d0
mov eax, dword [0x5b4900]
test eax, eax
jne 0x4257d6
push 0x5ad268
call edi
cmp dword [0x5b4900], 0
jne 0x4257c6
push 0x10
call fcn.004e0596
add esp, 4
mov dword [ebp - 0x844], eax
xorps xmm0, xmm0
mov dword [ebp - 4], 0xb
mov ecx, eax
movups xmmword [eax], xmm0
call fcn.0043a200
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x844]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x5b4900], eax
push 0x5ad268
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x5b4900]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x844], eax
cmp dword [esi + 8], ecx
je 0x4257ec
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x4257fb
lea eax, [ebp - 0x844]
push eax
push ecx
mov ecx, esi
call fcn.0042c5d0
mov eax, dword [0x5b4914]
test eax, eax
jne 0x425958
push 0x5ad118
call edi
cmp dword [0x5b4914], 0
jne 0x425948
push 0x1c
call fcn.004e0596
mov dword [ebp - 0x844], eax
mov dword [ebp - 4], 0xc
mov dword [eax], vtable.CPrefetchJunkScanner.0
xor ecx, ecx
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 7
mov word [eax + 4], cx
sub esp, 0x14
mov byte [ebp - 4], 0xe
mov ecx, esp
xor eax, eax
push 7
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.Windows
mov word [ecx], ax
call fcn.004295e0
lea ecx, [ebp - 0x860]
call fcn.0044b5a0
add esp, 0x18
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x850], 0
je 0x4258ce
push 9
push 0x58dee0
lea ecx, [ebp - 0x860]
call fcn.00437720
mov ecx, dword [ebp - 0x844]
lea edx, [ebp - 0x860]
add ecx, 4
cmp ecx, edx
je 0x4258ce
cmp dword [ebp - 0x84c], 8
mov eax, edx
push dword [ebp - 0x850]
cmovae eax, dword [ebp - 0x860]
push eax
call fcn.004295e0
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x84c]
cmp edx, 8
jb 0x425912
mov ecx, dword [ebp - 0x860]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x425908
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425bb7
push edx
push ecx
call fcn.004e0941
add esp, 8
xor eax, eax
mov dword [ebp - 0x850], 0
mov word [ebp - 0x860], ax
xor ecx, ecx
mov byte [ebp - 4], al
lea eax, [ebp - 0x848]
mov dword [ebp - 0x84c], 7
lock or dword [eax], ecx
mov eax, dword [ebp - 0x844]
mov dword [0x5b4914], eax
push 0x5ad118
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x5b4914]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x844], eax
cmp dword [esi + 8], ecx
je 0x42596e
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x42597d
lea eax, [ebp - 0x844]
push eax
push ecx
mov ecx, esi
call fcn.0042c5d0
mov eax, dword [0x5b48fc]
test eax, eax
jne 0x425ae1
push 0x5ad1c0
call edi
cmp dword [0x5b48fc], 0
jne 0x425ad1
push 0x10
call fcn.004e0596
mov dword [ebp - 0x844], eax
xorps xmm0, xmm0
mov dword [ebp - 4], 0x10
movups xmmword [eax], xmm0
lea edi, [eax + 4]
mov dword [eax], vtable.CShortCutJunkScanner.0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push 0x20a
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 0x12
push 0
push eax
call fcn.0051d990
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x21c]
add esp, 0x10
push 0
push 0x17
push eax
push 0
call esi
lea eax, [ebp - 0x21c]
mov ecx, edi
push eax
call fcn.0043a540
push 0x20a
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.0051d990
add esp, 0xc
lea eax, [ebp - 0x428]
push 1
push 2
push eax
push 0
call esi
lea eax, [ebp - 0x428]
mov ecx, edi
push eax
call fcn.0043a540
push 0x20a
lea eax, [ebp - 0x634]
push 0
push eax
call fcn.0051d990
add esp, 0xc
lea eax, [ebp - 0x634]
push 1
push 0x19
push eax
push 0
call esi
lea eax, [ebp - 0x634]
mov ecx, edi
push eax
call fcn.0043a540
push 0x20a
lea eax, [ebp - 0x840]
push 0
push eax
call fcn.0051d990
add esp, 0xc
lea eax, [ebp - 0x840]
push 1
push 0x10
push eax
push 0
call esi
lea eax, [ebp - 0x840]
mov ecx, edi
push eax
call fcn.0043a540
mov byte [ebp - 4], 0
xor ecx, ecx
lea eax, [ebp - 0x848]
lock or dword [eax], ecx
mov eax, dword [ebp - 0x844]
mov esi, dword [ebp - 0x87c]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [0x5b48fc], eax
push 0x5ad1c0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x5b48fc]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x844], eax
cmp dword [esi + 8], ecx
je 0x425af7
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x425b06
lea eax, [ebp - 0x844]
push eax
push ecx
mov ecx, esi
call fcn.0042c5d0
mov eax, dword [0x5b493c]
test eax, eax
jne 0x425b73
push 0x5ad150
call edi
cmp dword [0x5b493c], 0
jne 0x425b63
push 0x34
call fcn.004e0596
mov esi, eax
mov dword [ebp - 0x848], esi
push 0x34
push 0
push esi
mov dword [ebp - 4], 0x13
call fcn.0051d990
add esp, 0x10
mov ecx, esi
call fcn.00442900
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x848]
xor edx, edx
lock or dword [ecx], edx
mov esi, dword [ebp - 0x87c]
mov dword [0x5b493c], eax
push 0x5ad150
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x5b493c]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x844], eax
cmp dword [esi + 8], ecx
je 0x425b89
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x425b98
lea eax, [ebp - 0x844]
push eax
push ecx
mov ecx, esi
call fcn.0042c5d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e037c
mov esp, ebp
pop ebp
ret 4
call fcn.0052511b
int3