Function at 0x42f95b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1dd0
call fcn.0060f180
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x22f3], 0
push esi
push edi
jne 0x42f98c
mov edx, str.Open_a_PDF_to_use_editing_features
mov eax, 0x3e8
push ebx
call fcn.00424541
jmp 0x42fc18
mov edx, ebx
call fcn.00431411
mov esi, eax
test esi, esi
mov dword [ebp - 0x14], esi
je 0x42fc18
mov edx, ebx
call fcn.00428fd5
test al, al
jne 0x42f9b7
mov edx, str.This_PDF_does_not_contain_a_password
mov eax, 0x7ef
jmp 0x42f981
mov eax, dword [esi + 0x21]
test eax, eax
mov dword [ebp + 8], eax
je 0x42fc18
call fcn.00484ff2
test al, al
je 0x42f9de
push 0xe
push ebx
call fcn.00477a3d
test al, al
je 0x42fc18
mov eax, dword [ebx + 4]
push str.Owner_password_is_required_to_remove_password
push eax
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x5a4]
call fcn.004171dd
test al, al
je 0x42fc18
cmp byte [esi + 0xb0e], 0
lea edx, [esi + 0xb0f]
jne 0x42fa0f
lea edx, [esi + 0x59]
push str._no_password.pdf
lea edi, [ebp - 0x39c]
call fcn.00537573
xor eax, eax
push str..pdf
push 0x63fb1c
lea esi, [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call fcn.0045a2a2
xor esi, esi
lea eax, [ebp - 0x9bc]
push eax
push esi
push esi
push 5
push esi
mov word [ebp - 0x9bc], si
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push dword [ebp - 0x10]
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x9bc]
push ecx
push str.Save_As
mov ecx, edi
push ecx
push eax
mov eax, 0x63c580
call fcn.00536d77
test al, al
je 0x42fc0f
lea ecx, [ebx + 0x25af]
call fcn.0048e959
cmp eax, esi
je 0x42fa93
call fcn.004448f5
lea eax, [ebp - 0xfdc]
push eax
lea eax, [ebp - 0x5a4]
mov word [ebp - 0xfdc], si
mov word [ebp - 0xdd4], si
mov word [ebp - 0xbcc], si
mov dword [ebp - 0x9c4], esi
call fcn.00401050
lea eax, [ebp - 0xbcc]
push eax
lea eax, [ebp - 0x5a4]
call fcn.00401050
push dword [ebp + 8]
lea esi, [ebp - 0x9c4]
call fcn.0041708d
mov edi, dword [ebx + 4]
push str.Removing_password
lea eax, [ebp - 0x194]
call fcn.0040d84a
lea eax, [ebp - 0x5a4]
push eax
lea eax, [ebp - 0xa6]
push eax
mov eax, dword [ebp - 0x14]
lea edi, [ebp - 0x7b4]
call fcn.00461fb0
lea esi, [ebp - 0x1dcc]
call fcn.00463393
lea esi, [ebp - 0xfdc]
lea edi, [ebp - 0x1c30]
call fcn.0046335a
lea eax, [ebp - 0x39c]
push eax
lea eax, [ebp - 0x7b0]
push eax
lea eax, [ebp - 0xa6]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x1dcc]
mov byte [ebp - 0x1c31], 1
call fcn.00463425
cmp dword [ebp + 8], 0
je 0x42fb93
cmp dword [ebp + 8], 2
jne 0x42fbee
lea eax, [ebp - 0x39c]
push eax
call fcn.005372a1
test al, al
mov eax, str.The_file_is_in_use_by_another_application._nPlease_close_the_application_to_save_your_PDF.
jne 0x42fb80
mov eax, str.Failed_to_remove_password
push str.Removing_password
push eax
push dword [ebp - 0x190]
call fcn.0040d4a6
jmp 0x42fbee
lea ecx, [ebp - 0x39c]
lea eax, [ebp - 0x11e4]
call fcn.00401b1a
lea eax, [ebp - 0x11e4]
push eax
push str.Remove_password_complete._Created_file:__s
mov eax, 0x104
lea edi, [ebp - 0x13ec]
call fcn.005383cd
pop ecx
pop ecx
mov eax, edi
push eax
mov eax, ebx
call fcn.004356b1
add ebx, 0x2c61
push ebx
lea eax, [ebp - 0x39c]
call fcn.00401050
call fcn.00484ff2
test al, al
je 0x42fbee
push 0xe
call fcn.00477a85
lea esi, [ebp - 0x1dcc]
call fcn.0042f91c
lea eax, [ebp - 0x7b4]
call fcn.00462026
lea eax, [ebp - 0x194]
call fcn.0040d8e1
push dword [ebp - 0x10]
call fcn.005f858a
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4