Function at 0x457960
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x848
mov eax, dword [0x6069b0]
xor eax, esp
mov dword [esp + 0x844], eax
push esi
push edi
call fcn.00437f40
cmp dword [0x60db28], 0x800
jge 0x457997
push str.PdfAssociation_not_support_______
jmp 0x457da5
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push dword [0x60e130]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4579f5
push 0x400
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00555650
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.0040b600
add esp, 0x10
lea eax, [esp + 0x38]
push eax
jmp 0x457da5
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 0x457a53
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.00551ee1
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.00555650
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 [0x5e27a8]
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 0x457ae6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation_error_3_______
jmp 0x457da5
push 0x40f
lea eax, [esp + 0x43d]
push 0
push eax
call fcn.00555650
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.005557b0
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.00458e30
add esp, 0x10
test eax, eax
je 0x457d88
mov eax, dword [esp + 0x18]
cmp eax, 0x10
jb 0x457d88
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 0x457b8c
push ecx
call fcn.005585f7
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
jne 0x457ba1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation_error_5_______
jmp 0x457da5
call fcn.00437f40
call fcn.00437f40
mov eax, dword [0x60db28]
cmp eax, 0x4000
je 0x457bbe
cmp eax, 0x40000
jne 0x457bcc
call fcn.00437f40
cmp dword [0x60db24], 0
jne 0x457bf9
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.00551ee1
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 0x457c28
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation_error_6_______
jmp 0x457da5
push 0x400
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00555650
movups xmm0, xmmword [str.MasterPDF]
mov ax, word [0x5e27a8]
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 0x457cab
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation_error_7_______
jmp 0x457da5
push 0x40f
lea eax, [esp + 0x43d]
push 0
push eax
call fcn.00555650
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.005557b0
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.00458e30
add esp, 0x10
test eax, eax
je 0x457d69
mov eax, dword [esp + 0x18]
cmp eax, 0x10
jb 0x457d69
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 0x457d5a
push ecx
call fcn.005585f7
add esp, 4
test edi, edi
jne 0x457bde
push str.PdfAssociation_error_9_______
jmp 0x457da5
mov eax, dword [esp + 0x10]
test eax, eax
je 0x457d7a
push eax
call fcn.005585f7
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PdfAssociation_error_8_______
jmp 0x457da5
mov eax, dword [esp + 0x10]
test eax, eax
je 0x457d99
push eax
call fcn.005585f7
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.00551ee1
mov esp, ebp
pop ebp
ret 4