Function at 0x4ae7c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6430f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push str.shlwapi.dll
mov dword [ebp - 4], ebx
xor edi, edi
call fcn.0044abc0
add esp, 4
cmp eax, ebx
mov dword [ebp - 0x3c], eax
je 0x4ae912
push str.AssocQueryStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4ae900
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x458]
push ecx
push edx
push str.open
push 0x6cbbac
push 2
push ebx
mov dword [ebp - 0x38], 0x104
call eax
cmp eax, ebx
jne 0x4ae900
lea eax, [ebp - 0x458]
push 0x5c
push eax
call fcn.00609ba3
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4ae900
add esi, 2
push 0x6cbd4c
push esi
call fcn.0060c3d3
add esp, 8
test eax, eax
je 0x4ae8b8
push str.Firefox.exe
push esi
call fcn.0060c3d3
add esp, 8
test eax, eax
je 0x4ae8b8
push str.OPERA.exe
push esi
call fcn.0060c3d3
add esp, 8
test eax, eax
je 0x4ae8b8
push str.seamonkey.exe
push esi
call fcn.0060c3d3
add esp, 8
test eax, eax
je 0x4ae8b8
push 0x6cb724
push esi
call fcn.0060c3d3
add esp, 8
test eax, eax
jne 0x4ae900
mov ecx, dword [ebp + 0xc]
push ebx
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x24], bx
call fcn.004027e0
mov eax, dword [ebp - 0x28]
cmp eax, ebx
jne 0x4ae8d9
lea eax, [ebp - 0x24]
push 1
push ebx
lea edx, [ebp - 0x458]
push eax
mov eax, dword [ebp + 8]
push edx
push str.open
push eax
call dword [0x6fc2c4]
lea ecx, [ebp - 0x28]
mov edi, 1
call fcn.00401070
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp edi, ebx
jne 0x4aeb30
xor eax, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], bx
mov ecx, dword [0x6fca48]
mov byte [ebp - 4], 1
cmp ecx, ebx
mov esi, ecx
jne 0x4ae933
mov esi, 0x6fca4c
mov edx, 0x6c900c
test edx, edx
je 0x4aea44
cmp esi, ebx
je 0x4aea44
mov ecx, str.temp.htm
test ecx, ecx
je 0x4aea44
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x24], bx
push ebx
push edx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004027e0
push esi
lea ecx, [ebp - 0x48]
call fcn.00401ee0
push str.temp.htm
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00401ee0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00401070
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x48]
call fcn.00401f10
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.00401f10
push eax
call fcn.00609a4e
push edi
mov ebx, eax
call fcn.00609a4e
add esi, ebx
lea ebx, [eax + esi + 3]
lea esi, [ebx + ebx]
push esi
call fcn.00622acb
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [ebp - 0x1c], edi
je 0x4aea1b
mov ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x34]
call fcn.00401f10
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.00401f10
lea ecx, [ebp - 0x28]
mov edi, eax
call fcn.00401f10
push esi
push edi
push eax
mov eax, dword [ebp - 0x1c]
push ebx
push eax
call fcn.006099de
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00609a4e
add esp, 0x18
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
cmp eax, ebx
jne 0x4aea4b
lea eax, [ebp - 0x18]
push 0x6d1a10
push eax
call fcn.0060b21f
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4aea77
push esi
push 0xd
push 1
push str._HTML__HTML_
call fcn.0060b0b5
push esi
call fcn.0060b038
add esp, 0x14
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x250]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x4aea90
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x250]
push edx
push ebx
push eax
call dword [0x6fc2c8]
cmp eax, 0x20
jle 0x4aeafc
lea eax, [ebp - 0x250]
push eax
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x4aeafc
mov ecx, dword [ebp + 0xc]
push ebx
push ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x30], bx
call fcn.004027e0
mov eax, dword [ebp - 0x34]
cmp eax, ebx
jne 0x4aead8
lea eax, [ebp - 0x30]
push 1
push ebx
lea edx, [ebp - 0x250]
push eax
mov eax, dword [ebp + 8]
push edx
push str.open
push eax
call dword [0x6fc2c4]
lea ecx, [ebp - 0x34]
call fcn.00401070
jmp 0x4aeb13
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 1
push ebx
push ebx
push ecx
push 0x6c90c8
push edx
call dword [0x6fc2a8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x4aeb1d
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret