Function at 0x405ce0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4380bd
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x45000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
cmp eax, 0x2711
jne 0x405d69
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x450a7c]
push 0
cmp eax, 1
jne 0x405d37
push 0x927c0
jmp 0x405d3e
imul eax, eax, 0x36ee80
push eax
push 0x2711
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
inc dword [0x450a7c]
push ecx
mov ecx, esp
push str._SPtrue
call fcn.00407b60
call fcn.004066e0
jmp 0x40620b
cmp eax, 0x2712
jne 0x405f57
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 0
call fcn.00405a50
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.004166d0
add esp, 0xc
lea eax, [ebp - 0x218]
push str.PDFEngine.exe
push dword [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.00401770
mov ecx, eax
test ecx, ecx
jne 0x405df5
push 0x80004005
call fcn.004043d0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 2
push str._servercalltrue
push eax
call fcn.00406920
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
add esp, 8
lea ecx, [ebp - 0x234]
push 1
push esi
push eax
call fcn.00408090
mov edi, eax
mov dword [ebp - 0x238], edi
call fcn.00401770
mov ecx, eax
test ecx, ecx
jne 0x405e53
push 0x80004005
call fcn.004043d0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
push edi
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 3
push str._SCS_d
push eax
call fcn.00406920
mov eax, dword [ebp - 0x224]
add esp, 8
add eax, 0xfffffff0
mov edi, esp
mov dword [ebp - 0x21c], edi
mov ecx, eax
mov dword [ebp - 0x21c], eax
call fcn.00407610
add eax, 0x10
mov dword [edi], eax
call fcn.004066e0
cmp dword [ebp - 0x238], 0
push 0
je 0x405eb4
push 0x1b7740
jmp 0x405eb9
push 0x2bf20
push 0x2712
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [ebp - 0x21c]
or edi, 0xffffffff
mov byte [ebp - 4], 2
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405ee8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x405f03
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x405f22
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x405f3d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x406209
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
jmp 0x406209
cmp eax, 0x2714
jne 0x405f7f
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push ecx
mov ecx, esp
push str._SCCCtrue
call fcn.00407b60
call fcn.004066e0
jmp 0x40620b
cmp eax, 0x2715
jne 0x405fa7
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push ecx
mov ecx, esp
push str._DREPtrue
call fcn.00407b60
call fcn.004066e0
jmp 0x40620b
cmp eax, 0x2716
jne 0x406002
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [0x450a78], 0
je 0x405fe0
push 0
push 0x1b7740
push 0x2716
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x450a78], 0
push str.___Start_CallRunningHelper_CheckAC___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ecx
mov ecx, esp
push str._checkActivetrue
call fcn.00407b60
call fcn.004066e0
jmp 0x40620b
cmp eax, 0x2717
jne 0x40606d
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [0x450a74], 0
je 0x40603b
push 0
push 0x1b7740
push 0x2717
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x450a74], 0
push str.___Start_CallRunningHelper_check_enable_pdf_protect___
call fcn.004059d0
push ecx
lea ecx, [ebx + 0x30]
call fcn.00408820
test al, al
je 0x406209
push ecx
mov ecx, esp
push str._check_enable_pdf_protect
call fcn.00407b60
call fcn.004066e0
jmp 0x40620b
cmp eax, 0x2719
jne 0x406209
lea ecx, [ebp - 0x224]
call fcn.00405a50
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 4
push 0
push eax
call fcn.004166d0
add esp, 0xc
lea eax, [ebp - 0x218]
push str.PDFEngine.exe
push dword [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x228]
call fcn.00407b60
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 5
call fcn.0040c420
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 4
mov esi, eax
call fcn.00407670
test esi, esi
je 0x406100
push str._______XD999_Server
call fcn.004059d0
add esp, 4
jmp 0x4061b6
call fcn.00406230
lea ecx, [ebp - 0x220]
mov esi, eax
call fcn.00407570
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 6
call fcn.0040d8c0
push dword [ebp - 0x220]
mov edi, eax
push edi
push esi
push str._______XD999_Server_bDetect_d_bXd:_d_msg:_s
call fcn.004059d0
add esp, 0x10
test esi, esi
je 0x40615b
test edi, edi
jne 0x40615b
push str._______XD999_Server_CallHelper
call fcn.004059d0
mov ecx, esp
push str._setPdfDefaultExtrue
call fcn.00407b60
call fcn.004066e0
call fcn.00406290
mov esi, eax
call fcn.0040d9c0
test esi, esi
je 0x406181
test eax, eax
jne 0x406181
push ecx
mov ecx, esp
push str._setOfdDefaulttrue
call fcn.00407b60
call fcn.004066e0
call fcn.004062f0
mov esi, eax
call fcn.0040daa0
test esi, esi
je 0x4061a7
test eax, eax
jne 0x4061a7
push ecx
mov ecx, esp
push str._setCajDefaulttrue
call fcn.00407b60
call fcn.004066e0
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 4
call fcn.00407670
mov ecx, ebx
call fcn.00406350
mov esi, eax
push esi
push dword [ebx + 0x28]
push str._______XD999_Server_Timer:_d_getCloudTimer:_d
call fcn.004059d0
add esp, 0xc
cmp esi, dword [ebx + 0x28]
je 0x4061fe
push 0x2719
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
imul eax, dword [ebx + 0x28], 0xea60
push 0
push eax
push 0x2719
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x28], esi
lea ecx, [ebp - 0x224]
call fcn.00407670
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413f68
mov esp, ebp
pop ebp
ret 0x10