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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5591f1
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x5ac3e4]
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 - 0x274], eax
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], 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 ecx, [eax + 0x1c]
mov byte [ebp - 4], 2
push 9
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x58e164
mov word [ecx], ax
call fcn.004295e0
push 0x20a
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.0051d990
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 - 0x260], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4429f6
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.004295e0
push str.MicrosoftWindowsWERReportArchive
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.00437590
push str.MicrosoftWindowsWERReportArchive
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00437590
add esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp - 0x258]
cmp dword [ebp - 0x244], 8
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x258]
push eax
call edi
test eax, eax
je 0x442a9c
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x258]
push ecx
cmp dword [esi + 8], eax
je 0x442a94
mov ecx, eax
call fcn.004277f0
add dword [esi + 4], 0x18
jmp 0x442a9c
push eax
mov ecx, esi
call fcn.0042d4d0
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
cmovae eax, dword [ebp - 0x240]
push eax
call edi
test eax, eax
je 0x442adb
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x240]
push ecx
cmp dword [esi + 8], eax
je 0x442ad3
mov ecx, eax
call fcn.004277f0
add dword [esi + 4], 0x18
jmp 0x442adb
push eax
mov ecx, esi
call fcn.0042d4d0
mov edi, dword [esi]
mov esi, dword [esi + 4]
cmp edi, esi
je 0x442b48
nop dword [eax]
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
mov edx, edi
movq qword [ebp - 0x228], xmm0
lea ecx, [ebp - 0x228]
call fcn.0044cbd0
mov byte [ebp - 4], 7
mov ecx, ebx
push dword [ebp - 0x278]
push dword [ebp - 0x224]
push dword [ebp - 0x228]
push dword [ebx + 4]
call fcn.0043b210
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 6
call fcn.00428e90
add edi, 0x18
cmp edi, esi
jne 0x442af0
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x442b88
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442b7e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442c60
push edx
push ecx
call fcn.004e0941
add esp, 8
mov edx, dword [ebp - 0x244]
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
cmp edx, 8
jb 0x442be5
mov ecx, dword [ebp - 0x258]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442bdb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442c65
push edx
push ecx
call fcn.004e0941
add esp, 8
mov edx, dword [ebp - 0x25c]
xor eax, eax
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
cmp edx, 8
jb 0x442c3e
mov ecx, dword [ebp - 0x270]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442c34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442c6a
push edx
push ecx
call fcn.004e0941
add esp, 8
mov eax, dword [ebp - 0x274]
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.004e037c
mov esp, ebp
pop ebp
ret
call fcn.0052511b
call fcn.0052511b
call fcn.0052511b
int3