Function at 0x6b4913
Capabilities:
Check mutex on windows
Check os version

Disassembly:
push 0xc58
push 0x8ad798
call fcn.00701cb0
mov ebx, dword [ebp + 8]
xor eax, eax
mov byte [ebp - 0xc4e], al
mov dword [ebp - 4], eax
mov edi, 0x114
push edi
push eax
mov esi, 0x8ee0e0
push esi
call fcn.00719250
add esp, 0xc
mov dword [0x8ee0e0], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor edi, edi
mov dword [ebp - 0xc54], edi
cmp dword [0x8ee0f0], 2
jne 0x6b4980
and dword [ebp - 0xc60], edi
call fcn.006b5dbd
mov dword [ebp - 0xc64], eax
lea edi, [ebp - 0xc68]
mov dword [ebp - 0xc54], edi
test ebx, ebx
je 0x6b4a34
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x6b4a34
push ebx
push str.WBXTRA_TRACE_MUTEX
push str._s__s
mov esi, 0x104
push esi
lea eax, [ebp - 0x634]
push eax
call fcn.006b4353
push ebx
push str.WBXTRA_TRACE_MUTEX_EX
push str._s__s
push esi
lea eax, [ebp - 0x83c]
push eax
call fcn.006b4353
push ebx
push str.WBXTRA_TRACE_FILE
push str._s__s
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.006b4353
push ebx
push str.WBXTRA_TRACE_FILE_EX
push str._s__s
push esi
lea eax, [ebp - 0x42c]
push eax
call fcn.006b4353
add esp, 0x50
push ebx
push str.WBXTRA_TRACE_EVENT
push str._s__s
push esi
lea eax, [ebp - 0xa44]
push eax
call fcn.006b4353
push ebx
push str.WBXTRA_TRACE_EVENT_EX
push str._s__s
push esi
lea eax, [ebp - 0xc4c]
push eax
call fcn.006b4353
add esp, 0x28
jmp 0x6b4aa8
push str.WBXTRA_TRACE_MUTEX
mov esi, 0x104
push esi
lea eax, [ebp - 0x634]
push eax
call fcn.006b43a9
push str.WBXTRA_TRACE_MUTEX_EX
push esi
lea eax, [ebp - 0x83c]
push eax
call fcn.006b43a9
push str.WBXTRA_TRACE_FILE
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.006b43a9
push str.WBXTRA_TRACE_FILE_EX
push esi
lea eax, [ebp - 0x42c]
push eax
call fcn.006b43a9
push str.WBXTRA_TRACE_EVENT
push esi
lea eax, [ebp - 0xa44]
push eax
call fcn.006b43a9
push str.WBXTRA_TRACE_EVENT_EX
push esi
lea eax, [ebp - 0xc4c]
push eax
call fcn.006b43a9
add esp, 0x48
lea eax, [ebp - 0x634]
push eax
push 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
call edi
mov dword [0x8ee1f4], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0xc5c], eax
lea eax, [ebp - 0x83c]
push eax
push 0
push dword [ebp - 0xc54]
call edi
mov edi, eax
call esi
lea ecx, [eax - 0xb7]
neg ecx
sbb ecx, ecx
inc ecx
xor esi, esi
inc esi
mov dword [ebp - 0xc58], esi
mov edx, dword [0x8ee1f4]
test edx, edx
je 0x6b4d43
test edi, edi
je 0x6b4d4e
mov eax, dword [ebp - 0xc5c]
test eax, eax
jne 0x6b4b50
test ecx, ecx
jne 0x6b4b50
mov byte [ebp - 0xc4d], 1
call fcn.006b2723
mov dword [0x8cf580], eax
cmp dword [0x8ee23c], 0
cmovne eax, dword [0x8cf584]
mov dword [0x8cf580], eax
push dword [0x8ee1f4]
jmp 0x6b4b5c
mov byte [ebp - 0xc4d], 0
test ecx, ecx
je 0x6b4b72
push edx
xor esi, esi
mov dword [ebp - 0xc58], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x8ee1f4], edi
jmp 0x6b4b7d
test eax, eax
je 0x6b4b7d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0xc4d], 0
je 0x6b4bf0
push ebx
push dword [ebp - 0xc54]
call fcn.006b4599
pop ecx
pop ecx
mov dword [0x8edaac], eax
test eax, eax
je 0x6b4d2d
cmp dword [0x8ee0f0], 2
jne 0x6b4c62
cmp dword [0x8ee0e4], 6
jb 0x6b4c62
lea eax, [ebp - 0x634]
push eax
call fcn.006b412c
lea eax, [ebp - 0x83c]
push eax
call fcn.006b412c
lea eax, [ebp - 0x224]
push eax
call fcn.006b412c
lea eax, [ebp - 0x42c]
push eax
call fcn.006b412c
add esp, 0x10
jmp 0x6b4c5d
test esi, esi
mov esi, dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
je 0x6b4c20
lea eax, [ebp - 0x224]
push eax
push 0
push 6
call esi
mov dword [0x8edaac], eax
test eax, eax
jne 0x6b4c50
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x224]
jmp 0x6b4c44
lea eax, [ebp - 0x42c]
push eax
push 0
push 6
call esi
mov dword [0x8edaac], eax
test eax, eax
jne 0x6b4c50
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x42c]
push eax
push 0
push 6
call esi
mov dword [0x8edaac], eax
push eax
push str.WBXTRACE__OpenFileMapping__g_hMapFile_0x_n
call fcn.006b26d4
pop ecx
pop ecx
mov eax, dword [0x8edaac]
test eax, eax
je 0x6b4d2d
push 0x3e8
push dword [0x8ee1f4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x6b4c96
cmp eax, 0x80
je 0x6b4c96
push str.wbxtra_do_init___WaitForSingleObject__r_n
call fcn.006b26d4
pop ecx
jmp 0x6b4d2d
mov byte [ebp - 0xc4e], 1
push ebx
xor ebx, ebx
push ebx
push ebx
push ebx
push 2
push dword [0x8edaac]
call fcn.006b3e21
add esp, 0x18
mov esi, eax
mov dword [0x8ee1f8], esi
test esi, esi
je 0x6b4d10
cmp byte [ebp - 0xc4d], bl
je 0x6b4cd6
push dword [0x8cf580]
push esi
call fcn.006b5362
pop ecx
jmp 0x6b4d1a
push 4
push str.WBXT
push 4
push esi
call fcn.004f6dea
add esp, 0x10
test eax, eax
jne 0x6b4cf2
cmp byte [esi + 6], 3
je 0x6b4d1b
push str.wbxtra_do_init___WbxUnmapViewOfFile_r_n
call fcn.006b26d4
push dword [0x8ee1f8]
call fcn.006b41b9
pop ecx
mov dword [0x8ee1f8], ebx
jmp 0x6b4d1a
push str.wbxtra_do_init___WbxMapViewOfFile_failed_r_n
call fcn.006b26d4
pop ecx
push dword [0x8ee1f4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0xc4e], bl
cmp dword [0x8ee1f8], 0
jne 0x6b4d98
push str.wbxtra_do_init___wbxtra_lib_clean_111_r_n
call fcn.006b26d4
pop ecx
jmp 0x6b4d93
test edi, edi
je 0x6b4d4e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.wbxtra_do_init___wbxtra_lib_clean_r_n
jmp 0x6b4d3b
call fcn.006b53e0
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret