Function at 0x40bbc0
Capabilities:
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x270
mov eax, dword [0x4bf070]
xor eax, esp
mov dword [esp + 0x26c], eax
push esi
push edi
mov edi, dword [ebp + 0x10]
push 5
push str._oftp
push edi
call fcn.0046d718
add esp, 0xc
test eax, eax
jne 0x40bc13
lea ecx, [edi + 0xc]
call fcn.0040b900
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.0045f7d8
mov esp, ebp
pop ebp
ret 0x10
push 4
push str._coe
push edi
call fcn.0046d718
add esp, 0xc
test eax, eax
jne 0x40bc44
call fcn.0040bb50
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.0045f7d8
mov esp, ebp
pop ebp
ret 0x10
mov edx, edi
mov ecx, 0x4c420c
call fcn.0040c1a0
test al, al
jne 0x40c083
mov edx, edi
mov ecx, 0x4c4210
call fcn.0040c1a0
test al, al
jne 0x40c083
push 0x14
push str._set2d3dDefaulttrue
push edi
call fcn.0046d718
add esp, 0xc
test eax, eax
jne 0x40bcad
push ecx
mov ecx, esp
push 0x4a4d44
call fcn.004075e0
call fcn.00429eb0
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.0045f7d8
mov esp, ebp
pop ebp
ret 0x10
push 0x13
push str._setOfdDefaulttrue
push edi
call fcn.0046d718
add esp, 0xc
test eax, eax
jne 0x40bcee
push ecx
mov ecx, esp
push 0x4a4d44
call fcn.004075e0
call fcn.00429480
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.0045f7d8
mov esp, ebp
pop ebp
ret 0x10
push 0x13
push str._setCajDefaulttrue
push edi
call fcn.0046d718
add esp, 0xc
test eax, eax
jne 0x40bd2f
push ecx
mov ecx, esp
push 0x4a4d44
call fcn.004075e0
call fcn.00429310
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.0045f7d8
mov esp, ebp
pop ebp
ret 0x10
push str.testSetUserChoice
push edi
call fcn.004622e4
add esp, 8
test eax, eax
je 0x40bde0
xor eax, eax
mov dword [esp + 0x64], 7
mov word [esp + 0x50], ax
mov edx, str.MasterPDF
lea eax, [esp + 0x50]
mov dword [esp + 0x60], 0
push eax
mov ecx, str..pdf
call fcn.00437aa0
add esp, 4
lea eax, [esp + 0x50]
cmp dword [esp + 0x64], 8
lea ecx, [esp + 0xc]
cmovae eax, dword [esp + 0x50]
push eax
call fcn.004075e0
push str.MasterPDF
lea ecx, [esp + 0x14]
call fcn.004075e0
call fcn.00405460
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0044c6a0
lea ecx, [esp + 0x10]
call fcn.00405810
lea ecx, [esp + 0xc]
call fcn.00405810
lea ecx, [esp + 0x50]
call fcn.00407850
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.0045f7d8
mov esp, ebp
pop ebp
ret 0x10
push str.test99889
push edi
call fcn.004622e4
add esp, 8
test eax, eax
je 0x40bf06
lea ecx, [esp + 0x10]
call fcn.00407c20
lea ecx, [esp + 0xc]
call fcn.00407c20
push ecx
mov edx, str..pdf
lea ecx, [esp + 0xc]
call fcn.0042b190
add esp, 4
lea ecx, [esp + 0x10]
push eax
call fcn.00405b50
lea ecx, [esp + 8]
call fcn.00405810
push dword [esp + 0x10]
lea eax, [esp + 0x10]
push str._______XD999_msg1:_s
push eax
call fcn.004062e0
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0xc
push dword [esp + 0xc]
call edi
push 0x208
lea eax, [esp + 0x6c]
mov dword [esp + 0x18], 0x104
push 0
push eax
call fcn.00462960
mov esi, dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
lea eax, [esp + 0x20]
add esp, 0xc
push eax
lea eax, [esp + 0x6c]
push eax
push str.open
push str..pdf
push 2
push 0
call esi
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x10]
push str._______XD999_msg2:_s
push eax
call fcn.004062e0
add esp, 0xc
push dword [esp + 0xc]
call edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x6c]
push eax
push 0
push str..pdf
push 2
push 0
call esi
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x10]
push str._______XD999_msg3:_s
push eax
call fcn.004062e0
add esp, 0xc
push dword [esp + 0xc]
call edi
lea ecx, [esp + 0xc]
call fcn.00405810
lea ecx, [esp + 0x10]
call fcn.00405810
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.0045f7d8
mov esp, ebp
pop ebp
ret 0x10
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
sub esp, 0xc
call fcn.0040c8e0
lea ecx, [esp + 8]
call fcn.0041e220
push ecx
push dword [eax]
call fcn.0040b4b0
mov ecx, eax
call fcn.00436a30
lea ecx, [esp + 8]
call fcn.00405810
lea ecx, [esp + 8]
call fcn.0041e520
push dword [eax]
push ecx
call fcn.0040b4b0
add esp, 4
mov ecx, eax
call fcn.00436880
lea ecx, [esp + 8]
call fcn.00405810
sub esp, 8
call fcn.0040b4b0
add esp, 4
mov ecx, eax
call fcn.00436830
lea ecx, [esp + 8]
call fcn.00425a70
mov esi, eax
call fcn.0040b4b0
push esi
lea ecx, [eax + 0x1a40]
call fcn.00405b50
lea ecx, [esp + 8]
call fcn.00405810
call fcn.0040b4b0
mov dword [eax + 0x1a44], 0x40b790
call fcn.0040b4b0
cmp dword [0x4c3638], 0
mov dword [eax + 0x1a34], 0
jne 0x40bfce
push 4
call fcn.0045fcc9
add esp, 4
mov dword [0x4c3638], eax
mov dword [eax], vtable.CSkinMgr.0
sub esp, 0xc
push esp
call fcn.00410a10
call fcn.004124e0
mov ecx, eax
call fcn.00412540
lea eax, [esp + 0x18]
mov dword [esp + 0x18], vtable.WTL::CMessageLoop.0
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
push eax
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x34], 0
call fcn.0040c750
push ecx
lea edx, [esp + 0x1c]
mov ecx, edi
call fcn.0040f5b0
add esp, 4
mov edi, eax
call fcn.0040c640
mov esi, dword [0x4c3d50]
test esi, esi
je 0x40c03f
mov ecx, esi
call fcn.00437f50
push 0x5c
push esi
call fcn.0045fcfc
add esp, 8
mov dword [0x4c3d50], 0
call fcn.0040c4b0
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 + 0x18]
call fcn.0040c150
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.0045f7d8
mov esp, ebp
pop ebp
ret 0x10
call fcn.00402960
mov ecx, eax
test ecx, ecx
je 0x40c137
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.0042b3c0
mov esi, dword [esp + 0x10]
push esi
test eax, eax
jne 0x40c0fa
push 0x4a53cc
call fcn.0040b700
add esp, 4
mov ecx, esp
push 0x4a4d44
call fcn.004075e0
call fcn.004291a0
add esp, 4
mov edx, edi
mov ecx, 0x4c4210
call fcn.0040c1a0
test al, al
je 0x40c107
push 0x4a4d44
push 0x49fa40
push 0x49fa24
call fcn.00434c20
add esp, 0xc
jmp 0x40c107
push str._______XD999_helper
call fcn.0040b700
add esp, 8
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40c11f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x274]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0045f7d8
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004029e0
int3