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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10ec
call fcn.00467fe0
mov eax, dword [0x4b9b20]
xor eax, esp
mov dword [esp + 0x10e8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xef2]
push ecx
mov word [esp + 0xef4], ax
call fcn.004661f0
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.004661f0
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 0x42a7ca
cmp ebx, 0xffffffff
je 0x42a7ca
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
test eax, eax
jne 0x42a64b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x18]
push 0
push 0
push 0x844
push edx
jmp 0x42a7d8
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 0x42a69a
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call edi
cmp dword [esp + 0x10], 2
jne 0x42a6e1
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 + 0x10e8]
xor ecx, esp
call fcn.00466e70
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x224]
push ecx
call fcn.00434020
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add esp, 4
call esi
push eax
call fcn.0042ac40
add esp, 4
push 1
call esi
push eax
call fcn.00402030
add esp, 8
call esi
push eax
call fcn.00402120
add esp, 4
call esi
push eax
push str.CryptDiskProtectedSetProcess:_pid_d
call fcn.0042afa0
mov eax, dword [esp + 0x18]
add esp, 8
xor edi, edi
sub eax, 1
je 0x42a754
sub eax, 3
jne 0x42a77a
lea edx, [esp + 0x634]
push edx
lea eax, [esp + 0x228]
push eax
call fcn.00437360
add esp, 8
jmp 0x42a778
push 0
push 0
lea ecx, [esp + 0x63c]
push ecx
lea edx, [esp + 0x230]
push edx
lea eax, [esp + 0x43c]
push eax
call fcn.00436e60
add esp, 0x14
mov edi, eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00434290
add esp, 4
test eax, eax
je 0x42a798
lea edx, [esp + 0x1c]
push edx
call fcn.0042dda0
add esp, 4
call esi
push eax
call fcn.00402130
add esp, 4
call esi
push eax
push str.CryptDiskProtectedDelProcess:_pid_d
call fcn.0042afa0
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10e8]
xor ecx, esp
call fcn.00466e70
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 + 0x10f4]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00466e70
mov esp, ebp
pop ebp
ret