Function at 0x53b58f
Capabilities:
Delete directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x17f4
call fcn.0060f180
push ebx
push esi
lea eax, [ebp - 0x448]
push eax
mov ebx, 0x631a7c
push ebx
push str.Installer
push str.Software
call fcn.00531dbb
xor esi, esi
cmp word [ebp - 0x448], si
je 0x53b82f
lea eax, [ebp - 0x448]
push eax
call fcn.00401e3b
test al, al
je 0x53b82f
push edi
push esi
mov edi, 0x1389
push edi
lea eax, [ebp - 0x38]
push eax
push str.We_highly_recommend_that_you_back_up_your_software._nThis_backup_will_include_the_file_used_to_install_PicoPDF_and_the_software_registration.
push str.Back_up_Your_Software_Now.
push str.Back_up_PicoPDF
push dword [ebp + 0xc]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
lea esi, [ebp - 0x7b4]
mov dword [ebp - 0x38], 0x1388
mov dword [ebp - 0x34], str.Express_Burn
mov dword [ebp - 0x30], str.Click_here_to_use_Express_Burn_to_create_a_CD_containing_the_backup
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], str.USB_Drive
mov dword [ebp - 0x24], str.Click_here_to_back_up_the_software_to_your_USB_Drive
mov dword [ebp - 0x20], 0x138a
mov dword [ebp - 0x1c], str.Later
mov dword [ebp - 0x18], str.I_will_create_a_backup_with_my_own_software_later
call fcn.00575e8c
mov eax, esi
call fcn.00575f6e
lea ecx, [edi - 1]
cmp eax, ecx
mov dword [ebp - 8], eax
jl 0x53b823
cmp eax, 0x138a
je 0x53b823
and word [ebp - 0x240], 0
cmp eax, edi
jne 0x53b69a
push 0
push str.Select_the_folder_for_the_backup._This_folder_should_either_be_on_a_removable_drive__like_a_USB_drive__or_a_remote_network_folder.
push dword [ebp + 0xc]
lea edi, [ebp - 0x240]
call fcn.0053695b
cmp word [ebp - 0x240], 0
jne 0x53b6b0
jmp 0x53b823
cmp eax, ecx
jne 0x53b6b0
lea eax, [ebp - 0x240]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x448]
lea eax, [ebp - 0x15ec]
call fcn.00401b1a
push ebx
lea eax, [ebp - 0x15ec]
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x9bc]
call fcn.0053768f
lea eax, [ebp - 0x9bc]
push eax
lea eax, [ebp - 0x448]
push eax
mov esi, 0x3e8
mov eax, esi
call fcn.005366ba
test al, al
je 0x53b823
push ebx
push str.registration.txt
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0xbc4]
call fcn.0053768f
lea eax, [ebp - 0xfd4]
push eax
push ebx
push str.Name
mov edi, str.Registration
push edi
call fcn.00531ec3
lea eax, [ebp - 0xdcc]
push eax
push ebx
push str.Location
push edi
call fcn.00531ec3
push 0
push 0x666538
push edi
call fcn.00401828
mov dword [ebp - 4], eax
lea eax, [ebp - 0x17f4]
push eax
push ebx
push 0x67ba10
push edi
call fcn.00531ec3
lea eax, [ebp - 0x17f4]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0xdcc]
push eax
lea eax, [ebp - 0xfd4]
push eax
push str.__Name:______s_r_n__Location:__s_r_n__ID___Key:____d______s_r_n_r_n
mov eax, 0x104
lea edi, [ebp - 0x11dc]
call fcn.005383cd
add esp, 0x14
push esi
push 2
push 0
push 0xc0000000
lea eax, [ebp - 0xbc4]
push eax
call fcn.005365d4
mov dword [ebp - 4], eax
push str.PicoPDF_r_nRegistration_and_Activation_Code:_r_n
lea eax, [ebp - 4]
push eax
call fcn.00538038
mov eax, edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.00538038
cmp dword [ebp - 4], 0xffffffff
je 0x53b7d5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0x1388
jne 0x53b823
lea eax, [ebp - 0xbc4]
push eax
lea eax, [ebp - 0x9bc]
push eax
push str.__clear__label__PicoPDF_Installer___type_data____s____s_
mov eax, 0x208
lea edi, [ebp - 0x13e4]
call fcn.005383cd
add esp, 0xc
push dword [ebp + 0xc]
mov eax, edi
call fcn.004f2bd9
push dword [ebp + 8]
call fcn.00568208
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [ebp - 0x7b4]
call fcn.0052f214
pop edi
pop esi
pop ebx
leave
ret 8