Function at 0x43006d
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [0x4a02f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x300]
call fcn.0040beb0
push 1
push str.mhtmlfile_shellopencommand
push SysReAllocString
lea ecx, [ebp - 0x300]
call fcn.0040c040
lea ecx, [ebp - 0x300]
test eax, eax
je 0x4300c4
call fcn.0040bf10
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046e0cd
leave
ret
push ebx
push edi
push 7
xor eax, eax
pop edi
mov word [ebp - 0x2d0], ax
lea eax, [ebp - 0x2d0]
push eax
xor ebx, ebx
push 0x49b4f8
mov dword [ebp - 0x2bc], edi
mov dword [ebp - 0x2c0], ebx
call fcn.0040c1b0
test eax, eax
je 0x43011e
mov byte [ebp - 0x2ed], bl
push ebx
push 1
lea ecx, [ebp - 0x2d0]
call fcn.00402b70
lea ecx, [ebp - 0x300]
call fcn.0040bf10
mov al, byte [ebp - 0x2ed]
pop edi
pop ebx
jmp 0x4300b7
push ebx
lea ecx, [ebp - 0x324]
call fcn.0040fd50
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x324]
call fcn.00410bf0
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x324]
call fcn.00410590
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00401f50
lea ecx, [ebp - 0x298]
call fcn.00401f80
push str.360chrome.exe
lea eax, [ebp - 0x298]
push esi
push eax
call fcn.0042e514
add esp, 0xc
push eax
lea ecx, [ebp - 0x2b4]
call fcn.004038c0
push ebx
test eax, eax
push 1
lea ecx, [ebp - 0x298]
setne byte [ebp - 0x2ed]
call fcn.00402b70
cmp byte [ebp - 0x2ed], bl
je 0x4301ca
push ebx
push 1
lea ecx, [ebp - 0x2b4]
call fcn.00402b70
lea ecx, [ebp - 0x324]
call fcn.0040fe40
mov byte [ebp - 0x2ed], 1
jmp 0x4300fb
lea ecx, [ebp - 0x2f8]
call fcn.0040beb0
push 1
push 0x4911c8
xor eax, eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x2f8]
mov dword [ebp - 0x268], edi
mov dword [ebp - 0x26c], ebx
mov word [ebp - 0x27c], ax
call fcn.0040c040
test eax, eax
jne 0x43021e
lea eax, [ebp - 0x27c]
push eax
push 0x49b4f8
lea ecx, [ebp - 0x2f8]
call fcn.0040c1b0
jmp 0x430296
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.0046e0e0
add esp, 0xc
push ebx
push 0x26
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x430296
lea edi, [ebp - 0x20c]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x43025a
push 0x10
pop ecx
lea eax, [ebp - 0x20c]
mov esi, str.internet_exploreriexplore.exe
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x430293
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00401fb0
push 7
pop edi
cmp dword [ebp - 0x26c], ebx
jne 0x4302d5
push ebx
push 1
lea ecx, [ebp - 0x27c]
call fcn.00402b70
lea ecx, [ebp - 0x2f8]
call fcn.0040bf10
push ebx
push 1
lea ecx, [ebp - 0x2b4]
call fcn.00402b70
lea ecx, [ebp - 0x324]
call fcn.0040fe40
jmp 0x4300f5
call fcn.0044a5c3
mov esi, eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x2ec]
push 0x49073c
push eax
call fcn.00411760
add esp, 0xc
push str.___nohome
mov ecx, eax
call fcn.00406d00
push eax
lea ecx, [ebp - 0x260]
call fcn.004038f0
cmp dword [ebp - 0x24c], 8
mov eax, dword [ebp - 0x260]
jae 0x430324
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x298]
call fcn.00406cb0
xor eax, eax
push 0x49b4f8
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x218], ebx
mov word [ebp - 0x228], ax
call fcn.00401fb0
xor eax, eax
push str.mhtmlfile_shellopencommand
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x234], ebx
mov word [ebp - 0x244], ax
call fcn.00401fb0
mov eax, dword [esi]
push 1
lea ecx, [ebp - 0x298]
push ecx
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x244]
push ecx
push SysReAllocString
mov ecx, esi
call dword [eax + 0x40]
push ebx
push 1
lea ecx, [ebp - 0x244]
call fcn.00402b70
push ebx
push 1
lea ecx, [ebp - 0x228]
call fcn.00402b70
push ebx
push 1
lea ecx, [ebp - 0x298]
call fcn.00402b70
push ebx
push 1
lea ecx, [ebp - 0x260]
call fcn.00402b70
push ebx
push 1
lea ecx, [ebp - 0x2ec]
call fcn.00402b70
xor eax, eax
push str.__1_
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x250], ebx
mov word [ebp - 0x260], ax
call fcn.00401fb0
xor eax, eax
push 0x49b4f8
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x234], ebx
mov word [ebp - 0x244], ax
call fcn.00401fb0
xor eax, eax
push str.mhtmlfileDefaultIcon
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x218], ebx
mov word [ebp - 0x228], ax
call fcn.00401fb0
mov eax, dword [esi]
xor edi, edi
inc edi
push edi
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x228]
push ecx
push SysReAllocString
mov ecx, esi
call dword [eax + 0x40]
push ebx
push edi
lea ecx, [ebp - 0x228]
call fcn.00402b70
push ebx
push edi
lea ecx, [ebp - 0x244]
call fcn.00402b70
push ebx
push edi
lea ecx, [ebp - 0x260]
call fcn.00402b70
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test al, al
je 0x4304dd
push ebx
push ebx
push ebx
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax]
push ebx
push edi
lea ecx, [ebp - 0x27c]
call fcn.00402b70
lea ecx, [ebp - 0x2f8]
call fcn.0040bf10
push ebx
push edi
jmp 0x4301a8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax]
push ebx
push edi
lea ecx, [ebp - 0x27c]
call fcn.00402b70
lea ecx, [ebp - 0x2f8]
call fcn.0040bf10
push ebx
push edi
jmp 0x4302ba