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

Disassembly:
push 0xffffffffffffffff
push 0x50702f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x238
push ebx
push ebp
push esi
push edi
xor edi, edi
push str.CZ_LD_QMSwapFile
push edi
mov dword [esp + 0x24], ecx
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov esi, eax
test esi, esi
mov dword [esp + 0x20], esi
jne 0x4673d1
push 0xffffffffffffffff
push eax
push 0xbd
call sub.MFC42.DLL_AfxMessageBox
xor eax, eax
jmp 0x467612
push 0
push 0
push 0
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
test ebp, ebp
jne 0x4673fa
push 0xffffffffffffffff
push eax
push 0xbc
call sub.MFC42.DLL_AfxMessageBox
xor eax, eax
jmp 0x467612
mov bx, word [ebp + 2]
test bx, bx
je 0x467449
mov eax, ebx
and eax, 0xffff
mov esi, eax
shl esi, 6
add esi, eax
shl esi, 2
push esi
call sub.MFC42.DLL_operatornew
mov ecx, esi
mov dword [esp + 0x1c], eax
mov edi, eax
mov eax, ecx
lea esi, [ebp + 4]
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x20]
mov ecx, 0x28b
mov edi, ebp
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x18]
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bx, bx
je 0x46760d
lea ecx, [esp + 0x244]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov dword [esp + 0x250], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x24]
mov byte [esp + 0x250], 1
call fcn.004c84b4
push 0x20001
mov byte [esp + 0x254], 2
call sub.MFC42.DLL_operatornew
add esp, 4
and ebx, 0xffff
mov ebp, eax
jle 0x4675cb
push edi
lea ecx, [esp + 0x18]
call fcn.004c8322
mov ecx, dword [esp + 0x14]
push 0
push 0x8000
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x4675be
lea edx, [esp + 0x34]
push 0x210
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], 0x210
call sub.MFC42.DLL_CFile::Read
cmp eax, dword [esp + 0x10]
jne 0x4675aa
lea eax, [esp + 0x10]
push 4
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CFile::Read
cmp eax, 4
jne 0x4675aa
mov eax, dword [esp + 0x10]
cmp eax, 0x20000
jb 0x46752d
mov eax, 0x20000
mov dword [esp + 0x10], eax
push eax
push ebp
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CFile::Read
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jne 0x4675aa
mov byte [ecx + ebp], 0
push ebp
lea ecx, [esp + 0x248]
call fcn.004c8322
push 0x230
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x250], 3
je 0x467579
mov ecx, eax
call fcn.00455d70
mov esi, eax
jmp 0x46757b
xor esi, esi
mov edx, dword [esi]
lea eax, [esp + 0x34]
push eax
mov ecx, esi
mov byte [esp + 0x254], 2
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004679b0
test eax, eax
jne 0x4675aa
push 0xffffffffffffffff
push eax
push 0x92
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CFile::Close
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
add edi, 0x104
dec ebx
jne 0x4674b4
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x250], 1
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x14]
mov byte [esp + 0x250], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x244]
mov dword [esp + 0x250], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x248]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x244
ret 4