Function at 0x4e8050
Capabilities:
Create process on windows
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x513351
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push ebx
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
test eax, eax
je 0x4e808e
mov eax, 4
jmp 0x4e84aa
lea eax, [esp + 0x18]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov ecx, dword [0x54c1b4]
inc ecx
mov dword [0x54c1b4], ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov dword [esp + 0x98], ebx
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x54c1b4]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x14]
push str.c:ocr_d__d.bmp
push eax
mov byte [esp + 0xa8], 1
call sub.MFC42.DLL_CString::Format
mov ecx, dword [0x54c1b4]
mov edx, dword [esp + 0x28]
add esp, 0x10
lea eax, [esp + 0x10]
push ecx
push edx
push str.c:ocr_d__d.txt
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x1c]
call fcn.004c84b4
mov ecx, dword [esp + 0xc]
push ebx
push 0x9001
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 2
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x4e816a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 1
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x10]
mov byte [esp + 0x98], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x98], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 5
jmp 0x4e84aa
mov eax, dword [esp + 0xa0]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.004e42b0
lea ecx, [esp + 0x1c]
mov edi, eax
call sub.MFC42.DLL_CFile::Close
cmp edi, ebx
jne 0x4e81ca
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 1
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x10]
mov byte [esp + 0x98], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x98], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 6
jmp 0x4e84aa
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0xb0]
push edx
mov edx, dword [esp + 0xb0]
push eax
mov eax, dword [esp + 0xb0]
push ecx
mov ecx, dword [esi + 0xc]
push edx
push eax
push ecx
lea edx, [esp + 0x30]
push str.__s___d__d__d__d__s__s
push edx
mov byte [esp + 0xbc], 3
call sub.MFC42.DLL_CString::Format
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x70]
add esp, 0x24
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x4c]
push ecx
push edx
push ebx
mov dword [esp + 0x38], eax
push ebx
push ebx
mov dword [esp + 0x44], eax
push ebx
push ebx
mov dword [esp + 0x50], eax
push ebx
push 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], 0x44
mov dword [esp + 0x74], ebx
mov dword [esp + 0x5c], eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4e82c6
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 1
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x10]
mov byte [esp + 0x98], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x98], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 3
jmp 0x4e84aa
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4e834f
mov eax, dword [esp + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x2c]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 1
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x10]
mov byte [esp + 0x98], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x98], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 2
jmp 0x4e84aa
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call edi
mov ecx, dword [esp + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x2c]
push edx
call esi
lea ecx, [esp + 0x3c]
call fcn.004c84b4
mov eax, dword [esp + 0x10]
push ebx
push ebx
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xa4], 4
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x4e83f6
lea ecx, [esp + 0x3c]
mov byte [esp + 0x98], 3
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 1
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x10]
mov byte [esp + 0x98], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x98], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 7
jmp 0x4e84aa
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CFile::GetLength
inc eax
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
lea ecx, [esp + 0x3c]
mov esi, eax
call sub.MFC42.DLL_CFile::GetLength
push eax
push esi
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CFile::Read
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CFile::GetLength
lea ecx, [esp + 0x3c]
mov byte [eax + esi], bl
call sub.MFC42.DLL_CFile::Close
mov ecx, dword [esp + 0x10]
push ecx
call edi
mov ecx, dword [esp + 0xb8]
push esi
call fcn.004c8322
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x98], 3
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 1
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x10]
mov byte [esp + 0x98], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x98], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x90
ret 0x1c