Function at 0x489fc0
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x567739
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x50]
mov ecx, 0x5c03bc
push eax
mov dword [esp + 0x4c], 0
call sub.MFC42.DLL_CString::operator_2
mov esi, dword [esi + 0x40]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 4
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 5
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x36c]
mov byte [esp + 0x48], 6
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
push 0x5c031c
lea edx, [esp + 0x30]
push str.Select_ReportName_from_ReportDetails
push edx
mov byte [esp + 0x54], 7
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 8
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 7
call sub.MFC42.DLL_CString::CString
push 0x5b6f9c
lea ecx, [esp + 0x1c]
call fcn.00557276
push 0x5b6f98
lea ecx, [esp + 0x1c]
call fcn.00557276
push 0x5b6f98
push 3
lea eax, [esp + 0x38]
push 0
push eax
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x48]
push eax
call fcn.004bd7e0
add esp, 8
mov bl, 9
mov byte [esp + 0x58], bl
mov ecx, eax
call sub.MFC42.DLL_CString::Mid_1
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x54], 0xa
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 0xb
call fcn.0055727c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x48], 7
call sub.MFC42.DLL_CString::CString
push 0x5c02c8
push 0
push 0
lea edx, [esp + 0x2c]
push 0
push edx
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x5c0424]
call fcn.0041f590
test eax, eax
jne 0x48a911
lea ecx, [esi + 0x384]
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::operator_2
add esi, 0x378
lea ecx, [esp + 0x24]
push esi
call sub.MFC42.DLL_CString::operator_2
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.99999999
call fcn.0055734e
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x58], 0xc
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x58], 0xd
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x5c031c
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x5c0424]
lea eax, [esp + 0x44]
push 0x5c02c8
push eax
mov byte [esp + 0x60], 7
call fcn.00415ff0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0xe
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x34]
mov byte [esp + 0x48], 7
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x48a911
push 8
lea edx, [esp + 0x38]
push 0xa
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 0xf
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x34]
mov byte [esp + 0x48], 7
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0
mov ecx, dword [eax + 0x20]
call sub.MFC42.DLL_CMDIFrameWnd::MDIGetActive
test eax, eax
je 0x48a259
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x5c038c]
test eax, eax
je 0x48a27c
mov eax, dword [0x5c0374]
test eax, eax
je 0x48a911
mov edi, dword [esp + 0x50]
mov esi, 0x5b8fc4
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x48a2af
test cl, cl
je 0x48a2ab
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x48a2af
add eax, 2
add esi, 2
test cl, cl
jne 0x48a287
xor eax, eax
jmp 0x48a2b4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x48a2c6
mov edi, 1
mov dword [esp + 0x2c], edi
jmp 0x48a350
mov esi, 0x5b8fc0
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x48a2f5
test cl, cl
je 0x48a2f1
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x48a2f5
add eax, 2
add esi, 2
test cl, cl
jne 0x48a2cd
xor eax, eax
jmp 0x48a2fa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x48a309
mov edi, 2
mov dword [esp + 0x2c], edi
jmp 0x48a350
mov esi, 0x5b8fbc
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x48a338
test cl, cl
je 0x48a334
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x48a338
add eax, 2
add esi, 2
test cl, cl
jne 0x48a310
xor eax, eax
jmp 0x48a33d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x48a34c
mov edi, 3
mov dword [esp + 0x2c], edi
jmp 0x48a350
mov edi, dword [esp + 0x2c]
push edi
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x58], 0x10
call sub.MFC42.DLL_CString::CString_2
push 0x5c0188
mov byte [esp + 0x58], 7
call fcn.004c4020
add esp, 0x10
test eax, eax
push 0
jne 0x48a4f1
mov ecx, dword [0x5c01d0]
call sub.MFC42.DLL_CMDIFrameWnd::MDIGetActive
test eax, eax
je 0x48a911
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc4]
mov ebp, eax
mov ecx, ebp
mov eax, dword [ebp]
call dword [eax + 0x68]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x48a4bc
mov edx, dword [ebp]
lea eax, [esp + 0x2c]
push eax
mov ecx, ebp
call dword [edx + 0x6c]
push 0x5840d8
mov ecx, eax
call sub.MFC42.DLL_CObject::IsKindOf
test eax, eax
je 0x48a4b0
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 0x36c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x48a41a
test cl, cl
je 0x48a416
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x48a41a
add eax, 2
add esi, 2
test cl, cl
jne 0x48a3f2
xor eax, eax
jmp 0x48a41f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x48a4b0
push 6
push eax
lea eax, [esp + 0x38]
lea ecx, [esp + 0x24]
push eax
call sub.MFC42.DLL_CString::Mid_1
mov esi, eax
push 6
lea ecx, [esp + 0x38]
push 0
push ecx
lea ecx, [ebp + 0x370]
mov byte [esp + 0x54], 0x11
call sub.MFC42.DLL_CString::Mid_1
mov esi, dword [esi]
mov eax, dword [eax]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x48a47f
test cl, cl
je 0x48a47b
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x48a47f
add eax, 2
add esi, 2
test cl, cl
jne 0x48a457
xor eax, eax
jmp 0x48a484
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x34]
sete bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 7
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x48a4b0
cmp dword [ebp + 0x3b0], edi
je 0x48a911
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x48a3c7
mov eax, dword [0x5c01d0]
push 0
push 0
push 0x224
mov ecx, dword [eax + 0xc0]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x5c01d0]
push 0
call sub.MFC42.DLL_CMDIFrameWnd::MDIGetActive
test eax, eax
jne 0x48a3a7
jmp 0x48a911
push ecx
lea ecx, [esp + 0x18]
mov edx, esp
mov dword [esp + 0x44], esp
push 8
push 0xa
push edx
call sub.MFC42.DLL_CString::Mid_1
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov byte [esp + 0x58], 0x12
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
push 0x5c03d8
push ecx
mov byte [esp + 0x64], 0x13
call sub.MFC42.DLL_operator_3
push ecx
mov byte [esp + 0x5c], 0x14
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x5c031c
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x5c0424]
push 0x5c02c8
mov byte [esp + 0x60], 7
call fcn.0044e110
cmp eax, 1
jne 0x48a911
push 0x3b8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x48], 0x15
je 0x48a591
mov ecx, eax
call fcn.004cc620
mov esi, eax
jmp 0x48a593
xor esi, esi
lea eax, [esp + 0x10]
lea ecx, [esp + 0x34]
push eax
push 0x5c03d8
push ecx
mov byte [esp + 0x54], 7
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x4c], 0x16
call dword [edx + 0x7c]
lea ecx, [esp + 0x34]
mov byte [esp + 0x48], 7
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x10]
lea ecx, [esp + 0x34]
push eax
push 0x5c03d8
push ecx
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x1c]
lea ecx, [esi + 0x370]
push edx
call sub.MFC42.DLL_CString::operator_2
lea ebp, [esi + 0x368]
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x374]
call sub.MFC42.DLL_CString::operator_2
lea edx, [esp + 0x14]
lea ecx, [esi + 0x36c]
push edx
call sub.MFC42.DLL_CString::operator_2
push 0x200
mov dword [esi + 0x3b0], edi
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x48], 0x17
je 0x48a65a
mov ecx, eax
call fcn.0042e590
jmp 0x48a65c
xor eax, eax
mov edi, dword [0x5c0294]
push eax
push esi
mov ecx, edi
mov edx, dword [edi]
mov byte [esp + 0x50], 7
call dword [edx + 0x78]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x3c], ebx
je 0x48a911
push 3
mov ecx, ebx
call sub.MFC42.DLL_CWnd::ShowWindow
mov eax, dword [edi]
push 1
push esi
push ebx
mov ecx, edi
call dword [eax + 0x7c]
mov edx, dword [esp + 0x50]
mov edi, 0x5b8fc0
mov eax, edx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [edi]
jne 0x48a6c1
test cl, cl
je 0x48a6bd
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [edi + 1]
jne 0x48a6c1
add eax, 2
add edi, 2
test cl, cl
jne 0x48a69d
xor eax, eax
jmp 0x48a6c6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x48a73d
push 0x5b6118
lea ecx, [esp + 0x3c]
push 0x5c0334
push ecx
call sub.MFC42.DLL_operator_4
push ebp
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x54], 0x18
call sub.MFC42.DLL_operator_3
push 0x5b90d8
push eax
lea eax, [esp + 0x3c]
mov bl, 0x19
push eax
mov byte [esp + 0x54], bl
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x4c], 0x1a
call dword [edx + 0x58]
lea ecx, [esp + 0x34]
mov byte [esp + 0x48], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 0x18
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x48], 7
lea ecx, [esp + 0x38]
jmp 0x48a88a
mov edi, 0x5b8fc4
mov eax, edx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [edi]
jne 0x48a768
test cl, cl
je 0x48a764
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [edi + 1]
jne 0x48a768
add eax, 2
add edi, 2
test cl, cl
jne 0x48a744
xor eax, eax
jmp 0x48a76d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x48a7e4
push 0x5b6118
lea eax, [esp + 0x34]
push 0x5c0334
push eax
call sub.MFC42.DLL_operator_4
push ebp
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x54], 0x1b
call sub.MFC42.DLL_operator_3
push 0x5b90c4
lea edx, [esp + 0x3c]
mov bl, 0x1c
push eax
push edx
mov byte [esp + 0x54], bl
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x4c], 0x1d
call dword [edx + 0x58]
lea ecx, [esp + 0x38]
mov byte [esp + 0x48], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x48], 0x1b
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x48], 7
lea ecx, [esp + 0x30]
jmp 0x48a88a
mov edi, 0x5b8fbc
mov eax, edx
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x48a813
test cl, cl
je 0x48a80f
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x48a813
add eax, 2
add edi, 2
test cl, cl
jne 0x48a7eb
xor eax, eax
jmp 0x48a818
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x48a88f
push 0x5b6118
lea eax, [esp + 0x34]
push 0x5c0334
push eax
call sub.MFC42.DLL_operator_4
push ebp
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x54], 0x1e
call sub.MFC42.DLL_operator_3
push 0x5b90b0
lea edx, [esp + 0x3c]
mov bl, 0x1f
push eax
push edx
mov byte [esp + 0x54], bl
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x4c], 0x20
call dword [edx + 0x58]
lea ecx, [esp + 0x38]
mov byte [esp + 0x48], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x48], 0x1e
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x48], 7
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString
mov esi, dword [esi + 0x20]
mov ecx, dword [esp + 0x3c]
push esi
call fcn.0042e6e0
push 0x10
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
test esi, esi
je 0x48a8d8
mov dword [esi], 0x57f4c4
lea ecx, [esi + 4]
mov byte [esp + 0x48], 0x22
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 8]
mov byte [esp + 0x48], 0x23
call sub.MFC42.DLL_CString::CString_3
mov dword [esi], 0x580470
jmp 0x48a8da
xor esi, esi
lea eax, [esp + 0x14]
lea ecx, [esi + 4]
push eax
mov byte [esp + 0x4c], 7
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0x2c]
push esi
mov dword [esi + 0xc], edx
mov eax, dword [0x5c0190]
push eax
mov ecx, 0x5c0188
call sub.MFC42.DLL_CObArray::SetAtGrow
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret 8