Function at 0x50fbd0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x58ff2c
push eax
mov eax, 0x13b0
mov dword fs:[0], esp
call fcn.00552f40
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x68]
push eax
call fcn.0044e460
add esp, 4
test eax, eax
jne 0x50fef4
mov eax, dword [esi + 0x68]
push 0x601750
push eax
call fcn.004eecb0
mov edi, eax
add esp, 8
test edi, edi
je 0x50fef4
mov ebx, dword [sym.imp.MSVCRT.dll_fgets]
push edi
lea eax, [esp + 0x20]
push 0x1002
push eax
xor ebp, ebp
call ebx
mov al, byte [edi + 0xc]
add esp, 0xc
test al, 0x10
jne 0x50fc5b
push edi
lea ecx, [esp + 0x20]
push 0x1002
push ecx
inc ebp
call ebx
mov al, byte [edi + 0xc]
add esp, 0xc
test al, 0x10
je 0x50fc43
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esi + 0x68]
push 0x601750
push eax
mov edi, ebp
call fcn.004eecb0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x50fef4
mov edx, dword [esi + 0x90]
push ebp
push 0
push 0x406
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x64b2e0]
lea edx, [esp + 0x10]
push 0x619640
push edx
mov eax, dword [ecx]
call dword [eax + 0x248]
push eax
mov eax, dword [0x64b2e0]
xor ebp, ebp
lea ecx, [eax + 0xae4]
mov dword [esp + 0x13cc], ebp
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov dword [esp + 0x13c8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [0x64b2e0]
lea eax, [esp + 0x10]
push 0x619640
push eax
mov edx, dword [ecx]
call dword [edx + 0x24c]
mov ecx, dword [0x64b2e0]
push eax
add ecx, 0xaec
mov dword [esp + 0x13cc], 1
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov dword [esp + 0x13c8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x10], ebp
mov ebp, edi
call fcn.004f1410
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x90]
push 0
push edx
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
lea ecx, [esp + 0x20]
push 0x1002
push ecx
call dword [sym.imp.MSVCRT.dll_fgets]
lea edx, [esp + 0x28]
push edx
call fcn.004b5190
lea eax, [esp + 0x2c]
push eax
call fcn.0044e5b0
mov al, byte [ebx + 0xc]
add esp, 0x14
test al, 0x10
je 0x50fd8b
lea ecx, [esp + 0x1c]
push ecx
call fcn.0044e460
add esp, 4
test eax, eax
jne 0x50fee0
lea edi, [esi + 0x64]
push ebp
push 0x601b04
push edi
call sub.MFC42.DLL_CString::Format
mov edi, dword [edi]
add esp, 0xc
mov ecx, esi
push edi
push 0x1771
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
push 0x10c4
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
mov dword [esi + 0x60], 1
call fcn.0050ff10
cmp dword [0x64b2e4], 3
jne 0x50fe94
cmp eax, 1
je 0x50fe94
mov ecx, dword [0x64b2e0]
lea eax, [esp + 0x14]
push 0x619640
push eax
mov edx, dword [ecx]
call dword [edx + 0x24c]
mov ecx, dword [0x64b2e0]
lea eax, [esp + 0x18]
push 0x619640
push eax
mov edx, dword [ecx]
mov dword [esp + 0x13d0], 2
call dword [edx + 0x248]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
lea edi, [esi + 0x6c]
push ecx
push edx
push eax
push str.osql__S_s__d_s__E__i_s
push edi
mov byte [esp + 0x13dc], 3
call sub.MFC42.DLL_CString::Format
mov edi, dword [edi]
add esp, 0x14
push 0
push edi
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
jb 0x50fea9
mov al, byte [ebx + 0xc]
mov byte [esp + 0x13c8], 2
test al, 0x10
lea ecx, [esp + 0x18]
jne 0x50fec7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x13c8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
inc ecx
dec ebp
mov dword [esp + 0x10], ecx
jmp 0x50fd29
test byte [ebx + 0xc], 0x10
jne 0x50fee0
mov ecx, dword [esp + 0x10]
inc ecx
dec ebp
mov dword [esp + 0x10], ecx
jmp 0x50fd29
mov eax, dword [esi + 0x6c]
push 0x10
push str.Error_update
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
mov byte [esp + 0x13c8], 2
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x13c8], 0xffffffff
call sub.MFC42.DLL_CString::CString
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
mov ecx, dword [esi + 0x68]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x13c0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x13bc
ret