Function at 0x45b530
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x848
mov eax, dword [0x60e9b0]
xor eax, esp
mov dword [esp + 0x844], eax
push esi
push edi
call fcn.00439be0
cmp dword [0x615f48], 0x800
jge 0x45b567
push str.PdfAssociation_not_support_______
jmp 0x45b975
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push dword [0x6165d8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45b5c5
push 0x400
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00559270
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.0040b760
add esp, 0x10
lea eax, [esp + 0x38]
push eax
jmp 0x45b975
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 0x45b623
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.00555b37
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.00559270
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 [0x5e9c4c]
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 0x45b6b6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation_error_3_______
jmp 0x45b975
push 0x40f
lea eax, [esp + 0x43d]
push 0
push eax
call fcn.00559270
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.005593d0
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.0045ca00
add esp, 0x10
test eax, eax
je 0x45b958
mov eax, dword [esp + 0x18]
cmp eax, 0x10
jb 0x45b958
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 0x45b75c
push ecx
call fcn.0055c217
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
jne 0x45b771
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation_error_5_______
jmp 0x45b975
call fcn.00439be0
call fcn.00439be0
mov eax, dword [0x615f48]
cmp eax, 0x4000
je 0x45b78e
cmp eax, 0x40000
jne 0x45b79c
call fcn.00439be0
cmp dword [0x615f44], 0
jne 0x45b7c9
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.00555b37
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 0x45b7f8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation_error_6_______
jmp 0x45b975
push 0x400
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00559270
movups xmm0, xmmword [str.MasterPDF]
mov ax, word [0x5e9c4c]
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 0x45b87b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation_error_7_______
jmp 0x45b975
push 0x40f
lea eax, [esp + 0x43d]
push 0
push eax
call fcn.00559270
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.005593d0
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.0045ca00
add esp, 0x10
test eax, eax
je 0x45b939
mov eax, dword [esp + 0x18]
cmp eax, 0x10
jb 0x45b939
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 0x45b92a
push ecx
call fcn.0055c217
add esp, 4
test edi, edi
jne 0x45b7ae
push str.PdfAssociation_error_9_______
jmp 0x45b975
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45b94a
push eax
call fcn.0055c217
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation_error_8_______
jmp 0x45b975
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45b969
push eax
call fcn.0055c217
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.00555b37
mov esp, ebp
pop ebp
ret 4