Function at 0x1400062e4
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x488]
sub rsp, 0x588
mov rax, qword [0x1403bbc88]
xor rax, rsp
mov qword [rbp + 0x470], rax
xor r13d, r13d
mov qword [rbp - 0x60], r9
mov eax, 0xfeff
mov qword [rbp - 0x40], r8
mov word [rbp - 0x78], ax
mov rdi, r9
lea rax, str.WinUSB
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x18], rax
lea r9, str.Global_s
lea rax, str.libusb0.sys
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x10], rax
mov r15, r8
lea rax, str.libusbK.sys
mov dword [rsp + 0x70], r13d
mov qword [rbp - 8], rax
mov rbx, rdx
lea rax, str.Generic_USB_CDC
mov qword [rbp - 0x68], r13
mov qword [rbp], rax
lea edx, [r13 + 0x1d]
lea rax, str.WinUSBK
mov dword [rbp - 0x70], r13d
mov qword [rbp + 8], rax
mov rsi, rcx
lea rax, str.user_driver
or r8, 0xffffffffffffffff
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 0x1f0]
lea rax, str.wdi_prepare_driver
mov r14d, r13d
mov qword [rsp + 0x20], rax
call fcn.140003238
lea r8, [rbp + 0x1f0]
xor ecx, ecx
lea edx, [r13 + 1]
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rbp - 0x80], rax
mov r12, rax
test rax, rax
jne 0x1400063db
lea eax, [r13 - 0xb]
jmp 0x140006be9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400063f2
mov ebx, 0xfffffffa
jmp 0x140006bde
mov eax, dword [section..data]
cmp eax, 0xffffffff
jne 0x140006408
call fcn.140002b18
mov eax, dword [section..data]
cmp eax, 0x61
jge 0x14000642f
lea r8, str.This_version_of_Windows_is_no_longer_supported
mov ecx, 3
lea rdx, str.wdi_prepare_driver
call fcn.1400082ac
mov ebx, 0xfffffff4
jmp 0x140006bde
test rsi, rsi
je 0x140007aa8
test r15, r15
je 0x140007aa8
mov rcx, r15
call fcn.14001ad10
movsxd rcx, eax
movsxd rdx, eax
dec eax
sub rcx, 1
js 0x140006465
cmp byte [r15 + rcx], 0x5c
je 0x140006465
cmp byte [r15 + rcx], 0x2f
jne 0x14000644c
mov r13, rdx
add r13, r15
jne 0x140006471
xor eax, eax
jmp 0x140006479
mov rcx, r13
call fcn.14001ad10
lea rcx, [rax - 4]
add rcx, r13
lea rdx, str..inf
call fcn.14001aa70
test eax, eax
je 0x1400064b2
lea r8, str.Inf_name_provided_must_have_a_.inf_extension
lea rdx, str.wdi_prepare_driver
mov ecx, 3
call fcn.1400082ac
mov ebx, 0xfffffffe
jmp 0x140006bde
test rbx, rbx
je 0x140006526
mov rcx, rbx
call fcn.14001ad10
inc rax
mov esi, 0x104
cmp rax, rsi
jae 0x1400064da
mov rcx, rbx
call fcn.14001ad10
lea r8, [rax + 1]
jmp 0x1400064dd
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp + 0xe0]
call fcn.14000d0e0
mov rcx, rbx
call fcn.14001ad10
inc rax
cmp rax, rsi
jae 0x140006510
mov rcx, rbx
call fcn.14001ad10
lea rcx, [rbp + 0xe0]
add rcx, rax
jmp 0x140006517
lea rcx, [rbp + 0x1e3]
mov byte [rcx], r14b
lea r15, str.wdi_prepare_driver
jmp 0x1400065d3
lea rcx, str.TEMP
call fcn.140004198
mov rbx, rax
test rax, rax
jne 0x140006546
lea r8, str.No_path_provided_and_unable_to_use_TEMP
jmp 0x140006497
mov rcx, rbx
call fcn.14001ad10
inc rax
mov esi, 0x104
cmp rax, rsi
jae 0x140006569
mov rcx, rbx
call fcn.14001ad10
lea r8, [rax + 1]
jmp 0x14000656c
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp + 0xe0]
call fcn.14000d0e0
mov rcx, rbx
call fcn.14001ad10
inc rax
cmp rax, rsi
jae 0x14000659f
mov rcx, rbx
call fcn.14001ad10
lea rcx, [rbp + 0xe0]
add rcx, rax
jmp 0x1400065a6
lea rcx, [rbp + 0x1e3]
mov byte [rcx], r14b
mov rcx, rbx
call fcn.14001b038
lea r15, str.wdi_prepare_driver
mov ecx, 1
mov rdx, r15
lea r9, [rbp + 0xe0]
lea r8, str.No_path_provided___extracting_to__s
call fcn.1400082ac
mov edx, 1
lea rcx, [rbp + 0xe0]
call fcn.1400032ec
mov ebx, eax
test eax, eax
jne 0x140006bde
test rdi, rdi
je 0x140006610
mov r14d, dword [rdi]
mov dword [rsp + 0x70], r14d
cmp r14d, 5
jbe 0x140006610
lea r8, str.Program_assertion_failed___Unknown_driver_type
mov rdx, r15
jmp 0x14000649e
movsxd rax, r14d
mov ecx, r14d
imul rdx, rax, 0x34
lea rax, [0x1403bca30]
add rdx, rax
call fcn.140006264
test eax, eax
jne 0x14000668a
xor ebx, ebx
mov dword [rsp + 0x70], ebx
xor edx, edx
mov ecx, ebx
call fcn.140006264
test eax, eax
jne 0x14000664d
inc ebx
mov dword [rsp + 0x70], ebx
cmp ebx, 6
jl 0x140006633
jmp 0x140006669
movsxd r9, ebx
lea r8, str.unsupported_or_no_driver_type_specified__will_use__s
mov rdx, r15
mov ecx, 2
mov r9, qword [rbp + r9*8 - 0x18]
call fcn.1400082ac
cmp ebx, 6
jne 0x14000668a
lea r8, str.Program_assertion_failed___no_driver_supported
mov rdx, r15
lea ecx, [rbx - 4]
call fcn.1400082ac
mov ebx, 0xfffffffb
jmp 0x140006bde
mov eax, dword [rsp + 0x70]
lea rbx, [0x1403ad0ef]
lea rdi, [0x1403ad4f7]
lea r14, [0x1403ad8ff]
lea r15, [0x1403add07]
lea r12, [0x1403ae10f]
cmp eax, 1
jne 0x140006951
xor edx, edx
lea ecx, [rax + 1]
call fcn.140003c48
lea r8, str.K_driver_available___adding_the_libusbK_DLLs_to_the_libusb_win32_inf
mov ecx, 1
lea rdx, str.wdi_prepare_driver
call fcn.1400082ac
lea rcx, [0x140386e58]
call fcn.14001ad10
inc rax
mov ecx, 0x400
cmp rax, rcx
jae 0x140006707
lea rcx, [0x140386e58]
call fcn.14001ad10
lea r8, [rax + 1]
jmp 0x14000670a
mov r8, rcx
lea rdx, [0x140386e58]
lea rcx, [0x1403accf0]
call fcn.14000d0e0
lea rcx, [0x140386e58]
call fcn.14001ad10
inc rax
cmp rax, 0x400
jae 0x140006753
lea rcx, [0x140386e58]
call fcn.14001ad10
lea rcx, str.INF_FILENAME
add rcx, 0x2c60
add rcx, rax
jmp 0x140006756
mov rcx, rbx
mov byte [rcx], 0
lea rcx, str.libusbk.dll
call fcn.14001ad10
inc rax
mov ecx, 0x400
cmp rax, rcx
jae 0x140006784
lea rcx, str.libusbk.dll
call fcn.14001ad10
lea r8, [rax + 1]
jmp 0x140006787
mov r8, rcx
lea rdx, str.libusbk.dll
lea rcx, [0x1403ad0f8]
call fcn.14000d0e0
lea rcx, str.libusbk.dll
call fcn.14001ad10
inc rax
cmp rax, 0x400
jae 0x1400067d0
lea rcx, str.libusbk.dll
call fcn.14001ad10
lea rcx, str.INF_FILENAME
add rcx, 0x3068
add rcx, rax
jmp 0x1400067d3
mov rcx, rdi
mov byte [rcx], 0
lea rcx, str.libusbk_x86.dll
call fcn.14001ad10
inc rax
mov ecx, 0x400
cmp rax, rcx
jae 0x140006801
lea rcx, str.libusbk_x86.dll
call fcn.14001ad10
lea r8, [rax + 1]
jmp 0x140006804
mov r8, rcx
lea rdx, str.libusbk_x86.dll
lea rcx, [0x1403ad500]
call fcn.14000d0e0
lea rcx, str.libusbk_x86.dll
call fcn.14001ad10
inc rax
cmp rax, 0x400
jae 0x14000684d
lea rcx, str.libusbk_x86.dll
call fcn.14001ad10
lea rcx, str.INF_FILENAME
add rcx, 0x3470
add rcx, rax
jmp 0x140006850
mov rcx, r14
mov byte [rcx], 0
lea rcx, str._1_x86
call fcn.14001ad10
inc rax
mov ecx, 0x400
cmp rax, rcx
jae 0x14000687e
lea rcx, str._1_x86
call fcn.14001ad10
lea r8, [rax + 1]
jmp 0x140006881
mov r8, rcx
lea rdx, str._1_x86
lea rcx, [0x1403ad908]
call fcn.14000d0e0
lea rcx, str._1_x86
call fcn.14001ad10
inc rax
cmp rax, 0x400
jae 0x1400068ca
lea rcx, str._1_x86
call fcn.14001ad10
lea rcx, str.INF_FILENAME
add rcx, 0x3878
add rcx, rax
jmp 0x1400068cd
mov rcx, r15
mov byte [rcx], 0
lea rcx, str._1_amd64
call fcn.14001ad10
inc rax
mov ecx, 0x400
cmp rax, rcx
jae 0x1400068fb
lea rcx, str._1_amd64
call fcn.14001ad10
lea r8, [rax + 1]
jmp 0x1400068fe
mov r8, rcx
lea rdx, str._1_amd64
lea rcx, [0x1403add10]
call fcn.14000d0e0
lea rcx, str._1_amd64
call fcn.14001ad10
inc rax
cmp rax, 0x400
jae 0x140006947
lea rcx, str._1_amd64
call fcn.14001ad10
lea rcx, str.INF_FILENAME
add rcx, 0x3c80
add rcx, rax
jmp 0x14000694a
mov rcx, r12
mov eax, dword [rsp + 0x70]
mov byte [rcx], 0
cmp eax, 4
jne 0x140006ba9
xor edx, edx
lea ecx, [rax - 2]
call fcn.140003c48
lea r8, str.K_driver_available___adding_the_libusbK_DLLs_to_the_WinUSBK_inf
mov ecx, 1
lea rdx, str.wdi_prepare_driver
call fcn.1400082ac
lea rcx, [0x140386e58]
call fcn.14001ad10
inc rax
mov ecx, 0x400
cmp rax, rcx
jae 0x1400069a7
lea rcx, [0x140386e58]
call fcn.14001ad10
lea r8, [rax + 1]
jmp 0x1400069aa
mov r8, rcx
lea rdx, [0x140386e58]
lea rcx, [0x1403accf0]
call fcn.14000d0e0
lea rcx, [0x140386e58]
call fcn.14001ad10
inc rax
cmp rax, 0x400
jae 0x1400069f1
lea rcx, [0x140386e58]
call fcn.14001ad10
lea rbx, str.INF_FILENAME
add rbx, 0x2c60
add rbx, rax
lea rcx, str.libusbk.dll
mov byte [rbx], 0
call fcn.14001ad10
inc rax
mov ebx, 0x400
cmp rax, rbx
jae 0x140006a1f
lea rcx, str.libusbk.dll
call fcn.14001ad10
lea r8, [rax + 1]
jmp 0x140006a22
mov r8, rbx
lea rdx, str.libusbk.dll
lea rcx, [0x1403ad0f8]
call fcn.14000d0e0
lea rcx, str.libusbk.dll
call fcn.14001ad10
inc rax
cmp rax, rbx
jae 0x140006a66
lea rcx, str.libusbk.dll
call fcn.14001ad10
lea rdi, str.INF_FILENAME
add rdi, 0x3068
add rdi, rax
xor ebx, ebx
lea rcx, str.libusbk_x86.dll
mov byte [rdi], bl
call fcn.14001ad10
inc rax
mov edi, 0x400
cmp rax, rdi
jae 0x140006a95
lea rcx, str.libusbk_x86.dll
call fcn.14001ad10
lea r8, [rax + 1]
jmp 0x140006a98
mov r8, rdi
lea rdx, str.libusbk_x86.dll
lea rcx, [0x1403ad500]
call fcn.14000d0e0
lea rcx, str.libusbk_x86.dll
call fcn.14001ad10
inc rax
cmp rax, rdi
jae 0x140006adc
lea rcx, str.libusbk_x86.dll
call fcn.14001ad10
lea r14, str.INF_FILENAME
add r14, 0x3470
add r14, rax
mov byte [r14], bl
lea r14, str._1_x86
mov rcx, r14
call fcn.14001ad10
inc rax
cmp rax, rdi
jae 0x140006b04
mov rcx, r14
call fcn.14001ad10
lea r8, [rax + 1]
jmp 0x140006b07
mov r8, rdi
mov rdx, r14
lea rcx, [0x1403ad908]
call fcn.14000d0e0
mov rcx, r14
call fcn.14001ad10
inc rax
cmp rax, rdi
jae 0x140006b41
mov rcx, r14
call fcn.14001ad10
lea r14, str.INF_FILENAME
lea r15, [r14 + 0x3878]
add r15, rax
jmp 0x140006b48
lea r14, str.INF_FILENAME
mov byte [r15], bl
lea rbx, str._1_amd64
mov rcx, rbx
call fcn.14001ad10
inc rax
cmp rax, rdi
jae 0x140006b70
mov rcx, rbx
call fcn.14001ad10
lea r8, [rax + 1]
jmp 0x140006b73
mov r8, rdi
mov rdx, rbx
lea rcx, [0x1403add10]
call fcn.14000d0e0
mov rcx, rbx
call fcn.14001ad10
inc rax
cmp rax, rdi
jae 0x140006ba4
mov rcx, rbx
call fcn.14001ad10
lea r12, [rax + 0x3c80]
add r12, r14
mov byte [r12], 0
movsxd r12, dword [rsp + 0x70]
cmp r12d, 5
jne 0x140006c0c
lea r8, str.Custom_driver___extracting_binaries_only__no_inf_cat_creation_
lea rdx, str.wdi_prepare_driver
lea ecx, [r12 - 4]
call fcn.1400082ac
lea rcx, [rbp + 0xe0]
call fcn.1400036c0
mov ebx, eax
mov r12, qword [rbp - 0x80]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.14000c340
add rsp, 0x588
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r14, qword [rbp - 0x58]
cmp qword [r14 + 0x18], 0
jne 0x140006c36
lea r8, str.No_device_ID_was_given_for_the_device___aborting
mov ecx, 3
lea rdx, str.wdi_prepare_driver
call fcn.1400082ac
mov ebx, 0xfffffffe
jmp 0x140006bda
lea rcx, [rbp + 0xe0]
call fcn.1400036c0
mov ebx, eax
test eax, eax
jne 0x140006bda
lea rcx, [rbp + 0xe0]
call fcn.14001ad10
cmp rax, rsi
jae 0x140007a7f
mov rcx, r13
call fcn.14001ad10
cmp rax, rsi
jae 0x140007a7f
mov rcx, r13
call fcn.14001ad10
lea rcx, [rbp + 0xe0]
mov rbx, rax
call fcn.14001ad10
add rbx, rax
cmp rbx, 0x102
ja 0x140007a7f
lea rcx, [rbp + 0xe0]
call fcn.14001ad10
inc rax
cmp rax, rsi
jae 0x140006cbb
lea rcx, [rbp + 0xe0]
call fcn.14001ad10
lea r8, [rax + 1]
jmp 0x140006cbe
mov r8, rsi
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x210]
call fcn.14000d0e0
lea rcx, [rbp + 0xe0]
call fcn.14001ad10
inc rax
cmp rax, rsi
jae 0x140006cfd
lea rcx, [rbp + 0xe0]
call fcn.14001ad10
lea rcx, [rbp + 0x210]
add rcx, rax
jmp 0x140006d04
lea rcx, [rbp + 0x313]
mov byte [rcx], 0
lea r15, [0x1403862f4]
mov rcx, r15
call fcn.14001ad10
lea rcx, [rbp + 0x210]
lea rbx, [rax + 1]
call fcn.14001ad10
mov edi, 0x103
mov ecx, edi
sub rcx, rax
cmp rbx, rcx
jae 0x140006d43
mov rcx, r15
call fcn.14001ad10
lea r8, [rax + 1]
jmp 0x140006d55
lea rcx, [rbp + 0x210]
call fcn.14001ad10
mov r8, rdi
sub r8, rax
mov rdx, r15
lea rcx, [rbp + 0x210]
call fcn.14001add0
test r13, r13
jne 0x140006d6d
xor ebx, ebx
jmp 0x140006d78
mov rcx, r13
call fcn.14001ad10
mov rbx, rax
lea rcx, [rbp + 0x210]
call fcn.14001ad10
mov rcx, rdi
lea rdx, [rbx + 1]
sub rcx, rax
cmp rdx, rcx
jae 0x140006daa
test r13, r13
jne 0x140006d9c
xor eax, eax
jmp 0x140006da4
mov rcx, r13
call fcn.14001ad10
lea rdi, [rax + 1]
jmp 0x140006db9
lea rcx, [rbp + 0x210]
call fcn.14001ad10
sub rdi, rax
mov r8, rdi
lea rcx, [rbp + 0x210]
mov rdx, r13
call fcn.14001add0
lea rcx, [rbp + 0x210]
call fcn.14001ad10
inc rax
cmp rax, rsi
jae 0x140006df1
lea rcx, [rbp + 0x210]
call fcn.14001ad10
lea r8, [rax + 1]
jmp 0x140006df4
mov r8, rsi
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x320]
call fcn.14000d0e0
lea rcx, [rbp + 0x210]
call fcn.14001ad10
inc rax
cmp rax, rsi
jae 0x140006e33
lea rcx, [rbp + 0x210]
call fcn.14001ad10
lea rcx, [rbp + 0x320]
add rcx, rax
jmp 0x140006e3a
lea rcx, [rbp + 0x423]
xor edi, edi
mov byte [rcx], dil
lea rcx, [rbp + 0x320]
call fcn.14001ad10
cmp rax, 4
jae 0x140006e78
lea r9, [rbp + 0x320]
lea r8, str.Qualified_path_for_inf_file_is_too_short:__s
lea rdx, str.wdi_prepare_driver
lea ecx, [rdi + 3]
call fcn.1400082ac
mov ebx, 0xfffffff5
jmp 0x140006bda
lea rcx, [rbp + 0x320]
call fcn.14001ad10
lea rcx, [rbp + 0x320]
mov byte [rbp + rax + 0x31d], 0x63
call fcn.14001ad10
lea rcx, [rbp + 0x320]
mov byte [rbp + rax + 0x31e], 0x61
call fcn.14001ad10
mov byte [rbp + rax + 0x31f], 0x74
test r13, r13
jne 0x140006ebe
mov rax, rdi
jmp 0x140006ec6
mov rcx, r13
call fcn.14001ad10
inc rax
mov esi, 0x400
cmp rax, rsi
jae 0x140006eeb
test r13, r13
jne 0x140006edd
mov rax, rdi
jmp 0x140006ee5
mov rcx, r13
call fcn.14001ad10
lea r8, [rax + 1]
jmp 0x140006eee
mov r8, rsi
mov rdx, r13
lea rcx, [0x1403aa098]
call fcn.14000d0e0
test r13, r13
jne 0x140006f07
mov rax, rdi
jmp 0x140006f0f
mov rcx, r13
call fcn.14001ad10
inc rax
cmp rax, rsi
jae 0x140006f39
test r13, r13
jne 0x140006f21
mov rax, rdi
jmp 0x140006f29
mov rcx, r13
call fcn.14001ad10
lea r15, str.INF_FILENAME
lea rcx, [r15 + 8]
add rcx, rax
jmp 0x140006f47
lea rcx, [0x1403aa497]
lea r15, str.INF_FILENAME
mov byte [rcx], dil
mov rcx, r13
call fcn.14001aad8
mov rbx, rax
test rax, rax
je 0x140006e6e
test r13, r13
jne 0x140006f68
mov rax, rdi
jmp 0x140006f70
mov rcx, r13
call fcn.14001ad10
mov byte [rax + rbx - 3], 0x63
test r13, r13
jne 0x140006f7f
mov rax, rdi
jmp 0x140006f87
mov rcx, r13
call fcn.14001ad10
mov byte [rax + rbx - 2], 0x61
test r13, r13
jne 0x140006f96
mov rax, rdi
jmp 0x140006f9e
mov rcx, r13
call fcn.14001ad10
mov rcx, rbx
mov byte [rax + rbx - 1], 0x74
call fcn.14001ad10
inc rax
cmp rax, rsi
jae 0x140006fc1
mov rcx, rbx
call fcn.14001ad10
lea r8, [rax + 1]
jmp 0x140006fc4
mov r8, rsi
mov rdx, rbx
lea rcx, [0x1403aa4a0]
call fcn.14000d0e0
mov rcx, rbx
call fcn.14001ad10
inc rax
cmp rax, rsi
jae 0x140006ff7
mov rcx, rbx
call fcn.14001ad10
lea rcx, [rax + 0x410]
add rcx, r15
jmp 0x140006ffe
lea rcx, [0x1403aa89f]
mov byte [rcx], dil
mov rcx, rbx
call fcn.14001b038
mov rcx, qword [r14 + 0x18]
test rcx, rcx
jne 0x14000701a
mov rax, rdi
mov rdx, rdi
jmp 0x140007023
call fcn.14001ad10
mov rdx, qword [r14 + 0x18]
inc rax
cmp rax, rsi
jae 0x14000704a
test rdx, rdx
jne 0x140007038
mov rax, rdi
mov rdx, rdi
jmp 0x140007044
mov rcx, rdx
call fcn.14001ad10
mov rdx, qword [r14 + 0x18]
lea r8, [rax + 1]
jmp 0x14000704d
mov r8, rsi
lea rcx, [0x1403aa8a8]
call fcn.14000d0e0
mov rcx, qword [r14 + 0x18]
test rcx, rcx
jne 0x140007067
mov rax, rdi
jmp 0x14000706c
call fcn.14001ad10
inc rax
cmp rax, rsi
jae 0x140007092
mov rcx, qword [r14 + 0x18]
test rcx, rcx
jne 0x140007082
mov rax, rdi
jmp 0x140007087
call fcn.14001ad10
add rax, 0x818
add rax, r15
jmp 0x140007099
lea rax, [0x1403aaca7]
mov r15, qword [rbp - 0x60]
mov byte [rax], dil
lea rax, [0x140000000]
test r15, r15
je 0x140007191
cmp dword [r15 + 0x28], edi
je 0x140007191
mov rdx, qword [rax + r12*8 + 0x3ae5a8]
mov rbx, r12
test rdx, rdx
jne 0x1400070d6
mov rax, rdi
lea r12, [0x140000000]
jmp 0x1400070ed
mov rcx, rdx
call fcn.14001ad10
lea r12, [0x140000000]
mov rdx, qword [r12 + rbx*8 + 0x3ae5a8]
inc rax
cmp rax, rsi
jae 0x140007115
test rdx, rdx
jne 0x1400070ff
mov rax, rdi
jmp 0x14000710f
mov rcx, rdx
call fcn.14001ad10
mov rdx, qword [r12 + rbx*8 + 0x3ae5a8]
lea r8, [rax + 1]
jmp 0x140007118
mov r8, rsi
lea r12, [0x1403aacb0]
mov rcx, r12
call fcn.14000d0e0
lea rdx, [0x140000000]
mov rcx, qword [rdx + rbx*8 + 0x3ae5a8]
test rcx, rcx
jne 0x140007140
mov rax, rdi
jmp 0x14000714c
call fcn.14001ad10
lea rdx, [0x140000000]
inc rax
cmp rax, rsi
jae 0x14000717e
mov rcx, qword [rdx + rbx*8 + 0x3ae5a8]
test rcx, rcx
jne 0x140007166
mov rax, rdi
jmp 0x14000716b
call fcn.14001ad10
lea rcx, str.INF_FILENAME
add rcx, 0xc20
add rcx, rax
jmp 0x140007185
lea rcx, [0x1403ab0af]
mov byte [rcx], dil
lea rbx, str.NoDeviceInterfaceGUID
jmp 0x1400071ef
lea r12, [0x1403aacb0]
movzx r9d, word [r14 + 8]
mov rdx, rsi
cmp dword [r14 + 0xc], edi
je 0x1400071c9
movzx ecx, word [r14 + 0xa]
lea r8, str.VID__04XPID__04XMI__02X
movzx eax, byte [r14 + 0x10]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, r12
call fcn.1400031e0
jmp 0x1400071e1
movzx eax, word [r14 + 0xa]
lea r8, str.VID__04XPID__04X
mov rcx, r12
mov dword [rsp + 0x20], eax
call fcn.1400031e0
mov byte [0x1403ab0af], dil
lea rbx, str.AddDeviceInterfaceGUID
mov rcx, rbx
call fcn.14001ad10
inc rax
cmp rax, rsi
jae 0x14000720d
mov rcx, rbx
call fcn.14001ad10
lea r8, [rax + 1]
jmp 0x140007210
mov r8, rsi
mov rdx, rbx
lea rcx, [0x1403ac0d8]
call fcn.14000d0e0
mov rcx, rbx
call fcn.14001ad10
inc rax
cmp rax, rsi
jae 0x14000724a
mov rcx, rbx
call fcn.14001ad10
lea rcx, str.INF_FILENAME
add rcx, 0x2048
add rcx, rax
jmp 0x140007251
lea rcx, [0x1403ac4d7]
mov byte [rcx], dil
mov edx, edi
movzx r8d, word [r14 + 8]
lea rcx, [0x1400347f2]
cmp word [rcx - 2], r8w
jne 0x140007273
movzx eax, word [r14 + 0xa]
cmp word [rcx], ax
je 0x14000729a
inc edx
add rcx, 4
cmp edx, 0x80
jb 0x140007262
mov eax, edi
test r15, r15
je 0x1400072ae
cmp dword [r15 + 0x28], edi
je 0x1400072a1
lea rbx, str.UNUSED
jmp 0x140007390
mov eax, 1
jmp 0x140007283
mov rbx, qword [r15 + 0x10]
test rbx, rbx
jne 0x140007390
test eax, eax
je 0x1400072d6
lea r8, str.Using_Android_Device_Interface_GUID
mov ecx, 1
lea rdx, str.wdi_prepare_driver
call fcn.1400082ac
mov rbx, qword [str.f72fe0d4_cbcb_407d_8814_9ed673d0dd6b]
jmp 0x140007390
lea rcx, [rbp - 0x28]
call qword [sym.imp.ole32.dll_CoCreateGuid]
mov rcx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x28]
mov rax, rcx
shr rax, 0x30
mov r15, rcx
movzx r14d, al
mov rax, rcx
shr rax, 0x28
movzx esi, al
mov rax, rcx
shr rax, 0x20
movzx edi, al
mov rax, rcx
shr rax, 0x18
movzx ebx, al
mov rax, rcx
shr rax, 0x10
movzx r11d, al
mov rax, rcx
movzx r10d, cl
mov rcx, r8
shr rax, 8
movzx edx, al
mov rax, r8
shr rcx, 0x30
shr rax, 0x20
shr r15, 0x38
mov dword [rsp + 0x60], r15d
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], ebx
lea rbx, [0x1403bcc80]
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], edx
lea rdx, str._08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], ecx
mov rcx, rbx
movzx r9d, ax
call fcn.14000524c
mov r15, qword [rbp - 0x60]
xor edi, edi
mov r14, qword [rbp - 0x58]
mov esi, 0x400
mov r9, rbx
lea r8, [0x14038704c]
mov rdx, rsi
lea rcx, [0x1403ab0b8]
call fcn.1400031e0
mov byte [0x1403ab4b7], dil
test r15, r15
je 0x140007427
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x140007427
call fcn.14001ad10
mov rdx, qword [r15 + 8]
inc rax
cmp rax, rsi
jae 0x1400073ee
test rdx, rdx
jne 0x1400073dc
mov rax, rdi
mov rdx, rdi
jmp 0x1400073e8
mov rcx, rdx
call fcn.14001ad10
mov rdx, qword [r15 + 8]
lea r8, [rax + 1]
jmp 0x1400073f1
mov r8, rsi
lea rcx, [0x1403ab4c0]
call fcn.14000d0e0
mov rcx, qword [r15 + 8]
test rcx, rcx
jne 0x14000740b
mov rax, rdi
jmp 0x140007410
call fcn.14001ad10
inc rax
cmp rax, rsi
jae 0x1400074b8
mov rcx, qword [r15 + 8]
test rcx, rcx
jne 0x1400074a0
jmp 0x140007498
movzx ecx, word [r14 + 8]
call fcn.1400083b4
test rax, rax
lea rbx, str._Undefined_Vendor_
cmovne rbx, rax
mov rcx, rbx
call fcn.14001ad10
inc rax
cmp rax, rsi
jae 0x140007467
test rbx, rbx
jne 0x140007459
mov rax, rdi
jmp 0x140007461
mov rcx, rbx
call fcn.14001ad10
lea r8, [rax + 1]
jmp 0x14000746a
mov r8, rsi
mov rdx, rbx
lea rcx, [0x1403ab4c0]
call fcn.14000d0e0
test rbx, rbx
jne 0x140007483
mov rax, rdi
jmp 0x14000748b
mov rcx, rbx
call fcn.14001ad10
inc rax
cmp rax, rsi
jae 0x1400074b8
test rbx, rbx
jne 0x14000749d
mov rax, rdi
jmp 0x1400074a5
mov rcx, rbx
call fcn.14001ad10
lea rcx, str.INF_FILENAME
add rcx, 0x1430
add rax, rcx
jmp 0x1400074bf
lea rax, [0x1403ab8bf]
mov r9d, 0x3f1
mov byte [rax], dil
lea r8, str._05d
mov rdx, rsi
lea rcx, [0x1403ac4e0]
call fcn.1400031e0
mov r9d, 1
mov byte [0x1403ac8df], dil
lea r8, str._d._d
mov dword [rsp + 0x20], 9
mov rdx, rsi
lea rcx, [0x1403ac8e8]
call fcn.1400031e0
movsxd r14, dword [rsp + 0x70]
lea rcx, [0x1403bca30]
imul rbx, r14, 0x34
mov byte [0x1403acce7], dil
mov eax, dword [rbx + rcx + 0x2c]
mov ecx, dword [rbx + rcx + 0x30]
mov dword [rbp - 0x50], ecx
mov dword [rbp - 0x4c], eax
test eax, eax
jne 0x140007536
test ecx, ecx
je 0x14000755a
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x14000755a
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x140007564
lea rcx, [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [rbp - 0x32]
lea r8, str._02d__02d__04d
movzx eax, word [rbp - 0x38]
mov rdx, rsi
movzx r9d, word [rbp - 0x36]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rcx, [0x1403ab8c8]
call fcn.1400031e0
lea rax, [0x1403bca30]
mov byte [0x1403abcc7], dil
mov r8d, dword [rbx + rax + 0xc]
mov rdx, rsi
mov r9d, dword [rbx + rax + 8]
movzx ecx, r8w
mov dword [rsp + 0x30], ecx
lea rcx, [0x1403abcd0]
sar r8d, 0x10
mov dword [rsp + 0x28], r8d
lea r8, str._d._d._d._d
movzx eax, r9w
sar r9d, 0x10
mov dword [rsp + 0x20], eax
call fcn.1400031e0
mov byte [0x1403ac0cf], dil
test r15, r15
je 0x140007616
cmp dword [r15 + 0x2c], edi
je 0x140007616
mov rcx, qword [rbp - 0x40]
lea rbx, [0x140387094]
mov r9, rbx
mov dword [rsp + 0x28], edi
lea r8, str.INF_FILENAME
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x78]
call fcn.140007c58
jmp 0x140007649
lea rbx, [0x140387094]
mov dword [rsp + 0x28], edi
lea rcx, [0x140000000]
mov qword [rsp + 0x20], rbx
mov rcx, qword [rcx + r14*8 + 0x3ae558]
lea r8, str.INF_FILENAME
mov r9, rbx
lea rdx, [rsp + 0x78]
call fcn.140007d94
test eax, eax
jle 0x140007a6c
lea rdx, [0x140386404]
lea rcx, [rbp + 0x210]
call fcn.140003a44
mov rsi, rax
test rax, rax
jne 0x140007693
lea r9, [rbp + 0x210]
lea r8, str.Failed_to_create_file:__s
lea rdx, str.wdi_prepare_driver
lea ecx, [rax + 3]
call fcn.1400082ac
mov ebx, 0xfffffffd
jmp 0x140006bda
mov rcx, qword [rsp + 0x78]
call fcn.1400052f0
mov rdi, rax
test rax, rax
jne 0x1400076d4
mov r9, qword [rsp + 0x78]
lea r8, str.Could_not_convert__s_to_UTF_16
lea rdx, str.wdi_prepare_driver
lea ecx, [rax + 3]
call fcn.1400082ac
mov rcx, qword [rsp + 0x78]
call fcn.14001b038
and qword [rsp + 0x78], rdi
jmp 0x140006e6e
mov edx, 2
lea rcx, [rbp - 0x78]
mov r9, rsi
lea r8d, [rdx - 1]
call fcn.14001cc9c
mov rcx, rdi
call fcn.14001a758
mov r8, rax
mov r9, rsi
mov edx, 2
mov rcx, rdi
call fcn.14001cc9c
mov rcx, rsi
call fcn.14001b854
mov rcx, rdi
call fcn.14001b038
mov rcx, qword [rsp + 0x78]
call fcn.14001b038
xor esi, esi
lea rdi, str.wdi_prepare_driver
lea r9, [rbp + 0x210]
mov qword [rsp + 0x78], rsi
lea r8, str.Successfully_created__s
mov rdx, rdi
lea ecx, [rsi + 1]
call fcn.1400082ac
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x140007a60
test r15, r15
je 0x140007779
cmp dword [r15 + 0x18], esi
je 0x140007779
lea r8, str..cat_generation_disabled_by_user
mov rdx, rdi
mov ecx, 1
call fcn.1400082ac
mov ebx, esi
jmp 0x140006bda
lea r8, str.Creating_and_self_signing_a_.cat_file...
mov rdx, rdi
mov ecx, 1
call fcn.1400082ac
lea rax, [0x140000000]
mov dword [rsp + 0x28], esi
mov rcx, qword [rax + r14*8 + 0x3ae580]
lea r8, str.INF_FILENAME
mov r9, rbx
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x78]
call fcn.140007d94
test eax, eax
jg 0x1400077d9
lea r8, str.Could_not_tokenize_cat_file___d_
mov rdx, rdi
mov r9d, eax
mov ecx, 3
call fcn.1400082ac
jmp 0x140007689
mov rcx, qword [rsp + 0x78]
lea rdx, [0x1403871a4]
mov edi, esi
call fcn.14001b000
mov rbx, rax
jmp 0x1400077f4
inc rbx
movsx ecx, byte [rbx]
call fcn.14001a560
test eax, eax
jne 0x1400077f1
jmp 0x140007825
mov rcx, rbx
call fcn.14001ad10
movsx ecx, byte [rax + rbx - 1]
call fcn.14001a560
test eax, eax
je 0x140007832
mov rcx, rbx
call fcn.14001ad10
mov byte [rax + rbx - 1], 0
mov rcx, rbx
call fcn.14001ad10
test rax, rax
jne 0x140007802
mov al, byte [rbx]
cmp al, 0x23
je 0x14000784c
test al, al
je 0x14000784c
mov qword [rbp + rsi*8 + 0x20], rbx
inc edi
inc rsi
cmp rsi, 0x10
jge 0x140007864
lea rdx, [0x1403871a4]
xor ecx, ecx
call fcn.14001b000
mov rbx, rax
test rax, rax
je 0x140007881
jmp 0x1400077f4
mov r9d, 0x10
lea r8, str.More_than__d_cat_entries___ignoring_the_rest
lea rdx, str.wdi_prepare_driver
lea ecx, [r9 - 0xe]
call fcn.1400082ac
movsxd rax, edi
xor esi, esi
inc edi
mov qword [rbp + rax*8 + 0x20], r13
test r15, r15
je 0x1400078a7
cmp dword [r15 + 0x28], esi
je 0x1400078a7
lea rax, [0x140000000]
mov r12, qword [rax + r14*8 + 0x3ae5a8]
mov r9, r12
lea r8, str.USB_s
mov edx, 0x28
lea rcx, [rbp + 0xb0]
call fcn.1400031e0
lea r9, [rbp + 0xb0]
mov byte [rbp + 0xd7], sil
lea r8, str.CN_s__libwdi_autogenerated_
mov edx, 0x40
lea rcx, [rbp + 0x430]
call fcn.1400031e0
lea rcx, str.Ntdll
mov byte [rbp + 0x46f], sil
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x14000790e
lea rcx, str.Ntdll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtQuerySystemInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140007981
mov ebx, 8
lea r9, [rbp - 0x70]
mov r8d, ebx
mov dword [rbp - 0x68], ebx
lea rdx, [rbp - 0x68]
lea ecx, [rbx + 0x5f]
call rax
test eax, eax
js 0x14000794e
cmp dword [rbp - 0x70], ebx
jne 0x14000794e
mov ebx, dword [rbp - 0x64]
shr ebx, 1
and ebx, 1
jmp 0x140007950
mov ebx, esi
test ebx, ebx
lea rax, str.Enabled
lea r9, str.Disabled
mov ecx, 1
lea r14, str.wdi_prepare_driver
cmovne r9, rax
lea r8, str.Test_signing_is:__s
mov rdx, r14
call fcn.1400082ac
jmp 0x14000798a
mov ebx, esi
lea r14, str.wdi_prepare_driver
lea r9, [rbp + 0x20]
mov dword [rsp + 0x20], edi
lea r8, [rbp + 0xe0]
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x320]
call fcn.140009f0c
test eax, eax
jne 0x1400079e3
cmp dword [section..data], 0xa0
jl 0x1400079da
test ebx, ebx
jne 0x1400079da
lea r8, str.Could_not_create_cat_file
mov rdx, r14
lea ecx, [rax + 3]
call fcn.1400082ac
lea eax, [rbx - 0x12]
jmp 0x140006be9
lea r8, str.Could_not_create_cat_file
jmp 0x140007a3f
test r15, r15
je 0x140007a4c
cmp dword [r15 + 0x1c], esi
jne 0x140007a4c
cmp qword [r15 + 0x20], rsi
lea rdx, [rbp + 0x430]
lea rcx, [rbp + 0x320]
cmovne rdx, qword [r15 + 0x20]
call fcn.14000ba00
test eax, eax
jne 0x140007a4c
cmp dword [section..data], 0xa0
jl 0x140007a38
test ebx, ebx
jne 0x140007a38
lea r8, str.Could_not_sign_cat_file
mov rdx, r14
lea ecx, [rax + 3]
call fcn.1400082ac
lea eax, [rbx - 0x13]
jmp 0x140006be9
lea r8, str.Could_not_sign_cat_file
mov rdx, r14
mov ecx, 2
call fcn.1400082ac
mov rcx, qword [rsp + 0x78]
call fcn.14001b038
mov qword [rsp + 0x78], rsi
jmp 0x140007772
lea r8, str.No_.cat_file_generated__missing_elevated_privileges_
jmp 0x140007765
lea r8, str.Could_not_tokenize_inf_file___d_
lea rdx, str.wdi_prepare_driver
jmp 0x1400077c7
lea r9, [rbp + 0xe0]
mov qword [rsp + 0x20], r13
lea r8, str.Qualified_path_for_inf_file_is_too_long:__s_s
mov ecx, 3
lea rdx, str.wdi_prepare_driver
call fcn.1400082ac
jmp 0x140006e6e
lea r8, str.One_of_the_required_parameter_is_NULL
jmp 0x140006497