Function at 0x10010f60
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x10027ed0
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
cmp dword [ebp + 0x78], 0
push esi
push edi
je 0x1001131a
cmp dword [ebp + 0x9c], 0
je 0x1001131a
mov eax, dword [ebp + 0x98]
mov eax, dword [eax]
mov edi, dword [ebp + 0x84]
mov ebx, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
nop
mov esi, dword [ebp + 0x98]
mov eax, dword [ebp + 0x84]
test edi, edi
je 0x10010fc4
cmp edi, eax
je 0x10010fc9
call fcn.1001696a
cmp ebx, esi
je 0x1001123a
test edi, edi
jne 0x10011080
call fcn.1001696a
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x10010fea
call fcn.1001696a
cmp dword [ebx + 0xb8], 0
je 0x100111d2
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10011087
call fcn.1001696a
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x14]
jne 0x10011018
call fcn.1001696a
mov ebp, dword [esp + 0x14]
add ebp, 8
lea esi, [esp + 0x18]
mov eax, ebp
call fcn.10010b40
mov edx, dword [esp + 0x64]
push edx
mov edi, esi
mov dword [esp + 0x60], 0
call fcn.10011a30
mov ebx, eax
test ebx, ebx
je 0x1001120c
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x1001108e
call fcn.1001696a
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x14]
jne 0x10011065
call fcn.1001696a
lea esi, [esp + 0x34]
mov eax, ebp
call fcn.10010b10
mov byte [esp + 0x5c], 1
cmp dword [eax + 0x18], 0x10
jb 0x10011092
mov eax, dword [eax + 4]
jmp 0x10011095
mov eax, dword [edi]
jmp 0x10010fe0
mov eax, dword [eax]
jmp 0x1001100a
mov eax, dword [edi]
jmp 0x10011057
add eax, 4
mov edx, dword [esp + 0x64]
push eax
push edx
call fcn.10011ae0
mov byte [esp + 0x5c], 0
cmp dword [esp + 0x4c], 0x10
mov esi, eax
jb 0x100110bb
mov eax, dword [esp + 0x38]
push eax
call fcn.100163ce
add esp, 4
test esi, esi
je 0x10011193
test edi, edi
jne 0x100110f7
call fcn.1001696a
xor eax, eax
mov ebx, dword [esp + 0x14]
cmp ebx, dword [eax + 0x14]
jne 0x100110dc
call fcn.1001696a
lea esi, [esp + 0x34]
mov eax, ebp
call fcn.10010b10
mov byte [esp + 0x5c], 2
cmp dword [eax + 0x18], 0x10
jb 0x100110fb
mov esi, dword [eax + 4]
jmp 0x100110fe
mov eax, dword [edi]
jmp 0x100110ce
lea esi, [eax + 4]
test edi, edi
jne 0x10011154
call fcn.1001696a
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x10011113
call fcn.1001696a
mov eax, esi
mov ecx, ebp
call fcn.100124a0
mov edi, 0x10
mov byte [esp + 0x5c], 0
mov esi, eax
cmp dword [esp + 0x4c], edi
jb 0x1001113b
mov ecx, dword [esp + 0x38]
push ecx
call fcn.100163ce
add esp, 4
test esi, esi
lea esi, [esp + 0x10]
je 0x10011158
call fcn.10012a30
mov dword [eax + 0xb4], 1
jmp 0x100111b6
mov eax, dword [edi]
jmp 0x10011109
call fcn.10012a30
lea esi, [esp + 0x34]
call fcn.10010b10
cmp dword [eax + 0x18], edi
jb 0x1001117e
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, esi
call fcn.10012900
jmp 0x100111b6
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x34]
call fcn.10012900
jmp 0x100111b6
test edi, edi
jne 0x10011204
call fcn.1001696a
xor eax, eax
mov edx, dword [esp + 0x14]
cmp edx, dword [eax + 0x14]
jne 0x100111ac
call fcn.1001696a
mov dword [ebp + 0xb4], 0
mov dword [esp + 0x5c], 0xffffffff
cmp dword [esp + 0x30], 0x10
jb 0x100111d2
mov eax, dword [esp + 0x1c]
push eax
call fcn.100163ce
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10011208
call fcn.1001696a
xor eax, eax
mov esi, dword [esp + 0x14]
cmp esi, dword [eax + 0x14]
jne 0x100111ef
call fcn.1001696a
mov ecx, dword [esi]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x14], ecx
mov ebx, ecx
jmp 0x10010fb0
mov eax, dword [edi]
jmp 0x1001119e
mov eax, dword [eax]
jmp 0x100111e1
cmp dword [esp + 0x30], 0x10
jb 0x10011220
mov edx, dword [esp + 0x1c]
push edx
call fcn.100163ce
add esp, 4
mov eax, 2
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 4
mov eax, dword [ebp + 0x98]
mov eax, dword [eax]
mov esi, dword [ebp + 0x84]
mov ebx, eax
lea ebx, [ebx]
mov edi, dword [ebp + 0x98]
mov eax, dword [ebp + 0x84]
test esi, esi
je 0x10011264
cmp esi, eax
je 0x10011269
call fcn.1001696a
cmp ebx, edi
je 0x100112d9
test esi, esi
jne 0x100112cd
call fcn.1001696a
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x10011282
call fcn.1001696a
cmp dword [ebx + 0xbc], 0
je 0x100112b4
test esi, esi
jne 0x100112d1
call fcn.1001696a
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x100112a0
call fcn.1001696a
lea eax, [ebx + 8]
push eax
call fcn.100125a0
test eax, eax
jne 0x100112b4
mov dword [ebp + 0x7c], 1
test esi, esi
jne 0x100112d5
call fcn.1001696a
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x100112c9
call fcn.1001696a
mov ebx, dword [ebx]
jmp 0x10011250
mov eax, dword [esi]
jmp 0x10011278
mov eax, dword [esi]
jmp 0x10011296
mov eax, dword [esi]
jmp 0x100112bf
cmp dword [ebp + 0x7c], 1
jne 0x10011331
lea ecx, [esp + 0x34]
push str.Need_Restart
push ecx
call fcn.10010b90
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp + 0x5c]
mov dword [esp + 0x68], 3
call fcn.1000f960
cmp dword [esp + 0x4c], 0x10
jb 0x1001131a
mov edx, dword [esp + 0x38]
push edx
call fcn.100163ce
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 4
push 0xf
push str.Update_complete
lea ecx, [ebp + 0x5c]
call fcn.1000fa50
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret 4