Function at 0x459d70
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x848
mov eax, dword [0x60b9b0]
xor eax, esp
mov dword [esp + 0x844], eax
push esi
push edi
call fcn.00438920
cmp dword [0x612e38], 0x800
jge 0x459da7
push str.PdfAssociation_not_support_______
jmp 0x45a1b5
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push dword [0x6134c8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x459e05
push 0x400
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00557410
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.0040b740
add esp, 0x10
lea eax, [esp + 0x38]
push eax
jmp 0x45a1b5
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 0x459e63
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.00553c8d
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.00557410
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 [0x5e7cf0]
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 0x459ef6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation_error_3_______
jmp 0x45a1b5
push 0x40f
lea eax, [esp + 0x43d]
push 0
push eax
call fcn.00557410
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.00557570
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.0045abb0
add esp, 0x10
test eax, eax
je 0x45a198
mov eax, dword [esp + 0x18]
cmp eax, 0x10
jb 0x45a198
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 0x459f9c
push ecx
call fcn.0055a3b7
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
jne 0x459fb1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation_error_5_______
jmp 0x45a1b5
call fcn.00438920
call fcn.00438920
mov eax, dword [0x612e38]
cmp eax, 0x4000
je 0x459fce
cmp eax, 0x40000
jne 0x459fdc
call fcn.00438920
cmp dword [0x612e34], 0
jne 0x45a009
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.00553c8d
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 0x45a038
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation_error_6_______
jmp 0x45a1b5
push 0x400
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00557410
movups xmm0, xmmword [str.MasterPDF]
mov ax, word [0x5e7cf0]
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 0x45a0bb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation_error_7_______
jmp 0x45a1b5
push 0x40f
lea eax, [esp + 0x43d]
push 0
push eax
call fcn.00557410
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.00557570
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.0045abb0
add esp, 0x10
test eax, eax
je 0x45a179
mov eax, dword [esp + 0x18]
cmp eax, 0x10
jb 0x45a179
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 0x45a16a
push ecx
call fcn.0055a3b7
add esp, 4
test edi, edi
jne 0x459fee
push str.PdfAssociation_error_9_______
jmp 0x45a1b5
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45a18a
push eax
call fcn.0055a3b7
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation_error_8_______
jmp 0x45a1b5
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45a1a9
push eax
call fcn.0055a3b7
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.00553c8d
mov esp, ebp
pop ebp
ret 4