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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2b0
mov eax, dword [0x6679c4]
xor eax, esp
mov dword [esp + 0x2ac], eax
push esi
mov esi, dword [ebp + 0x10]
lea ecx, [esp + 0xc]
push edi
push esi
call fcn.00406540
call fcn.00417bd0
or edi, 0xffffffff
test al, al
je 0x4184da
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
jl 0x418413
push str._downgrade_system
push eax
call fcn.005a382e
add esp, 8
test eax, eax
je 0x418413
sub eax, dword [esp + 0x10]
sar eax, 1
cmp eax, edi
jne 0x4184da
push 0x208
lea eax, [esp + 0xac]
push 0
push eax
call fcn.005a4c30
add esp, 0xc
lea eax, [esp + 0xa8]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.00402c20
mov ecx, eax
test ecx, ecx
je 0x418781
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push str._downgrade_system
mov dword [esp + 0x10], eax
lea eax, [esp + 0xac]
push esi
push eax
lea eax, [esp + 0x18]
push str._s__s__s
push eax
call fcn.004083c0
mov esi, dword [esp + 0x20]
add esp, 0x14
mov ecx, esi
call fcn.00417d90
test eax, eax
je 0x4184c3
push str.data0
push str.cancel
push 0x6331e8
call fcn.0046d8c0
or edi, 0xffffffff
add esp, 0xc
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41874e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41874e
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4184da
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push str.04462CC7_8D6D_4A5E_8249_94EAF0272490
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x671700], eax
test eax, eax
je 0x418726
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
je 0x418721
call fcn.004181c0
call fcn.004182c0
test eax, eax
jne 0x418553
push str._checkActive
lea ecx, [esp + 0x10]
call fcn.00406540
lea ecx, [esp + 0xc]
call fcn.00418120
mov edx, dword [esp + 0xc]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x418549
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.data2
jmp 0x41873c
sub esp, 0xc
call fcn.004178f0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x4185b9
call fcn.00402c20
mov ecx, eax
test ecx, ecx
je 0x41878b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
call esi
push eax
lea eax, [esp + 0x10]
push str._______XD999_pdfEngine_start:_d
push eax
call fcn.004083c0
mov esi, dword [esp + 0x18]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4185b9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 8
push eax
mov dword [esp + 0x1c], 0x404
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
lea eax, [esp + 0x30]
mov dword [esp + 0x1c], 0
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 1
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x2c], 0
push eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
push str.riched20.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [0x6827ac]
lea eax, [esp + 0x38]
xorps xmm0, xmm0
mov dword [esp + 0x38], vtable.WTL::CMessageLoop.0
add esi, 0x10
mov dword [esp + 0x4c], 0
push esi
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x54], 0
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x682584]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004187f0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x682bf0]
test esi, esi
jne 0x4186ab
push 0x6c
call fcn.0058bec1
add esp, 4
mov ecx, eax
call fcn.00437a60
mov esi, eax
mov dword [0x682bf0], esi
sub esp, 0xc
mov ecx, esp
call fcn.00418320
mov ecx, esi
call fcn.00437b00
lea ecx, [esp + 0x70]
call fcn.0041b560
push ecx
mov ecx, dword [esp + 0x14]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.004073a0
add eax, 0x10
lea ecx, [esp + 0x74]
mov dword [esi], eax
call fcn.0041c080
lea ecx, [esp + 0x38]
call fcn.00417770
mov esi, eax
call fcn.00417a20
call fcn.004179c0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [0x671700]
test eax, eax
je 0x41870d
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [esp + 0x70]
call fcn.0041b6d0
lea ecx, [esp + 0x38]
call fcn.004187a0
jmp 0x418750
mov eax, dword [0x671700]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x671700], 0
push str.data1
push str.cancel
push 0x6331e8
call fcn.0046d8c0
add esp, 0xc
xor esi, esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x418769
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esp + 0x2b4]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004024f0
push 0x80004005
call fcn.004024f0
int3