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

Disassembly:
sub esp, 0x82c
mov eax, dword [0x426008]
xor eax, esp
mov dword [esp + 0x828], eax
push esi
mov esi, ecx
test esi, esi
je 0x40c285
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.00416110
xor eax, eax
push 0x206
push eax
mov word [esp + 0x28], ax
lea eax, [esp + 0x2a]
push eax
call fcn.00416110
xor eax, eax
push 0x206
push eax
mov word [esp + 0x23c], ax
lea eax, [esp + 0x23e]
push eax
call fcn.00416110
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.0040bab0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0x30
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, al
je 0x40be12
push 0x422780
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 0x40be1c
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.0040bab0
add esp, 0xc
test al, al
je 0x40be74
push 0x422780
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 0x40be7b
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.0040bab0
add esp, 0xc
test al, al
je 0x40bee2
push 0x422780
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 0x40beec
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.00416110
add esp, 0xc
lea ecx, [esp + 0x630]
xor edi, edi
mov dword [esp + 0x14], edi
call fcn.0040bc00
test al, al
je 0x40c1e1
push str.Shlwapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x40c282
push str.StrStrIW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x40c282
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [esp + 0x630]
push str.HTML2345BRO
push eax
call ebp
test eax, eax
je 0x40c12d
push str.2345Browser.exe
lea eax, [esp + 0x634]
push eax
call ebx
test eax, eax
jne 0x40c12d
push str.2345ExplorerHTML
lea eax, [esp + 0x634]
push eax
call ebp
test eax, eax
je 0x40c0bd
push str.2345Explorer.exe
lea eax, [esp + 0x634]
push eax
call ebx
test eax, eax
jne 0x40c0bd
push str.HTML2345CHM
lea eax, [esp + 0x634]
push eax
call ebp
test eax, eax
je 0x40c04d
push str.2345chrome.exe
lea eax, [esp + 0x634]
push eax
call ebx
test eax, eax
jne 0x40c04d
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 1
push edi
lea edx, [esp + 0x434]
call fcn.0040bbb0
add esp, 0xc
cmp dword [esp + 0x14], 3
jge 0x40c1d2
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 2
push edi
lea edx, [esp + 0x24]
call fcn.0040bbb0
add esp, 0xc
cmp dword [esp + 0x14], 3
jge 0x40c1d2
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 3
push edi
lea edx, [esp + 0x22c]
call fcn.0040bbb0
add esp, 0xc
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40c282
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 3
push 1
lea edx, [esp + 0x22c]
call fcn.0040bbb0
add esp, 0xc
cmp dword [esp + 0x14], 3
jge 0x40c1d2
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 1
push 0
lea edx, [esp + 0x434]
call fcn.0040bbb0
add esp, 0xc
cmp dword [esp + 0x14], 3
jge 0x40c1d2
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 2
push 0
lea edx, [esp + 0x24]
call fcn.0040bbb0
add esp, 0xc
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40c282
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 2
push 1
lea edx, [esp + 0x24]
call fcn.0040bbb0
add esp, 0xc
cmp dword [esp + 0x14], 3
jge 0x40c1d2
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 1
push 0
lea edx, [esp + 0x434]
call fcn.0040bbb0
add esp, 0xc
cmp dword [esp + 0x14], 3
jge 0x40c1d2
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 3
push 0
lea edx, [esp + 0x22c]
call fcn.0040bbb0
add esp, 0xc
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40c282
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
cmp word [esp + 0x428], ax
je 0x40c166
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 0x40c197
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 0x40c1d2
imul eax, edi, 0x210
add esi, eax
xor eax, eax
mov word [esi], ax
cmp word [esp + 0x220], ax
je 0x40c1d2
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 0x40c282
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
cmp word [esp + 0x428], ax
je 0x40c216
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 0x40c247
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 0x40c282
imul eax, edi, 0x210
add esi, eax
xor eax, eax
mov word [esi], ax
cmp word [esp + 0x220], ax
je 0x40c282
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.0040e73a
add esp, 0x82c
ret