Function at 0x40aec0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57554a
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x5f6998]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push edi
mov dword [ebp - 0x1c], edi
call fcn.00453ab7
add esp, 4
push edi
push ecx
mov dword [ebp - 0x2c], esp
mov ecx, esp
or ebx, 0xffffffff
push ebx
push 0x58df78
call fcn.00568ba9
mov dword [ebp - 4], edi
push 1
mov dword [ebp - 4], ebx
call fcn.005719b0
mov eax, dword [esi + 0x48]
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
call fcn.00403d90
mov dword [ebp - 4], 1
mov edx, dword [esi + 0x144]
mov eax, dword [ebp - 0x18]
mov edx, dword [edx]
lea ecx, [esi + 0x144]
push eax
call edx
push 0x58df78
lea ecx, [ebp - 0x14]
call fcn.00403d90
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], edi
je 0x40afc5
mov ecx, dword [esi + 0x48]
push edi
push ecx
mov ecx, esi
call fcn.00407550
test eax, eax
jne 0x40afc5
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40af92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x40afb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.WriteRegiter_FoxitUpdater
push 1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
call edi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Foxit_Reader_Update
lea ecx, [ebp - 0x20]
call fcn.00403d90
mov byte [ebp - 4], 5
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x20]
push ecx
push 0
push 0
call edi
mov dword [esi + 0x118], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 0xb7
sete dl
xor edi, edi
mov eax, edx
mov dword [esi + 0x11c], eax
cmp eax, edi
je 0x40b393
push edi
push 0x58f47c
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call fcn.004470e0
mov edi, eax
test edi, edi
je 0x40b175
cmp dword [esi + 0xc4], 0
je 0x40b0b4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b072
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b095
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40afa5
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x48]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00403d90
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], 0
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x20]
lea edx, [ecx + ecx + 2]
push eax
mov dword [ebp - 0x38], edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [edi + 0x20]
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0x4a
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b12a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b14d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b170
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40b095
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [esi + 0xb8]
call fcn.00408040
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x14]
call fcn.00403340
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b1b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push str.calssFoxitReaderAutoUpdater
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call fcn.004470e0
mov edi, eax
test edi, edi
je 0x40b1ec
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x40b348
cmp dword [esi + 0xc8], 0
je 0x40b234
push 0xffffffffffffffff
lea edx, [ebp - 0x24]
push str.Update_List
push edx
call fcn.00569858
add esp, 0xc
mov byte [ebp - 4], 0x10
mov eax, dword [eax]
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x40b21e
add eax, 0xc
jmp 0x40b223
mov eax, 0x58df78
push eax
lea ecx, [ebp - 0x14]
call fcn.00406210
mov byte [ebp - 0xd], 1
test eax, eax
jne 0x40b238
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 5
test byte [ebp - 0x1c], 1
je 0x40b251
and dword [ebp - 0x1c], 0xfffffffe
lea ecx, [ebp - 0x24]
call fcn.00567cb8
cmp byte [ebp - 0xd], 0
je 0x40b263
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x40b348
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40b348
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.00407370
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40b28f
add eax, 0xc
jmp 0x40b294
mov eax, 0x58df78
push eax
push str.32770
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x40b335
push 0x40
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.00407370
mov byte [ebp - 4], 0x12
mov eax, dword [eax]
test eax, eax
je 0x40b2cb
add eax, 0xc
jmp 0x40b2d0
mov eax, 0x58df78
push eax
push 0x29f7
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0xffffffffffffffff
push str.FoxitUpdater_DLL
call fcn.00567cd2
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x28]
push edx
mov byte [ebp - 4], 0x12
call fcn.00571a50
add esp, 0xc
mov byte [ebp - 4], 0x14
mov eax, dword [eax]
test eax, eax
je 0x40b30b
add eax, 0xc
jmp 0x40b310
mov eax, 0x58df78
push eax
push 0
mov ecx, 0x5fc290
call fcn.00409a40
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x28]
call fcn.00567cb8
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c]
call fcn.00567cb8
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.00567cb8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b36b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b38e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40b095
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [esi + 0xb8]
call fcn.00408040
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x14]
call fcn.00403340
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b3d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 0xc8], edi
je 0x40b439
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
push str.Auto_Updater
push ecx
call fcn.00569858
add esp, 0xc
mov byte [ebp - 4], 0x1a
mov eax, dword [eax]
mov dword [ebp - 0x1c], 2
cmp eax, edi
je 0x40b40a
add eax, 0xc
jmp 0x40b40f
mov eax, 0x58df78
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40b424
push 0x80004005
call fcn.00401090
mov edx, dword [ebp - 0x14]
push eax
push edx
call fcn.005430ac
add esp, 8
cmp eax, edi
jne 0x40b439
mov bl, 1
jmp 0x40b43b
xor bl, bl
mov dword [ebp - 4], 5
test byte [ebp - 0x1c], 2
je 0x40b454
and dword [ebp - 0x1c], 0xfffffffd
lea ecx, [ebp - 0x2c]
call fcn.00567cb8
xor eax, eax
test bl, bl
je 0x40b4f8
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
call fcn.0044dab2
mov eax, dword [eax + 8]
mov edi, dword [sym.imp.USER32.dll_GetClassInfoW]
lea ecx, [ebp - 0x64]
push ecx
push str.32770
push eax
call edi
lea edx, [ebp - 0x64]
push edx
mov dword [ebp - 0x40], str.calssFoxitReaderAutoUpdater
call fcn.0044a4d2
xor eax, eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
call fcn.0044dab2
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x8c]
push ecx
push str.32770
push eax
call edi
mov dword [ebp - 0x68], 0x58f47c
lea edx, [ebp - 0x8c]
jmp 0x40b58d
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
call fcn.0044dab2
mov eax, dword [eax + 8]
mov edi, dword [sym.imp.USER32.dll_GetClassInfoW]
lea ecx, [ebp - 0x8c]
push ecx
push str.32770
push eax
call edi
lea edx, [ebp - 0x8c]
push edx
mov dword [ebp - 0x68], str.calssFoxitReaderAutoUpdater
call fcn.0044a4d2
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
call fcn.0044dab2
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x64]
push ecx
push str.32770
push eax
call edi
mov dword [ebp - 0x40], 0x58f47c
lea edx, [ebp - 0x64]
push edx
call fcn.0044a4d2
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
push ecx
add eax, 0xfffffff0
mov edi, esp
mov dword [ebp - 0x30], esp
push eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], edi
call fcn.00401a20
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0x1c
mov byte [ebp - 4], 5
mov ecx, esi
call fcn.00409d10
test eax, eax
jne 0x40b619
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b5f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b614
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40b095
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b63c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b65f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b685
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret