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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5442d1
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x5923e4]
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 str.AppCrash_
mov word [ecx], ax
call fcn.00429050
push 0x20a
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 3
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]
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 0x4422e6
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.00429050
push 0x575c90
lea edx, [ebp - 0x270]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x258]
call fcn.00436e60
push 0x575c90
lea edx, [ebp - 0x270]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x240]
call fcn.00436e60
add esp, 8
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 0x442388
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x258]
push ecx
cmp dword [esi + 8], eax
je 0x442380
mov ecx, eax
call fcn.004272f0
add dword [esi + 4], 0x18
jmp 0x442388
push eax
mov ecx, esi
call fcn.0042ce70
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
cmovae eax, dword [ebp - 0x240]
push eax
call edi
test eax, eax
je 0x4423c7
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x240]
push ecx
cmp dword [esi + 8], eax
je 0x4423bf
mov ecx, eax
call fcn.004272f0
add dword [esi + 4], 0x18
jmp 0x4423c7
push eax
mov ecx, esi
call fcn.0042ce70
mov edi, dword [esi]
mov esi, dword [esi + 4]
cmp edi, esi
je 0x442428
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
mov edx, edi
movq qword [ebp - 0x228], xmm0
lea ecx, [ebp - 0x228]
call fcn.0044c830
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.0043ab00
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 6
call fcn.00428900
add edi, 0x18
cmp edi, esi
jne 0x4423d0
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x442468
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44245e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442540
push edx
push ecx
call fcn.004dc241
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 0x4424c5
mov ecx, dword [ebp - 0x258]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4424bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442545
push edx
push ecx
call fcn.004dc241
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 0x44251e
mov ecx, dword [ebp - 0x270]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442514
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44254a
push edx
push ecx
call fcn.004dc241
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.004dbc7c
mov esp, ebp
pop ebp
ret
call fcn.0051d5cb
call fcn.0051d5cb
call fcn.0051d5cb
int3