Function at 0x100a66e0
Capabilities:
Check mutex on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018db30
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
mov eax, dword [0x101e40b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov dword [ebp - 4], eax
test cl, cl
je 0x100a6d68
mov eax, dword [0x101ed12c]
test al, 1
jne 0x100a6782
or eax, 1
mov dword [0x101ed12c], eax
mov byte [ebp - 4], 1
mov dword [0x101ed130], 0
mov byte [ebp - 4], 1
push 0x101999c0
call fcn.1017841d
add esp, 4
mov byte [ebp - 4], 0
mov ecx, 0x101ed130
call fcn.100af8e0
lea ecx, [ebp - 0x8c]
call fcn.100ae070
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x130]
call fcn.100a6f00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x130]
movaps xmm0, xmmword [0x101b9df0]
push 0x12
push str.update_pic.2345.cc
movups xmmword [ebp - 0x154], xmm0
call fcn.100056d0
push 0x1a
push 0x101b73ec
lea ecx, [ebp - 0x118]
call fcn.100056d0
push 7
push str.2345Pic
lea ecx, [ebp - 0x100]
call fcn.100056d0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x154]
call fcn.100453b0
mov esi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0xd0]
cmp eax, esi
je 0x100a683e
mov ecx, eax
call fcn.10005660
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0xd0], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0xc0], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.10005660
push 1
push 0x101b0818
lea ecx, [ebp - 0xe8]
call fcn.100056d0
lea ecx, [ebp - 0x44]
call fcn.100ae150
mov esi, eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0xb8]
cmp eax, esi
je 0x100a68a5
mov ecx, eax
call fcn.10005660
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0xa8], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.10005660
push 0x33
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x2c]
push str.84E2A8BE_B4E9_4C0B_824A_BE2182ECD590_optimizeUpdate
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.100056d0
mov byte [ebp - 4], 7
xor al, al
mov word [ebp - 0x148], 0
mov byte [ebp - 0x147], al
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x14c], 0
mov byte [ebp - 0x148], 0
mov dword [ebp - 0x138], eax
je 0x100a6921
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
jmp 0x100a6923
xor eax, eax
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [ebp - 0x14c], edi
test edi, edi
je 0x100a6962
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x138]
cmp eax, 0xb7
movzx ecx, cl
mov edx, 1
cmove ecx, edx
mov dword [ebp - 0x138], ecx
mov byte [ebp - 0x147], cl
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.10005660
test edi, edi
je 0x100a697f
cmp byte [ebp - 0x138], 0
jne 0x100a6bcc
mov dword [ebp - 0x138], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x138]
call fcn.100af070
mov byte [ebp - 4], 0xb
xorps xmm0, xmm0
mov esi, dword [ebp - 0x138]
movlpd qword [ebp - 0x140], xmm0
test esi, esi
je 0x100a6a5d
push 0x1c
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x44]
push str.last_update_config_timestamp
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.100056d0
mov byte [ebp - 4], 0xc
xor eax, eax
push 0x1c
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0
push str.last_update_config_timestamp
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.100056d0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x44]
push 0
push eax
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.10038b20
cdq
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x144], edx
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
call fcn.10005660
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x44]
call fcn.10005660
mov eax, dword [ebp - 0x13c]
jmp 0x100a6a6f
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x140]
push dword [ebp - 0x144]
push eax
call fcn.100cd710
add esp, 8
test al, al
je 0x100a6b7f
xorps xmm0, xmm0
movlpd qword [ebp - 0x140], xmm0
test esi, esi
je 0x100a6b37
push 0x20
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x2c]
push str.start_up_times_since_last_update
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.100056d0
mov byte [ebp - 4], 0xe
xor eax, eax
push 0x20
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0
push str.start_up_times_since_last_update
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.100056d0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x2c]
push 0
push eax
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.10038b20
cdq
mov esi, eax
mov dword [ebp - 0x13c], edx
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x44]
call fcn.10005660
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call fcn.10005660
jmp 0x100a6b3d
mov esi, dword [ebp - 0x140]
mov eax, dword [ebp - 0x13c]
lea ecx, [ebp - 0x138]
add esi, 1
adc eax, 0
push eax
push esi
call fcn.100af280
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
lea ecx, [ebp - 0x138]
push edx
push eax
call fcn.100af380
mov esi, dword [ebp - 0x138]
test esi, esi
je 0x100a6b7f
mov ecx, esi
call fcn.10039410
mov byte [ebp - 4], 0x10
test esi, esi
je 0x100a6bb2
mov eax, esi
xor esi, esi
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], esi
test eax, eax
je 0x100a6bb2
mov ecx, eax
call fcn.10038710
push 0x10
push dword [ebp - 0x13c]
call fcn.10177d58
add esp, 8
mov byte [ebp - 4], 9
test esi, esi
je 0x100a6bcc
mov ecx, esi
call fcn.10038710
push 0x10
push esi
call fcn.10177d58
add esp, 8
mov byte [ebp - 4], 4
test edi, edi
je 0x100a6be5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14c], 0
push 0x220
mov word [ebp - 0x148], 0
call fcn.10177d89
add esp, 4
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 0x11
mov ecx, eax
call fcn.100e1cf0
mov byte [ebp - 4], 4
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x130]
push ecx
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x138]
call fcn.100e2200
mov esi, dword [ebp - 0x138]
cmp byte [esi], 0
je 0x100a6d1b
lea eax, [esi + 0xcc]
lea ecx, [esi + 0xc0]
push eax
call fcn.100e4820
mov eax, dword [esi + 0xb0]
mov al, byte [eax + 8]
test al, al
je 0x100a6c6d
lea ecx, [esi + 0xb0]
call fcn.10039410
lea eax, [esi + 0x34]
push eax
lea ecx, [esi + 0xc0]
call fcn.100e48f0
test al, al
je 0x100a6d1b
lea eax, [ebp - 0x44]
push eax
lea ecx, [esi + 0xb0]
call fcn.10039160
mov byte [ebp - 4], 0x13
mov eax, dword [esi + 0xb0]
mov al, byte [eax + 8]
test al, al
je 0x100a6cbd
cmp dword [ebp - 0x34], 0
je 0x100a6cbd
push 1
lea eax, [ebp - 0x44]
push eax
lea ecx, [esi + 0xb0]
call fcn.100391c0
mov byte [esi], al
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x44]
call fcn.10005660
push 7
push str._update
lea ecx, [ebp - 0x74]
call fcn.100056d0
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.100e1e90
push 0x220
push esi
call fcn.10177d58
add esp, 8
mov dword [ebp - 0x138], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x130]
call fcn.100a6fd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.10005660
jmp 0x100a6d77
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.100e1e90
push 0x220
push esi
call fcn.10177d58
add esp, 8
mov dword [ebp - 0x138], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x130]
call fcn.100a6fd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.10005660
mov byte [ebp - 0x131], 0
jmp 0x100a6eca
push 7
push str._manual
lea ecx, [ebp - 0x74]
call fcn.100056d0
push 0x11
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x44]
push str.2345PicUpdate.exe
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.100056d0
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.100a7330
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x44]
call fcn.10005660
push 0x11
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x2c]
push str.2345PicUpdate.exe
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.100056d0
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x8c]
call fcn.1003d4f0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x5c]
cmp eax, esi
je 0x100a6e45
mov ecx, eax
call fcn.10005660
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x8c]
call fcn.10005660
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2c]
call fcn.10005660
cmp dword [ebp - 0x48], 8
lea esi, [ebp - 0x5c]
mov eax, dword [0x101e9f34]
cmovae esi, dword [ebp - 0x5c]
test eax, eax
jne 0x100a6e90
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.CheckSigner
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101e9f34], eax
test eax, eax
je 0x100a6e9e
push 0
push 0
push esi
call eax
add esp, 0xc
test al, al
jne 0x100a6ea7
mov byte [ebp - 0x131], 0
jmp 0x100a6ebe
push 0
push ecx
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x5c]
call fcn.10045680
add esp, 8
mov byte [ebp - 0x131], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.10005660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.10005660
mov al, byte [ebp - 0x131]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10177d47
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret