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

Disassembly:
sub esp, 0x82c
mov eax, dword [0x10052120]
xor eax, esp
mov dword [esp + 0x828], eax
push esi
mov esi, ecx
test esi, esi
je 0x1001aae5
xor eax, eax
mov word [esi], ax
push ebx
mov dword [esi + 0x20c], eax
mov dword [esi + 0x208], eax
mov word [esi + 0x210], ax
push edi
mov dword [esi + 0x41c], eax
mov dword [esi + 0x418], eax
mov word [esi + 0x420], ax
push 0x206
push eax
mov dword [esi + 0x62c], eax
mov dword [esi + 0x628], eax
lea eax, [esp + 0x42e]
push eax
call fcn.1002ee90
xor eax, eax
push 0x206
push eax
mov word [esp + 0x28], ax
lea eax, [esp + 0x2a]
push eax
call fcn.1002ee90
xor eax, eax
push 0x206
push eax
mov word [esp + 0x23c], ax
lea eax, [esp + 0x23e]
push eax
call fcn.1002ee90
xor eax, eax
mov dword [esp + 0x34], 0x104
mov word [esp + 0x448], ax
mov edx, str.SOFTWARE2345Browser
lea eax, [esp + 0x34]
mov ecx, 0x80000002
push eax
lea eax, [esp + 0x44c]
push eax
push str.Path
call fcn.1001a310
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0x30
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, al
je 0x1001a672
push 0x10047da4
lea eax, [esp + 0x428]
push eax
call edi
push str.2345Browser.exe
lea eax, [esp + 0x428]
push eax
call edi
lea eax, [esp + 0x424]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x1001a67c
xor eax, eax
mov word [esp + 0x424], ax
xor eax, eax
mov dword [esp + 0x10], 0x104
mov word [esp + 0x14], ax
mov edx, str.SOFTWARE2345Explorer
lea eax, [esp + 0x10]
mov ecx, 0x80000002
push eax
lea eax, [esp + 0x18]
push eax
push str.Path
call fcn.1001a310
add esp, 0xc
test al, al
je 0x1001a6d4
push 0x10047da4
lea eax, [esp + 0x18]
push eax
call edi
push str.2345Explorer.exe
lea eax, [esp + 0x18]
push eax
call edi
lea eax, [esp + 0x14]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x1001a6db
xor eax, eax
mov word [esp + 0x14], ax
xor eax, eax
mov dword [esp + 0x10], 0x104
mov word [esp + 0x21c], ax
mov edx, str.SOFTWARE2345chrome
lea eax, [esp + 0x10]
mov ecx, 0x80000002
push eax
lea eax, [esp + 0x220]
push eax
push str.Path
call fcn.1001a310
add esp, 0xc
test al, al
je 0x1001a742
push 0x10047da4
lea eax, [esp + 0x220]
push eax
call edi
push str.2345chrome.exe
lea eax, [esp + 0x220]
push eax
call edi
lea eax, [esp + 0x21c]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x1001a74c
xor eax, eax
mov word [esp + 0x21c], ax
push ebp
xor eax, eax
push 0x206
push eax
mov word [esp + 0x638], ax
lea eax, [esp + 0x63a]
push eax
call fcn.1002ee90
add esp, 0xc
lea ecx, [esp + 0x630]
xor edi, edi
mov dword [esp + 0x14], edi
call fcn.1001a460
test al, al
je 0x1001aa41
push str.Shlwapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1001aae2
push str.StrStrIW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x1001aae2
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [esp + 0x630]
push str.HTML2345BRO
push eax
call ebp
test eax, eax
je 0x1001a98d
push str.2345Browser.exe
lea eax, [esp + 0x634]
push eax
call ebx
test eax, eax
jne 0x1001a98d
push str.2345ExplorerHTML
lea eax, [esp + 0x634]
push eax
call ebp
test eax, eax
je 0x1001a91d
push str.2345Explorer.exe
lea eax, [esp + 0x634]
push eax
call ebx
test eax, eax
jne 0x1001a91d
push str.HTML2345CHM
lea eax, [esp + 0x634]
push eax
call ebp
test eax, eax
je 0x1001a8ad
push str.2345chrome.exe
lea eax, [esp + 0x634]
push eax
call ebx
test eax, eax
jne 0x1001a8ad
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 1
push edi
lea edx, [esp + 0x434]
call fcn.1001a410
add esp, 0xc
cmp dword [esp + 0x14], 3
jge 0x1001aa32
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 2
push edi
lea edx, [esp + 0x24]
call fcn.1001a410
add esp, 0xc
cmp dword [esp + 0x14], 3
jge 0x1001aa32
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 3
push edi
lea edx, [esp + 0x22c]
call fcn.1001a410
add esp, 0xc
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1001aae2
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 3
push 1
lea edx, [esp + 0x22c]
call fcn.1001a410
add esp, 0xc
cmp dword [esp + 0x14], 3
jge 0x1001aa32
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 1
push 0
lea edx, [esp + 0x434]
call fcn.1001a410
add esp, 0xc
cmp dword [esp + 0x14], 3
jge 0x1001aa32
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 2
push 0
lea edx, [esp + 0x24]
call fcn.1001a410
add esp, 0xc
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1001aae2
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 2
push 1
lea edx, [esp + 0x24]
call fcn.1001a410
add esp, 0xc
cmp dword [esp + 0x14], 3
jge 0x1001aa32
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 1
push 0
lea edx, [esp + 0x434]
call fcn.1001a410
add esp, 0xc
cmp dword [esp + 0x14], 3
jge 0x1001aa32
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 3
push 0
lea edx, [esp + 0x22c]
call fcn.1001a410
add esp, 0xc
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1001aae2
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
cmp word [esp + 0x428], ax
je 0x1001a9c6
lea eax, [esp + 0x428]
push eax
push esi
call ebp
mov dword [esi + 0x208], 1
mov edi, 1
mov dword [esi + 0x20c], 1
imul ebx, edi, 0x210
xor eax, eax
add ebx, esi
mov word [ebx], ax
cmp word [esp + 0x18], ax
je 0x1001a9f7
lea eax, [esp + 0x18]
push eax
push ebx
call ebp
mov dword [ebx + 0x208], 0
inc edi
mov dword [ebx + 0x20c], 2
cmp edi, 3
jge 0x1001aa32
imul eax, edi, 0x210
add esi, eax
xor eax, eax
mov word [esi], ax
cmp word [esp + 0x220], ax
je 0x1001aa32
lea eax, [esp + 0x220]
push eax
push esi
call ebp
mov dword [esi + 0x208], 0
mov dword [esi + 0x20c], 3
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1001aae2
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
cmp word [esp + 0x428], ax
je 0x1001aa76
lea eax, [esp + 0x428]
push eax
push esi
call ebp
mov dword [esi + 0x208], edi
mov edi, 1
mov dword [esi + 0x20c], 1
imul ebx, edi, 0x210
xor eax, eax
add ebx, esi
mov word [ebx], ax
cmp word [esp + 0x18], ax
je 0x1001aaa7
lea eax, [esp + 0x18]
push eax
push ebx
call ebp
mov dword [ebx + 0x208], 0
inc edi
mov dword [ebx + 0x20c], 2
cmp edi, 3
jge 0x1001aae2
imul eax, edi, 0x210
add esi, eax
xor eax, eax
mov word [esi], ax
cmp word [esp + 0x220], ax
je 0x1001aae2
lea eax, [esp + 0x220]
push eax
push esi
call ebp
mov dword [esi + 0x208], 0
mov dword [esi + 0x20c], 3
pop ebp
pop edi
pop ebx
mov ecx, dword [esp + 0x82c]
pop esi
xor ecx, esp
call fcn.1002d43e
add esp, 0x82c
ret