Function at 0x408770
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41fc18
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4282d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
sub eax, 0x10
call fcn.00403c40
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea edi, [eax + 0x10]
mov dword [ebp + 8], edi
mov ecx, 0x424a8c
mov byte [ebp - 4], 1
test ecx, 0xffff0000
jne 0x4087f9
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.00402bb0
add esp, 4
test eax, eax
je 0x40880c
push eax
mov eax, ebx
lea edi, [ebp + 8]
call fcn.00402790
jmp 0x408809
push 0x424a8c
lea eax, [ebp + 8]
push eax
xor ebx, ebx
call fcn.004029b0
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ebx, str.AddressBar.dll
mov byte [ebp - 4], 2
call fcn.00403ae0
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea ebx, [edi - 0x10]
cmp eax, ebx
je 0x408879
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x408869
mov edx, dword [eax]
cmp edx, dword [ebx]
jne 0x408869
call fcn.00403c40
mov esi, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x408861
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
lea edi, [esi + 0x10]
mov dword [ebp + 8], edi
jmp 0x408879
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp + 8]
push ecx
call fcn.004029b0
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40889c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ebx, str.ASBarBroker.exe
call fcn.00403ae0
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea ebx, [edi - 0x10]
cmp eax, ebx
je 0x40890c
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x4088fc
mov edx, dword [eax]
cmp edx, dword [ebx]
jne 0x4088fc
call fcn.00403c40
mov esi, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4088f4
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
lea edi, [esi + 0x10]
mov dword [ebp + 8], edi
jmp 0x40890c
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp + 8]
push ecx
call fcn.004029b0
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40892f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ebx, str.Baidu_Toolbar.exe
call fcn.00403ae0
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea ebx, [edi - 0x10]
cmp eax, ebx
je 0x40899f
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x40898f
mov edx, dword [eax]
cmp edx, dword [ebx]
jne 0x40898f
call fcn.00403c40
mov esi, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x408987
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
lea edi, [esi + 0x10]
mov dword [ebp + 8], edi
jmp 0x40899f
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp + 8]
push ecx
call fcn.004029b0
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4089c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ebx, str.conf.xml
call fcn.00403ae0
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea ebx, [edi - 0x10]
cmp eax, ebx
je 0x408a32
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x408a22
mov edx, dword [eax]
cmp edx, dword [ebx]
jne 0x408a22
call fcn.00403c40
mov esi, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x408a1a
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
lea edi, [esi + 0x10]
mov dword [ebp + 8], edi
jmp 0x408a32
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp + 8]
push ecx
call fcn.004029b0
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408a55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408a7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408aa2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4