Function at 0x10068aef
Capabilities:
Check if file exists
Delete file

Disassembly:
mov eax, 0x100c3ce2
call fcn.100a35ac
sub esp, 0x68
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
cmp byte [ebx + 0x13b0], 0
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], edi
jne 0x10068ea1
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x100cb0a0
call fcn.10005f07
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
mov esi, str.AdminUpdateInProgress
push esi
mov byte [ebp - 4], 1
call fcn.10005f07
mov byte [ebp - 4], 0
call fcn.100400d9
add esp, 0xc
cmp eax, edi
jne 0x10068d50
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.10064264
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x100cb0a0
mov byte [ebp - 4], 2
call fcn.10005f07
push edi
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 3
call fcn.10003561
mov byte [ebp - 4], 2
call fcn.100400d9
add esp, 0xc
cmp eax, edi
jne 0x10068b9e
mov ecx, dword [ebp - 0x20]
jmp 0x10068e99
mov eax, dword [ebx + 0x1368]
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x60]
cmp word [ebp - 0x24], di
jne 0x10068b96
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x100cb0a0
call fcn.10005f07
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push esi
mov byte [ebp - 4], 4
call fcn.10005f07
mov byte [ebp - 4], 2
call fcn.100402b5
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.urlAdminUpdates
call fcn.10005f07
mov ecx, dword [ebx + 0x12dc]
lea eax, [ebp - 0x14]
push eax
call fcn.1002bd1b
push edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.1000357f
push edi
push eax
push edi
call sub.urlmon.dll_IsValidURL
test eax, eax
je 0x10068c2a
push str.http:__www.freecause.com_xml_config.pl_actionadminupdateclientIEuseridfcuseridkeyfkeym_mactoolid_TOOLID
lea ecx, [ebp - 0x14]
call fcn.10004da9
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
call fcn.10003561
lea eax, [ebp - 0x1c]
push eax
mov ecx, ebx
call fcn.100640e7
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 2
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.DownloadManager
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 7
lea esi, [ebx + 0xb8]
call fcn.10005f07
lea ecx, [ebp - 0x34]
call fcn.1005b1cd
push eax
push esi
mov byte [ebp - 4], 8
call fcn.10059d17
mov ecx, dword [ebp - 0x30]
add esp, 0xc
add ecx, 0xfffffff0
mov esi, eax
mov byte [ebp - 4], 7
call fcn.10001d29
cmp esi, edi
je 0x10068ca9
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
push str.GetDownloadManager
mov ecx, esi
call dword [eax + 0x30]
jmp 0x10068cac
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 6
jmp 0x10068cc7
cmp dword [ebp - 0x18], edi
je 0x10068d27
push 1
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
lea esi, [ebx + 0xb8]
call fcn.10003561
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.1000dad3
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.10004a20
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.10001d29
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
push 0
call fcn.10022aae
pop ecx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
push 0
push eax
push esi
push edi
call dword [edx + 8]
mov eax, dword [ebx + 0x1368]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x64]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001d29
jmp 0x10068b96
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.urlAdminUpdates
call fcn.10005f07
mov ecx, dword [ebx + 0x12dc]
lea eax, [ebp - 0x18]
push eax
call fcn.1002bd1b
push edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.1000357f
push edi
push eax
push edi
call sub.urlmon.dll_IsValidURL
test eax, eax
je 0x10068d95
push 0x100d8560
lea ecx, [ebp - 0x18]
call fcn.10004da9
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
call fcn.10003561
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.100640e7
push dword [ebp - 0x20]
mov byte [ebp - 4], 0xc
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10068e8b
push 1
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
call fcn.10003561
lea eax, [ebp - 0x74]
push eax
call fcn.1007fe48
add esp, 0xc
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 0xd
jb 0x10068df0
mov eax, dword [eax + 4]
jmp 0x10068df3
add eax, 4
push eax
lea ecx, [ebp - 0x24]
call fcn.10005f07
push edi
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xf
call fcn.100035a9
push edi
lea ecx, [ebp - 0x24]
call fcn.1000357f
push eax
lea ecx, [ebp - 0x28]
call fcn.100027e0
mov eax, dword [eax]
mov byte [ebp - 4], 0x10
cmp eax, edi
je 0x10068e2b
mov ecx, dword [eax]
jmp 0x10068e2d
xor ecx, ecx
mov eax, dword [ebx + 0x1368]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x5c]
mov ecx, dword [ebp - 0x28]
cmp eax, edi
sete bl
mov byte [ebp - 4], 0xf
cmp ecx, edi
je 0x10068e4f
call fcn.10003111
test bl, bl
je 0x10068e80
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x100cb0a0
call fcn.10005f07
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push esi
mov byte [ebp - 4], 0x11
call fcn.10005f07
mov byte [ebp - 4], 0xf
call fcn.100402b5
add esp, 0xc
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret