Function at 0x1003ab00
Capabilities:
Check mutex on windows
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x308
mov eax, dword [0x1009c00c]
xor eax, esp
mov dword [esp + 0x304], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x64], eax
xor eax, eax
push esi
push edi
mov dword [esp + 0x44], eax
xor edi, edi
mov dword [esp + 0x48], eax
xor esi, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0xc0], eax
lea eax, [esp + 0x98]
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0xac], 0x10088110
mov dword [esp + 0xb0], str.NUSB3
mov dword [esp + 0xb4], str.IUSB3
mov dword [esp + 0xb8], str.IARUSB3
movaps xmmword [esp + 0x74], xmm0
movq qword [esp + 0x84], xmm0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x64], 0x40
mov dword [esp + 0xbc], 0x1007c994
mov dword [esp + 0xc0], 0x1007c9a4
mov dword [esp + 0xc8], 0x1007c9b4
call dword [0x100aa688]
lea eax, [esp + 0x98]
mov dword [esp + 0x30], 5
push 4
push 0x40
mov dword [esp + 0xd0], eax
call fcn.100539fa
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x1003ac17
lea eax, [edi - 0xb]
pop edi
pop esi
mov ecx, dword [esp + 0x304]
xor ecx, esp
call fcn.100417b6
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x1c], esi
mov ecx, 5
test edi, edi
jne 0x1003acd1
mov dword [esp + 0x2c], edi
nop dword [eax]
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x1003ac47
push ecx
call fcn.10053caa
add esp, 4
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1003ac60
push eax
call fcn.10053caa
add esp, 4
mov dword [esp + 0x20], 0
test esi, esi
je 0x1003ac75
push esi
call fcn.10053caa
add esp, 4
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
xor esi, esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x28], esi
test edi, edi
jne 0x1003acbc
test eax, eax
jne 0x1003ad39
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xff
jne 0x1003ad42
push ecx
push str.program_assertion_failed___found_more_than__d_buses__skipping_the_rest.
push str.windows_get_device_list
push 2
push dword [esp + 0x28]
call fcn.10036f50
add esp, 0x14
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
inc eax
mov esi, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
cmp eax, ecx
jb 0x1003ac20
mov esi, 5
cmp ecx, esi
jbe 0x1003acf8
mov edi, dword [esp + 0x30]
nop
push dword [esp + esi*4 + 0xb8]
call fcn.10053caa
inc esi
add esp, 4
cmp esi, edi
jb 0x1003ace0
mov edi, dword [esp + 0x14]
xor esi, esi
cmp dword [esp + 0x40], esi
jbe 0x1003ad17
mov edi, dword [esp + 0x3c]
mov ecx, dword [edi + esi*4]
call fcn.10035f70
inc esi
cmp esi, dword [esp + 0x40]
jb 0x1003ad04
mov edi, dword [esp + 0x14]
push dword [esp + 0x3c]
call fcn.10053caa
mov ecx, dword [esp + 0x310]
add esp, 4
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.100417b6
mov esp, ebp
pop ebp
ret
cmp eax, 2
je 0x1003adac
mov ecx, dword [esp + 0x2c]
push ecx
push dword [esp + eax*4 + 0xbc]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x78]
push eax
lea edx, [esp + 0x30]
call fcn.100390b0
add esp, 0xc
mov dword [esp + 0x44], eax
test eax, eax
je 0x1003acb8
lea esi, [eax + 4]
mov ecx, esi
call fcn.10038b30
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1003ada3
push esi
push str.could_not_sanitize_device_interface_path_for__s
push str.windows_get_device_list
push 2
push dword [esp + 0x28]
call fcn.10036f50
mov esi, dword [esp + 0x24]
add esp, 0x14
inc dword [esp + 0x2c]
jmp 0x1003ac30
mov esi, dword [esp + 0x50]
jmp 0x1003ae65
mov ecx, dword [esp + 0x48]
cmp ecx, 4
jae 0x1003acbc
mov eax, dword [esp + 0x2c]
nop dword [eax]
test eax, eax
jne 0x1003ade0
push 6
push eax
push dword [esp + ecx*4 + 0xb0]
push eax
call dword [0x100aa6d4]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
je 0x1003ae44
jmp 0x1003ade4
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0x1c
push ecx
mov ecx, dword [esp + 0x30]
push ecx
push eax
call dword [0x100aa6c0]
test eax, eax
jne 0x1003ae61
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x103
je 0x1003ae32
xor ecx, ecx
call fcn.10040980
push eax
push dword [esp + 0x30]
push str.Could_not_obtain_device_info_data_for_index__u:__s
push str.get_devinfo_data
push 1
push dword [esp + 0x2c]
call fcn.10036f50
add esp, 0x18
push dword [esp + 0x24]
call dword [0x100aa810]
mov dword [esp + 0x24], 0xffffffff
mov ecx, dword [esp + 0x48]
xor eax, eax
inc ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], ecx
cmp ecx, 4
jb 0x1003adc0
jmp 0x1003acb8
mov eax, dword [esp + 0x20]
push 0
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x20c]
push 0x80
push eax
push dword [esp + 0x90]
call dword [0x100aa684]
test eax, eax
je 0x1003ae9a
push dword [esp + 0x84]
push str.could_not_read_the_device_id_path_for_devinst__X__skipping
jmp 0x1003ad83
lea ecx, [esp + 0x208]
call fcn.10038b30
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1003aebf
push dword [esp + 0x84]
push str.could_not_sanitize_device_id_path_for_devinst__X__skipping
jmp 0x1003ad83
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x64], 0
cmp eax, 1
ja 0x1003af2f
lea eax, [esp + 0x34]
push eax
push 4
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x58]
push eax
push 0x1c
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x3c]
call dword [0x100aa6c4]
test eax, eax
je 0x1003af01
cmp dword [esp + 0x34], 4
je 0x1003af2f
xor ecx, ecx
call fcn.10040980
mov esi, dword [esp + 0x10]
push eax
push esi
push str.could_not_retrieve_port_number_for_device__s__skipping:__s
push str.windows_get_device_list
push 2
push dword [esp + 0x2c]
call fcn.10036f50
add esp, 0x18
inc dword [esp + 0x2c]
jmp 0x1003ac30
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x54], 0xffffffff
sub eax, ecx
je 0x1003afee
sub eax, 2
je 0x1003b095
sub eax, 2
je 0x1003b088
lea eax, [esp + 0x34]
push eax
push 4
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x58]
push eax
push 0x22
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x3c]
call dword [0x100aa6c4]
test eax, eax
je 0x1003afa7
cmp dword [esp + 0x34], 4
jne 0x1003afa7
mov eax, dword [esp + 0x68]
test eax, eax
je 0x1003afcb
mov esi, dword [esp + 0x10]
push eax
push esi
push str.driver_for_device__s_is_reporting_an_issue__code:__u____skipping
jmp 0x1003af13
xor ecx, ecx
call fcn.10040980
push eax
push dword [esp + 0x14]
push str.could_not_detect_installation_state_of_driver_for__s:__s
push str.windows_get_device_list
push 2
push dword [esp + 0x2c]
call fcn.10036f50
add esp, 0x18
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x78]
push eax
lea edx, [esp + 0x30]
call fcn.1003a790
mov eax, dword [esp + 0x68]
add esp, 0xc
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
sub eax, 0
je 0x1003b281
sub eax, 1
je 0x1003b281
sub eax, 2
je 0x1003b281
mov esi, 1
mov ecx, dword [esp + 0x84]
mov edx, esi
mov edi, dword [esp + 0x30]
call fcn.100394b0
test eax, eax
je 0x1003b255
mov ecx, dword [esp + 0x18]
mov edx, eax
call fcn.10035dc0
mov ecx, eax
inc esi
test ecx, ecx
je 0x1003b012
mov eax, dword [esp + 0x1c]
lea esi, [ecx + 0x40]
mov dword [esp + 0x50], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edi
cmp eax, 2
jne 0x1003b285
mov eax, dword [esi + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edi
cmp byte [eax], 1
je 0x1003b28e
call fcn.10035f70
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
inc dword [esp + 0x2c]
jmp 0x1003ac30
mov dword [esp + 0x38], 4
jmp 0x1003b00d
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x34]
push eax
push 0x80
lea eax, [esp + 0x290]
mov dword [esp + 0x3c], 0x80
push eax
lea eax, [esp + 0x58]
push eax
push 9
lea eax, [esp + 0x84]
push eax
push esi
call dword [0x100aa6c4]
test eax, eax
jne 0x1003b0ff
push dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
push str.The_following_device_has_no_driver:__s
push str.windows_get_device_list
push 3
push edi
call fcn.10036f50
add esp, 0x14
push str.libusb_will_not_be_able_to_access_it.
push str.windows_get_device_list
push 3
push edi
call fcn.10036f50
add esp, 0x10
push 0x20019
push 1
push 0
push 1
lea eax, [esp + 0x80]
push eax
push esi
call dword [0x100aa6c8]
mov edi, eax
cmp edi, 0xffffffff
je 0x1003b00d
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0x50
push eax
lea eax, [esp + 0x1bc]
push eax
lea eax, [esp + 0x54]
push eax
push 0
push str.DeviceInterfaceGUIDs
push edi
call dword [0x100aa6e0]
push edi
mov esi, eax
call dword [0x100aa6ac]
test esi, esi
jne 0x1003b00d
mov edi, dword [esp + 0x30]
cmp edi, 0x40
jb 0x1003b194
push str.program_assertion_failed:_too_many_GUIDs
push str.windows_get_device_list
push 1
push dword [esp + 0x24]
call fcn.10036f50
mov esi, dword [esp + 0x20]
mov edi, 0xfffffff8
add esp, 0x10
mov dword [esp + 0x14], edi
inc dword [esp + 0x2c]
jmp 0x1003ac30
push 0x10
push 1
call fcn.100539fa
mov esi, eax
add esp, 8
test esi, esi
jne 0x1003b1d4
push str.could_not_calloc_for_if_guid:_not_enough_memory
push str.windows_get_device_list
push 1
push dword [esp + 0x24]
call fcn.10036f50
add esp, 0x10
mov esi, dword [esp + 0x10]
mov edi, 0xfffffff5
inc dword [esp + 0x2c]
mov dword [esp + 0x14], edi
jmp 0x1003ac30
push esi
lea eax, [esp + 0x1bc]
push eax
call dword [0x100aa698]
movzx eax, byte [esi + 0xf]
push eax
movzx eax, byte [esi + 0xe]
push eax
movzx eax, byte [esi + 0xd]
push eax
movzx eax, byte [esi + 0xc]
push eax
movzx eax, byte [esi + 0xb]
push eax
movzx eax, byte [esi + 0xa]
push eax
movzx eax, byte [esi + 9]
push eax
movzx eax, byte [esi + 8]
push eax
movzx eax, word [esi + 6]
push eax
movzx eax, word [esi + 4]
push eax
push dword [esi]
mov dword [esp + edi*4 + 0xe4], esi
inc edi
push str._08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
push 0x100aa820
mov dword [esp + 0x64], edi
call fcn.10038a40
add esp, 0x34
push 0x100aa820
push str.extra_GUID:__s
push str.windows_get_device_list
push 4
push 0
call fcn.10036f50
add esp, 0x14
jmp 0x1003b00d
mov esi, dword [esp + 0x10]
push esi
push str.unlisted_ancestor_for__s__non_USB_HID__newly_connected__etc.____ignoring
push str.windows_get_device_list
push 4
push 0
call fcn.10036f50
add esp, 0x14
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x14]
inc dword [esp + 0x2c]
jmp 0x1003ac30
mov eax, dword [esp + 0x1c]
cmp eax, 3
ja 0x1003b613
mov ecx, dword [esp + 0x10]
call fcn.10040a70
mov ecx, dword [esp + 0x18]
mov edi, eax
mov edx, edi
call fcn.10035dc0
mov esi, eax
test esi, esi
jne 0x1003b3cd
cmp dword [esp + 0x1c], 3
jne 0x1003b2df
mov esi, dword [esp + 0x10]
push esi
push str._s_was_only_detected_in_late_pass__newly_connected_device_____ignoring
push str.windows_get_device_list
push 2
push dword [esp + 0x28]
call fcn.10036f50
mov edi, dword [esp + 0x28]
add esp, 0x14
inc dword [esp + 0x2c]
jmp 0x1003ac30
push edi
push str.allocating_new_device_for_session___lX_
push str.windows_get_device_list
push 4
push 0
call fcn.10036f50
add esp, 0x14
push 0x36c
push 1
call fcn.100539fa
mov esi, eax
add esp, 8
test esi, esi
je 0x1003b1be
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
jne 0x1003b340
push esi
call fcn.10053caa
mov esi, dword [esp + 0x14]
mov edi, 0xfffffff5
add esp, 4
mov dword [esp + 0x14], edi
inc dword [esp + 0x2c]
jmp 0x1003ac30
mov ecx, dword [esp + 0x18]
mov edx, ecx
mov dword [esi + 8], ecx
mov dword [esi + 4], 1
mov dword [esi + 0x24], edi
lea eax, [ecx + 0x18]
mov dword [esi + 0x18], 0
mov dword [esi + 0x3c], 1
test eax, eax
je 0x1003b375
push 0xffffffffffffffff
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x14]
lea ecx, [esi + 0x1c]
add edx, 0x10
mov dword [ecx + 4], eax
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [eax], ecx
mov dword [edx + 4], ecx
mov eax, dword [esi + 8]
add eax, 0x18
je 0x1003b39b
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [esi + 0x44], 0x1007c7e8
lea eax, [esi + 0x58]
mov dword [esi + 0x4c], 0xffffffff
mov ecx, 0x20
mov dword [eax - 4], 0x1007c7e8
lea eax, [eax + 0x18]
mov dword [eax - 0x18], 0xffffffff
sub ecx, 1
jne 0x1003b3b1
mov edi, dword [esp + 0x28]
jmp 0x1003b431
movzx eax, byte [esi + 0x14]
push eax
movzx eax, byte [esi + 0xc]
push eax
push edi
push str.found_existing_device_for_session___lX____u._u_
push str.windows_get_device_list
push 4
push 0
call fcn.10036f50
mov edi, dword [esp + 0x44]
add esp, 0x1c
test edi, edi
je 0x1003b431
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1003b431
cmp eax, edi
je 0x1003b42a
push dword [edi + 0x24]
push dword [eax + 0x24]
push str.updating_parent_device__session__lX_____lX_
push str.windows_get_device_list
push 4
push 0
call fcn.10036f50
mov ecx, dword [esi + 0x10]
add esp, 0x18
call fcn.10035f70
mov dword [esi + 0x10], edi
jmp 0x1003b431
mov ecx, edi
call fcn.10035f70
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x60]
mov dword [ecx + eax*4], esi
inc eax
mov dword [esp + 0x40], eax
cmp eax, edx
jb 0x1003b47f
add edx, 0x40
mov dword [esp + 0x60], edx
lea eax, [edx*4]
push eax
push ecx
call fcn.10054ccf
add esp, 8
test eax, eax
jne 0x1003b47b
push dword [esp + 0x3c]
call fcn.10053caa
add esp, 4
push str.could_not_realloc_list_for_unref___aborting.
jmp 0x1003b1ab
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
jmp dword [eax*4 + 0x1003b930]
cmp dword [esi + 0x48], 0
mov edi, dword [esp + 0x14]
jne 0x1003b07b
mov al, byte [esp + 0x2c]
inc al
mov word [esi + 0x14], 0
mov byte [esi + 0xc], al
mov eax, dword [esp + 0x20]
mov dword [esi + 0x48], eax
xor eax, eax
inc dword [esp + 0x2c]
mov dword [esi + 0x44], 0x1007c838
mov dword [esi + 0x4c], 0xffffffff
mov byte [esi + 0x40], 0xff
mov esi, dword [esp + 0x10]
mov dword [esp + 0x20], eax
jmp 0x1003ac30
cmp dword [esi + 0x48], 0
jne 0x1003b077
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
mov dword [esi + 0x48], eax
mov dword [esp + 0x20], 0
lea eax, [ecx + ecx*4]
shl eax, 4
lea edi, [eax + 0x1007c7e8]
mov eax, dword [esp + 0x54]
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], eax
sub ecx, 1
je 0x1003b077
sub ecx, 1
je 0x1003b077
sub ecx, 2
je 0x1003b56e
push dword [esp + 0x58]
call fcn.100559af
add esp, 4
mov dword [esi + 0x50], eax
test eax, eax
jne 0x1003b54b
push dword [esi + 0x48]
push str.could_not_duplicate_interface_path__s
push str.windows_get_device_list
push 2
push dword [esp + 0x28]
call fcn.10036f50
add esp, 0x14
add esi, 0x54
mov eax, 0x20
mov dword [esi], edi
lea esi, [esi + 0x18]
sub eax, 1
jne 0x1003b553
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
inc dword [esp + 0x2c]
jmp 0x1003ac30
push 0x320
push 1
call fcn.100539fa
add esp, 8
mov dword [esi + 0x350], eax
mov esi, dword [esp + 0x10]
test eax, eax
jne 0x1003b59d
inc dword [esp + 0x2c]
mov edi, 0xfffffff5
mov dword [esp + 0x14], edi
jmp 0x1003ac30
mov edi, dword [esp + 0x14]
inc dword [esp + 0x2c]
mov byte [eax + 5], 0
jmp 0x1003ac30
push dword [esp + 0x84]
mov edx, edi
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x6c]
call fcn.1003a260
mov edi, eax
add esp, 0xc
mov dword [esp + 0x14], edi
test edi, edi
jne 0x1003b5f7
mov edx, esi
mov esi, dword [esp + 0x6c]
mov ecx, dword [esi]
call fcn.10035ce0
test eax, eax
je 0x1003b1be
inc dword [esp + 0x2c]
mov dword [esi], eax
mov esi, dword [esp + 0x10]
jmp 0x1003ac30
cmp edi, 0xfffffffc
jne 0x1003b07b
mov esi, dword [esp + 0x10]
xor edi, edi
inc dword [esp + 0x2c]
mov dword [esp + 0x14], edi
jmp 0x1003ac30
mov eax, dword [esi + 4]
mov al, byte [eax]
cmp al, 4
je 0x1003b624
cmp al, 2
jne 0x1003b915
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 0x24]
push ecx
cmp al, 4
jne 0x1003b779
push str.setting_HID_interface_for___lX_:
push str.windows_get_device_list
push 4
push 0
call fcn.10036f50
mov eax, dword [esi + 0x350]
add esp, 0x14
test eax, eax
jne 0x1003b682
push str.program_assertion_failed:_parent_is_not_HID
push str.set_hid_interface
push 1
push dword [esp + 0x24]
call fcn.10036f50
mov esi, dword [esp + 0x20]
mov edi, 0xfffffffc
add esp, 0x10
mov dword [esp + 0x14], edi
inc dword [esp + 0x2c]
jmp 0x1003ac30
mov cl, byte [eax + 5]
cmp cl, 0x20
jne 0x1003b691
push str.program_assertion_failed:_max_USB_interfaces_reached_for_HID_device
jmp 0x1003b659
movzx ecx, cl
xor edi, edi
mov dword [esp + 0x58], ecx
test ecx, ecx
je 0x1003b6f3
add esi, 0x50
mov eax, dword [esi]
test eax, eax
je 0x1003b6e1
mov ecx, dword [esp + 0x20]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003b6d0
test dl, dl
je 0x1003b6cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003b6d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003b6b0
xor eax, eax
jmp 0x1003b6d5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003b766
mov ecx, dword [esp + 0x58]
inc edi
add esi, 0x18
cmp edi, ecx
jl 0x1003b6a1
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x350]
movzx eax, byte [eax + 5]
mov ecx, dword [esp + 0x20]
push ecx
lea eax, [eax + eax*2]
mov dword [esi + eax*8 + 0x50], ecx
mov eax, dword [esi + 0x350]
movzx eax, byte [eax + 5]
lea eax, [eax + eax*2]
mov dword [esi + eax*8 + 0x54], 0x1007c928
mov eax, dword [esi + 0x350]
movzx eax, byte [eax + 5]
push eax
push str.interface__u____s
push str.set_hid_interface
push 4
push 0
call fcn.10036f50
mov eax, dword [esi + 0x350]
add esp, 0x18
mov ecx, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], edi
inc byte [eax + 5]
call fcn.10035f70
mov esi, dword [esp + 0x10]
inc dword [esp + 0x2c]
jmp 0x1003ac30
mov edx, dword [esp + 0x20]
mov eax, str.set_hid_interface
mov ecx, str.interface__d__already_set_to__s
jmp 0x1003b84b
push str.setting_composite_interface_for___lX_:
push str.windows_get_device_list
push 4
push 0
call fcn.10036f50
mov eax, dword [esi + 0x44]
add esp, 0x14
mov esi, dword [esp + 0x10]
cmp byte [eax], 2
je 0x1003b7c6
push esi
push str.program_assertion_failed:__s_is_not_composite
push str.set_composite_interface
push 1
push dword [esp + 0x28]
call fcn.10036f50
mov edi, 0xfffffffc
add esp, 0x14
inc dword [esp + 0x2c]
mov dword [esp + 0x14], edi
jmp 0x1003ac30
xor edx, edx
xor edi, edi
cmp byte [esi], dl
je 0x1003b805
nop
mov al, byte [edx + esi]
inc edx
cmp al, 0x4d
jne 0x1003b7e8
mov al, byte [edx + esi]
inc edx
cmp al, 0x49
jne 0x1003b7e8
mov al, byte [edx + esi]
inc edx
cmp al, 0x5f
je 0x1003b7f0
cmp byte [edx + esi], 0
jne 0x1003b7d0
jmp 0x1003b805
movsx ecx, byte [edx + esi + 1]
lea eax, [edx + esi]
movsx eax, byte [eax]
inc edx
lea edi, [eax - 0x42]
lea edi, [eax + edi*4]
lea edi, [ecx + edi*2]
cmp byte [edx + esi], 0
jne 0x1003b825
push edi
push esi
push str.failure_to_read_interface_number_for__s._Using_default_value__d
push str.set_composite_interface
push 2
push dword [esp + 0x2c]
call fcn.10036f50
add esp, 0x18
mov ecx, dword [esp + 0x28]
lea eax, [edi + edi*2]
lea esi, [ecx + eax*8]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x1003b887
cmp dword [esp + 0x38], 4
jne 0x1003b877
mov edx, dword [esp + 0x10]
mov eax, str.set_composite_interface
mov ecx, str.interface__d__already_set___ignoring_HID_collection:__s
push edx
push edi
push ecx
push eax
push 4
push 0
call fcn.10036f50
mov ecx, dword [esp + 0x40]
add esp, 0x18
xor edi, edi
mov dword [esp + 0x14], edi
call fcn.10035f70
mov esi, dword [esp + 0x10]
inc dword [esp + 0x2c]
jmp 0x1003ac30
push eax
call fcn.10053caa
add esp, 4
mov dword [esi + 0x50], 0
push dword [esp + 0x20]
push edi
push str.interface__d____s
push str.set_composite_interface
push 4
push 0
call fcn.10036f50
mov ecx, dword [esp + 0x50]
add esp, 0x18
mov eax, dword [esp + 0x20]
mov dword [esi + 0x50], eax
lea eax, [ecx + ecx*4]
shl eax, 4
add eax, 0x1007c7e8
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0x54]
mov dword [esi + 0x58], eax
cmp ecx, 4
jne 0x1003b8f1
mov esi, dword [esp + 0x28]
cmp dword [esi + 0x350], 0
jne 0x1003b8f1
push 0x320
push 1
call fcn.100539fa
add esp, 8
mov dword [esi + 0x350], eax
test eax, eax
je 0x1003b1be
mov ecx, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], edi
call fcn.10035f70
mov esi, dword [esp + 0x10]
inc dword [esp + 0x2c]
jmp 0x1003ac30
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
call fcn.10035f70
mov esi, dword [esp + 0x10]
inc dword [esp + 0x2c]
jmp 0x1003ac30