Function at 0x405c10
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4347ed
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x44900c]
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 0x405c99
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x449a7c]
push 0
cmp eax, 1
jne 0x405c67
push 0x927c0
jmp 0x405c6e
imul eax, eax, 0x36ee80
push eax
push 0x2711
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
inc dword [0x449a7c]
push ecx
mov ecx, esp
push str._SPtrue
call fcn.004075e0
call fcn.004064f0
jmp 0x4060da
cmp eax, 0x2712
jne 0x405e87
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.004059d0
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00413550
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.00401700
mov ecx, eax
test ecx, ecx
jne 0x405d25
push 0x80004005
call fcn.00404360
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.00406da0
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
add esp, 8
lea ecx, [ebp - 0x234]
push 1
push esi
push eax
call fcn.00407b10
mov edi, eax
mov dword [ebp - 0x238], edi
call fcn.00401700
mov ecx, eax
test ecx, ecx
jne 0x405d83
push 0x80004005
call fcn.00404360
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.00406da0
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.004070e0
add eax, 0x10
mov dword [edi], eax
call fcn.004064f0
cmp dword [ebp - 0x238], 0
push 0
je 0x405de4
push 0x1b7740
jmp 0x405de9
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 0x405e18
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 0x405e33
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 0x405e52
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x405e6d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x4060d8
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
jmp 0x4060d8
cmp eax, 0x2714
jne 0x405eaf
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push ecx
mov ecx, esp
push str._SCCCtrue
call fcn.004075e0
call fcn.004064f0
jmp 0x4060da
cmp eax, 0x2715
jne 0x405ed7
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push ecx
mov ecx, esp
push str._DREPtrue
call fcn.004075e0
call fcn.004064f0
jmp 0x4060da
cmp eax, 0x2716
jne 0x405f32
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [0x449a78], 0
je 0x405f10
push 0
push 0x1b7740
push 0x2716
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x449a78], 0
push str.___Start_CallRunningHelper_CheckAC___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ecx
mov ecx, esp
push str._checkActivetrue
call fcn.004075e0
call fcn.004064f0
jmp 0x4060da
cmp eax, 0x2717
jne 0x405f8b
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [0x449a74], 0
je 0x405f6b
push 0
push 0x1b7740
push 0x2717
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x449a74], 0
push str.___Start_CallRunningHelper_check_enable_pdf_protect___
call fcn.00405950
mov ecx, esp
push str._check_enable_pdf_protect
call fcn.004075e0
call fcn.004064f0
jmp 0x4060da
cmp eax, 0x2719
jne 0x4060d8
lea ecx, [ebp - 0x224]
call fcn.004059d0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 4
push 0
push eax
call fcn.00413550
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.004075e0
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 5
call fcn.00408050
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 4
mov esi, eax
call fcn.00407140
test esi, esi
je 0x40601b
push str._______XD999_Server
call fcn.00405950
add esp, 4
jmp 0x406085
call fcn.00406100
lea ecx, [ebp - 0x220]
mov esi, eax
call fcn.00407040
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 6
call fcn.00409640
push dword [ebp - 0x220]
mov edi, eax
push edi
push esi
push str._______XD999_Server_bDetect_d_bXd:_d_msg:_s
call fcn.00405950
add esp, 0x10
test esi, esi
je 0x406076
test edi, edi
jne 0x406076
push str._______XD999_Server_CallHelper
call fcn.00405950
mov ecx, esp
push str._setPdfDefaultExtrue
call fcn.004075e0
call fcn.004064f0
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 4
call fcn.00407140
mov ecx, ebx
call fcn.00406160
mov esi, eax
push esi
push dword [ebx + 0x28]
push str._______XD999_Server_Timer:_d_getCloudTimer:_d
call fcn.00405950
add esp, 0xc
cmp esi, dword [ebx + 0x28]
je 0x4060cd
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.00407140
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.00410da8
mov esp, ebp
pop ebp
ret 0x10