Function at 0x4566c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x848
mov eax, dword [0x6039b0]
xor eax, esp
mov dword [esp + 0x844], eax
push esi
push edi
call fcn.004373e0
cmp dword [0x60ab18], 0x800
jge 0x4566f7
push str.PdfAssociation_not_support_______
jmp 0x456b05
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push dword [0x60b0b0]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x456755
push 0x400
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00553bc0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.PdfAssociation_Open_Error:_d
lea eax, [esp + 0x40]
push 0x200
push eax
call fcn.0040b5c0
add esp, 0x10
lea eax, [esp + 0x38]
push eax
jmp 0x456b05
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea eax, [esp + 0x1c]
push 0
push eax
push 0x10
lea eax, [esp + 0x2c]
mov dword [esp + 0x28], 0
push eax
push 0
push 0
push 0x8000c010
xorps xmm0, xmm0
push esi
movaps xmmword [esp + 0x40], xmm0
call edi
test eax, eax
jne 0x4567b3
push str.PdfAssociation_error_2_______
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x844]
xor ecx, esp
call fcn.0055042c
mov esp, ebp
pop ebp
ret 4
push 0x3ff
lea eax, [esp + 0x3d]
mov dword [esp + 0x14], 0
push 0
push eax
mov dword [esp + 0x24], 0
call fcn.00553bc0
movq xmm0, qword [str..pdf]
lea ecx, [esp + 0x54]
mov eax, 8
movq qword [esp + 0x54], xmm0
movups xmm0, xmmword [str.MasterPDF]
mov dword [esp + 0x48], eax
add esp, 0xc
add eax, 2
mov dword [esp + 0x44], 0x12
add ecx, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], 0
movups xmmword [ecx], xmm0
mov ax, word [0x5e0628]
mov word [ecx + 0x10], ax
mov eax, dword [esp + 0x44]
add eax, 0x12
add eax, dword [esp + 0x40]
mov dword [esp + 0x14], eax
cmp eax, 0x400
jbe 0x456846
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation_error_3_______
jmp 0x456b05
push 0x40f
lea eax, [esp + 0x43d]
push 0
push eax
call fcn.00553bc0
movups xmm0, xmmword [esp + 0x2c]
add esp, 0xc
lea eax, [esp + 0x38]
movups xmmword [esp + 0x438], xmm0
push dword [esp + 0x14]
push eax
lea eax, [esp + 0x450]
push eax
call fcn.00553d20
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x438]
lea edx, [edx + 0x10]
push eax
lea eax, [esp + 0x14]
push eax
sub esp, 8
call fcn.00457500
add esp, 0x10
test eax, eax
je 0x456ae8
mov eax, dword [esp + 0x18]
cmp eax, 0x10
jb 0x456ae8
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push eax
push dword [esp + 0x24]
push 0x8000c028
push esi
call edi
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x4568ec
push ecx
call fcn.00556b67
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
jne 0x456901
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation_error_5_______
jmp 0x456b05
call fcn.004373e0
call fcn.004373e0
mov eax, dword [0x60ab18]
cmp eax, 0x4000
je 0x45691e
cmp eax, 0x40000
jne 0x45692c
call fcn.004373e0
cmp dword [0x60ab14], 0
jne 0x456959
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation__break________
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x844]
xor ecx, esp
call fcn.0055042c
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [esp + 0x20]
push eax
push 0x10
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0x8000c010
push esi
call edi
test eax, eax
jne 0x456988
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation_error_6_______
jmp 0x456b05
push 0x400
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00553bc0
movups xmm0, xmmword [str.MasterPDF]
mov ax, word [0x5e0628]
mov ecx, 0x12
mov word [esp + 0x84], ax
add esp, 0xc
movups xmmword [esp + 0x68], xmm0
mov dword [esp + 0x5c], 8
movq xmm0, qword [str..pdf]
lea eax, [ecx + 2]
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], ecx
movq qword [esp + eax + 0x68], xmm0
mov eax, dword [esp + 0x5c]
add eax, 0x32
add eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
cmp eax, 0x400
jbe 0x456a0b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation_error_7_______
jmp 0x456b05
push 0x40f
lea eax, [esp + 0x43d]
push 0
push eax
call fcn.00553bc0
movups xmm0, xmmword [esp + 0x2c]
add esp, 0xc
lea eax, [esp + 0x38]
movups xmmword [esp + 0x438], xmm0
push dword [esp + 0x14]
push eax
lea eax, [esp + 0x450]
push eax
call fcn.00553d20
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x438]
mov dword [esp + 0x18], 0
lea edx, [edx + 0x10]
push eax
lea eax, [esp + 0x14]
push eax
sub esp, 8
call fcn.00457500
add esp, 0x10
test eax, eax
je 0x456ac9
mov eax, dword [esp + 0x18]
cmp eax, 0x10
jb 0x456ac9
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push eax
push dword [esp + 0x24]
push 0x8000c02c
push esi
call edi
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x456aba
push ecx
call fcn.00556b67
add esp, 4
test edi, edi
jne 0x45693e
push str.PdfAssociation_error_9_______
jmp 0x456b05
mov eax, dword [esp + 0x10]
test eax, eax
je 0x456ada
push eax
call fcn.00556b67
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation_error_8_______
jmp 0x456b05
mov eax, dword [esp + 0x10]
test eax, eax
je 0x456af9
push eax
call fcn.00556b67
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation_error_4_______
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [esp + 0x84c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0055042c
mov esp, ebp
pop ebp
ret 4