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

Disassembly:
push ebp
lea ebp, [esp - 0xc38]
sub esp, 0xc38
push 0xffffffffffffffff
push 0x423748
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x42f008]
xor eax, ebp
mov dword [ebp + 0xc34], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov word [esi], ax
mov dword [esi + 0x20c], eax
mov dword [esi + 0x208], eax
mov word [esi + 0x210], ax
push 0x410
push eax
mov dword [esi + 0x41c], eax
mov dword [esi + 0x418], eax
lea eax, [ebp + 0x824]
push eax
call fcn.00412b00
push 0x40e
lea eax, [ebp + 0x416]
push 0
push eax
call fcn.00412b00
xor eax, eax
mov dword [ebp], 0x207
mov word [ebp + 0x824], ax
mov edx, str.SOFTWARE2345Explorer
lea eax, [ebp]
mov ecx, 0x80000002
push eax
lea eax, [ebp + 0x824]
push eax
push str.Path
call fcn.004071b0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0x24
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, al
je 0x407530
push 0x42ab04
lea eax, [ebp + 0x824]
push eax
call edi
push str.2345Explorer.exe
lea eax, [ebp + 0x824]
push eax
call edi
lea eax, [ebp + 0x824]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x407539
xor eax, eax
mov word [ebp + 0x824], ax
xor eax, eax
mov dword [ebp], 0x207
mov word [ebp + 0x414], ax
mov edx, str.SOFTWARE2345chrome
lea eax, [ebp]
mov ecx, 0x80000002
push eax
lea eax, [ebp + 0x414]
push eax
push str.Path
call fcn.004071b0
add esp, 0xc
test al, al
je 0x407599
push 0x42ab04
lea eax, [ebp + 0x414]
push eax
call edi
push str.2345chrome.exe
lea eax, [ebp + 0x414]
push eax
call edi
lea eax, [ebp + 0x414]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4075a2
xor eax, eax
mov word [ebp + 0x414], ax
push 0x410
lea eax, [ebp + 4]
push 0
push eax
call fcn.00412b00
add esp, 0xc
lea ecx, [ebp + 4]
xor edi, edi
call fcn.00407340
test al, al
je 0x407783
push 0xb
xor eax, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
lea ecx, [ebp - 0x24]
push str.Shlwapi.dll
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.004032b0
mov dword [ebp - 4], edi
lea eax, [ebp - 0x24]
push eax
call fcn.0040cd30
mov ecx, eax
call fcn.0040cdf0
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x407642
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407638
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40780d
push edx
push ecx
call fcn.00411da5
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
test ebx, ebx
je 0x4077ea
push str.StrStrIW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x4077ea
push str.2345ExplorerHTML
lea eax, [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x407759
push str.2345Explorer.exe
lea eax, [ebp + 4]
push eax
call ebx
test eax, eax
jne 0x407759
push str.HTML2345CHM
lea eax, [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4076ef
push str.2345chrome.exe
lea eax, [ebp + 4]
push eax
call ebx
test eax, eax
jne 0x4076ef
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov word [esi], ax
cmp word [ebp + 0x824], ax
je 0x4077b6
lea eax, [ebp + 0x824]
push eax
push esi
call ebx
mov dword [esi + 0x208], 0
jmp 0x4077a7
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
cmp word [ebp + 0x414], ax
je 0x407726
lea eax, [ebp + 0x414]
push eax
push esi
call ebx
mov dword [esi + 0x208], 1
mov edi, 1
mov dword [esi + 0x20c], 3
imul eax, edi, 0x210
add esi, eax
xor eax, eax
mov word [esi], ax
cmp word [ebp + 0x824], ax
je 0x4077ea
lea eax, [ebp + 0x824]
push eax
push esi
call ebx
mov dword [esi + 0x20c], 2
jmp 0x4077e0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
cmp word [ebp + 0x824], ax
je 0x4077b6
lea eax, [ebp + 0x824]
push eax
push esi
call ebx
mov dword [esi + 0x208], 1
jmp 0x4077a7
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
cmp word [ebp + 0x824], ax
je 0x4077b6
lea eax, [ebp + 0x824]
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 [ebp + 0x414], ax
je 0x4077ea
lea eax, [ebp + 0x414]
push eax
push esi
call ebx
mov dword [esi + 0x20c], 3
mov dword [esi + 0x208], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc34]
xor ecx, ebp
call fcn.00411684
lea esp, [ebp + 0xc38]
pop ebp
ret
call fcn.00414fe2
int3