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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x12e4
call fcn.0046a620
mov eax, dword [0x4beb20]
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.00468830
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.00468830
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 0x42d1ca
cmp ebx, 0xffffffff
je 0x42d1ca
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
test eax, eax
jne 0x42d04b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x18]
push 0
push 0
push 0x844
push edx
jmp 0x42d1d8
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 0x42d09a
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call edi
cmp dword [esp + 0x10], 2
jne 0x42d0e1
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.004694b0
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x224]
push ecx
call fcn.00436520
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add esp, 4
call esi
push eax
call fcn.0042d640
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.0042d9a0
mov eax, dword [esp + 0x18]
add esp, 8
xor edi, edi
sub eax, 1
je 0x42d154
sub eax, 3
jne 0x42d17a
lea edx, [esp + 0x634]
push edx
lea eax, [esp + 0x228]
push eax
call fcn.00439a90
add esp, 8
jmp 0x42d178
push 0
push 0
lea ecx, [esp + 0x63c]
push ecx
lea edx, [esp + 0x230]
push edx
lea eax, [esp + 0x43c]
push eax
call fcn.00439590
add esp, 0x14
mov edi, eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00436790
add esp, 4
test eax, eax
je 0x42d198
lea edx, [esp + 0x1c]
push edx
call fcn.00430240
add esp, 4
call esi
push eax
call fcn.00402850
add esp, 4
call esi
push eax
push str.CryptDiskProtectedDelProcess:_pid_d
call fcn.0042d9a0
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x12e0]
xor ecx, esp
call fcn.004694b0
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.004694b0
mov esp, ebp
pop ebp
ret