Function at 0x42f700
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe2fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], edi
mov eax, dword [edi + 0x8c]
test eax, eax
jne 0x42f740
mov ecx, dword [ebp + 8]
push 0x103
jmp 0x42fb9f
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x42fb98
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x42fb98
mov eax, dword [edi + 0x6c]
mov ecx, dword [eax + 0xc4]
test ecx, ecx
je 0x42f7a4
push 4
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
test esi, esi
mov dword [ebp - 4], 0
je 0x42f796
mov ecx, esi
call fcn.00473980
mov dword [esi], 0x51510c
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], esi
jmp 0x42f7ff
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], esi
jmp 0x42f7ff
push 0x88
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
mov dword [ebp - 4], 1
je 0x42f7f3
mov edx, dword [edi + 0x6c]
push 0
push 0
push 0x54aebc
mov esi, dword [edx + 0x90]
mov ebx, dword [edx + 0x8c]
mov ecx, dword [edx + 0x88]
mov edx, dword [edx + 0x84]
push esi
push ebx
push ecx
push edx
mov ecx, eax
call fcn.00473ad0
mov ebx, dword [ebp + 8]
jmp 0x42f7f5
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x14]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 4]
test eax, eax
jne 0x42f851
test esi, esi
je 0x42f819
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov ecx, dword [edi + 0x6c]
mov edx, dword [ecx + 0x84]
push edx
push 0xd6
push str.E:Prg40QueueManagerProCmdDICOMPRNServerDevDelete.cpp
push 0
call fcn.004a4210
push 0xb0
mov ecx, ebx
call fcn.00456190
push 0x1000
mov ecx, ebx
call fcn.00456180
jmp 0x42fba4
push 0
mov ecx, ebx
call fcn.00456190
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x20], 1
call sub.MFC42.DLL_AFX_EXCEPTION_LINK::AFX_EXCEPTION_LINK
mov eax, dword [edi + 0x8c]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 3
call fcn.004d1dc0
push 0x541378
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 4
call fcn.004c8322
push 0
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x1a4]
call sub.MFC42.DLL_CRecordset::Open
mov ebx, dword [ebx + 0x6c]
test ebx, ebx
je 0x42fa85
push 0x541374
push ebx
call dword [sym.imp.MSVCRT.dll_strstr]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42f8de
mov edi, 0x541374
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ebx, ecx
jmp 0x42f8e4
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0x6c]
test ebx, ebx
je 0x42fa85
push 0x541374
push ebx
mov esi, ebx
call dword [sym.imp.MSVCRT.dll_strstr]
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [ebp - 0x18], ebx
je 0x42f91d
mov edi, 0x541374
or ecx, 0xffffffff
xor eax, eax
mov byte [ebx], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ebx, ecx
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_3
mov edi, str.OBJECT_ID
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 5
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.OBJECT_ID
push esi
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x42fa74
mov edi, str.OBJECT_ID
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
lea edx, [ebp - 0x198]
push 2
push eax
push str.F_PRINT_ID___ld_AND_F_PRINT_STATUS_____ld
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp - 0x1a4]
call sub.MFC42.DLL_CRecordset::Requery
mov eax, dword [ebp - 0xdc]
test eax, eax
je 0x42f9a6
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
jmp 0x42f8e4
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x28]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0042f4d0
mov edx, dword [ebp - 0x20]
and edx, eax
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x20], edx
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x42f9d5
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_AFX_EXCEPTION_LINK::AFX_EXCEPTION_LINK
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 8
xor edi, edi
cmp edi, dword [esi + 0x80]
jge 0x42fa28
mov eax, dword [esi + 0x6c]
lea ecx, [ebp - 0x1c]
add eax, 0x90
push eax
call fcn.004c830a
mov ecx, dword [esi + 0x7c]
lea edx, [ecx + edi*4]
lea ecx, [ebp - 0x1c]
push edx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
push 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
inc edi
jmp 0x42f9ef
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
jmp 0x42fa5d
mov dword [ebp - 4], 5
call sub.MFC42.DLL_AfxTryCleanup
lea ecx, [ebp - 0x1a4]
call sub.MFC42.DLL_CRecordset::Delete
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
jmp 0x42f8e4
lea ecx, [ebp - 0x1a4]
call sub.MFC42.DLL_CRecordset::Close
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 3
call fcn.004c9210
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_AfxTryCleanup
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x42fb3c
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x82
mov ecx, ebx
call fcn.00456190
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4