Function at 0x4c07e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb871
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x448
push ebx
push esi
push edi
mov eax, dword [0x5142b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x418], ecx
push 0x4eb747
lea ecx, [ebp - 0x24]
call fcn.00407450
mov dword [ebp - 4], 0
push 0x4eb789
lea ecx, [ebp - 0x1c]
call fcn.00407450
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x50]
call fcn.0040c660
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x418]
add ecx, 0x58
call fcn.004132b0
test eax, eax
jne 0x4c08ad
mov dword [ebp - 0x1b0], 0xc0000004
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.0040c400
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00401ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00401ed0
mov eax, dword [ebp - 0x1b0]
jmp 0x4c10f7
lea eax, [ebp - 0x1b4]
push eax
mov ecx, dword [ebp - 0x418]
add ecx, 0x58
call fcn.0040bc90
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
jmp 0x4c08da
push 0
lea edx, [ebp - 0x1b8]
push edx
lea ecx, [ebp - 0x54]
call fcn.004075c0
lea eax, [ebp - 0x1bc]
push eax
mov ecx, dword [ebp - 0x418]
add ecx, 0x58
call fcn.004096e0
push eax
lea ecx, [ebp - 0x54]
call fcn.00413da0
movzx ecx, al
test ecx, ecx
je 0x4c0dae
lea ecx, [ebp - 0xd4]
call fcn.00403f00
mov byte [ebp - 4], 4
push 0x4eb78a
lea ecx, [ebp - 0x24]
call fcn.004075f0
lea ecx, [ebp - 0x54]
call fcn.00413d50
add eax, 8
push eax
lea ecx, [ebp - 0xb8]
call fcn.00403c70
mov byte [ebp - 4], 5
mov dword [ebp - 0x60], 2
mov edx, dword [ebp - 0x418]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0xa8], eax
mov ecx, dword [edx + 0x3c]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0x68]
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x4c0cf5
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xd0]
push ecx
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0xdc]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
jne 0x4c0a76
lea edx, [ebp - 0xd4]
push edx
mov eax, dword [ebp - 0x58]
push eax
call fcn.004bbd60
add esp, 8
test eax, eax
jne 0x4c0a71
lea ecx, [ebp - 0x94]
call fcn.00402650
push eax
lea ecx, [ebp - 0xd4]
call fcn.004074d0
test eax, eax
jne 0x4c0a71
lea ecx, [ebp - 0x54]
call fcn.00413d50
add eax, 8
push eax
lea ecx, [ebp - 0x54]
call fcn.00413d50
add eax, 0x58
push eax
lea ecx, [ebp - 0x228]
call fcn.0040d4d0
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x420], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x420]
push edx
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x50]
call fcn.0040d470
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x228]
call fcn.0040dd40
mov ecx, dword [ebp - 0x24]
push ecx
push str.CSWFileKeyValue::UpdateAbruptShutTrmnFile_____Name_This_Process_is_now_running_so_we_dont_Delete_this_Entry____S_n
call fcn.00423db0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.00403ac0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd4]
call fcn.00401ed0
jmp 0x4c08c9
jmp 0x4c0ce2
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
lea edx, [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0xdc]
push ecx
call fcn.004b6dc0
add esp, 0xc
mov edx, dword [ebp - 0xe8]
cmp edx, dword [ebp - 0xb0]
jne 0x4c0b8c
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xac]
jne 0x4c0b8c
lea ecx, [ebp - 0x54]
call fcn.00413d50
add eax, 8
push eax
lea ecx, [ebp - 0x148]
call fcn.00403c70
mov byte [ebp - 4], 7
mov dword [ebp - 0xec], 1
lea ecx, [ebp - 0x148]
push ecx
lea edx, [ebp - 0xf8]
push edx
lea ecx, [ebp - 0x298]
call fcn.0040d4d0
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x428], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x428]
push ecx
lea edx, [ebp - 0x2a0]
push edx
lea ecx, [ebp - 0x50]
call fcn.0040d470
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x298]
call fcn.0040dd40
mov eax, dword [ebp - 0x24]
push eax
push str.CSWFileKeyValue::UpdateAbruptShutTrmnFile______tempcrtn64_This_Process_is_now_running_so_we_dont_Delete_this_Entry____S_n
call fcn.00423db0
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x148]
call fcn.00403ac0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.00403ac0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd4]
call fcn.00401ed0
jmp 0x4c08c9
lea ecx, [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0x58]
push edx
call fcn.004bbd60
add esp, 8
test eax, eax
jne 0x4c0ce2
lea ecx, [ebp - 0x94]
call fcn.00402650
push eax
lea ecx, [ebp - 0xd4]
call fcn.004074d0
test eax, eax
jne 0x4c0ce2
cmp dword [ebp - 0x5c], 0
jne 0x4c0ce2
mov eax, dword [ebp - 0x24]
push eax
push str.CSWFileKeyValue::UpdateAbruptShutTrmnFile______This_Process_fetch_by_WMI_may_be_its_now_running_so_we_make_this_Invalid_Entry____S_n
call fcn.00423db0
add esp, 8
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xa4], edx
lea ecx, [ebp - 0x54]
call fcn.00413d50
add eax, 8
push eax
lea ecx, [ebp - 0x1a8]
call fcn.00403c70
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x1a0], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
lea edx, [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0xc8]
push ecx
call fcn.004b6dc0
add esp, 0xc
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0x198], edx
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x14c], 0
lea ecx, [ebp - 0x1a8]
push ecx
lea edx, [ebp - 0x158]
push edx
lea ecx, [ebp - 0x308]
call fcn.0040d4d0
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x430], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x430]
push ecx
lea edx, [ebp - 0x310]
push edx
lea ecx, [ebp - 0x50]
call fcn.0040d470
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x308]
call fcn.0040dd40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1a8]
call fcn.00403ac0
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x58], 0
jmp 0x4c0d0d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
push str.CSWFileKeyValue::UpdateAbruptShutTrmnFile______Open_Process_Failed_for___S_error____d_n
call fcn.00423db0
add esp, 0xc
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0x418]
call fcn.004bea10
mov ecx, dword [ebp - 0x24]
push ecx
push str.CSWFileKeyValue::UpdateAbruptShutTrmnFile______value____S_n
call fcn.00423db0
add esp, 8
push 4
push 2
push 4
lea ecx, [ebp - 0x24]
call fcn.00401880
shl eax, 1
push eax
lea ecx, [ebp - 0x24]
call fcn.00402650
push eax
mov edx, dword [ebp - 0x418]
add edx, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x314], esp
push edx
call fcn.00403f60
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x434]
mov dword [ebp - 0x438], eax
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x418]
call fcn.004bf8b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.00403ac0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd4]
call fcn.00401ed0
jmp 0x4c08c9
mov ecx, dword [ebp - 0x418]
add ecx, 0x14
call fcn.00402650
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4c0de7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x418]
mov edx, dword [ecx + 0x14]
push edx
push str._NEEDTOSEE_::_CSWFileKeyValue::UpdateAbruptShutTrmnFile______Could_not_Delete_The_File____S_due_to_Errcode_:__d_n
call fcn.00423ad0
add esp, 0xc
jmp 0x4c0e0c
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax + 0x14]
push ecx
push str.Success_Fully_Deleted_the_File____S_n
call fcn.00423db0
add esp, 8
mov ecx, dword [ebp - 0x418]
add ecx, 0x58
call fcn.0040c790
lea edx, [ebp - 0x318]
push edx
lea ecx, [ebp - 0x50]
call fcn.0040bc90
mov eax, dword [eax]
mov dword [ebp - 0x1ac], eax
jmp 0x4c0e39
push 0
lea ecx, [ebp - 0x31c]
push ecx
lea ecx, [ebp - 0x1ac]
call fcn.004075c0
lea edx, [ebp - 0x320]
push edx
lea ecx, [ebp - 0x50]
call fcn.004096e0
push eax
lea ecx, [ebp - 0x1ac]
call fcn.00413da0
movzx eax, al
test eax, eax
je 0x4c1032
push 0x4eb78b
lea ecx, [ebp - 0x24]
call fcn.004075f0
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x1ac]
call fcn.00413d50
add eax, 8
push eax
mov ecx, dword [ebp - 0x418]
call fcn.004bea10
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
je 0x4c0f61
lea ecx, [ebp - 0x1ac]
call fcn.00413d50
add eax, 8
push eax
lea ecx, [ebp - 0x1ac]
call fcn.00413d50
add eax, 0x58
push eax
lea ecx, [ebp - 0x388]
call fcn.0040d4d0
mov dword [ebp - 0x43c], eax
mov edx, dword [ebp - 0x43c]
mov dword [ebp - 0x440], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x440]
push eax
lea ecx, [ebp - 0x390]
push ecx
mov ecx, dword [ebp - 0x418]
add ecx, 0x58
call fcn.0040d470
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x388]
call fcn.0040dd40
push 2
push 2
push 2
lea ecx, [ebp - 0x24]
call fcn.00401880
shl eax, 1
push eax
lea ecx, [ebp - 0x24]
call fcn.00402650
push eax
mov edx, dword [ebp - 0x418]
add edx, 0x14
push ecx
mov ecx, esp
mov dword [ebp - 0x394], esp
push edx
call fcn.00403f60
mov dword [ebp - 0x444], eax
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x448], eax
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x418]
call fcn.004bf8b0
jmp 0x4c1024
lea ecx, [ebp - 0x1ac]
call fcn.00413d50
add eax, 8
push eax
lea ecx, [ebp - 0x1ac]
call fcn.00413d50
add eax, 0x58
push eax
lea ecx, [ebp - 0x400]
call fcn.0040d4d0
mov dword [ebp - 0x44c], eax
mov ecx, dword [ebp - 0x44c]
mov dword [ebp - 0x450], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x450]
push edx
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp - 0x418]
add ecx, 0x58
call fcn.0040d470
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x400]
call fcn.0040dd40
push 4
push 2
push 4
lea ecx, [ebp - 0x24]
call fcn.00401880
shl eax, 1
push eax
lea ecx, [ebp - 0x24]
call fcn.00402650
push eax
mov ecx, dword [ebp - 0x418]
add ecx, 0x14
push ecx
mov edx, esp
mov dword [ebp - 0x40c], esp
push ecx
mov ecx, edx
call fcn.00403f60
mov dword [ebp - 0x454], eax
mov eax, dword [ebp - 0x454]
mov dword [ebp - 0x458], eax
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x418]
call fcn.004bf8b0
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
jmp 0x4c0e25
mov dword [ebp - 0x410], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.0040c400
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00401ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00401ed0
mov eax, dword [ebp - 0x410]
jmp 0x4c10f7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret