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

Disassembly:
mov eax, 0x100bee22
call fcn.100a0664
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push ecx
mov ebx, ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
xor edi, edi
push 0x100c503c
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], edi
call fcn.100057f4
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.100057f4
mov byte [ebp - 4], 0
call fcn.10044598
add esp, 0xc
cmp eax, edi
jne 0x1006ca6b
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.10068282
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x100c503c
mov byte [ebp - 4], 2
call fcn.100057f4
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.100033f5
mov byte [ebp - 4], 2
call fcn.10044598
add esp, 0xc
cmp eax, edi
jne 0x1006c8c8
mov ecx, dword [ebp - 0x20]
jmp 0x1006cbb4
mov eax, dword [ebx + 0x1360]
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 0x1006c8c0
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x100c503c
call fcn.100057f4
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push esi
mov byte [ebp - 4], 4
call fcn.100057f4
mov byte [ebp - 4], 2
call fcn.10044774
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.urlAdminUpdates
call fcn.100057f4
mov ecx, dword [ebx + 0x12d4]
lea eax, [ebp - 0x14]
push eax
call fcn.1003111a
push edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.10003413
push edi
push eax
push edi
call sub.urlmon.dll_IsValidURL
test eax, eax
je 0x1006c954
push str.http:__www.freecause.com_xml_config.pl_actionadminupdateclientIEuseridfcuseridkeyfkeym_mactoolid_TOOLID
lea ecx, [ebp - 0x14]
call fcn.100049c6
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
call fcn.100033f5
lea eax, [ebp - 0x1c]
push eax
mov ecx, ebx
call fcn.10068105
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.100057f4
lea ecx, [ebp - 0x34]
call fcn.1005e070
push eax
push esi
mov byte [ebp - 4], 8
call fcn.1005c97c
mov edx, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
push str.GetDownloadManager
mov ecx, eax
call dword [edx + 0x30]
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.10001ccd
mov dword [ebp - 4], 6
jmp 0x1006c9e2
cmp dword [ebp - 0x18], edi
je 0x1006ca42
push 1
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
lea esi, [ebx + 0xb8]
call fcn.100033f5
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.1000cdc9
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.100046db
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.10001ccd
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
push 0
call fcn.10027d10
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 + 0x1360]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x64]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001ccd
jmp 0x1006c8c0
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.urlAdminUpdates
call fcn.100057f4
mov ecx, dword [ebx + 0x12d4]
lea eax, [ebp - 0x14]
push eax
call fcn.1003111a
push edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.10003413
push edi
push eax
push edi
call sub.urlmon.dll_IsValidURL
test eax, eax
je 0x1006cab0
push 0x100d1fd0
lea ecx, [ebp - 0x14]
call fcn.100049c6
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
call fcn.100033f5
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.10068105
push dword [ebp - 0x20]
mov byte [ebp - 4], 0xc
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1006cba6
push 1
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
call fcn.100033f5
lea eax, [ebp - 0x74]
push eax
call fcn.10081ac3
add esp, 0xc
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 0xd
jb 0x1006cb0b
mov eax, dword [eax + 4]
jmp 0x1006cb0e
add eax, 4
push eax
lea ecx, [ebp - 0x24]
call fcn.100057f4
push edi
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xf
call fcn.1000bc62
push edi
lea ecx, [ebp - 0x24]
call fcn.10003413
push eax
lea ecx, [ebp - 0x28]
call fcn.1000274d
mov eax, dword [eax]
mov byte [ebp - 4], 0x10
cmp eax, edi
je 0x1006cb46
mov ecx, dword [eax]
jmp 0x1006cb48
xor ecx, ecx
mov eax, dword [ebx + 0x1360]
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 0x1006cb6a
call fcn.10003043
test bl, bl
je 0x1006cb9b
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x100c503c
call fcn.100057f4
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push esi
mov byte [ebp - 4], 0x11
call fcn.100057f4
mov byte [ebp - 4], 0xf
call fcn.10044774
add esp, 0xc
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret