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

Disassembly:
push 0xffffffffffffffff
push 0x470809
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 0x4194fd
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 sub.MSVCR120.dll_memset
add esp, 0xc
xor eax, eax
mov word [esp + 0x2c], ax
push 0x40e
push eax
lea eax, [esp + 0x36]
push eax
call sub.MSVCR120.dll_memset
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, SysStringLen
push eax
lea eax, [esp + 0x440]
push eax
push str.Path
call fcn.00418d60
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, al
je 0x41921b
push 0x47ed74
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 0x419225
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, SysStringLen
push eax
lea eax, [esp + 0x30]
push eax
push str.Path
call fcn.00418d60
add esp, 0xc
test al, al
je 0x41927d
push 0x47ed74
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 0x419284
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 sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [esp + 0x84c]
xor edi, edi
mov dword [esp + 0x28], edi
call fcn.00419010
test al, al
je 0x419498
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.004065f0
mov dword [esp + 0xc68], edi
mov eax, dword [0x497368]
test al, 1
jne 0x419329
or eax, 1
mov dword [0x497368], eax
mov byte [esp + 0xc68], 1
mov dword [0x497364], edi
call fcn.004361f0
push 0x47b770
call fcn.0046b3dd
add esp, 4
mov byte [esp + 0xc68], 0
lea eax, [esp + 0x10]
mov ecx, 0x497364
push eax
call fcn.004364a0
mov ebx, eax
mov dword [esp + 0xc68], 0xffffffff
cmp dword [esp + 0x24], 8
jb 0x419359
push dword [esp + 0x10]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
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 0x4194fd
push str.StrStrIW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x4194fd
push str.2345ExplorerHTML
lea eax, [esp + 0x850]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41946c
push str.2345Explorer.exe
lea eax, [esp + 0x850]
push eax
call ebx
test eax, eax
jne 0x41946c
push str.HTML2345CHM
lea eax, [esp + 0x850]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41942b
push str.2345chrome.exe
lea eax, [esp + 0x850]
push eax
call ebx
test eax, eax
jne 0x41942b
lea eax, [esp + 0x28]
mov ecx, esi
push eax
push 2
push 0
lea edx, [esp + 0x448]
call fcn.00418fb0
add esp, 0xc
cmp dword [esp + 0x28], 2
jge 0x4194fd
lea eax, [esp + 0x28]
mov ecx, esi
push eax
push 3
push 0
lea edx, [esp + 0x38]
call fcn.00418fb0
add esp, 0xc
jmp 0x4194fd
lea eax, [esp + 0x28]
mov ecx, esi
push eax
push 3
push 1
lea edx, [esp + 0x38]
call fcn.00418fb0
add esp, 0xc
cmp dword [esp + 0x28], 2
jge 0x4194fd
lea eax, [esp + 0x28]
mov ecx, esi
push eax
push 2
push 0
lea edx, [esp + 0x448]
call fcn.00418fb0
add esp, 0xc
jmp 0x4194fd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
cmp word [esp + 0x43c], ax
je 0x4194cd
lea eax, [esp + 0x43c]
push eax
push esi
call ebx
mov dword [esi + 0x208], 1
jmp 0x4194be
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
cmp word [esp + 0x43c], ax
je 0x4194cd
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 0x4194fd
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.0046b2e2
add esp, 0xc5c
ret