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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x12e4
call fcn.0046c720
mov eax, dword [0x4c2b20]
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.0046a930
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.0046a930
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 0x42f2aa
cmp ebx, 0xffffffff
je 0x42f2aa
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
test eax, eax
jne 0x42f12b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x18]
push 0
push 0
push 0x844
push edx
jmp 0x42f2b8
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 0x42f17a
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call edi
cmp dword [esp + 0x10], 2
jne 0x42f1c1
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.0046b5b0
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x224]
push ecx
call fcn.00438630
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add esp, 4
call esi
push eax
call fcn.0042f720
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.0042fa80
mov eax, dword [esp + 0x18]
add esp, 8
xor edi, edi
sub eax, 1
je 0x42f234
sub eax, 3
jne 0x42f25a
lea edx, [esp + 0x634]
push edx
lea eax, [esp + 0x228]
push eax
call fcn.0043bb90
add esp, 8
jmp 0x42f258
push 0
push 0
lea ecx, [esp + 0x63c]
push ecx
lea edx, [esp + 0x230]
push edx
lea eax, [esp + 0x43c]
push eax
call fcn.0043b690
add esp, 0x14
mov edi, eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004388a0
add esp, 4
test eax, eax
je 0x42f278
lea edx, [esp + 0x1c]
push edx
call fcn.004322a0
add esp, 4
call esi
push eax
call fcn.00402850
add esp, 4
call esi
push eax
push str.CryptDiskProtectedDelProcess:_pid_d
call fcn.0042fa80
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x12e0]
xor ecx, esp
call fcn.0046b5b0
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.0046b5b0
mov esp, ebp
pop ebp
ret