Function at 0x449ce0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ccd67
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x52bdd0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x158], ecx
push 0x4df578
push str.toolmodel
push str.mazatrol
call sub.m8ytooldb.dll_MIFTooldbOpen
push eax
mov dword [ebp - 0x144], eax
call sub.m8ytooldb.dll_MIFTooldbClearSelect
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x178]
push eax
push 0
push 3
push 2
push dword [ebp - 0x144]
call sub.m8ytooldb.dll_MIFTooldbSelect
push dword [ebp - 0x144]
call sub.m8ytooldb.dll_MIFTooldbMoveTopSelect
push dword [ebp - 0x144]
call sub.m8ytooldb.dll_MIFTooldbDelete
lea eax, [ebp - 0x144]
push eax
call sub.m8ytooldb.dll_MIFTooldbClose
add esp, 0x40
lea ecx, [ebp - 0x174]
call sub.mfc120.dll_Ordinal_503
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push str.C:ymwM8YdataMC_Machine_Database
lea ecx, [ebp - 0x13c]
movlpd qword [ebp - 0x138], xmm0
movlpd qword [ebp - 0x130], xmm0
movlpd qword [ebp - 0x128], xmm0
call dword [sym.imp.mfc120.dll_Ordinal_310]
push str._toolmodel_
push eax
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 1
push eax
call fcn.00411be0
add esp, 0xc
lea ecx, [ebp - 0x13c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x140]
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_316]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor ebx, ebx
mov byte [ebp - 4], 5
mov ecx, str..X_B
test ebx, ebx
mov eax, str..X_T
cmovne eax, ecx
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00411be0
add esp, 0xc
push eax
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc120.dll_Ordinal_1041]
push 0
push 0
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_5005]
push eax
lea ecx, [ebp - 0x174]
call sub.mfc120.dll_Ordinal_4662
mov esi, eax
test esi, esi
je 0x449f3e
lea ecx, [ecx]
lea ecx, [ebp - 0x174]
call sub.mfc120.dll_Ordinal_4682
neg eax
lea ecx, [ebp - 0x174]
sbb eax, eax
and esi, eax
call sub.mfc120.dll_Ordinal_8022
test eax, eax
jne 0x449f36
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x174]
push 0x10
call dword [eax + 0x40]
test eax, eax
jne 0x449f36
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x174]
call sub.mfc120.dll_Ordinal_5470
push eax
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc120.dll_Ordinal_1041]
push 0
lea eax, [ebp - 0x138]
push eax
push 0
lea ecx, [ebp - 0x140]
call dword [sym.imp.mfc120.dll_Ordinal_5005]
push eax
call sub.mfc120.dll_Ordinal_6822
test eax, eax
je 0x449f25
and dword [ebp - 0x118], 0xfffffffe
lea eax, [ebp - 0x138]
push 0
push eax
push 0
lea ecx, [ebp - 0x140]
call dword [sym.imp.mfc120.dll_Ordinal_5005]
push eax
call sub.mfc120.dll_Ordinal_13758
push 0
lea ecx, [ebp - 0x140]
call dword [sym.imp.mfc120.dll_Ordinal_5005]
push eax
call edi
test esi, esi
jne 0x449e70
lea ecx, [ebp - 0x174]
call sub.mfc120.dll_Ordinal_2839
inc ebx
mov ecx, str..X_B
cmp ebx, 2
jl 0x449e05
push 0x84c
push dword [0x52ec00]
call dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
add esp, 8
test eax, eax
je 0x449f94
push 0
push str.M747Misc
call dword [sym.imp.Y747WINSYS.dll_YWSFindWindow]
add esp, 8
test eax, eax
je 0x449f94
push 0
push 0
push 0x512
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x14c]
call dword [sym.imp.mfc120.dll_Ordinal_316]
push str.C:ymwM8YdataMC_Machine_Database
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc120.dll_Ordinal_310]
push str.ParamT_AdjustLength_
push eax
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 9
push eax
call fcn.00411be0
add esp, 0xc
push eax
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0xa
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x148]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x14c]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
mov ecx, dword [ebp - 0x158]
push eax
call fcn.00449460
lea ecx, [ebp - 0x14c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x140]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x174]
mov dword [ebp - 4], 0xffffffff
call sub.mfc120.dll_Ordinal_1139
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6016
mov esp, ebp
pop ebp
ret