Function at 0x40e100
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b402
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x6459b8]
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.00458211
add esp, 4
push edi
push ecx
mov dword [ebp - 0x2c], esp
mov ecx, esp
or ebx, 0xffffffff
push ebx
push 0x616ba8
call fcn.0056cdab
mov dword [ebp - 4], edi
push 1
mov dword [ebp - 4], ebx
call fcn.00577480
mov eax, dword [esi + 0x48]
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
call fcn.00406440
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], edi
jne 0x40e251
mov ecx, esi
call fcn.0040a530
test eax, eax
je 0x40e24b
push 0x29d2
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push ebx
push str.FoxitUpdater_DLL
call fcn.0056bf21
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
push ecx
mov byte [ebp - 4], 1
call fcn.00577520
add esp, 0xc
mov bl, 3
mov byte [ebp - 4], bl
lea edx, [ebp - 0x28]
push edx
mov ecx, esi
call fcn.00409d90
mov byte [ebp - 4], 4
mov eax, dword [eax]
lea ecx, [eax + 0xc]
cmp eax, edi
jne 0x40e1da
mov ecx, 0x616ba8
mov eax, dword [ebp - 0x24]
cmp eax, edi
je 0x40e1e6
add eax, 0xc
jmp 0x40e1eb
mov eax, 0x616ba8
push 0x30
push ecx
push eax
push edi
mov ecx, 0x64b2f0
call fcn.0040c770
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.0056bf07
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0056bf07
mov dword [ebp - 4], 0xffffffff
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 0x40e237
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
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], edi
jl 0x40e29c
push str.checkbDisableInternet
push ecx
call fcn.00546303
mov ecx, dword [ebp - 0x14]
add esp, 8
cmp eax, edi
je 0x40e29c
sub eax, ecx
sar eax, 1
jne 0x40e29c
push ecx
lea eax, [ecx - 0x10]
mov edi, esp
mov dword [ebp - 0x2c], esp
push eax
mov dword [ebp - 0x28], edi
call fcn.004040d0
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 7
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.0040ca40
jmp 0x40e211
cmp dword [ecx - 0xc], edi
jl 0x40e2ba
push str._install
push ecx
call fcn.00546303
add esp, 8
cmp eax, edi
je 0x40e2ba
sub eax, dword [ebp - 0x14]
sar eax, 1
jns 0x40e2dd
mov ecx, esi
call fcn.0040a530
test eax, eax
je 0x40e2dd
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jmp 0x40e22b
mov edx, dword [esi + 0x14c]
mov eax, dword [ebp - 0x14]
mov edx, dword [edx]
lea ecx, [esi + 0x14c]
push eax
call edx
push 0x616ba8
lea ecx, [ebp - 0x18]
call fcn.00406440
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], edi
je 0x40e345
mov ecx, dword [esi + 0x48]
push edi
push ecx
mov ecx, esi
call fcn.00409f70
test eax, eax
jne 0x40e345
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00404610
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x14]
call fcn.00404610
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.00406440
mov byte [ebp - 4], 0xb
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x20]
push edx
push 0
push 0
call edi
mov dword [esi + 0x120], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
sete cl
xor edi, edi
mov eax, ecx
mov dword [esi + 0x124], eax
cmp eax, edi
je 0x40e61e
push edi
push 0x5966cc
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call fcn.0044b156
mov edi, eax
test edi, edi
je 0x40e469
cmp dword [esi + 0xc4], 0
jne 0x40e42e
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x48]
push edx
lea ecx, [ebp - 0x24]
call fcn.00406440
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x24]
mov edx, dword [edi + 0x20]
mov dword [ebp - 0x3c], 0
mov ecx, dword [eax - 0xc]
lea ecx, [ecx + ecx + 2]
push edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [edi + 0x20]
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x4a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x24]
call fcn.00404610
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x20]
call fcn.00404610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00404610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404610
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
lea edx, [ebp - 0x28]
push edx
lea ecx, [esi + 0xb8]
call fcn.0040aa70
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x18]
call fcn.004059f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.00404610
push 0
push str.calssFoxitReaderAutoUpdater
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call fcn.0044b156
mov edi, eax
test edi, edi
je 0x40e4c9
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x40e42e
cmp dword [esi + 0xc8], 0
je 0x40e511
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
push str.Update_List
push ecx
call fcn.0056dbaf
add esp, 0xc
mov byte [ebp - 4], 0xe
mov eax, dword [eax]
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x40e4fb
add eax, 0xc
jmp 0x40e500
mov eax, 0x616ba8
push eax
lea ecx, [ebp - 0x18]
call fcn.00408950
mov byte [ebp - 0xd], 1
test eax, eax
jne 0x40e515
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xb
test byte [ebp - 0x1c], 1
je 0x40e52e
and dword [ebp - 0x1c], 0xfffffffe
lea ecx, [ebp - 0x28]
call fcn.0056bf07
cmp byte [ebp - 0xd], 0
jne 0x40e4bd
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40e42e
lea edx, [ebp - 0x24]
push edx
mov ecx, esi
call fcn.00409d90
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40e560
add eax, 0xc
jmp 0x40e565
mov eax, 0x616ba8
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 0x40e606
push 0x40
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00409d90
mov byte [ebp - 4], 0x10
mov eax, dword [eax]
test eax, eax
je 0x40e59c
add eax, 0xc
jmp 0x40e5a1
mov eax, 0x616ba8
push eax
push 0x29f7
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0xffffffffffffffff
push str.FoxitUpdater_DLL
call fcn.0056bf21
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
push ecx
mov byte [ebp - 4], 0x10
call fcn.00577520
add esp, 0xc
mov byte [ebp - 4], 0x12
mov eax, dword [eax]
test eax, eax
je 0x40e5dc
add eax, 0xc
jmp 0x40e5e1
mov eax, 0x616ba8
push eax
push 0
mov ecx, 0x64b2f0
call fcn.0040c770
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
call fcn.0056bf07
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c]
call fcn.0056bf07
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x24]
call fcn.0056bf07
jmp 0x40e42e
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea edx, [ebp - 0x2c]
push edx
lea ecx, [esi + 0xb8]
call fcn.0040aa70
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x18]
call fcn.004059f0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e664
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 0xc8], edi
je 0x40e6c4
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
push str.Auto_Updater
push ecx
call fcn.0056dbaf
add esp, 0xc
mov byte [ebp - 4], 0x15
mov eax, dword [eax]
mov dword [ebp - 0x1c], 2
cmp eax, edi
je 0x40e695
add eax, 0xc
jmp 0x40e69a
mov eax, 0x616ba8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40e6af
push 0x80004005
call fcn.00403760
mov edx, dword [ebp - 0x18]
push eax
push edx
call fcn.0054704c
add esp, 8
cmp eax, edi
jne 0x40e6c4
mov bl, 1
jmp 0x40e6c6
xor bl, bl
mov dword [ebp - 4], 0xb
test byte [ebp - 0x1c], 2
je 0x40e6df
and dword [ebp - 0x1c], 0xfffffffd
lea ecx, [ebp - 0x2c]
call fcn.0056bf07
xor eax, eax
test bl, bl
je 0x40e783
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.00451ba4
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.0044e548
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.00451ba4
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x8c]
push ecx
push str.32770
push eax
call edi
mov dword [ebp - 0x68], 0x5966cc
lea edx, [ebp - 0x8c]
jmp 0x40e818
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.00451ba4
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.0044e548
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.00451ba4
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x64]
push ecx
push str.32770
push eax
call edi
mov dword [ebp - 0x40], 0x5966cc
lea edx, [ebp - 0x64]
push edx
call fcn.0044e548
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x14]
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.004040d0
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0xb
mov ecx, esi
call fcn.0040cbb0
test eax, eax
je 0x40e42e
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x20]
call fcn.00404610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00404610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404610
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