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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54729b
mov eax, dword fs:[0]
push eax
sub esp, 0xa78
mov eax, dword [0x5953a4]
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 - 0xa80], ebx
mov dword [ebp - 0xa84], 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.00519d60
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.0043a4c0
push 0x20a
lea eax, [ebp - 0x840]
push 0
push eax
call fcn.00519d60
lea eax, [ebp - 0x428]
push eax
push 0x578fc8
lea eax, [ebp - 0x840]
push 0x104
push eax
call fcn.00439f50
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.00519d60
mov eax, dword [0x59ffe4]
add esp, 0xc
test al, 1
jne 0x43a0ba
or eax, 1
mov dword [0x59fff4], 0
mov dword [0x59ffe4], eax
xorps xmm0, xmm0
mov byte [ebp - 0xa79], 0
movlpd qword [ebp - 0xa54], xmm0
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 2
push eax
call fcn.00460eb5
lea eax, [ebp - 0xa54]
mov dword [ebp - 0xa5c], eax
lea eax, [ebp - 0xa79]
mov dword [ebp - 0xa58], eax
lea eax, [ebp - 0xa5c]
push eax
push 0x43b390
push 0x59fff4
call fcn.00460f59
add esp, 0x10
test eax, eax
je 0x43a48b
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 4
push eax
call fcn.00460eef
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x840]
push 0x59ee78
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 0x43a165
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebx + 4]
call fcn.0043a4c0
push 0x20a
lea eax, [ebp - 0x634]
push 0
push eax
call fcn.00519d60
mov eax, dword [0x59ffe0]
add esp, 0xc
test al, 1
jne 0x43a196
or eax, 1
mov dword [0x59fff0], 0
mov dword [0x59ffe0], eax
xorps xmm0, xmm0
mov byte [ebp - 0xa79], 0
movlpd qword [ebp - 0xa54], xmm0
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 7
push eax
call fcn.00460eb5
lea eax, [ebp - 0xa54]
mov dword [ebp - 0xa5c], eax
lea eax, [ebp - 0xa79]
mov dword [ebp - 0xa58], eax
lea eax, [ebp - 0xa5c]
push eax
push 0x43b440
push 0x59fff0
call fcn.00460f59
add esp, 0x10
test eax, eax
je 0x43a472
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 9
push eax
call fcn.00460eef
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x428]
push 0x59ee48
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 0x43a2e9
xor eax, eax
mov dword [ebp - 0xa68], 0
lea ecx, [ebp - 0x634]
mov dword [ebp - 0xa64], 7
mov word [ebp - 0xa78], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a260
sub ecx, edx
lea eax, [ebp - 0x634]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa78]
call fcn.00426a90
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0xa78]
xorps xmm0, xmm0
mov dword [ebp - 0xa58], 0
lea ecx, [ebp - 0xa60]
movq qword [ebp - 0xa60], xmm0
call fcn.0044d950
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xa60]
mov ecx, dword [ebp - 0xa5c]
cmp eax, ecx
je 0x43a2d3
push dword [ebp - 0xa84]
push ecx
push eax
push dword [ebx + 8]
lea ecx, [ebx + 4]
call fcn.0043b500
lea ecx, [ebp - 0xa60]
call fcn.004265a0
lea ecx, [ebp - 0xa78]
call fcn.00426890
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00519d60
mov eax, dword [0x59ffec]
add esp, 0xc
test al, 1
jne 0x43a31a
or eax, 1
mov dword [0x59ffe8], 0
mov dword [0x59ffec], eax
xorps xmm0, xmm0
mov byte [ebp - 0xa79], 0
movlpd qword [ebp - 0xa54], xmm0
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 0xe
push eax
call fcn.00460eb5
lea eax, [ebp - 0xa54]
mov dword [ebp - 0xa5c], eax
lea eax, [ebp - 0xa79]
mov dword [ebp - 0xa58], eax
lea eax, [ebp - 0xa5c]
push eax
push 0x43b910
push 0x59ffe8
call fcn.00460f59
add esp, 0x10
test eax, eax
je 0x43a455
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 0x10
push eax
call fcn.00460eef
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x840]
push 0x59ee64
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.0043a4c0
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00519d60
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.0043a4c0
xorps xmm0, xmm0
mov dword [ebp - 0xa58], 0
lea ecx, [ebp - 0xa60]
movq qword [ebp - 0xa60], xmm0
call fcn.0044db80
mov byte [ebp - 4], 0x13
lea ecx, [ebx + 4]
push dword [ebp - 0xa84]
push dword [ebp - 0xa5c]
push dword [ebp - 0xa60]
push dword [ebx + 8]
call fcn.0043b500
lea ecx, [ebp - 0xa60]
call fcn.004265a0
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.004e095c
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 0x11
push eax
call fcn.00460f10
add esp, 4
mov byte [ebp - 4], 0xf
test al, al
je 0x43a4ba
jmp 0x43a4a4
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 0xa
push eax
call fcn.00460f10
add esp, 4
mov byte [ebp - 4], 8
jmp 0x43a46c
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 5
push eax
call fcn.00460f10
add esp, 4
mov byte [ebp - 4], 3
jmp 0x43a46c
sub esp, 8
lea eax, [ebp - 0xa54]
mov ecx, esp
push eax
call fcn.00413140
call fcn.00413200
call fcn.00460f71
int3