Function at 0x40ded0
Capabilities:
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x274
mov eax, dword [0x60e9b0]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
push 5
push str._oftp
push edi
call fcn.005643cd
add esp, 0xc
test eax, eax
jne 0x40df11
lea ecx, [edi + 0xc]
call fcn.0040c080
jmp 0x40e5f4
push 4
push str._coe
push edi
call fcn.005643cd
add esp, 0xc
test eax, eax
jne 0x40df2f
call fcn.0040de60
jmp 0x40e5f4
push 0xd
push str._check_assctl
push edi
call fcn.005643cd
add esp, 0xc
test eax, eax
jne 0x40e10a
call fcn.0040bbe0
test al, al
je 0x40df55
call fcn.0040d560
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
sub esp, 0xc
call fcn.0040f6d0
lea ecx, [esp + 0x18]
call fcn.00421750
push ecx
push dword [eax]
call fcn.0040b830
mov ecx, eax
call fcn.0043a560
mov edx, dword [esp + 0x18]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40df9b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x18]
call fcn.00421a50
push dword [eax]
push ecx
call fcn.0040b830
add esp, 4
mov ecx, eax
call fcn.0043a3b0
mov edx, dword [esp + 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40dfd1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 8
call fcn.0040b830
add esp, 4
mov ecx, eax
call fcn.0043a360
lea ecx, [esp + 0x18]
call fcn.004294f0
mov esi, eax
call fcn.0040b830
push esi
lea ecx, [eax + 0x1a40]
call fcn.00405dc0
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40e018
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0040b830
mov dword [eax + 0x1a44], 0x40bf10
call fcn.0040b830
cmp dword [0x615828], 0
mov dword [eax + 0x1a34], 0
jne 0x40e054
push 4
call fcn.0055602b
add esp, 4
mov dword [0x615828], eax
mov dword [eax], vtable.CSkinMgr.0
sub esp, 0xc
push esp
call fcn.004139e0
call fcn.004155a0
mov ecx, eax
call fcn.00415600
lea eax, [esp + 0x20]
mov dword [esp + 0x20], vtable.WTL::CMessageLoop.0
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
push eax
movups xmmword [esp + 0x28], xmm0
mov dword [esp + 0x3c], 0
call fcn.0040f550
push ecx
lea edx, [esp + 0x24]
mov ecx, edi
call fcn.004123f0
add esp, 4
mov edi, eax
call fcn.0040f440
mov esi, dword [0x615f54]
test esi, esi
je 0x40e0c5
mov ecx, esi
call fcn.0043f270
push 0x5c
push esi
call fcn.0055605e
add esp, 8
mov dword [0x615f54], 0
call fcn.0040f2b0
call dword [sym.imp.ole32.dll_CoUninitialize]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0x20]
call fcn.0040e620
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.00555b37
mov esp, ebp
pop ebp
ret 0x10
mov edx, edi
mov ecx, 0x616488
call fcn.0040e770
test al, al
jne 0x40e4f3
mov edx, edi
mov ecx, 0x61648c
call fcn.0040e770
test al, al
jne 0x40e4f3
mov edx, edi
mov ecx, 0x616490
call fcn.0040e770
test al, al
jne 0x40e4f3
push 0x14
push str._set2d3dDefaulttrue
push edi
call fcn.005643cd
add esp, 0xc
test eax, eax
jne 0x40e174
push ecx
mov ecx, esp
push 0x5e90d4
call fcn.004078d0
call fcn.0042d9b0
add esp, 4
jmp 0x40e5f4
push 0x13
push str._setOfdDefaulttrue
push edi
call fcn.005643cd
add esp, 0xc
test eax, eax
jne 0x40e1e4
push edi
lea ecx, [esp + 0x14]
call fcn.004078d0
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
jl 0x40e1ae
push str._is_install_call
push eax
call fcn.00558bf4
add esp, 8
test eax, eax
jne 0x40e1b3
or eax, 0xffffffff
jmp 0x40e1b9
sub eax, dword [esp + 0x10]
sar eax, 1
push ecx
cmp eax, 0xffffffff
mov ecx, esp
push 0x5e90d4
setne bl
call fcn.004078d0
mov cl, bl
call fcn.0042cf80
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00405a80
jmp 0x40e5f4
push 0x13
push str._setPdfPreviewtrue
push edi
call fcn.005643cd
add esp, 0xc
test eax, eax
jne 0x40e24a
push edi
lea ecx, [esp + 0x14]
call fcn.004078d0
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
jl 0x40e237
push str._install_call
push eax
call fcn.00558bf4
add esp, 8
test eax, eax
je 0x40e237
sub eax, dword [esp + 0x10]
sar eax, 1
cmp eax, 0xffffffff
je 0x40e237
call fcn.0040bd30
test al, al
je 0x40e237
call fcn.0040c5e0
call fcn.0040d960
lea ecx, [esp + 0x10]
call fcn.00405a80
jmp 0x40e5f4
push 0x15
push str._setOfficePlugintrue
push edi
call fcn.005643cd
add esp, 0xc
test eax, eax
jne 0x40e289
push edi
lea ecx, [esp + 0x20]
call fcn.004078d0
call fcn.00457b20
test eax, eax
je 0x40e27b
call fcn.0040ce50
call fcn.0040db50
lea ecx, [esp + 0x1c]
call fcn.00405a80
jmp 0x40df55
push 0x14
push str._checkDownPdfPreview
push edi
call fcn.005643cd
add esp, 0xc
test eax, eax
jne 0x40e2b4
call fcn.0040bd30
test al, al
je 0x40e5f4
call fcn.0040c5e0
jmp 0x40e5f4
push 0x14
push str._setPdfPreviewfalse
push edi
call fcn.005643cd
add esp, 0xc
test eax, eax
jne 0x40e2d2
call fcn.0040c3f0
jmp 0x40e5f4
push 0x13
push str._setCajDefaulttrue
push edi
call fcn.005643cd
add esp, 0xc
test eax, eax
jne 0x40e342
push edi
lea ecx, [esp + 0x14]
call fcn.004078d0
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
jl 0x40e30c
push str._is_install_call
push eax
call fcn.00558bf4
add esp, 8
test eax, eax
jne 0x40e311
or eax, 0xffffffff
jmp 0x40e317
sub eax, dword [esp + 0x10]
sar eax, 1
push ecx
cmp eax, 0xffffffff
mov ecx, esp
push 0x5e90d4
setne bl
call fcn.004078d0
mov cl, bl
call fcn.0042cdf0
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00405a80
jmp 0x40e5f4
push str.testSetUserChoice
push edi
call fcn.00558bf4
add esp, 8
test eax, eax
je 0x40e3e0
xor eax, eax
mov dword [esp + 0x6c], 7
mov word [esp + 0x58], ax
mov edx, str.MasterPDF
lea eax, [esp + 0x58]
mov dword [esp + 0x68], 0
push eax
mov ecx, str..pdf
call fcn.0043edd0
add esp, 4
lea eax, [esp + 0x58]
cmp dword [esp + 0x6c], 8
lea ecx, [esp + 0x10]
cmovae eax, dword [esp + 0x58]
push eax
call fcn.004078d0
push str.MasterPDF
lea ecx, [esp + 0x18]
call fcn.004078d0
call fcn.004056d0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0045b9a0
lea ecx, [esp + 0x14]
call fcn.00405a80
lea ecx, [esp + 0x10]
call fcn.00405a80
lea ecx, [esp + 0x58]
call fcn.00407bc0
jmp 0x40e5f4
push str.test99889
push edi
call fcn.00558bf4
add esp, 8
test eax, eax
je 0x40df55
lea ecx, [esp + 0x14]
call fcn.00407f90
lea ecx, [esp + 0x10]
call fcn.00407f90
push ecx
mov edx, str..pdf
lea ecx, [esp + 0x1c]
call fcn.0042ea50
add esp, 4
lea ecx, [esp + 0x14]
push eax
call fcn.00405dc0
lea ecx, [esp + 0x18]
call fcn.00405a80
push dword [esp + 0x14]
lea eax, [esp + 0x14]
push str._______XD999_msg1:_s
push eax
call fcn.00406550
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0xc
push dword [esp + 0x10]
call edi
push 0x208
lea eax, [esp + 0x74]
mov dword [esp + 0x20], 0x104
push 0
push eax
call fcn.00559270
mov esi, dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
lea eax, [esp + 0x28]
add esp, 0xc
push eax
lea eax, [esp + 0x74]
push eax
push str.open
push str..pdf
push 2
push 0
call esi
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x14]
push str._______XD999_msg2:_s
push eax
call fcn.00406550
add esp, 0xc
push dword [esp + 0x10]
call edi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x74]
push eax
push 0
push str..pdf
push 2
push 0
call esi
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x14]
push str._______XD999_msg3:_s
push eax
call fcn.00406550
add esp, 0xc
push dword [esp + 0x10]
call edi
lea ecx, [esp + 0x10]
call fcn.00405a80
lea ecx, [esp + 0x14]
call fcn.00405a80
jmp 0x40e5f4
call fcn.00402a90
mov ecx, eax
test ecx, ecx
je 0x40e60d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.0042ec80
mov esi, dword [esp + 0x14]
push esi
test eax, eax
jne 0x40e5cf
push 0x5e9a38
call fcn.0040be80
add esp, 8
lea ecx, [esp + 0x14]
push edi
call fcn.004078d0
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jge 0x40e54a
or eax, 0xffffffff
jmp 0x40e567
push str._is_install_call
push eax
call fcn.00558bf4
add esp, 8
test eax, eax
jne 0x40e561
or eax, 0xffffffff
jmp 0x40e567
sub eax, dword [esp + 0x14]
sar eax, 1
push ecx
cmp eax, 0xffffffff
mov ecx, esp
push 0x5e90d4
setne bl
call fcn.004078d0
mov dl, bl
call fcn.0042cc20
add esp, 4
mov edx, edi
mov ecx, 0x61648c
mov ebx, eax
call fcn.0040e770
test al, al
je 0x40e5b1
test ebx, ebx
je 0x40e5b1
push 0x5e90d4
push 0x5e0930
push 0x5e0914
call fcn.00438690
add esp, 0xc
mov edx, dword [esp + 0x14]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e5dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40e5dc
push str._______XD999_helper
call fcn.0040be80
add esp, 8
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40e5f4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x27c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00555b37
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00402b10
int3