Function at 0x416330
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473848
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4b700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.sfc.exe
call fcn.0045d100
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
or ecx, 0xffffffff
call fcn.00465420
add esp, 4
cmp al, 1
jne 0x416424
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x488924
call fcn.0045d100
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Sfc.exe_is_already_running
call fcn.0045d100
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
or ecx, 0xffffffff
call fcn.0045f800
add esp, 4
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x48780e
call fcn.0045d100
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Please_try_after_few_hours.
call fcn.0045d100
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Repair_is_already_running
call fcn.0045d100
mov byte [ebp - 4], 6
mov byte [ebp - 4], 0
mov ecx, ebx
call fcn.0045fd10
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.stemp.bat
call fcn.0045c170
mov byte [ebp - 4], 7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x487a74
call fcn.0045c170
mov byte [ebp - 4], 8
mov byte [ebp - 4], 0
mov edx, 0x85
lea ecx, [ebp - 0x18]
call fcn.00401370
mov byte [ebp - 4], 9
add esp, 0x2c
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x1c], esp
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [esi - 4]
cmp dword [eax], 0
jl 0x416490
cmp ecx, dword [esi - 0x10]
jne 0x416490
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x4164ba
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x416765
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov edx, dword [esi - 0xc]
inc edx
push edx
push esi
lea ecx, [edi + 0x10]
call fcn.004031c0
add esp, 8
lea eax, [edi + 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Extracted_batch_file_path
call fcn.0045d100
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 9
or ecx, 0xffffffff
call fcn.0045f800
add esp, 8
push 0x4878b4
lea ecx, [ebp - 0x1c]
call fcn.0045d100
mov byte [ebp - 4], 0xd
mov byte [ebp - 0x11], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x18]
call fcn.0045c7c0
add esp, 4
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xd
mov cl, byte [ebp - 0x11]
call fcn.004617d0
add esp, 4
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41654f
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push 0x4878b4
lea ecx, [ebp - 0x1c]
call fcn.0045d100
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.0045c7c0
add esp, 4
mov byte [ebp - 4], 0x11
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4165a0
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4165c2
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x48780e
call fcn.0045d100
mov byte [ebp - 4], 0x14
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.System_restart_is_needed_to_fix_the_issue_completely.
call fcn.0045d100
mov byte [ebp - 4], 0x15
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Success
call fcn.0045d100
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 9
mov ecx, ebx
call fcn.0045fd10
add esp, 0xc
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x41662c
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004031b0
int3