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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101877fb
mov eax, dword fs:[0]
push eax
mov eax, 0x1064
call fcn.1015d230
mov eax, dword [0x101fe070]
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
xor eax, eax
mov word [esi], ax
mov dword [esi + 0x20c], eax
mov dword [esi + 0x208], eax
mov word [esi + 0x210], ax
mov dword [esi + 0x41c], eax
mov dword [esi + 0x418], eax
mov word [esi + 0x420], ax
push 0x410
push eax
mov dword [esi + 0x62c], eax
mov dword [esi + 0x628], eax
lea eax, [ebp - 0x420]
push eax
call fcn.1015e8b0
add esp, 0xc
lea eax, [ebp - 0xc40]
push 0x410
push 0
push eax
call fcn.1015e8b0
add esp, 0xc
lea eax, [ebp - 0x830]
push 0x410
push 0
push eax
call fcn.1015e8b0
xor eax, eax
mov dword [ebp - 0x1054], 0x207
add esp, 0xc
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x1054]
mov edx, str.SOFTWARE2345Explorer
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push eax
lea eax, [ebp - 0x420]
push eax
push str.Path
call fcn.10015390
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, al
je 0x1001579e
push 0x101c06b8
lea eax, [ebp - 0x420]
push eax
call edi
push 0x101bb9b4
lea eax, [ebp - 0x420]
push eax
call edi
lea eax, [ebp - 0x420]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x100157a7
xor eax, eax
mov word [ebp - 0x420], ax
xor eax, eax
mov dword [ebp - 0x1054], 0x207
mov word [ebp - 0xc40], ax
mov edx, str.SOFTWARE2345chrome
lea eax, [ebp - 0x1054]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push eax
lea eax, [ebp - 0xc40]
push eax
push str.Path
call fcn.10015390
add esp, 0xc
test al, al
je 0x1001580d
push 0x101c06b8
lea eax, [ebp - 0xc40]
push eax
call edi
push str.2345chrome.exe
lea eax, [ebp - 0xc40]
push eax
call edi
lea eax, [ebp - 0xc40]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x10015816
xor eax, eax
mov word [ebp - 0xc40], ax
xor eax, eax
mov dword [ebp - 0x1054], 0x207
mov word [ebp - 0x830], ax
mov edx, str.SOFTWAREQingniaoChrome
lea eax, [ebp - 0x1054]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push eax
lea eax, [ebp - 0x830]
push eax
push str.Path
call fcn.10015390
add esp, 0xc
test al, al
je 0x1001587c
push 0x101c06b8
lea eax, [ebp - 0x830]
push eax
call edi
push 0x101bb98c
lea eax, [ebp - 0x830]
push eax
call edi
lea eax, [ebp - 0x830]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x10015885
xor eax, eax
mov word [ebp - 0x830], ax
push 0x410
lea eax, [ebp - 0x1050]
push 0
push eax
call fcn.1015e8b0
add esp, 0xc
lea ecx, [ebp - 0x1050]
xor edi, edi
mov dword [ebp - 0x1054], edi
call fcn.10015580
test al, al
je 0x10015c2f
push 0xb
xor eax, eax
mov dword [ebp - 0x105c], edi
mov dword [ebp - 0x1058], edi
lea ecx, [ebp - 0x106c]
push str.Shlwapi.dll
mov dword [ebp - 0x105c], edi
mov dword [ebp - 0x1058], 7
mov word [ebp - 0x106c], ax
call fcn.100090a0
mov dword [ebp - 4], edi
lea eax, [ebp - 0x106c]
push eax
call fcn.10018430
mov ecx, eax
call fcn.100184f0
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1058]
cmp edx, 8
jb 0x1001594c
mov ecx, dword [ebp - 0x106c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10015942
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015d0a
push edx
push ecx
call fcn.1015c4d3
add esp, 8
xor eax, eax
mov dword [ebp - 0x105c], 0
mov dword [ebp - 0x1058], 7
mov word [ebp - 0x106c], ax
test ebx, ebx
je 0x10015cee
push str.StrStrIW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x10015cee
push str.2345ExplorerHTML
lea eax, [ebp - 0x1050]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10015baf
push 0x101bb9b4
lea eax, [ebp - 0x1050]
push eax
call ebx
test eax, eax
jne 0x10015baf
push str.HTML2345CHM
lea eax, [ebp - 0x1050]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10015af3
push str.2345chrome.exe
lea eax, [ebp - 0x1050]
push eax
call ebx
test eax, eax
jne 0x10015af3
push str.QingniaoChromeHTML
lea eax, [ebp - 0x1050]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10015a83
push 0x101bb98c
lea eax, [ebp - 0x1050]
push eax
call ebx
test eax, eax
jne 0x10015a83
lea eax, [ebp - 0x1054]
mov ecx, esi
push eax
push 2
push 0
lea edx, [ebp - 0x420]
call fcn.10015520
add esp, 0xc
cmp dword [ebp - 0x1054], 3
jge 0x10015cee
lea eax, [ebp - 0x1054]
mov ecx, esi
push eax
push 4
push 0
lea edx, [ebp - 0x830]
call fcn.10015520
add esp, 0xc
cmp dword [ebp - 0x1054], 3
jge 0x10015cee
lea eax, [ebp - 0x1054]
mov ecx, esi
push eax
push 3
push 0
lea edx, [ebp - 0xc40]
call fcn.10015520
add esp, 0xc
jmp 0x10015cee
lea eax, [ebp - 0x1054]
mov ecx, esi
push eax
push 4
push 1
lea edx, [ebp - 0x830]
call fcn.10015520
add esp, 0xc
cmp dword [ebp - 0x1054], 3
jge 0x10015cee
lea eax, [ebp - 0x1054]
mov ecx, esi
push eax
push 2
push 0
lea edx, [ebp - 0x420]
call fcn.10015520
add esp, 0xc
cmp dword [ebp - 0x1054], 3
jge 0x10015cee
lea eax, [ebp - 0x1054]
mov ecx, esi
push eax
push 3
push 0
lea edx, [ebp - 0xc40]
call fcn.10015520
add esp, 0xc
jmp 0x10015cee
mov ecx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
cmp word [ebp - 0xc40], ax
je 0x10015b30
lea eax, [ebp - 0xc40]
push eax
push esi
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, 1
mov dword [esi + 0x208], 1
mov dword [esi + 0x20c], 3
imul ebx, edi, 0x210
xor eax, eax
add ebx, esi
mov word [ebx], ax
cmp word [ebp - 0x420], ax
je 0x10015b65
lea eax, [ebp - 0x420]
push eax
push ebx
call ecx
mov dword [ebx + 0x208], 0
inc edi
mov dword [ebx + 0x20c], 2
cmp edi, 3
jge 0x10015cee
imul eax, edi, 0x210
add esi, eax
xor eax, eax
mov word [esi], ax
cmp word [ebp - 0x830], ax
je 0x10015cee
lea eax, [ebp - 0x830]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [esi + 0x208], 0
mov dword [esi + 0x20c], 4
jmp 0x10015cee
mov ecx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
cmp word [ebp - 0x420], ax
je 0x10015bec
lea eax, [ebp - 0x420]
push eax
push esi
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, 1
mov dword [esi + 0x208], 1
mov dword [esi + 0x20c], 2
imul ebx, edi, 0x210
xor eax, eax
add ebx, esi
mov word [ebx], ax
cmp word [ebp - 0x830], ax
je 0x10015c21
lea eax, [ebp - 0x830]
push eax
push ebx
call ecx
mov dword [ebx + 0x208], 0
inc edi
mov dword [ebx + 0x20c], 4
cmp edi, 3
jge 0x10015cee
jmp 0x10015cb6
mov ecx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
xor ebx, ebx
cmp word [ebp - 0x420], ax
je 0x10015c6c
lea eax, [ebp - 0x420]
push eax
push esi
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, 1
mov dword [esi + 0x208], ebx
mov ebx, edi
mov dword [esi + 0x20c], 2
imul eax, edi, 0x210
xor edx, edx
add eax, esi
mov dword [ebp - 0x1054], eax
mov word [eax], dx
cmp word [ebp - 0x830], dx
je 0x10015cb1
lea edx, [ebp - 0x830]
push edx
push eax
call ecx
mov eax, dword [ebp - 0x1054]
lea edi, [ebx + 1]
mov ebx, edi
mov dword [eax + 0x208], 0
mov dword [eax + 0x20c], 4
cmp ebx, 3
jae 0x10015cee
imul eax, edi, 0x210
add esi, eax
xor eax, eax
mov word [esi], ax
cmp word [ebp - 0xc40], ax
je 0x10015cee
lea eax, [ebp - 0xc40]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [esi + 0x208], 0
mov dword [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.1015c023
mov esp, ebp
pop ebp
ret
call fcn.101616ac
int3