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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5583c1
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x5ab3e4]
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 0x58cc0c
mov word [ecx], ax
call fcn.00429470
push 0x20a
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.0051cba0
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 0x442e66
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.00429470
push str.MicrosoftWindowsWERReportArchive
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.00437950
push str.MicrosoftWindowsWERReportArchive
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00437950
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 0x442f0c
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x258]
push ecx
cmp dword [esi + 8], eax
je 0x442f04
mov ecx, eax
call fcn.00427680
add dword [esi + 4], 0x18
jmp 0x442f0c
push eax
mov ecx, esi
call fcn.0042d300
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
cmovae eax, dword [ebp - 0x240]
push eax
call edi
test eax, eax
je 0x442f4b
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x240]
push ecx
cmp dword [esi + 8], eax
je 0x442f43
mov ecx, eax
call fcn.00427680
add dword [esi + 4], 0x18
jmp 0x442f4b
push eax
mov ecx, esi
call fcn.0042d300
mov edi, dword [esi]
mov esi, dword [esi + 4]
cmp edi, esi
je 0x442fb8
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.0044cfc0
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.0043b690
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 6
call fcn.00428d20
add edi, 0x18
cmp edi, esi
jne 0x442f60
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x442ff8
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442fee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4430d0
push edx
push ecx
call fcn.004dfb61
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 0x443055
mov ecx, dword [ebp - 0x258]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44304b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4430d5
push edx
push ecx
call fcn.004dfb61
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 0x4430ae
mov ecx, dword [ebp - 0x270]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4430a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4430da
push edx
push ecx
call fcn.004dfb61
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.004df59c
mov esp, ebp
pop ebp
ret
call fcn.0052430b
call fcn.0052430b
call fcn.0052430b
int3