Function at 0x4bd720
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x880
mov eax, dword [0x53b098]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x85c], ecx
mov eax, dword [ebp - 0x85c]
movzx ecx, byte [eax + 4]
test ecx, ecx
je 0x4bd74e
jmp 0x4bda84
mov edx, dword [ebp - 0x85c]
mov byte [edx + 4], 1
push 0x410
push 0
lea eax, [ebp - 0x414]
push eax
call fcn.004c5c20
add esp, 0xc
mov dword [ebp - 0x838], 0
lea ecx, [ebp - 0x838]
push ecx
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4bd7ee
lea edx, [ebp - 0x414]
push edx
mov eax, dword [ebp - 0x838]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4bd7bd
cmp dword [ebp - 0x838], 0
je 0x4bd7bb
mov ecx, dword [ebp - 0x838]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x4bd7ee
mov edx, 2
imul eax, edx, 0
mov dword [ebp - 0x860], eax
cmp dword [ebp - 0x860], 0x410
jae 0x4bd7d9
jmp 0x4bd7de
call fcn.004c3d33
xor ecx, ecx
mov edx, dword [ebp - 0x860]
mov word [ebp + edx - 0x414], cx
lea eax, [ebp - 0x414]
add eax, 0xfffffffe
mov dword [ebp - 0x83c], eax
mov ecx, dword [ebp - 0x83c]
mov dx, word [ecx + 2]
mov word [ebp - 0x84a], dx
add dword [ebp - 0x83c], 2
cmp word [ebp - 0x84a], 0
jne 0x4bd7fd
mov edi, dword [ebp - 0x83c]
mov eax, dword [0x512a5c]
mov dword [edi], eax
lea ecx, [ebp - 0x414]
add ecx, 0xfffffffe
mov dword [ebp - 0x840], ecx
mov edx, dword [ebp - 0x840]
mov ax, word [edx + 2]
mov word [ebp - 0x84c], ax
add dword [ebp - 0x840], 2
cmp word [ebp - 0x84c], 0
jne 0x4bd83b
mov edi, dword [ebp - 0x840]
mov ecx, 8
mov esi, str.2345PdfConverter
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4bd8b4
mov edx, 2
imul eax, edx, 0
mov dword [ebp - 0x864], eax
cmp dword [ebp - 0x864], 0x410
jae 0x4bd89f
jmp 0x4bd8a4
call fcn.004c3d33
xor ecx, ecx
mov edx, dword [ebp - 0x864]
mov word [ebp + edx - 0x414], cx
push 0x412
push 0
lea eax, [ebp - 0x828]
push eax
call fcn.004c5c20
add esp, 0xc
lea ecx, [ebp - 0x414]
mov dword [ebp - 0x82c], ecx
mov edx, dword [ebp - 0x82c]
add edx, 2
mov dword [ebp - 0x868], edx
mov eax, dword [ebp - 0x82c]
mov cx, word [eax]
mov word [ebp - 0x84e], cx
add dword [ebp - 0x82c], 2
cmp word [ebp - 0x84e], 0
jne 0x4bd8e5
mov edx, dword [ebp - 0x82c]
sub edx, dword [ebp - 0x868]
sar edx, 1
mov dword [ebp - 0x86c], edx
je 0x4bda15
push 0x207
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x828]
push ecx
call fcn.004ccd98
add esp, 0xc
lea edx, [ebp - 0x828]
mov dword [ebp - 0x830], edx
mov eax, dword [ebp - 0x830]
add eax, 2
mov dword [ebp - 0x870], eax
mov ecx, dword [ebp - 0x830]
mov dx, word [ecx]
mov word [ebp - 0x850], dx
add dword [ebp - 0x830], 2
cmp word [ebp - 0x850], 0
jne 0x4bd956
mov eax, dword [ebp - 0x830]
sub eax, dword [ebp - 0x870]
sar eax, 1
mov dword [ebp - 0x874], eax
je 0x4bda15
lea ecx, [ebp - 0x828]
add ecx, 0xfffffffe
mov dword [ebp - 0x844], ecx
mov edx, dword [ebp - 0x844]
mov ax, word [edx + 2]
mov word [ebp - 0x852], ax
add dword [ebp - 0x844], 2
cmp word [ebp - 0x852], 0
jne 0x4bd9a0
mov edi, dword [ebp - 0x844]
mov ecx, dword [0x512a5c]
mov dword [edi], ecx
lea edx, [ebp - 0x828]
add edx, 0xfffffffe
mov dword [ebp - 0x848], edx
mov eax, dword [ebp - 0x848]
mov cx, word [eax + 2]
mov word [ebp - 0x854], cx
add dword [ebp - 0x848], 2
cmp word [ebp - 0x854], 0
jne 0x4bd9df
mov edi, dword [ebp - 0x848]
mov ecx, 0xa
mov esi, str.2345PdfConverter.hzv
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.00419750
mov dword [ebp - 0x880], eax
lea edx, [ebp - 0x828]
mov dword [ebp - 0x834], edx
mov eax, dword [ebp - 0x834]
add eax, 2
mov dword [ebp - 0x878], eax
mov ecx, dword [ebp - 0x834]
mov dx, word [ecx]
mov word [ebp - 0x856], dx
add dword [ebp - 0x834], 2
cmp word [ebp - 0x856], 0
jne 0x4bda3b
mov eax, dword [ebp - 0x834]
sub eax, dword [ebp - 0x878]
sar eax, 1
mov dword [ebp - 0x87c], eax
je 0x4bda84
lea ecx, [ebp - 0x828]
push ecx
mov ecx, dword [ebp - 0x880]
call fcn.00419850
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c35a5
mov esp, ebp
pop ebp
ret