Function at 0x42a64c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ec
mov eax, dword [0x488fdc]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.00428d00
mov dword [0x4b9f8c], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp dword [0x4b9f84], 0
jne 0x42a47b
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [0x4b9f84], eax
push str.Stop_FaxService
push 1
push 0
mov ecx, dword [0x4b9f84]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
push str.FaxService_Version
push 3
push 0
mov edx, dword [0x4b9f84]
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push 0x800
mov eax, dword [0x4b9f84]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
push str.View_Debug_Log
push 5
push 0
mov ecx, dword [0x4b9f84]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
cmp dword [0x4b9f8c], 0
je 0x42a4f3
push str.Turn_OFF__Debug_Mode_
push 4
push 0
mov edx, dword [0x4b9f84]
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
jmp 0x42a508
push str.Turn_ON__Debug_Mode_
push 4
push 0
mov eax, dword [0x4b9f84]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
mov edx, dword [ebp + 8]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0x102
mov edx, dword [0x4b9f84]
push edx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov dword [ebp - 4], eax
cmp dword [0x4b9f84], 0
je 0x42a556
mov eax, dword [0x4b9f84]
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
mov dword [0x4b9f84], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1ec], ecx
mov edx, dword [ebp - 0x1ec]
sub edx, 1
mov dword [ebp - 0x1ec], edx
cmp dword [ebp - 0x1ec], 4
ja case.0x42a581.1
mov eax, dword [ebp - 0x1ec]
jmp dword [eax*4 + 0x42a71c]
push 0xbe
push 0xdc
push str.You_Are_Currently_Running_Fax_Service_Version__d._d
lea ecx, [ebp - 0xd8]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x30
push str.VERSION_INFO
lea edx, [ebp - 0xd8]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp case.0x42a581.1
push 0x40034
push str.STOP_The_Fax_Service
push str.Are_You_SURE_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x42a63d
mov eax, dword [ebp + 8]
cmp eax, dword [0x4b9f78]
jne 0x42a5ff
push str.SHUTDOWN
mov ecx, dword [0x4ba0bc]
push ecx
call fcn.0042a3e0
add esp, 8
jmp 0x42a61d
push 0xbe
push 0xdc
push str.Fax_service_version__d._d_stopping_at_user_request.
call fcn.0042aa10
add esp, 0xc
push 1
call fcn.0042ed90
push str.Stopping_MEDENT_Fax_Service
push 0x4b9dc8
call fcn.00445510
add esp, 8
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.00421640
add esp, 8
jmp case.0x42a581.1
call fcn.0042a730
jmp case.0x42a581.1
mov eax, dword [ebp + 8]
cmp eax, dword [0x4b9f78]
jne 0x42a670
push str.IDM_FAX_SERVICE_DEBUG_LOG
mov ecx, dword [0x4ba0bc]
push ecx
call fcn.0042a3e0
add esp, 8
jmp case.0x42a581.1
mov dword [ebp - 0xdc], 0
mov dl, byte [0x46a51e]
mov byte [ebp - 0x1e8], dl
push 0x104
push 0
lea eax, [ebp - 0x1e7]
push eax
call fcn.004456b0
add esp, 0xc
push str.c:medent_binFAX_DEBUGGING_ON
lea ecx, [ebp - 0x1e8]
push ecx
call fcn.00445510
add esp, 8
xor edx, edx
cmp dword [0x4b9f8c], 0
sete dl
mov dword [0x4b9f8c], edx
cmp dword [0x4b9f8c], 0
je 0x42a6ff
push 0x46e668
lea eax, [ebp - 0x1e8]
push eax
call fcn.00448c8e
add esp, 8
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
je 0x42a6fd
mov ecx, dword [ebp - 0xdc]
push ecx
call fcn.004484c1
add esp, 4
jmp case.0x42a581.1
lea edx, [ebp - 0x1e8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044545a
mov esp, ebp
pop ebp
ret