Function at 0x446d90
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55da92
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x5b03ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x298], eax
mov dword [ebp - 4], 0
lea esi, [eax + 4]
mov dword [eax], vtable.CWerJunkScanner.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ebx, [eax + 0x10]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
lea edi, [eax + 0x1c]
mov eax, dword [0x5bac58]
test al, 1
jne 0x446e2b
or eax, 1
mov dword [0x5bac4c], 0
mov dword [0x5bac58], eax
xorps xmm0, xmm0
mov byte [ebp - 0x289], 0
movlpd qword [ebp - 0x224], xmm0
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 3
push eax
call fcn.004627c5
lea eax, [ebp - 0x224]
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x289]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x22c]
push eax
push 0x4475c0
push 0x5bac4c
call fcn.00462aae
add esp, 0x10
test eax, eax
je 0x447205
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 5
push eax
call fcn.004627ff
mov edx, 0x5ba448
mov byte [ebp - 4], 2
add esp, 4
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x446ec0
sub edx, ecx
mov ecx, edi
sar edx, 1
push edx
push 0x5ba448
call fcn.00429120
push 0x20a
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 8
push 0
push eax
call fcn.00521d00
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x278], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x274], 7
mov word [ebp - 0x288], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446f30
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x288]
call fcn.00429120
mov eax, dword [0x5bac50]
test al, 1
jne 0x446f6d
or eax, 1
mov dword [0x5bac48], 0
mov dword [0x5bac50], eax
xorps xmm0, xmm0
mov byte [ebp - 0x289], 0
movlpd qword [ebp - 0x224], xmm0
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0xa
push eax
call fcn.004627c5
lea eax, [ebp - 0x224]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x289]
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x234]
push eax
push 0x447670
push 0x5bac48
call fcn.00462aae
add esp, 0x10
test eax, eax
je 0x4471e8
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0xc
push eax
call fcn.004627ff
push 0x5ba460
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00439be0
add esp, 0x10
mov eax, dword [0x5bac54]
test al, 1
jne 0x447012
or eax, 1
mov dword [0x5bac44], 0
mov dword [0x5bac54], eax
xorps xmm0, xmm0
mov byte [ebp - 0x28a], 0
movlpd qword [ebp - 0x22c], xmm0
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0x10
push eax
call fcn.004627c5
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x28a]
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x240]
push eax
push 0x447780
push 0x5bac44
call fcn.00462aae
add esp, 0x10
test eax, eax
je 0x4471cb
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0x12
push eax
call fcn.004627ff
push 0x5ba3f8
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.00439be0
add esp, 0x10
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x270]
cmp dword [ebp - 0x25c], 8
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x270]
push eax
call edi
test eax, eax
je 0x4470e5
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x270]
push ecx
cmp dword [esi + 8], eax
je 0x4470dd
mov ecx, eax
call fcn.00427310
add dword [esi + 4], 0x18
jmp 0x4470e5
push eax
mov ecx, esi
call fcn.0042c520
cmp dword [ebp - 0x244], 8
lea eax, [ebp - 0x258]
cmovae eax, dword [ebp - 0x258]
push eax
call edi
test eax, eax
je 0x447124
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x258]
push ecx
cmp dword [esi + 8], eax
je 0x44711c
mov ecx, eax
call fcn.00427310
add dword [esi + 4], 0x18
jmp 0x447124
push eax
mov ecx, esi
call fcn.0042c520
mov edi, dword [esi]
mov esi, dword [esi + 4]
cmp edi, esi
je 0x447188
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x230], 0
mov edx, edi
movq qword [ebp - 0x238], xmm0
lea ecx, [ebp - 0x238]
call fcn.00451470
mov byte [ebp - 4], 0x16
mov ecx, ebx
push dword [ebp - 0x298]
push dword [ebp - 0x234]
push dword [ebp - 0x238]
push dword [ebx + 4]
call fcn.0043dce0
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x15
call fcn.00428970
add edi, 0x18
cmp edi, esi
jne 0x447130
lea ecx, [ebp - 0x258]
call fcn.00428da0
lea ecx, [ebp - 0x270]
call fcn.00428da0
lea ecx, [ebp - 0x288]
call fcn.00428da0
mov eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e4cdc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0x13
push eax
call fcn.00462820
add esp, 4
mov byte [ebp - 4], 0x11
test al, al
je 0x447234
jmp 0x44721e
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0xd
push eax
call fcn.00462820
add esp, 4
mov byte [ebp - 4], 0xb
test al, al
jne 0x447239
jmp 0x447234
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 6
push eax
call fcn.00462820
add esp, 4
mov byte [ebp - 4], 4
jmp 0x4471ff
sub esp, 8
lea eax, [ebp - 0x22c]
mov ecx, esp
push eax
call fcn.00411b40
call fcn.00411c00
call fcn.00462ac6
sub esp, 8
lea eax, [ebp - 0x224]
mov ecx, esp
push eax
call fcn.00411b40
call fcn.00411c00
int3