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

Disassembly:
push ebp
lea ebp, [esp - 0x1048]
mov eax, 0x1048
call fcn.004193d0
push 0xffffffffffffffff
push 0x41a988
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x425004]
xor eax, ebp
mov dword [ebp + 0x1044], 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 + 0xc34]
push eax
call sub.VCRUNTIME140.dll_memset
push 0x410
lea eax, [ebp + 0x414]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x410
lea eax, [ebp + 0x824]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp], 0x207
mov word [ebp + 0xc34], ax
mov edx, str.SOFTWARE2345Explorer
lea eax, [ebp]
mov ecx, 0x80000002
push eax
lea eax, [ebp + 0xc34]
push eax
push str.Path
call fcn.0040b990
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0x30
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, al
je 0x40bd9a
push 0x41c754
lea eax, [ebp + 0xc34]
push eax
call edi
push str.2345Explorer.exe
lea eax, [ebp + 0xc34]
push eax
call edi
lea eax, [ebp + 0xc34]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x40bda3
xor eax, eax
mov word [ebp + 0xc34], 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.0040b990
add esp, 0xc
test al, al
je 0x40be03
push 0x41c754
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 0x40be0c
xor eax, eax
mov word [ebp + 0x414], ax
xor eax, eax
mov dword [ebp], 0x207
mov word [ebp + 0x824], ax
mov edx, str.SOFTWAREQingniaoChrome
lea eax, [ebp]
mov ecx, 0x80000002
push eax
lea eax, [ebp + 0x824]
push eax
push str.Path
call fcn.0040b990
add esp, 0xc
test al, al
je 0x40be6c
push 0x41c754
lea eax, [ebp + 0x824]
push eax
call edi
push str.QingniaoChrome.exe
lea eax, [ebp + 0x824]
push eax
call edi
lea eax, [ebp + 0x824]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x40be75
xor eax, eax
mov word [ebp + 0x824], ax
push 0x410
lea eax, [ebp + 4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp + 4]
xor edi, edi
mov dword [ebp], edi
call fcn.0040bb80
test al, al
je 0x40c1c0
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.00402d90
mov dword [ebp - 4], edi
lea eax, [ebp - 0x24]
push eax
call fcn.0040b040
mov ecx, eax
call fcn.0040b100
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x40bf1a
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40bf10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40bf10
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00417fc3
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 0x40c279
push str.StrStrIW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x40c279
push str.2345ExplorerHTML
lea eax, [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x40c140
push str.2345Explorer.exe
lea eax, [ebp + 4]
push eax
call ebx
test eax, eax
jne 0x40c140
push str.HTML2345CHM
lea eax, [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x40c084
push str.2345chrome.exe
lea eax, [ebp + 4]
push eax
call ebx
test eax, eax
jne 0x40c084
push str.QingniaoChromeHTML
lea eax, [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x40c023
push str.QingniaoChrome.exe
lea eax, [ebp + 4]
push eax
call ebx
test eax, eax
jne 0x40c023
lea eax, [ebp]
mov ecx, esi
push eax
push 2
push 0
lea edx, [ebp + 0xc34]
call fcn.0040bb20
add esp, 0xc
cmp dword [ebp], 3
jge 0x40c279
lea eax, [ebp]
mov ecx, esi
push eax
push 4
push 0
lea edx, [ebp + 0x824]
call fcn.0040bb20
add esp, 0xc
cmp dword [ebp], 3
jge 0x40c279
lea eax, [ebp]
mov ecx, esi
push eax
push 3
push 0
lea edx, [ebp + 0x414]
call fcn.0040bb20
add esp, 0xc
jmp 0x40c279
lea eax, [ebp]
mov ecx, esi
push eax
push 4
push 1
lea edx, [ebp + 0x824]
call fcn.0040bb20
add esp, 0xc
cmp dword [ebp], 3
jge 0x40c279
lea eax, [ebp]
mov ecx, esi
push eax
push 2
push 0
lea edx, [ebp + 0xc34]
call fcn.0040bb20
add esp, 0xc
cmp dword [ebp], 3
jge 0x40c279
lea eax, [ebp]
mov ecx, esi
push eax
push 3
push 0
lea edx, [ebp + 0x414]
call fcn.0040bb20
add esp, 0xc
jmp 0x40c279
mov ecx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
cmp word [ebp + 0x414], ax
je 0x40c0c1
lea eax, [ebp + 0x414]
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 + 0xc34], ax
je 0x40c0f6
lea eax, [ebp + 0xc34]
push eax
push ebx
call ecx
mov dword [ebx + 0x208], 0
inc edi
mov dword [ebx + 0x20c], 2
cmp edi, 3
jge 0x40c279
imul eax, edi, 0x210
add esi, eax
xor eax, eax
mov word [esi], ax
cmp word [ebp + 0x824], ax
je 0x40c279
lea eax, [ebp + 0x824]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [esi + 0x208], 0
mov dword [esi + 0x20c], 4
jmp 0x40c279
mov ecx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
cmp word [ebp + 0xc34], ax
je 0x40c17d
lea eax, [ebp + 0xc34]
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 + 0x824], ax
je 0x40c1b2
lea eax, [ebp + 0x824]
push eax
push ebx
call ecx
mov dword [ebx + 0x208], 0
inc edi
mov dword [ebx + 0x20c], 4
cmp edi, 3
jge 0x40c279
jmp 0x40c241
mov ecx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
xor ebx, ebx
cmp word [ebp + 0xc34], ax
je 0x40c1fd
lea eax, [ebp + 0xc34]
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], eax
mov word [eax], dx
cmp word [ebp + 0x824], dx
je 0x40c23c
lea edx, [ebp + 0x824]
push edx
push eax
call ecx
mov eax, dword [ebp]
lea edi, [ebx + 1]
mov ebx, edi
mov dword [eax + 0x208], 0
mov dword [eax + 0x20c], 4
cmp ebx, 3
jae 0x40c279
imul eax, edi, 0x210
add esi, eax
xor eax, eax
mov word [esi], ax
cmp word [ebp + 0x414], ax
je 0x40c279
lea eax, [ebp + 0x414]
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 + 0x1044]
xor ecx, ebp
call fcn.00417f82
lea esp, [ebp + 0x1048]
pop ebp
ret