Function at 0x4015e0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3d0
mov eax, dword [0x409004]
xor eax, esp
mov dword [esp + 0x3cc], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004019a0
call fcn.00401490
push 3
mov eax, str.__Welcome_to
call fcn.004013d0
push 1
mov eax, str.Panasonic_PBX_Unified_Maintenance_Console_v7.X.X.X_RX_n
call fcn.004013d0
push 3
mov eax, str.__Disclaimer:_this_program_is_illegal__all_responsibility_belongs_to_you._n
call fcn.004013d0
push 3
mov eax, str.__Press_ESC_to_exit_otherwise_any_key_to_continue._n
call fcn.004013d0
add esp, 0x14
call fcn.00401520
test eax, eax
je 0x4018ad
push 3
mov eax, str.__Trying_to_locate_library...
call fcn.004013d0
add esp, 4
lea eax, [esp + 0x1c8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x1c8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [esp + eax + 0x1c7]
lea eax, [esp + eax + 0x1c7]
cmp cl, 0x5c
je 0x40169b
cmp cl, 0x2f
je 0x40169b
mov word [eax + 1], 0x5c
push str.ruboard.dll
lea edx, [esp + 0x1cc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x1c8]
push eax
call fcn.004012c0
add esp, 4
test eax, eax
je 0x40188a
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1cc]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x40186b
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 2
mov eax, str._OK__n
call fcn.004013d0
push 3
mov eax, str.__Trying_to_load_library...
call fcn.004013d0
add esp, 8
lea eax, [esp + 0x1c8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x40186b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ExecGenerateLicense
push esi
call edi
push str.ExecCheckLicense
push esi
mov dword [0x416b9c], eax
call edi
mov dword [0x416b94], eax
test eax, eax
je 0x401845
mov ecx, dword [0x416b9c]
test ecx, ecx
je 0x401845
sub eax, ecx
cmp eax, 0x20
jne 0x401845
push 2
mov eax, str._OK__n
call fcn.004013d0
push 0x80
lea ecx, [esp + 0x150]
push 0
push ecx
call fcn.00404b10
push 0x80
lea edx, [esp + 0x364]
push 0
push edx
call fcn.00404b10
push 0x80
lea eax, [esp + 0x2f0]
push 0
push eax
call fcn.00404b10
lea ecx, [esp + 0x170]
push ecx
push 0x18
call dword [0x416b9c]
add esp, 0x30
lea edx, [esp + 0x148]
push edx
lea eax, [esp + 0x354]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x2d0]
push ecx
lea edx, [esp + 0x14c]
lea eax, [esi + 0x29a0]
push edx
mov dword [0x416b98], eax
call eax
push 3
mov eax, str.__Your_HWID_is:
call fcn.004013d0
lea eax, [esp + 0x354]
push eax
push 2
mov eax, 0x4079e0
call fcn.004013d0
push 3
mov eax, str.__Your_license_code_is:
call fcn.004013d0
lea ecx, [esp + 0x2e0]
push ecx
push 2
mov eax, 0x4079e0
call fcn.004013d0
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [esp + 0x1c8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x401899
push 1
mov eax, str._FAIL__n
call fcn.004013d0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [esp + 0x1c8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x401899
push 1
mov eax, str._FAIL__n
call fcn.004013d0
add esp, 4
lea edx, [esp + 0x1c8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x401899
push 1
mov eax, str._FAIL__n
call fcn.004013d0
add esp, 4
push 3
mov eax, str.__Press_any_key_to_exit_n
call fcn.004013d0
add esp, 4
call fcn.00401520
mov ecx, dword [esp + 0x3d4]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.004018c3
mov esp, ebp
pop ebp
ret