Function at 0x10080140
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c89a
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x10207514]
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 dword [ebp - 0x144], ecx
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
push 0x24
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str.E945DD3C_B2BB_4E5F_B090_5B1282E76E72
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.100094b0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
mov esi, dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x100801ec
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0x100000
call esi
test eax, eax
je 0x100801ec
push eax
call edi
mov byte [ebp - 0x135], 1
jmp 0x100801f3
mov byte [ebp - 0x135], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10009450
cmp byte [ebp - 0x135], 0
je 0x100802cf
mov ecx, ebx
call fcn.1007b920
push 2
push dword [ebp + 8]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
cmp dword [0x10212884], 0
je 0x10080c4f
push 0
mov ecx, 0x10212884
call fcn.1012e070
mov eax, dword [0x10212884]
cmp byte [eax + 0x54], 0
je 0x10080c4f
cmp dword [eax + 0x58], 4
jb 0x10080c4f
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0x18
push 0x101c0674
call fcn.100094b0
push 0x492
push str.RC::RCSafeCasesRecommendManager::PromoteInstall
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_safecasesrecommend_rcsafecasesrecommendmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10212884
push eax
push 4
call fcn.1012e9e0
test bl, bl
je 0x100802c0
lea eax, [ebp - 0x28]
mov ecx, 0x10212884
push eax
call fcn.1012ed00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
jmp 0x10080c4a
push 0x24
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str.54CC4FBB_0C50_41DA_927A_06A6866BC63A
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.100094b0
mov dword [ebp - 4], 2
cmp dword [ebp - 0x18], 0
je 0x10080332
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0x100000
call esi
test eax, eax
je 0x10080332
push eax
call edi
mov byte [ebp - 0x135], 1
jmp 0x10080339
mov byte [ebp - 0x135], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10009450
cmp byte [ebp - 0x135], 0
je 0x100803df
mov ecx, ebx
call fcn.1007b920
push 2
push dword [ebp + 8]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
cmp dword [0x10212884], 0
je 0x10080c4f
push 0
mov ecx, 0x10212884
call fcn.1012e070
mov eax, dword [0x10212884]
cmp byte [eax + 0x54], 0
je 0x10080c4f
cmp dword [eax + 0x58], 4
jb 0x10080c4f
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x28]
push 0x18
push 0x101c0754
call fcn.100094b0
push 0x499
jmp 0x10080294
mov ebx, dword [ebp + 8]
xor esi, esi
mov eax, ebx
sub eax, 1
je 0x10080401
sub eax, 1
je 0x100803fa
sub eax, 1
jne 0x10080406
lea esi, [eax + 3]
jmp 0x10080406
mov esi, 2
jmp 0x10080406
mov esi, 1
push esi
call fcn.10091b80
mov ecx, eax
call fcn.10091bd0
test al, al
je 0x100804cf
cmp dword [0x10212884], 0
je 0x100804c4
push 0
mov ecx, 0x10212884
call fcn.1012e070
mov eax, dword [0x10212884]
cmp byte [eax + 0x54], 0
je 0x100804c4
cmp dword [eax + 0x58], 4
jb 0x100804c4
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x28]
push 9
push 0x101c05d4
call fcn.100094b0
push 0x4a1
push str.RC::RCSafeCasesRecommendManager::PromoteInstall
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_safecasesrecommend_rcsafecasesrecommendmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10212884
push eax
push 4
call fcn.1012e9e0
test bl, bl
je 0x100804b5
lea eax, [ebp - 0x28]
mov ecx, 0x10212884
push eax
call fcn.1012ed00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10009450
push esi
call fcn.10081800
jmp 0x10080c4f
cmp dword [ebp - 0x13c], 1
mov eax, dword [ebp - 0x144]
lea edi, [eax + 0x9c]
jne 0x10080597
add eax, 0xa4
cmp edi, eax
je 0x10080597
mov esi, dword [edi]
mov ecx, edi
push dword [esi + 4]
call fcn.10084700
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x140]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov eax, dword [ebp - 0x144]
mov dword [edi + 4], 0
mov esi, dword [edi]
push esi
mov eax, dword [eax + 0xa4]
push dword [eax + 4]
call fcn.10085fc0
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x144]
mov edx, dword [edi]
mov eax, dword [eax + 0xa8]
mov dword [edi + 4], eax
mov ecx, dword [edx + 4]
cmp byte [ecx + 0xd], 0
jne 0x10080590
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
jne 0x1008056a
nop word [eax + eax]
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
je 0x10080560
mov dword [edx], ecx
mov edx, dword [edi]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x1008058b
nop word [eax + eax]
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x10080580
mov dword [edx + 8], ecx
jmp 0x10080597
mov dword [edx], edx
mov eax, dword [edi]
mov dword [eax + 8], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x2c], 0
push eax
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.10062de0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [edi]
jne 0x1008062f
push 4
mov ecx, 0x10212884
call fcn.1012e9a0
mov esi, eax
test esi, esi
je 0x10080c4f
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x28]
push 0x16
push 0x101c05e8
call fcn.100094b0
push 0x4ae
push str.RC::RCSafeCasesRecommendManager::PromoteInstall
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_safecasesrecommend_rcsafecasesrecommendmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10212884
push eax
push 4
call fcn.1012e9e0
cmp esi, 1
jbe 0x100802c0
jmp 0x100802b2
add eax, 0x14
lea ecx, [ebp - 0x94]
push eax
call fcn.10007960
mov dword [ebp - 4], 6
mov edi, dword [ebp - 0x84]
test edi, edi
jne 0x100806cc
push 4
mov ecx, 0x10212884
call fcn.1012e9a0
mov esi, eax
test esi, esi
je 0x10080c3d
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
push 0x14
push 0x101c0618
call fcn.100094b0
push 0x4b4
push str.RC::RCSafeCasesRecommendManager::PromoteInstall
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_safecasesrecommend_rcsafecasesrecommendmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10212884
push eax
push 4
call fcn.1012e9e0
cmp esi, 1
jbe 0x100806c0
lea eax, [ebp - 0x28]
mov ecx, 0x10212884
push eax
call fcn.1012ed00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
jmp 0x10080c38
lea ecx, [ebp - 0xac]
call fcn.1006a890
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x15c]
push str.2345Downloader.exe
call fcn.100078f0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.100fdee0
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x15c]
call fcn.10009450
push 0x34
lea eax, [ebp - 0x64]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov dword [ebp - 0x64], vtable.RC::ISimpleDownloadEvent.0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x140], eax
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x64], vtable.RC::RCRecommendInstDownload.0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
mov byte [ebp - 4], 0xe
push 8
call fcn.10161f74
mov esi, eax
mov dword [ebp - 0x140], esi
mov byte [ebp - 4], 0xf
mov dword [esi], 0
mov byte [ebp - 4], 0x10
push 0x18
call fcn.10161f74
add esp, 0x14
mov dword [esi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x13
xor eax, eax
push eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push 0x101b870c
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.100094b0
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x28]
push 0
push 1
push eax
lea ecx, [ebp - 0x5c]
call fcn.10108950
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x28]
call fcn.10009450
lea eax, [ebp - 0x7c]
push eax
call fcn.100fd570
add esp, 4
test al, al
je 0x10080833
lea ecx, [ebp - 0x7c]
call fcn.1011b7d0
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x10080841
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [ebp - 0x134]
call fcn.101120f0
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x80], 8
lea ecx, [ebp - 0x134]
push edi
cmovae eax, dword [ebp - 0x94]
push eax
call fcn.100094b0
cmp dword [ebp - 0x68], 8
lea eax, [ebp - 0x7c]
push dword [ebp - 0x6c]
cmovae eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x11c]
push eax
call fcn.100094b0
sub esp, 8
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.10112230
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x100808ae
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xc4]
call fcn.10009450
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xec]
call fcn.10009450
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x104]
call fcn.10009450
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x11c]
call fcn.10009450
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x134]
call fcn.10009450
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x10080915
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x10080915
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 0x1b
mov edi, dword [ebp - 0x3c]
add edi, 4
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x30], edi
je 0x10080947
mov eax, dword [edi]
test eax, eax
je 0x10080947
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov dword [ebp - 0x140], ecx
test ecx, ecx
je 0x10080967
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [ebp - 0x140]
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 0x1b
test edi, edi
je 0x10080983
mov eax, dword [edi]
test eax, eax
je 0x1008097c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x30], 0
test esi, esi
je 0x100809ed
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov edi, dword [ebp - 0x3c]
add edi, 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x30], edi
je 0x100809ad
mov eax, dword [edi]
test eax, eax
je 0x100809ad
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x140], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x100809d1
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x140]
mov dword [eax], 0
mov byte [ebp - 4], 0x1b
test edi, edi
je 0x100809ed
mov eax, dword [edi]
test eax, eax
je 0x100809e6
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0x13
test esi, esi
je 0x100809fc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x7c]
push eax
call fcn.100fd570
add esp, 4
test al, al
jne 0x10080a76
mov ecx, dword [ebp - 0x13c]
call fcn.1007b920
push 1
push ebx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
push 4
mov ecx, 0x10212884
call fcn.1012e9a0
mov esi, eax
test esi, esi
je 0x10080c16
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x28]
push 0x16
push 0x101c0644
call fcn.100094b0
push 0x4c2
jmp 0x10080bdd
push str.E945DD3C_B2BB_4E5F_B090_5B1282E76E72
lea ecx, [ebp - 0x15c]
call fcn.100078f0
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x15c]
push eax
call fcn.10080d90
mov bl, al
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x15c]
call fcn.10009450
test bl, bl
je 0x10080b17
mov ecx, dword [ebp - 0x13c]
call fcn.1007b920
push 2
push dword [ebp + 8]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
push 4
mov ecx, 0x10212884
call fcn.1012e9a0
mov esi, eax
test esi, esi
je 0x10080c16
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x28]
push 0x18
push 0x101c0674
call fcn.100094b0
push 0x4c9
jmp 0x10080bdd
mov esi, dword [ebp + 8]
push esi
call fcn.10090fd0
mov eax, dword [ebp - 0x144]
lea ecx, [ebp - 0x15c]
push 0x101b870c
mov dword [eax + 0xc], esi
call fcn.100078f0
mov byte [ebp - 4], 0x21
lea edx, [ebp - 0x15c]
push ecx
push 1
lea ecx, [ebp - 0x7c]
call fcn.10111c30
add esp, 8
mov bl, al
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x15c]
call fcn.10009450
mov ecx, dword [ebp - 0x13c]
call fcn.1007b920
mov ecx, eax
mov edx, dword [eax]
test bl, bl
jne 0x10080b79
push 3
jmp 0x10080b7b
push 4
push esi
call dword [edx + 0xc]
push 4
mov ecx, 0x10212884
call fcn.1012e9a0
mov esi, eax
test esi, esi
je 0x10080c16
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x68], 8
cmovae eax, dword [ebp - 0x7c]
push eax
lea eax, [ebp - 0x28]
push 0x101c0788
push eax
call fcn.1012ee80
add esp, 0xc
push 0x4da
push str.RC::RCSafeCasesRecommendManager::PromoteInstall
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_safecasesrecommend_rcsafecasesrecommendmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10212884
push eax
push 4
call fcn.1012e9e0
cmp esi, 1
jbe 0x10080c0a
lea eax, [ebp - 0x28]
mov ecx, 0x10212884
push eax
call fcn.1012ed00
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x28]
call fcn.10009450
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x64]
call fcn.100919e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x7c]
call fcn.10009450
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xac]
call fcn.10009450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10009450
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.10161f63
mov esp, ebp
pop ebp
ret 8