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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002df5b
mov eax, dword fs:[0]
push eax
sub esp, 0xc54
mov eax, dword [0x10041008]
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 esi, ecx
test esi, esi
je 0x10013350
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 - 0x420]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x82e]
push 0x40e
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0xc44], 0x207
add esp, 0xc
mov word [ebp - 0x420], ax
lea eax, [ebp - 0xc44]
mov edx, str.SOFTWARE2345Explorer
mov ecx, 0x80000002
push eax
lea eax, [ebp - 0x420]
push eax
push str.Path
call fcn.10012c00
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, al
je 0x10012fe9
push 0x100361a8
lea eax, [ebp - 0x420]
push eax
call edi
push str.2345Explorer.exe
lea eax, [ebp - 0x420]
push eax
call edi
lea eax, [ebp - 0x420]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x10012ff2
xor eax, eax
mov word [ebp - 0x420], ax
xor eax, eax
mov dword [ebp - 0xc44], 0x207
mov word [ebp - 0x830], ax
mov edx, str.SOFTWARE2345chrome
lea eax, [ebp - 0xc44]
mov ecx, 0x80000002
push eax
lea eax, [ebp - 0x830]
push eax
push str.Path
call fcn.10012c00
add esp, 0xc
test al, al
je 0x10013058
push 0x100361a8
lea eax, [ebp - 0x830]
push eax
call edi
push str.2345chrome.exe
lea eax, [ebp - 0x830]
push eax
call edi
lea eax, [ebp - 0x830]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x10013061
xor eax, eax
mov word [ebp - 0x830], ax
push 0x410
lea eax, [ebp - 0xc40]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xc40]
xor edi, edi
mov dword [ebp - 0xc44], edi
call fcn.10012df0
test al, al
je 0x100132dc
push 0xb
xor eax, eax
mov dword [ebp - 0xc4c], edi
mov dword [ebp - 0xc48], edi
lea ecx, [ebp - 0xc5c]
push str.Shlwapi.dll
mov dword [ebp - 0xc4c], edi
mov dword [ebp - 0xc48], 7
mov word [ebp - 0xc5c], ax
call fcn.10002920
mov dword [ebp - 4], edi
lea eax, [ebp - 0xc5c]
push eax
call fcn.10021ab0
mov ecx, eax
call fcn.10021b70
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xc48]
cmp edx, 8
jb 0x1001312a
mov ecx, dword [ebp - 0xc5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013120
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10013120
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002a5aa
add esp, 8
xor eax, eax
mov dword [ebp - 0xc4c], 0
mov dword [ebp - 0xc48], 7
mov word [ebp - 0xc5c], ax
test ebx, ebx
je 0x10013350
push str.StrStrIW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x10013350
push str.2345ExplorerHTML
lea eax, [ebp - 0xc40]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1001326b
push str.2345Explorer.exe
lea eax, [ebp - 0xc40]
push eax
call ebx
test eax, eax
jne 0x1001326b
push str.HTML2345CHM
lea eax, [ebp - 0xc40]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100131f7
push str.2345chrome.exe
lea eax, [ebp - 0xc40]
push eax
call ebx
test eax, eax
jne 0x100131f7
lea eax, [ebp - 0xc44]
mov ecx, esi
push eax
push 2
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10012d90
lea eax, [ebp - 0xc44]
mov ecx, esi
push eax
push 3
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.10012d90
add esp, 0x20
jmp 0x10013350
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
cmp word [ebp - 0x830], ax
je 0x1001322e
lea eax, [ebp - 0x830]
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 - 0x420], ax
je 0x10013350
lea eax, [ebp - 0x420]
push eax
push esi
call ebx
mov dword [esi + 0x208], 0
mov dword [esi + 0x20c], 2
jmp 0x10013350
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
cmp word [ebp - 0x420], ax
je 0x100132a2
lea eax, [ebp - 0x420]
push eax
push esi
call ebx
mov dword [esi + 0x208], 1
mov edi, 1
mov dword [esi + 0x20c], 2
imul eax, edi, 0x210
add esi, eax
xor eax, eax
mov word [esi], ax
cmp word [ebp - 0x830], ax
je 0x10013350
lea eax, [ebp - 0x830]
push eax
push esi
call ebx
mov dword [esi + 0x208], 0
mov dword [esi + 0x20c], 3
jmp 0x10013350
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
xor ecx, ecx
cmp word [ebp - 0x420], ax
je 0x10013313
lea eax, [ebp - 0x420]
push eax
push esi
call ebx
mov dword [esi + 0x208], edi
mov edi, 1
mov dword [esi + 0x20c], 2
mov ecx, edi
imul edi, edi, 0x210
xor eax, eax
mov word [edi + esi], ax
cmp word [ebp - 0x830], ax
je 0x10013350
lea eax, [ebp - 0x830]
push eax
imul eax, ecx, 0x210
add eax, esi
push eax
call ebx
mov dword [edi + esi + 0x208], 0
mov dword [edi + esi + 0x20c], 3
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.1002a569
mov esp, ebp
pop ebp
ret