Function at 0x1007b05
Capabilities:
Delete file

Disassembly:
mov eax, 0x1014bb4
call fcn.0100fee0
mov eax, 0x2764
call fcn.01010170
mov eax, dword [0x1018890]
xor eax, dword [ebp + 4]
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ebx
call fcn.010097c0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call sub.MFC42u.DLL_CString::CString_3
cmp dword [esi + 0xdec], ebx
mov byte [ebp - 4], 1
jne 0x1007b63
push 1
mov ecx, esi
call sub.MFC42u.DLL_CWnd::UpdateData
push 1
mov ecx, esi
call fcn.01006227
lea edi, [esi + 0x90]
mov ecx, edi
mov dword [ebp - 0x20], edi
call sub.MFC42u.DLL_CString::TrimLeft
mov ecx, edi
call sub.MFC42u.DLL_CString::TrimRight
mov eax, dword [edi]
cmp dword [eax - 8], ebx
jne 0x1007b88
xor esi, esi
jmp 0x10080fc
lea ecx, [esi + 0xa4]
push eax
push dword [ecx]
mov dword [ebp - 0x14], ecx
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x1007c8a
push dword [edi]
call fcn.01008cec
cmp eax, 1
jne 0x1007c9f
lea ecx, [ebp - 0x30]
call sub.MFC42u.DLL_CString::CString_3
push 0x285d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::LoadStringW
lea ecx, [ebp - 0x34]
call sub.MFC42u.DLL_CString::CString_3
push 0x10024fc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::CString_1
lea eax, [ebp - 0x28]
push eax
push edi
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_operator
lea ecx, [ebp - 0x30]
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 5
call sub.MFC42u.DLL_operator
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call sub.MFC42u.DLL_CString::operator
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0100f7ea
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.0100f7ea
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0100f7ea
push ebx
push 0x24
push dword [ebp - 0x34]
call sub.MFC42u.DLL_AfxMessageBox_1
cmp eax, 7
jne 0x1007c72
push dword [ebp - 0x14]
mov ecx, edi
call sub.MFC42u.DLL_CString::operator
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0100f7ea
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0100f7ea
jmp 0x1007b81
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0100f7ea
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0100f7ea
push dword [edi]
call fcn.01006fa5
test eax, eax
jne 0x1007cad
push 0x2865
jmp 0x1007f74
cmp eax, ebx
jne 0x1007c8a
push 0x2864
jmp 0x1007f74
cmp dword [esi + 0xdec], ebx
jne 0x1007de0
cmp dword [esi + 0x98], 1
jne 0x1007de0
mov eax, dword [esi + 0x94]
cmp dword [eax - 8], ebx
jne 0x1007cdb
push 0x78d9
jmp 0x1007f74
push eax
call fcn.01008cec
cmp eax, 1
jne 0x1007dd8
push dword [esi + 0x94]
call fcn.01006fa5
test eax, eax
jne 0x1007d03
push 0x2875
jmp 0x1007f74
lea ecx, [ebp - 0x24]
call sub.MFC42u.DLL_CString::CString_3
push 0x2873
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call sub.MFC42u.DLL_CString::LoadStringW
lea ecx, [ebp - 0x28]
call sub.MFC42u.DLL_CString::CString_3
push 0x10024fc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call sub.MFC42u.DLL_CString::CString_1
lea eax, [ebp - 0x1c]
push eax
lea eax, [esi + 0x94]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 9
call sub.MFC42u.DLL_operator
lea ecx, [ebp - 0x24]
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0xa
call sub.MFC42u.DLL_operator
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call sub.MFC42u.DLL_CString::operator
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
call fcn.0100f7ea
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call fcn.0100f7ea
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.0100f7ea
push ebx
push 0x24
push dword [ebp - 0x24]
call sub.MFC42u.DLL_AfxMessageBox_1
cmp eax, 7
jne 0x1007dbe
push dword [ebp - 0x14]
mov ecx, edi
call sub.MFC42u.DLL_CString::operator
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.0100f7ea
lea ecx, [ebp - 0x24]
jmp 0x1007c64
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.0100f7ea
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0100f7ea
jmp 0x1007de0
cmp eax, ebx
je 0x1007f6f
lea ecx, [esi + 0xa8]
call fcn.0100e98b
cmp dword [esi + 0xdf0], ebx
je 0x1008021
cmp dword [esi + 0xdec], ebx
jne 0x1007f3c
lea ecx, [ebp - 0x2770]
call fcn.0100c768
mov eax, dword [esi + 0x10c]
mov edi, dword [eax + 0x348]
mov edx, dword [eax + 0xb4]
mov ecx, dword [eax + 0xb0]
mov eax, dword [eax + 0x34c]
push ebx
mov dword [ebp - 0x48], edi
mov edi, 0x2710
push edi
push edx
push ecx
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x44], eax
call fcn.0100ff90
mov ecx, dword [esi + 0xdf0]
push edx
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x38]
mov eax, dword [esi + 0xde8]
cdq
cmp eax, dword [ebp - 0x48]
jne 0x1007e68
cmp edx, dword [ebp - 0x44]
je 0x1007e79
push ebx
push edi
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.0100ff90
mov ecx, eax
jmp 0x1007e7d
xor edx, edx
xor ecx, ecx
mov eax, dword [esi + 0xdf0]
mov edi, dword [eax]
push edx
push ecx
push eax
call dword [edi + 0x40]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.01006265
push 1
push dword [esi + 0x108]
lea eax, [esi + 0x180]
push dword [esi + 0x104]
lea ecx, [ebp - 0x2770]
push dword [esi + 0xde0]
push dword [esi + 0xddc]
push eax
push dword [ebp - 0x2c]
call fcn.0100dfb3
cmp eax, ebx
mov dword [ebp - 0x18], eax
jge 0x1007ef6
push 0x2874
call fcn.0100905c
pop ecx
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
call sub.MFC42u.DLL_CString::operator
lea ecx, [ebp - 0x2770]
mov byte [ebp - 4], 1
call fcn.0100c7cd
jmp 0x1007b81
push dword [ebp - 0x2c]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xdf0]
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 0xd
call dword [ecx + 0x30]
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xc
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x18], ebx
jl 0x1007ecc
lea ecx, [ebp - 0x2770]
mov byte [ebp - 4], 1
call fcn.0100c7cd
mov edi, dword [ebp - 0x20]
push dword [edi]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xdf0]
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 0xe
call dword [ecx + 0x28]
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x18], ebx
jge 0x1007f7f
push 0x2874
call fcn.0100905c
pop ecx
jmp 0x1008041
cmp dword [esi + 0xdec], ebx
je 0x1008001
mov dword [ebp - 0x20], ebx
mov eax, dword [esi + 0xdf0]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x1001e5c
push eax
mov byte [ebp - 4], 0xf
call dword [ecx]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jl 0x1007fb9
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jge 0x1007fe8
push 0x78f1
call fcn.0100905c
pop ecx
push dword [ebp - 0x14]
mov ecx, edi
call sub.MFC42u.DLL_CString::operator
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x1007b81
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1007b81
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x1007ff9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esi + 0xdec], ebx
jne 0x1008021
mov eax, dword [esi + 0xdf0]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x48]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jge 0x1008021
push 0x78e9
call fcn.0100905c
pop ecx
push dword [esi + 0xdf0]
lea ecx, [ebp - 0x120]
call fcn.010099f8
lea ecx, [ebp - 0x120]
call fcn.01009738
test eax, eax
jne 0x1008050
push dword [ebp - 0x14]
mov ecx, edi
call sub.MFC42u.DLL_CString::operator
jmp 0x1007b81
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [ebp - 0x18], ebx
jl 0x100809c
mov eax, dword [esi + 0xdf0]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x68]
cmp dword [ebp - 0x18], ebx
jge 0x1008083
push 0x78e8
call fcn.0100905c
cmp dword [ebp - 0x18], ebx
pop ecx
jl 0x100809c
mov ecx, dword [ebp - 0x14]
push edi
call sub.MFC42u.DLL_CString::operator
mov ecx, esi
call fcn.01007ab0
push 1
mov ecx, esi
call sub.MFC42u.DLL_CWnd::UpdateData
cmp dword [esi + 0xdec], ebx
jne 0x10080f9
cmp dword [ebp - 0x18], ebx
jl 0x10080e8
cmp dword [esi + 0x98], 1
jne 0x10080e8
lea edi, [esi + 0x94]
mov eax, dword [edi]
cmp dword [eax - 8], ebx
jne 0x10080ce
push 0xffffffffffffffff
push ebx
push 0x78d9
call sub.MFC42u.DLL_AfxMessageBox
jmp 0x10080e8
mov ecx, edi
call sub.MFC42u.DLL_CString::TrimLeft
mov ecx, edi
call sub.MFC42u.DLL_CString::TrimRight
mov edi, dword [edi]
push 1
push edi
mov ecx, esi
call fcn.01006e0d
cmp dword [esi + 0xdec], ebx
jne 0x10080f9
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
inc esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.0100f7ea
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.01009862
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.0100f7d5
leave
ret