Function at 0x405790
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4261bc
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x43700c]
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 edi, ecx
mov eax, dword [ebp + 0xc]
cmp eax, 0x2711
jne 0x405800
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0xa4cb80
push 0x2711
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push ecx
mov ecx, esp
push 0x432904
call fcn.00406400
call fcn.00405aa0
jmp 0x4059d0
cmp eax, 0x2712
jne 0x4059ee
push eax
push dword [edi + 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.00405650
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0040fa10
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.004014e0
mov ecx, eax
test ecx, ecx
jne 0x40588c
push 0x80004005
call fcn.00404180
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 2
push str._servercalltrue
push eax
call fcn.00405bf0
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x218]
add esp, 8
lea ecx, [ebp - 0x234]
push 1
push esi
push eax
call fcn.00406990
mov ebx, eax
call fcn.004014e0
mov ecx, eax
test ecx, ecx
jne 0x4058e4
push 0x80004005
call fcn.00404180
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push ebx
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 3
push str._SCS_d
push eax
call fcn.00405bf0
add esp, 8
lea eax, [ebp - 0x220]
mov ecx, esp
mov dword [ebp - 0x21c], ecx
push eax
call fcn.00405f20
call fcn.00405aa0
push 0
test ebx, ebx
je 0x405931
push 0x1b7740
jmp 0x405936
push 0x2bf20
push 0x2712
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov edx, dword [ebp - 0x220]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405968
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 0x405983
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 0x4059a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x4059bd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x4059ce
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
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.0040d40a
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x2714
jne 0x405a13
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push ecx
mov ecx, esp
push str._SCCCtrue
call fcn.00406400
call fcn.00405aa0
jmp 0x4059d0
cmp eax, 0x2715
jne 0x405a38
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push ecx
mov ecx, esp
push str._DREPtrue
call fcn.00406400
call fcn.00405aa0
jmp 0x4059d0
cmp eax, 0x2716
jne 0x405a60
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push ecx
mov ecx, esp
push str._checkActivetrue
call fcn.00406400
call fcn.00405aa0
jmp 0x4059d0
cmp eax, 0x2717
jne 0x4059ce
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push str.___Start_CallRunningHelper_check_enable_pdf_protect___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ecx
mov ecx, esp
push str._check_enable_pdf_protect
call fcn.00406400
call fcn.00405aa0
jmp 0x4059d0