Function at 0x42c850
Capabilities:
Delete file
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x12e4
call fcn.0046a1a0
mov eax, dword [0x4bcb20]
xor eax, esp
mov dword [esp + 0x12e0], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x3fe
push eax
lea ecx, [esp + 0xef2]
push ecx
mov word [esp + 0xef4], ax
call fcn.004683b0
push esi
lea edx, [esp + 0xef8]
push str.ODMGuard__s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
push 0xed2
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.004683b0
add esp, 0x24
lea ecx, [esp + 0xee8]
push ecx
push 1
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
test ebx, ebx
je 0x42ca8a
cmp ebx, 0xffffffff
je 0x42ca8a
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
test eax, eax
jne 0x42c90b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x18]
push 0
push 0
push 0x844
push edx
jmp 0x42ca98
mov esi, eax
mov ecx, 0x3b4
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [esp + 0x18]
push 0
push 0
push 0x844
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, dword [esp + 0x14]
push ecx
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x42c95a
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call edi
cmp dword [esp + 0x10], 2
jne 0x42c9a1
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
mov esi, eax
lea eax, [esp + 0x20]
push eax
push 5
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x12e0]
xor ecx, esp
call fcn.00469030
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x224]
push ecx
call fcn.00436250
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add esp, 4
call esi
push eax
call fcn.0042cf00
add esp, 4
push 1
call esi
push eax
call fcn.00402750
add esp, 8
call esi
push eax
call fcn.00402840
add esp, 4
call esi
push eax
push str.CryptDiskProtectedSetProcess:_pid_d
call fcn.0041c3c0
mov eax, dword [esp + 0x18]
add esp, 8
xor edi, edi
sub eax, 1
je 0x42ca14
sub eax, 3
jne 0x42ca3a
lea edx, [esp + 0x634]
push edx
lea eax, [esp + 0x228]
push eax
call fcn.00439520
add esp, 8
jmp 0x42ca38
push 0
push 0
lea ecx, [esp + 0x63c]
push ecx
lea edx, [esp + 0x230]
push edx
lea eax, [esp + 0x43c]
push eax
call fcn.00439020
add esp, 0x14
mov edi, eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004364c0
add esp, 4
test eax, eax
je 0x42ca58
lea edx, [esp + 0x1c]
push edx
call fcn.0042ff50
add esp, 4
call esi
push eax
call fcn.00402850
add esp, 4
call esi
push eax
push str.CryptDiskProtectedDelProcess:_pid_d
call fcn.0041c3c0
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x12e0]
xor ecx, esp
call fcn.00469030
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
push 0
push 0
push 0x844
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, dword [esp + 0x12ec]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00469030
mov esp, ebp
pop ebp
ret