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

Disassembly:
push 0xffffffffffffffff
push 0x57c711
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x4c]
mov ecx, 0x5c03bc
push eax
mov dword [esp + 0x48], 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 + 0x1c]
mov byte [esp + 0x44], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 4
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 5
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x36c]
mov byte [esp + 0x44], 6
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_2
lea edx, [esi + 0x368]
lea ecx, [esp + 0x1c]
push edx
call sub.MFC42.DLL_CString::operator_2
lea eax, [esi + 0x384]
lea ecx, [esp + 0x24]
push eax
call sub.MFC42.DLL_CString::operator_2
add esi, 0x378
lea ecx, [esp + 0x20]
push esi
call sub.MFC42.DLL_CString::operator_2
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.99999999
call fcn.0055734e
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x54], 7
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x54], 8
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x5c031c
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x5c0424]
lea eax, [esp + 0x3c]
push 0x5c02c8
push eax
mov byte [esp + 0x5c], 6
call fcn.00415ff0
mov byte [esp + 0x44], 9
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 6
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x542251
push 8
lea edx, [esp + 0x30]
push 0xa
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 0xa
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 6
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 0x541b99
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 0x541bbc
mov eax, dword [0x5c0374]
test eax, eax
je 0x542251
mov edi, dword [esp + 0x4c]
mov esi, 0x5b8fc4
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x541bef
test cl, cl
je 0x541beb
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x541bef
add eax, 2
add esi, 2
test cl, cl
jne 0x541bc7
xor eax, eax
jmp 0x541bf4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x541c06
mov edi, 1
mov dword [esp + 0x28], edi
jmp 0x541c90
mov esi, 0x5b8fc0
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x541c35
test cl, cl
je 0x541c31
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x541c35
add eax, 2
add esi, 2
test cl, cl
jne 0x541c0d
xor eax, eax
jmp 0x541c3a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x541c49
mov edi, 2
mov dword [esp + 0x28], edi
jmp 0x541c90
mov esi, 0x5b8fbc
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x541c78
test cl, cl
je 0x541c74
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x541c78
add eax, 2
add esi, 2
test cl, cl
jne 0x541c50
xor eax, eax
jmp 0x541c7d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x541c8c
mov edi, 3
mov dword [esp + 0x28], edi
jmp 0x541c90
mov edi, dword [esp + 0x28]
push edi
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x54], 0xb
call sub.MFC42.DLL_CString::CString_2
push 0x5c0188
mov byte [esp + 0x54], 6
call fcn.004c4020
add esp, 0x10
test eax, eax
push 0
jne 0x541e31
mov ecx, dword [0x5c01d0]
call sub.MFC42.DLL_CMDIFrameWnd::MDIGetActive
test eax, eax
je 0x542251
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 0x541dfc
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 0x541df0
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 0x541d5a
test cl, cl
je 0x541d56
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x541d5a
add eax, 2
add esi, 2
test cl, cl
jne 0x541d32
xor eax, eax
jmp 0x541d5f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x541df0
push 6
push eax
lea eax, [esp + 0x38]
lea ecx, [esp + 0x20]
push eax
call sub.MFC42.DLL_CString::Mid_1
mov esi, eax
push 6
lea ecx, [esp + 0x2c]
push 0
push ecx
lea ecx, [ebp + 0x370]
mov byte [esp + 0x50], 0xc
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 0x541dbf
test cl, cl
je 0x541dbb
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x541dbf
add eax, 2
add esi, 2
test cl, cl
jne 0x541d97
xor eax, eax
jmp 0x541dc4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x28]
sete bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x44], 6
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x541df0
cmp dword [ebp + 0x3b0], edi
je 0x542251
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x541d07
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 0x541ce7
jmp 0x542251
push ecx
lea ecx, [esp + 0x18]
mov edx, esp
mov dword [esp + 0x40], 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 + 0x40], esp
push eax
mov byte [esp + 0x54], 0xd
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
push 0x5c03d8
push ecx
mov byte [esp + 0x60], 0xe
call sub.MFC42.DLL_operator_3
push ecx
mov byte [esp + 0x58], 0xf
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x5c031c
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x5c0424]
push 0x5c02c8
mov byte [esp + 0x5c], 6
call fcn.0044e110
cmp eax, 1
jne 0x542251
push 0x3b8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0x44], 0x10
je 0x541ed1
mov ecx, eax
call fcn.004cc620
mov esi, eax
jmp 0x541ed3
xor esi, esi
lea eax, [esp + 0x10]
lea ecx, [esp + 0x30]
push eax
push 0x5c03d8
push ecx
mov byte [esp + 0x50], 6
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x48], 0x11
call dword [edx + 0x7c]
lea ecx, [esp + 0x30]
mov byte [esp + 0x44], 6
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x10]
lea ecx, [esp + 0x30]
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 + 0x30]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x18]
lea ecx, [esi + 0x370]
push edx
call sub.MFC42.DLL_CString::operator_2
lea ebp, [esi + 0x368]
lea eax, [esp + 0x1c]
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 + 0x38], eax
test eax, eax
mov byte [esp + 0x44], 0x12
je 0x541f9a
mov ecx, eax
call fcn.0042e590
jmp 0x541f9c
xor eax, eax
mov edi, dword [0x5c0294]
push eax
push esi
mov ecx, edi
mov edx, dword [edi]
mov byte [esp + 0x4c], 6
call dword [edx + 0x78]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x2c], ebx
je 0x542251
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 eax, dword [esp + 0x4c]
mov edi, 0x5b8fc0
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x541fff
test cl, cl
je 0x541ffb
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x541fff
add eax, 2
add edi, 2
test cl, cl
jne 0x541fdb
xor eax, eax
jmp 0x542004
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x54207b
push 0x5b6118
lea eax, [esp + 0x3c]
push 0x5c0334
push eax
call sub.MFC42.DLL_operator_4
push ebp
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x50], 0x13
call sub.MFC42.DLL_operator_3
push 0x5b90d8
lea edx, [esp + 0x34]
mov bl, 0x14
push eax
push edx
mov byte [esp + 0x50], bl
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x48], 0x15
call dword [edx + 0x58]
lea ecx, [esp + 0x30]
mov byte [esp + 0x44], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x44], 0x13
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x44], 6
lea ecx, [esp + 0x38]
jmp 0x5421c8
mov eax, dword [esp + 0x4c]
mov edi, 0x5b8fc4
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x5420a8
test cl, cl
je 0x5420a4
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x5420a8
add eax, 2
add edi, 2
test cl, cl
jne 0x542084
xor eax, eax
jmp 0x5420ad
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x542124
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 + 0x50], 0x16
call sub.MFC42.DLL_operator_3
push 0x5b90c4
lea edx, [esp + 0x3c]
mov bl, 0x17
push eax
push edx
mov byte [esp + 0x50], bl
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x48], 0x18
call dword [edx + 0x58]
lea ecx, [esp + 0x38]
mov byte [esp + 0x44], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x44], 0x16
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x44], 6
lea ecx, [esp + 0x30]
jmp 0x5421c8
mov eax, dword [esp + 0x4c]
mov edi, 0x5b8fbc
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x542151
test cl, cl
je 0x54214d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x542151
add eax, 2
add edi, 2
test cl, cl
jne 0x54212d
xor eax, eax
jmp 0x542156
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5421d1
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 + 0x50], 0x19
call sub.MFC42.DLL_operator_3
push 0x5b90b0
lea edx, [esp + 0x3c]
mov bl, 0x1a
push eax
push edx
mov byte [esp + 0x50], bl
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x48], 0x1b
call dword [edx + 0x58]
lea ecx, [esp + 0x38]
mov byte [esp + 0x44], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x44], 0x19
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x44], 6
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x2c]
mov esi, dword [esi + 0x20]
mov ecx, ebx
push esi
call fcn.0042e6e0
push 0x10
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
test esi, esi
je 0x542218
mov dword [esi], 0x57f4c4
lea ecx, [esi + 4]
mov byte [esp + 0x44], 0x1d
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 8]
mov byte [esp + 0x44], 0x1e
call sub.MFC42.DLL_CString::CString_3
mov dword [esi], 0x580470
jmp 0x54221a
xor esi, esi
lea eax, [esp + 0x14]
lea ecx, [esi + 4]
push eax
mov byte [esp + 0x48], 6
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0x28]
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 + 0x10]
mov byte [esp + 0x44], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret 4