Function at 0x140008d90
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov rdi, rcx
lea r12, str.Gdi32
mov rcx, r12
mov r14, r8
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r15d, r15d
mov rbx, rax
test rsi, rsi
je 0x1400090ec
test rdi, rdi
je 0x1400090ec
test rax, rax
jne 0x140008e06
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
jne 0x140008e06
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
lea rdx, str.CreateFontA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403bccc0], rax
test rbx, rbx
jne 0x140008e3f
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
jne 0x140008e3f
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
lea rdx, str.GetStockObject
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403bccc8], rax
test rbx, rbx
jne 0x140008e78
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
jne 0x140008e78
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
lea rdx, str.SetBkMode
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0xfffffffa
mov rcx, rdi
mov qword [0x1403bccd0], rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
xor r8d, r8d
xor ecx, ecx
mov qword [0x1403bccd8], rax
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
or r12, 0xffffffffffffffff
mov qword [0x1403bbc28], rax
test rax, rax
je 0x140009087
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140009087
mov rcx, qword [0x1403bccd8]
lea r8, [rbp - 9]
mov qword [0x1403bcce8], r14
lea r14, str.wdi_progress_class
mov rdx, r14
mov qword [0x1403bcce0], rsi
call qword [sym.imp.USER32.dll_GetClassInfoExW]
test eax, eax
jne 0x140008fb5
lea rax, [0x140008a6c]
mov dword [rbp - 9], 0x50
mov qword [rbp - 1], rax
mov esi, 0x7f00
mov rax, qword [0x1403bccd8]
mov edx, esi
xor ecx, ecx
mov qword [rbp + 0xf], rax
mov dword [rbp - 5], 0x808
mov qword [rbp + 7], r15
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, esi
xor ecx, ecx
mov qword [rbp + 0x17], rax
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, esi
xor ecx, ecx
mov qword [rbp + 0x3f], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
lea ecx, [r12 + 0x10]
mov qword [rbp + 0x37], r14
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x2f], r15
call qword [sym.imp.USER32.dll_GetSysColorBrush]
lea rcx, [rbp - 9]
mov qword [rbp + 0x27], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x140008fb5
xor ecx, ecx
call fcn.140007e4c
lea r8, str.cant_register_class__s
mov r9, rax
lea rdx, str.run_with_progress_bar
mov ecx, 3
call fcn.1400082ac
mov qword [rbp - 0x29], 0xfffffffffffffff5
jmp 0x1400090c0
mov rax, qword [0x1403bccd8]
lea r8, str.Installing_Driver...
mov qword [rsp + 0x58], r15
mov r9d, 0x96c40000
mov qword [rsp + 0x50], rax
mov rdx, r14
mov qword [rsp + 0x48], r15
mov eax, 0x64
mov qword [rsp + 0x40], rdi
mov ecx, 0x10100
mov dword [rsp + 0x38], 0x66
mov dword [rsp + 0x30], 0x11f
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rdi, rax
test rax, rax
jne 0x140009023
xor ecx, ecx
call fcn.140007e4c
lea r8, str.Unable_to_create_progress_dialog:__s
jmp 0x140008f94
mov edx, 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x14000906f
cmp eax, r12d
jne 0x14000905b
lea r8, str.GetMessage_error
mov ecx, 3
lea rdx, str.run_with_progress_bar
call fcn.1400082ac
jmp 0x14000906f
lea rcx, [rbp - 0x39]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x39]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp - 0x39]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x14000903c
jmp 0x1400090c0
lea r8, str.could_not_obtain_progress_dialog_mutex___is_another_dialog_active_
mov ecx, 3
lea rdx, str.run_with_progress_bar
call fcn.1400082ac
mov rcx, qword [0x1403bbc28]
test rcx, rcx
je 0x1400090b1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1403bbc28], r12
mov qword [rbp - 0x29], 0xfffffffffffffffa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [0x1403bbc28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400090e7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1403bbc28], r12
mov eax, dword [rbp - 0x29]
jmp 0x1400090fa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 0xfffffffe
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret