Function at 0x4057a0
Capabilities:
Check mutex on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42629c
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 0x405829
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x43794c]
push 0
cmp eax, 1
jne 0x4057f7
push 0x927c0
jmp 0x4057fe
imul eax, eax, 0x36ee80
push eax
push 0x2711
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
inc dword [0x43794c]
push ecx
mov ecx, esp
push 0x432904
call fcn.004064e0
call fcn.00405b80
jmp 0x4059f9
cmp eax, 0x2712
jne 0x405a17
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.0040fa70
add esp, 0xc
lea eax, [ebp - 0x218]
push str.ComputerZ_PDFUp.exe
push dword [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.004014e0
mov ecx, eax
test ecx, ecx
jne 0x4058b5
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.00405cd0
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x218]
add esp, 8
lea ecx, [ebp - 0x234]
push 1
push esi
push eax
call fcn.00406a70
mov ebx, eax
call fcn.004014e0
mov ecx, eax
test ecx, ecx
jne 0x40590d
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.00405cd0
add esp, 8
lea eax, [ebp - 0x220]
mov ecx, esp
mov dword [ebp - 0x21c], ecx
push eax
call fcn.00406000
call fcn.00405b80
push 0
test ebx, ebx
je 0x40595a
push 0x1b7740
jmp 0x40595f
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 0x405991
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 0x4059ac
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 0x4059cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x4059e6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x4059f7
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.0040d4da
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x2714
jne 0x405a3c
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push ecx
mov ecx, esp
push str._SCCCtrue
call fcn.004064e0
call fcn.00405b80
jmp 0x4059f9
cmp eax, 0x2715
jne 0x405a61
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push ecx
mov ecx, esp
push str._DREPtrue
call fcn.004064e0
call fcn.00405b80
jmp 0x4059f9
cmp eax, 0x2716
jne 0x405abc
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [0x437948], 0
je 0x405a9a
push 0
push 0x1b7740
push 0x2716
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x437948], 0
push str.___Start_CallRunningHelper_CheckAC___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ecx
mov ecx, esp
push str._checkActivetrue
call fcn.004064e0
call fcn.00405b80
jmp 0x4059f9
cmp eax, 0x2717
jne 0x405b17
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [0x437944], 0
je 0x405af5
push 0
push 0x1b7740
push 0x2717
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x437944], 0
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.004064e0
call fcn.00405b80
jmp 0x4059f9
cmp eax, 0x2718
jne 0x4059f7
push str.97be7858_c72b_4d64_b752_e3f32f1ec19f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x4059f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4059f7
push str.___Start_CallRunningHelper_check_pdf_Assoc___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, 0xffffffff
je 0x405b63
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov ecx, esp
push str._ChckePDFtrue
call fcn.004064e0
call fcn.00405b80
jmp 0x4059f9