Function at 0x409aa0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x426349
mov eax, dword fs:[0]
push eax
sub esp, 0xc50
mov eax, dword [0x433178]
xor eax, esp
mov dword [esp + 0xc4c], eax
push ebx
push esi
push edi
mov eax, dword [0x433178]
xor eax, esp
push eax
lea eax, [esp + 0xc60]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x409e8c
xor eax, eax
mov word [esi], ax
mov dword [esi + 0x20c], eax
mov dword [esi + 0x208], eax
mov word [esi + 0x210], ax
push 0x40e
push eax
mov dword [esi + 0x41c], eax
mov dword [esi + 0x418], eax
lea eax, [esp + 0x446]
push eax
call fcn.00418720
add esp, 0xc
xor eax, eax
mov word [esp + 0x2c], ax
push 0x40e
push eax
lea eax, [esp + 0x36]
push eax
call fcn.00418720
xor eax, eax
mov dword [esp + 0x34], 0x207
add esp, 0xc
mov word [esp + 0x43c], ax
lea eax, [esp + 0x28]
mov edx, str.SOFTWARE2345Explorer
mov ecx, 0x80000002
push eax
lea eax, [esp + 0x440]
push eax
push str.Path
call fcn.00409780
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, al
je 0x409bab
push 0x42db94
lea eax, [esp + 0x440]
push eax
call edi
push str.2345Explorer.exe
lea eax, [esp + 0x440]
push eax
call edi
lea eax, [esp + 0x43c]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x409bb5
xor eax, eax
mov word [esp + 0x43c], ax
xor eax, eax
mov dword [esp + 0x28], 0x207
mov word [esp + 0x2c], ax
mov edx, str.SOFTWARE2345chrome
lea eax, [esp + 0x28]
mov ecx, 0x80000002
push eax
lea eax, [esp + 0x30]
push eax
push str.Path
call fcn.00409780
add esp, 0xc
test al, al
je 0x409c0d
push 0x42db94
lea eax, [esp + 0x30]
push eax
call edi
push str.2345chrome.exe
lea eax, [esp + 0x30]
push eax
call edi
lea eax, [esp + 0x2c]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x409c14
xor eax, eax
mov word [esp + 0x2c], ax
xor eax, eax
push 0x40e
push eax
mov word [esp + 0x854], ax
lea eax, [esp + 0x856]
push eax
call fcn.00418720
add esp, 0xc
lea ecx, [esp + 0x84c]
xor edi, edi
mov dword [esp + 0x28], edi
call fcn.004099a0
test al, al
je 0x409e27
push 0xb
xor eax, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x14]
push str.Shlwapi.dll
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], ax
call fcn.00403030
mov dword [esp + 0xc68], edi
mov eax, dword [0x435cfc]
test al, 1
jne 0x409cb9
or eax, 1
mov dword [0x435cfc], eax
mov byte [esp + 0xc68], 1
mov dword [0x435cf8], edi
call fcn.00407850
push 0x427750
call fcn.00416aff
add esp, 4
mov byte [esp + 0xc68], 0
lea eax, [esp + 0x10]
mov ecx, 0x435cf8
push eax
call fcn.00407a10
mov ebx, eax
mov dword [esp + 0xc68], 0xffffffff
cmp dword [esp + 0x24], 8
jb 0x409ce8
push dword [esp + 0x10]
call fcn.00416b36
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
test ebx, ebx
je 0x409e8c
push str.StrStrIW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x409e8c
push str.2345ExplorerHTML
lea eax, [esp + 0x850]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x409dfb
push str.2345Explorer.exe
lea eax, [esp + 0x850]
push eax
call ebx
test eax, eax
jne 0x409dfb
push str.HTML2345CHM
lea eax, [esp + 0x850]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x409dba
push str.2345chrome.exe
lea eax, [esp + 0x850]
push eax
call ebx
test eax, eax
jne 0x409dba
lea eax, [esp + 0x28]
mov ecx, esi
push eax
push 2
push 0
lea edx, [esp + 0x448]
call fcn.00409940
add esp, 0xc
cmp dword [esp + 0x28], 2
jge 0x409e8c
lea eax, [esp + 0x28]
mov ecx, esi
push eax
push 3
push 0
lea edx, [esp + 0x38]
call fcn.00409940
add esp, 0xc
jmp 0x409e8c
lea eax, [esp + 0x28]
mov ecx, esi
push eax
push 3
push 1
lea edx, [esp + 0x38]
call fcn.00409940
add esp, 0xc
cmp dword [esp + 0x28], 2
jge 0x409e8c
lea eax, [esp + 0x28]
mov ecx, esi
push eax
push 2
push 0
lea edx, [esp + 0x448]
call fcn.00409940
add esp, 0xc
jmp 0x409e8c
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
cmp word [esp + 0x43c], ax
je 0x409e5c
lea eax, [esp + 0x43c]
push eax
push esi
call ebx
mov dword [esi + 0x208], 1
jmp 0x409e4d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
cmp word [esp + 0x43c], ax
je 0x409e5c
lea eax, [esp + 0x43c]
push eax
push esi
call ebx
mov dword [esi + 0x208], edi
mov dword [esi + 0x20c], 2
mov edi, 1
imul eax, edi, 0x210
add esi, eax
xor eax, eax
mov word [esi], ax
cmp word [esp + 0x2c], ax
je 0x409e8c
lea eax, [esp + 0x2c]
push eax
push esi
call ebx
mov dword [esi + 0x208], 0
mov dword [esi + 0x20c], 3
mov ecx, dword [esp + 0xc60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc4c]
xor ecx, esp
call fcn.0041637f
add esp, 0xc5c
ret