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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54371a
mov eax, dword fs:[0]
push eax
sub esp, 0xa6c
mov eax, dword [0x5923e4]
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.00515e40
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.00439e30
push 0x20a
lea eax, [ebp - 0x840]
push 0
push eax
call fcn.00515e40
lea eax, [ebp - 0x428]
push eax
push 0x5753f0
lea eax, [ebp - 0x840]
push 0x104
push eax
call fcn.00439a90
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.00515e40
add esp, 0xc
lea eax, [ebp - 0x840]
push 0x5753dc
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 0x439c18
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebx + 4]
call fcn.00439e30
push 0x20a
lea eax, [ebp - 0x634]
push 0
push eax
call fcn.00515e40
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 0x439d44
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 0x439c82
sub ecx, edx
lea eax, [ebp - 0x634]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa70]
call fcn.00429050
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.0044c830
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xa58]
mov ecx, dword [ebp - 0xa54]
cmp eax, ecx
je 0x439cf5
push dword [ebp - 0xa74]
push ecx
push eax
push dword [ebx + 8]
lea ecx, [ebx + 4]
call fcn.0043ab00
lea ecx, [ebp - 0xa58]
call fcn.00428900
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xa5c]
cmp edx, 8
jb 0x439d44
mov ecx, dword [ebp - 0xa70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x439d3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439e23
push edx
push ecx
call fcn.004dc241
add esp, 8
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00515e40
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.00439e30
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00515e40
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.00439e30
xorps xmm0, xmm0
mov dword [ebp - 0xa50], 0
lea ecx, [ebp - 0xa58]
movq qword [ebp - 0xa58], xmm0
call fcn.0044cc00
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.0043ab00
lea ecx, [ebp - 0xa58]
call fcn.00428900
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.004dbc7c
mov esp, ebp
pop ebp
ret
call fcn.0051d5cb
int3