Function at 0x439020
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55740a
mov eax, dword fs:[0]
push eax
sub esp, 0xa6c
mov eax, dword [0x5ab3e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xa78], ebx
mov dword [ebp - 0xa74], ebx
mov dword [ebp - 4], 0
mov dword [ebx], vtable.CCommonDriveJunkScanner.0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0x20a
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0051c790
add esp, 0xc
lea eax, [ebp - 0x428]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebx + 4]
call fcn.00439360
push 0x20a
lea eax, [ebp - 0x840]
push 0
push eax
call fcn.0051c790
lea eax, [ebp - 0x428]
push eax
push 0x58c2e0
lea eax, [ebp - 0x840]
push 0x104
push eax
call fcn.00438fc0
add esp, 0x1c
lea eax, [ebp - 0x840]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x20a
lea eax, [ebp - 0xa4c]
push 0
push eax
call fcn.0051c790
add esp, 0xc
lea eax, [ebp - 0x840]
push 0x58c2cc
push eax
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x439148
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebx + 4]
call fcn.00439360
push 0x20a
lea eax, [ebp - 0x634]
push 0
push eax
call fcn.0051c790
add esp, 0xc
lea eax, [ebp - 0x428]
push str.VirtualStore
push eax
lea eax, [ebp - 0x634]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x634]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x439274
xor eax, eax
mov dword [ebp - 0xa60], 0
lea ecx, [ebp - 0x634]
mov dword [ebp - 0xa5c], 7
mov word [ebp - 0xa70], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4391b2
sub ecx, edx
lea eax, [ebp - 0x634]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa70]
call fcn.00428400
mov byte [ebp - 4], 2
lea edx, [ebp - 0xa70]
xorps xmm0, xmm0
mov dword [ebp - 0xa50], 0
lea ecx, [ebp - 0xa58]
movq qword [ebp - 0xa58], xmm0
call fcn.0044b9f0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xa58]
mov ecx, dword [ebp - 0xa54]
cmp eax, ecx
je 0x439225
push dword [ebp - 0xa74]
push ecx
push eax
push dword [ebx + 8]
lea ecx, [ebx + 4]
call fcn.0043a030
lea ecx, [ebp - 0xa58]
call fcn.00427cb0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xa5c]
cmp edx, 8
jb 0x439274
mov ecx, dword [ebp - 0xa70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43926a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439353
push edx
push ecx
call fcn.004df751
add esp, 8
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.0051c790
add esp, 0xc
lea eax, [ebp - 0x840]
push str.Roaming
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebx + 4]
call fcn.00439360
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.0051c790
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebx + 4]
call fcn.00439360
xorps xmm0, xmm0
mov dword [ebp - 0xa50], 0
lea ecx, [ebp - 0xa58]
movq qword [ebp - 0xa58], xmm0
call fcn.0044bdc0
mov byte [ebp - 4], 4
lea ecx, [ebx + 4]
push dword [ebp - 0xa74]
push dword [ebp - 0xa54]
push dword [ebp - 0xa58]
push dword [ebx + 8]
call fcn.0043a030
lea ecx, [ebp - 0xa58]
call fcn.00427cb0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df18c
mov esp, ebp
pop ebp
ret
call fcn.00523f1b
int3