Function at 0x1273590
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x108c
call fcn.012712c0
mov eax, dword [0x12fceb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x101c], eax
lea eax, [ebp - 0x101c]
push 4
push eax
push esi
call fcn.0128c1c0
add esp, 0xc
test eax, eax
jns 0x12735e2
push eax
call fcn.01290360
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01271180
mov esp, ebp
pop ebp
ret
push 0x1004
lea eax, [ebp - 0x1008]
push 0
push eax
call sym.VBoxTray.exe_nocrt_memset
push 0
push 1
push 7
push 0x12c0c28
push dword [ebp - 0x101c]
lea eax, [ebp - 0x108c]
push esi
push eax
call fcn.0128fb50
add esp, 0x28
test eax, eax
jns 0x1273639
push eax
push str.RTGetOptInit_failed:__Rrc_n
push 1
call fcn.01290330
add esp, 0xc
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01271180
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp - 0x108c]
push eax
call fcn.0128f6c0
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x1273700
lea esp, [esp]
lea eax, [ecx - 0x56]
cmp eax, 0x20
ja case.0x127366f.87
movzx eax, byte [eax + 0x1273d20]
jmp dword [eax*4 + 0x1273d0c]
mov eax, dword [ebp - 0x1018]
cmp byte [eax], 0
jne 0x127368a
mov byte [ebp - 0x1008], 0
jmp 0x12736e0
push 0x1004
lea ecx, [ebp - 0x1008]
push ecx
push eax
call fcn.01290fe0
add esp, 0xc
test eax, eax
jns 0x12736e0
push dword [ebp - 0x1018]
push eax
push str.RTPathAbs_failed_on_log_file_path:__Rrc___s_
push 1
call fcn.01290330
add esp, 0x10
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01271180
mov esp, ebp
pop ebp
ret
inc dword [0x12fd808]
jmp 0x12736e0
lea eax, [ebp - 0x1018]
push eax
push ecx
call fcn.0128fbb0
add esp, 8
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp - 0x108c]
push eax
call fcn.0128f6c0
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x1273660
push edi
push 0x12c0cd8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
test edi, edi
je 0x12737b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x12737b3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01271180
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x101c]
mov eax, dword [eax]
push eax
push eax
push 0x26aab
push 0xa
push 0
push 7
push 0x12c0cd8
push str.___Oracle_VM_VirtualBox__s_v_u._u._ur_u____n_nCopyright__C__2009_2023_Oracle_and_or_its_affiliates_n_nCommand_Line_Parameters:_n_n_l____logfile__file__n____Enables_logging_to_a_file_n_v____verbose_n____Increases_verbosity_n_V____version_n___Displays_version_number_and_exit_n_____h____help_n___Displays_this_help_text_and_exit_n_nExamples:_n___s__vvv_n
push 0x40
push str.Oracle_VM_VirtualBox___VBoxTray
call fcn.0127f590
add esp, 0x28
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01271180
mov esp, ebp
pop ebp
ret
push 0x26aab
push 0xa
push 0
push 7
push str.Version:__u._u._ur_u
push 0x40
push 0x12c0cd8
call fcn.0127f590
add esp, 0x1c
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01271180
mov esp, ebp
pop ebp
ret
movsx eax, byte [ebp - 0x1008]
lea ecx, [ebp - 0x1008]
neg eax
sbb eax, eax
and eax, ecx
push eax
call fcn.01272040
mov esi, eax
add esp, 4
test esi, esi
js 0x1273cdc
mov esi, dword [0x12fde48]
test esi, esi
je 0x1273811
push 0x200010
mov ecx, esi
call dword [section..rdata]
call esi
add esp, 4
test eax, eax
je 0x1273811
push dword [0x12fd808]
push str.Verbosity_level:__d_n
push 0x20
push 0x10
push eax
call fcn.012952d0
add esp, 0x14
push 0x200010
call fcn.01294390
add esp, 4
test eax, eax
je 0x127383a
push dword [0x12fd808]
push str.Verbosity_level:__d_n
push 0x20
push 0x10
push eax
call fcn.012952b0
add esp, 0x14
push ebx
call fcn.012b15a0
mov esi, eax
test esi, esi
js 0x1273c84
call fcn.01291dc0
mov esi, eax
mov ebx, edx
mov eax, dword [0x12fde48]
mov dword [ebp - 0x1024], esi
mov dword [ebp - 0x1020], ebx
mov dword [ebp - 0x102c], esi
mov dword [ebp - 0x1028], eax
test eax, eax
je 0x12738c5
push 0x200010
mov ecx, eax
call dword [section..rdata]
call dword [ebp - 0x1028]
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x12738c5
push dword [ebp - 0x1020]
mov eax, esi
mov esi, ebx
push eax
push eax
mov dword [ebp - 0x1028], eax
shr esi, 8
mov eax, esi
shr ebx, 0x14
and eax, 0xfff
push eax
push ebx
push str.Windows_version__u._u_build__u__uNtVersion_RX64__n
push 0x20
push 0x10
push ecx
call fcn.012952d0
add esp, 0x24
jmp 0x12738d3
mov dword [ebp - 0x1028], esi
mov esi, ebx
shr esi, 8
shr ebx, 0x14
mov dword [ebp - 0x1060], 0
push 0x200010
mov dword [ebp - 0x1060], 0
call fcn.01294390
add esp, 4
test eax, eax
je 0x1273924
push dword [ebp - 0x1020]
and esi, 0xfff
push dword [ebp - 0x1024]
push dword [ebp - 0x1028]
push esi
push ebx
push str.Windows_version__u._u_build__u__uNtVersion_RX64__n
push 0x20
push 0x10
push eax
call fcn.012952b0
add esp, 0x24
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x1e
mov dword [0x12fd80c], eax
call fcn.0127eea0
mov eax, dword [0x12fd80c]
add esp, 4
xor esi, esi
mov dword [ebp - 0x105c], 0x30
mov dword [ebp - 0x1050], esi
mov dword [ebp - 0x104c], esi
push 0x7f00
push esi
mov dword [ebp - 0x1044], esi
mov dword [ebp - 0x103c], esi
mov dword [ebp - 0x1038], esi
mov dword [ebp - 0x1030], esi
mov dword [ebp - 0x1058], 0x200
mov dword [ebp - 0x1054], 0x1271a40
mov dword [ebp - 0x1048], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x1040], eax
lea eax, [ebp - 0x105c]
push eax
mov dword [ebp - 0x1034], str.VBoxTrayToolWndClass
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
jne 0x12739d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x200010
mov esi, eax
call fcn.01294390
add esp, 4
test eax, eax
je 0x1273a42
push esi
push str.Registering_invisible_tool_window_failed__error___08X_n
jmp 0x1273a35
push 0
push dword [0x12fd80c]
push 0
push 0
push 0x64
push 0x64
push 0xffffff38
push 0xffffff38
push 0x80880000
push str.VBoxTrayToolWnd
push str.VBoxTrayToolWndClass
push 0xa8
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x12fd810], eax
test eax, eax
jne 0x1273a4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x200010
mov esi, eax
call fcn.01294390
add esp, 4
test eax, eax
je 0x1273a42
push esi
push str.Creating_invisible_tool_window_failed__error___08X_n
push 0x20
push 0x10
push eax
call fcn.012952b0
add esp, 0x14
test esi, esi
je 0x1273a7b
call fcn.01271fe0
jmp 0x1273a7b
call fcn.0127ee00
push 0x200010
call fcn.01294390
add esp, 4
test eax, eax
je 0x1273a7b
push dword [0x12fd810]
push str.Invisible_tool_window_handle___p_n
push 0x20
push 0x10
push eax
call fcn.012952b0
add esp, 0x14
push esi
call fcn.0128c1e0
mov esi, eax
add esp, 4
test esi, esi
js 0x1273bc3
call fcn.01274550
push dword [0x12fd810]
call fcn.0127b640
mov esi, eax
add esp, 4
test esi, esi
jns 0x1273ad5
push 0x200002
call fcn.01294390
add esp, 4
test eax, eax
je 0x1273ad5
push esi
push str.vboxStInit_failed__rc_Rrc_n
push str.int___cdecl_main_int_char__
push str._Rfn:__M
push 0x20
push 2
push eax
call fcn.012952b0
add esp, 0x1c
call fcn.01274a80
mov esi, eax
test esi, esi
jns 0x1273b0e
push 0x200002
call fcn.01294390
add esp, 4
test eax, eax
je 0x1273b0e
push esi
push str.vboxDtInit_failed__rc_Rrc_n
push str.int___cdecl_main_int_char__
push str._Rfn:__M
push 0x20
push 2
push eax
call fcn.012952b0
add esp, 0x1c
push 1
push 0
push 5
call fcn.01273d50
mov esi, eax
add esp, 0xc
test esi, esi
jns 0x1273b50
push 0x200002
call fcn.01294390
add esp, 4
test eax, eax
je 0x1273b50
push esi
push str.VBoxAcquireGuestCaps_failed_with_rc_Rrc__ignoring_..._n
push str.int___cdecl_main_int_char__
push str._Rfn:__M
push 0x20
push 2
push eax
call fcn.012952b0
add esp, 0x1c
call fcn.01273330
mov esi, eax
test esi, esi
js 0x1273ba4
call fcn.012724e0
mov esi, eax
test esi, esi
js 0x1273b70
push 0x64
call fcn.0127eea0
add esp, 4
mov eax, dword [0x12fda18]
test eax, eax
je 0x1273b8a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x12fda18], 0
mov eax, dword [0x12fda1c]
test eax, eax
je 0x1273ba4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x12fda1c], 0
call fcn.01274e10
call fcn.0127b860
call fcn.012746e0
call fcn.01271fe0
test esi, esi
js 0x1273bc3
mov eax, 0x65
jmp 0x1273c1f
mov ebx, dword [0x12fde48]
test ebx, ebx
je 0x1273bf6
push 0x200010
mov ecx, ebx
call dword [section..rdata]
call ebx
add esp, 4
test eax, eax
je 0x1273bf6
push esi
push str.Error_while_starting__rc_Rrc_n
push 0x20
push 0x10
push eax
call fcn.012952d0
add esp, 0x14
push 0x200010
call fcn.01294390
add esp, 4
test eax, eax
je 0x1273c1a
push esi
push str.Error_while_starting__rc_Rrc_n
push 0x20
push 0x10
push eax
call fcn.012952b0
add esp, 0x14
mov eax, 0x320
push eax
call fcn.0127eea0
mov ebx, dword [0x12fde48]
add esp, 4
test ebx, ebx
je 0x1273c5a
push 0x200010
mov ecx, ebx
call dword [section..rdata]
call ebx
add esp, 4
test eax, eax
je 0x1273c5a
push str.Ended_n
push 0x20
push 0x10
push eax
call fcn.012952d0
add esp, 0x10
push 0x200010
call fcn.01294390
add esp, 4
test eax, eax
je 0x1273c7d
push str.Ended_n
push 0x20
push 0x10
push eax
call fcn.012952b0
add esp, 0x10
call fcn.012b15b0
jmp 0x1273cdb
mov ebx, dword [0x12fde48]
test ebx, ebx
je 0x1273cb7
push 0x200010
mov ecx, ebx
call dword [section..rdata]
call ebx
add esp, 4
test eax, eax
je 0x1273cb7
push esi
push str.VbglR3Init_failed:__Rrc_n
push 0x20
push 0x10
push eax
call fcn.012952d0
add esp, 0x14
push 0x200010
call fcn.01294390
add esp, 4
test eax, eax
je 0x1273cdb
push esi
push str.VbglR3Init_failed:__Rrc_n
push 0x20
push 0x10
push eax
call fcn.012952b0
add esp, 0x14
pop ebx
test edi, edi
je 0x1273ce7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call fcn.01295200
push eax
call fcn.01294a90
mov ecx, dword [ebp - 4]
add esp, 8
shr esi, 0x1f
xor ecx, ebp
mov eax, esi
pop edi
pop esi
call fcn.01271180
mov esp, ebp
pop ebp
ret