Function at 0x450a70
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ee347
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x6c], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x68], eax
call fcn.005d8790
xorps xmm1, xmm1
movsd qword [ebp - 0x80], xmm0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm1
mov dword [ebp - 0x34], 0
call fcn.005dc5e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movq qword [ebp - 0x30], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x24]
movq qword [ebp - 0x24], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x48]
movq qword [ebp - 0x48], xmm0
call fcn.005dc5e0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.005d6aa0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
movq qword [ebp - 0x54], xmm0
call fcn.005d6ac0
xorps xmm0, xmm0
lea ecx, [ebp - 0x64]
movups xmmword [ebp - 0x64], xmm0
call fcn.005d6b10
push 0
push 0
push 0
push 0
mov byte [ebp - 4], 6
mov ecx, str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsShellMuiCache
movsd xmm0, qword [0x6edab8]
mov eax, str.SoftwareMicrosoftWindowsShellNoRoamMUICache
comisd xmm0, xmmword [ebp - 0x80]
push 0
push 0
push 0
push 0
push 0
cmovbe eax, ecx
lea ecx, [ebp - 0x3c]
push eax
push esi
push str.HKU_
call fcn.005dc200
call fcn.005d8790
xor esi, esi
mov eax, 8
comisd xmm0, xmmword [0x6edab8]
push ecx
push 0x20019
lea ecx, [ebp - 0x3c]
cmovae esi, eax
call fcn.005dc190
push eax
lea ecx, [ebp - 0x18]
call fcn.005d6a30
test al, al
je 0x450eba
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x627930
lea ecx, [ebp - 0x3c]
call fcn.005dc190
push eax
push str.s_recently_run_programs__
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x30]
call fcn.005dc200
mov eax, dword [ebx + 0x14]
push ecx
inc eax
lea ecx, [ebp - 0x30]
push esi
push eax
mov dword [ebx + 0x14], eax
call fcn.005dc190
mov ecx, dword [ebp - 0x68]
mov edx, eax
call fcn.005ca9c0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x6c], 0
push eax
mov esi, 1
lea ecx, [ebp - 0x18]
push 0
mov dword [ebp - 0x74], esi
call fcn.005d62e0
test al, al
je 0x450ebc
nop word [eax + eax]
cmp byte [edi + 0xc], 0
jne 0x450eb3
mov ecx, dword [ebp - 0x54]
call fcn.005d8c40
cmp eax, 3
jl 0x450e92
cmp word [ecx + 2], 0x3a
jne 0x450e92
cmp word [ecx + 4], 0x5c
jne 0x450e92
mov eax, dword [ebp - 0x50]
cmp eax, 1
je 0x450c92
cmp eax, 2
jne 0x450e92
lea eax, [ebp - 0x64]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.005d68b0
test al, al
je 0x450e92
lea ecx, [ebp - 0x64]
call fcn.005d3b00
test al, al
je 0x450e92
push dword [ebp - 0x54]
lea ecx, [ebp - 0x24]
call fcn.005dc510
movsd xmm0, qword [ebp - 0x80]
comisd xmm0, xmmword [0x6edac0]
jbe 0x450d29
push 0
push 1
push 0xffffffffffffffff
push 0
push str..FriendlyAppName
lea ecx, [ebp - 0x24]
call fcn.005daa70
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.005dc3a0
sub eax, 0xf
lea ecx, [ebp - 0x24]
cmp esi, eax
je 0x450d20
push 0
push 1
push 0xffffffffffffffff
push 0
push str..ApplicationCompany
call fcn.005daa70
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.005dc3a0
sub eax, 0x12
cmp esi, eax
jne 0x450d29
lea ecx, [ebp - 0x24]
lea eax, [esi - 1]
push eax
call fcn.005dae00
lea ecx, [ebp - 0x24]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x450d59
sub esp, 0xc
lea ecx, [ebp - 0x24]
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push str.File_not_found:
call fcn.005da510
lea esi, [edi + 8]
jmp 0x450dd2
mov eax, dword [edi + 8]
lea esi, [edi + 8]
test al, 1
je 0x450d87
and eax, 0xffffff08
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x70], eax
call fcn.005dc190
mov dl, byte [ebp - 0x70]
mov ecx, eax
call fcn.005e33a0
test al, al
jne 0x450e92
jmp 0x450dd2
test al, 2
je 0x450daf
and eax, 0xffffff08
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x70], eax
call fcn.005dc190
mov dl, byte [ebp - 0x70]
mov ecx, eax
call fcn.005e3270
test al, al
jne 0x450e92
jmp 0x450dd2
test al, 4
je 0x450dd2
push 0
lea ecx, [ebp - 0x24]
call fcn.005dc190
lea edx, [ebp - 0x48]
mov ecx, eax
call fcn.005e65a0
add esp, 4
test eax, eax
je 0x450e92
test byte [esi], 8
je 0x450de1
cmp byte [edi + 0xc], 0
jne 0x450eb3
lea ecx, [ebp - 0x24]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x30]
call fcn.005dc510
push 1
lea ecx, [ebp - 0x30]
call fcn.005dbf40
push 0xffffffffffffffff
push dword [ebx + 0x14]
lea ecx, [ebp - 0x30]
call fcn.005dc190
mov ecx, dword [ebp - 0x68]
mov edx, 0x186a0
push eax
call fcn.005caa40
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.005dc190
mov ecx, dword [ebp - 0x68]
mov edx, esi
push eax
push 1
call fcn.005ca650
push dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
mov edx, esi
push 2
call fcn.005ca650
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x54]
lea ecx, [ebp - 0x3c]
push 0x62bd28
call fcn.005dc190
push eax
lea ecx, [ebp - 0x30]
call fcn.005dc200
lea ecx, [ebp - 0x30]
call fcn.005dc190
mov ecx, dword [ebp - 0x68]
mov edx, esi
push eax
push 4
call fcn.005ca650
push 0
lea ecx, [ebp - 0x24]
call fcn.005dc190
mov ecx, dword [ebp - 0x68]
mov edx, esi
push eax
call fcn.005ca7a0
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x54]
inc eax
push ecx
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x6c], eax
call fcn.005d62e0
test al, al
jne 0x450c50
mov esi, dword [ebp - 0x74]
jmp 0x450ebc
mov esi, 1
jmp 0x450ebc
xor esi, esi
lea ecx, [ebp - 0x64]
call fcn.005d6b00
lea ecx, [ebp - 0x54]
call fcn.005d6ab0
lea ecx, [ebp - 0x18]
call fcn.005d69e0
lea ecx, [ebp - 0x48]
call fcn.005dc430
lea ecx, [ebp - 0x24]
call fcn.005dc430
lea ecx, [ebp - 0x30]
call fcn.005dc430
lea ecx, [ebp - 0x3c]
call fcn.005dc430
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10