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

Disassembly:
push 0xffffffffffffffff
push 0x100ae3d9
mov eax, dword fs:[0]
push eax
sub esp, 0xc50
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc4c], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xc60]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x1001d10c
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.10037070
add esp, 0xc
xor eax, eax
mov word [esp + 0x2c], ax
push 0x40e
push eax
lea eax, [esp + 0x36]
push eax
call fcn.10037070
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.1001ca00
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, al
je 0x1001ce2b
push 0x100cc0e0
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 0x1001ce35
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.1001ca00
add esp, 0xc
test al, al
je 0x1001ce8d
push 0x100cc0e0
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 0x1001ce94
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.10037070
add esp, 0xc
lea ecx, [esp + 0x84c]
xor edi, edi
mov dword [esp + 0x28], edi
call fcn.1001cc20
test al, al
je 0x1001d0a7
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.10008230
mov dword [esp + 0xc68], edi
mov eax, dword [0x100ef4e8]
test al, 1
jne 0x1001cf39
or eax, 1
mov dword [0x100ef4e8], eax
mov byte [esp + 0xc68], 1
mov dword [0x100ef4e4], edi
call fcn.1001f820
push 0x100baf40
call fcn.1003414c
add esp, 4
mov byte [esp + 0xc68], 0
lea eax, [esp + 0x10]
mov ecx, 0x100ef4e4
push eax
call fcn.1001f9e0
mov ebx, eax
mov dword [esp + 0xc68], 0xffffffff
cmp dword [esp + 0x24], 8
jb 0x1001cf68
push dword [esp + 0x10]
call fcn.10034183
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 0x1001d10c
push str.StrStrIW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x1001d10c
push str.2345ExplorerHTML
lea eax, [esp + 0x850]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1001d07b
push str.2345Explorer.exe
lea eax, [esp + 0x850]
push eax
call ebx
test eax, eax
jne 0x1001d07b
push str.HTML2345CHM
lea eax, [esp + 0x850]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1001d03a
push str.2345chrome.exe
lea eax, [esp + 0x850]
push eax
call ebx
test eax, eax
jne 0x1001d03a
lea eax, [esp + 0x28]
mov ecx, esi
push eax
push 2
push 0
lea edx, [esp + 0x448]
call fcn.1001cbc0
add esp, 0xc
cmp dword [esp + 0x28], 2
jge 0x1001d10c
lea eax, [esp + 0x28]
mov ecx, esi
push eax
push 3
push 0
lea edx, [esp + 0x38]
call fcn.1001cbc0
add esp, 0xc
jmp 0x1001d10c
lea eax, [esp + 0x28]
mov ecx, esi
push eax
push 3
push 1
lea edx, [esp + 0x38]
call fcn.1001cbc0
add esp, 0xc
cmp dword [esp + 0x28], 2
jge 0x1001d10c
lea eax, [esp + 0x28]
mov ecx, esi
push eax
push 2
push 0
lea edx, [esp + 0x448]
call fcn.1001cbc0
add esp, 0xc
jmp 0x1001d10c
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
cmp word [esp + 0x43c], ax
je 0x1001d0dc
lea eax, [esp + 0x43c]
push eax
push esi
call ebx
mov dword [esi + 0x208], 1
jmp 0x1001d0cd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
cmp word [esp + 0x43c], ax
je 0x1001d0dc
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 0x1001d10c
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.10033901
add esp, 0xc5c
ret