Function at 0x1800011a0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0xc0
mov rax, qword [0x18005b0d0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movsxd rax, r8d
mov rbx, rcx
lea rcx, sym.CACapture.dll_Ordinal_17
mov r8d, dword [rcx + rax*4 + 0x1cac]
mov rsi, rdx
add r8, rcx
xor edi, edi
jmp r8
mov r8d, dword [rbx + 0x28]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx]
lea r9, [rsp + 0x54]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov eax, 1
sete dil
mov dword [rsi], edi
jmp 0x180001c63
mov r8d, dword [rbx + 0x28]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx]
lea r9, [rsp + 0x54]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, 1
sete dil
mov dword [rsi], edi
jmp 0x180001c63
mov rcx, qword [rbx]
call qword [sym.imp.HID.DLL_HidD_FlushQueue]
test al, al
mov eax, 1
sete dil
mov dword [rsi], edi
jmp 0x180001c63
mov ecx, reloc.ca_core.dll_Ordinal_16
call qword [sym.imp.MSVCR100.dll_malloc]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x180001279
mov rcx, rax
call qword [sym.imp.HID.DLL_HidD_GetHidGuid]
cmp qword [rbx + 0x30], rdi
setne dil
mov eax, edi
jmp 0x180001c63
mov rdx, qword [rbx + 0x40]
mov rcx, qword [rbx]
call qword [sym.imp.HID.DLL_HidD_GetPreparsedData]
test al, al
mov eax, 1
sete dil
mov dword [rsi], edi
jmp 0x180001c63
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.HID.DLL_HidD_FreePreparsedData]
test al, al
mov eax, 1
sete dil
mov dword [rsi], edi
jmp 0x180001c63
mov ecx, reloc.WS2_32.dll_inet_ntoa
call qword [sym.imp.MSVCR100.dll_malloc]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x1800012ec
mov rcx, qword [rbx]
mov rdx, rax
call qword [sym.imp.HID.DLL_HidD_GetAttributes]
mov ecx, edi
test al, al
sete cl
mov dword [rsi], ecx
cmp qword [rbx + 0x30], rdi
setne dil
mov eax, edi
jmp 0x180001c63
mov rcx, qword [rbx + 0x20]
movzx eax, byte [rbx + 0x1e]
mov byte [rcx], al
mov r8d, dword [rbx + 0x28]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx]
call qword [sym.imp.HID.DLL_HidD_GetFeature]
test al, al
mov eax, 1
sete dil
mov dword [rsi], edi
jmp 0x180001c63
mov r8d, dword [rbx + 0x28]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx]
call qword [sym.imp.HID.DLL_HidD_SetFeature]
test al, al
mov eax, 1
sete dil
mov dword [rsi], edi
jmp 0x180001c63
mov rcx, qword [rbx + 0x20]
movzx eax, byte [rbx + 0x1e]
mov byte [rcx], al
mov r8d, dword [rbx + 0x28]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx]
call qword [sym.imp.HID.DLL_HidD_GetInputReport]
test al, al
mov eax, 1
sete dil
mov dword [rsi], edi
jmp 0x180001c63
mov r8d, dword [rbx + 0x28]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx]
call qword [sym.imp.HID.DLL_HidD_SetOutputReport]
test al, al
mov eax, 1
sete dil
mov dword [rsi], edi
jmp 0x180001c63
mov rcx, qword [rbx]
lea rdx, [rbx + 0x40]
call qword [sym.imp.HID.DLL_HidD_GetNumInputBuffers]
test al, al
mov eax, 1
sete dil
mov dword [rsi], edi
jmp 0x180001c63
mov edx, dword [rbx + 0x40]
mov rcx, qword [rbx]
call qword [sym.imp.HID.DLL_HidD_SetNumInputBuffers]
test al, al
mov eax, 1
sete dil
mov dword [rsi], edi
jmp 0x180001c63
mov ebp, dword [rbx + 0x38]
mov ecx, ebp
call qword [sym.imp.MSVCR100.dll_malloc]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x1800012ec
mov rcx, qword [rbx]
mov r8d, ebp
mov rdx, rax
call qword [sym.imp.HID.DLL_HidD_GetPhysicalDescriptor]
jmp 0x1800012e3
mov ebp, dword [rbx + 0x38]
mov ecx, ebp
call qword [sym.imp.MSVCR100.dll_malloc]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x1800012ec
mov rcx, qword [rbx]
mov r8d, ebp
mov rdx, rax
call qword [sym.imp.HID.DLL_HidD_GetManufacturerString]
jmp 0x1800012e3
mov ebp, dword [rbx + 0x38]
mov ecx, ebp
call qword [sym.imp.MSVCR100.dll_malloc]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x1800012ec
mov rcx, qword [rbx]
mov r8d, ebp
mov rdx, rax
call qword [sym.imp.HID.DLL_HidD_GetProductString]
jmp 0x1800012e3
mov ecx, dword [rbx + 0x38]
lea rbp, [rbx + 0x38]
call qword [sym.imp.MSVCR100.dll_malloc]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x1800012ec
mov r8, qword [rbx + 0x10]
movzx edx, word [rbx + 0x3c]
mov ecx, dword [rbx + 8]
mov r9, rax
mov qword [rsp + 0x20], rbp
call qword [0x18005ecf0]
mov ecx, edi
cmp eax, 0x110000
mov dword [rsi + 4], eax
setne cl
mov dword [rsi], ecx
cmp qword [rbx + 0x30], rdi
setne dil
mov eax, edi
jmp 0x180001c63
mov ebp, dword [rbx + 0x38]
mov ecx, ebp
call qword [sym.imp.MSVCR100.dll_malloc]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x1800012ec
mov edx, dword [rbx + 0x3c]
mov rcx, qword [rbx]
mov r9d, ebp
mov r8, rax
call qword [sym.imp.HID.DLL_HidD_GetIndexedString]
jmp 0x1800012e3
mov ebp, dword [rbx + 0x38]
mov ecx, ebp
call qword [sym.imp.MSVCR100.dll_malloc]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x1800012ec
mov rcx, qword [rbx]
mov r8d, ebp
mov rdx, rax
call qword [sym.imp.HID.DLL_HidD_GetSerialNumberString]
jmp 0x1800012e3
mov ebp, dword [rbx + 0x38]
mov ecx, ebp
call qword [sym.imp.MSVCR100.dll_malloc]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x1800012ec
mov rcx, qword [rbx]
mov r8d, ebp
mov rdx, rax
call qword [sym.imp.HID.DLL_HidD_GetMsGenreDescriptor]
jmp 0x1800012e3
mov eax, dword [rbx + 0x38]
lea ecx, [rax + rax*8]
shl ecx, 3
call qword [sym.imp.MSVCR100.dll_malloc]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x1800012ec
mov r9, qword [rbx + 0x10]
mov ecx, dword [rbx + 8]
lea r8, [rbx + 0x38]
mov rdx, rax
call qword [sym.imp.HID.DLL_HidP_GetButtonCaps]
mov ecx, edi
cmp eax, 0x110000
mov dword [rsi + 4], eax
setne cl
mov dword [rsi], ecx
cmp qword [rbx + 0x30], rdi
setne dil
mov eax, edi
jmp 0x180001c63
mov r8, qword [rbx + 0x10]
movzx edx, word [rbx + 0x18]
mov ecx, dword [rbx + 8]
call qword [sym.imp.HID.DLL_HidP_MaxUsageListLength]
lea rbp, [rbx + 0x38]
mov ecx, eax
mov dword [rbp], ecx
add rcx, rcx
call qword [sym.imp.MSVCR100.dll_malloc]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x1800012ec
mov ecx, dword [rbx + 0x28]
movzx r8d, word [rbx + 0x1c]
movzx edx, word [rbx + 0x18]
mov dword [rsp + 0x38], ecx
mov rcx, qword [rbx + 0x20]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rbx + 8]
mov qword [rsp + 0x20], rbp
call qword [sym.imp.HID.DLL_HidP_GetUsages]
mov ecx, edi
cmp eax, 0x110000
mov dword [rsi + 4], eax
setne cl
mov dword [rsi], ecx
cmp qword [rbx + 0x30], rdi
setne dil
mov eax, edi
jmp 0x180001c63
mov r8, qword [rbx + 0x10]
movzx edx, word [rbx + 0x18]
mov ecx, dword [rbx + 8]
call qword [sym.imp.HID.DLL_HidP_MaxUsageListLength]
mov ecx, eax
mov dword [rbx + 0x38], ecx
shl rcx, 2
call qword [sym.imp.MSVCR100.dll_malloc]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x1800012ec
mov ecx, dword [rbx + 0x28]
movzx edx, word [rbx + 0x1c]
lea r9, [rbx + 0x38]
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbx + 0x20]
mov r8, rax
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x20], rcx
mov ecx, dword [rbx + 8]
call qword [sym.imp.HID.DLL_HidP_GetUsagesEx]
mov ecx, edi
cmp eax, 0x110000
mov dword [rsi + 4], eax
setne cl
mov dword [rsi], ecx
cmp qword [rbx + 0x30], rdi
setne dil
mov eax, edi
jmp 0x180001c63
mov ecx, 0x40
mov dword [rbx + 0x38], 0x40
call qword [sym.imp.MSVCR100.dll_malloc]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x1800012ec
mov rcx, qword [rbx + 0x10]
mov rdx, rax
call qword [sym.imp.HID.DLL_HidP_GetCaps]
mov ecx, edi
cmp eax, 0x110000
mov dword [rsi + 4], eax
setne cl
mov dword [rsi], ecx
cmp qword [rbx + 0x30], rdi
setne dil
mov eax, edi
jmp 0x180001c63
mov rdx, qword [rbx + 0x10]
mov ecx, dword [rbx + 8]
call qword [sym.imp.HID.DLL_HidP_MaxDataListLength]
mov ecx, eax
mov dword [rbx + 0x38], ecx
shl rcx, 3
call qword [sym.imp.MSVCR100.dll_malloc]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x1800012ec
mov ecx, dword [rbx + 0x28]
mov r9, qword [rbx + 0x10]
lea r8, [rbx + 0x38]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbx + 0x20]
mov rdx, rax
mov qword [rsp + 0x20], rcx
mov ecx, dword [rbx + 8]
call qword [sym.imp.HID.DLL_HidP_GetData]
mov ecx, edi
cmp eax, 0x110000
mov dword [rsi + 4], eax
setne cl
mov dword [rsi], ecx
cmp qword [rbx + 0x30], rdi
setne dil
mov eax, edi
jmp 0x180001c63
mov eax, dword [rbx + 0x38]
lea rcx, [rax + rax*2]
shl rcx, 3
call qword [sym.imp.MSVCR100.dll_malloc]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x1800012ec
mov r8, qword [rbx + 0x10]
lea rdx, [rbx + 0x38]
mov rcx, rax
call qword [sym.imp.HID.DLL_HidP_GetLinkCollectionNodes]
mov ecx, edi
cmp eax, 0x110000
mov dword [rsi + 4], eax
setne cl
mov dword [rsi], ecx
cmp qword [rbx + 0x30], rdi
setne dil
mov eax, edi
jmp 0x180001c63
mov eax, dword [rbx + 0x28]
movzx r9d, word [rbx + 0x1a]
movzx r8d, word [rbx + 0x1c]
movzx edx, word [rbx + 0x18]
mov dword [rsp + 0x38], eax
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 0x10]
lea rcx, [rbx + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov ecx, dword [rbx + 8]
call qword [sym.imp.HID.DLL_HidP_GetScaledUsageValue]
cmp eax, 0x110000
mov dword [rsi + 4], eax
mov eax, 1
setne dil
mov dword [rsi], edi
jmp 0x180001c63
mov eax, dword [rbx + 0x38]
lea rbp, [rbx + 0x38]
lea rcx, [rax + rax*8]
shl rcx, 3
call qword [sym.imp.MSVCR100.dll_malloc]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x1800012ec
mov rcx, qword [rbx + 0x10]
movzx r9d, word [rbx + 0x1a]
movzx r8d, word [rbx + 0x1c]
movzx edx, word [rbx + 0x18]
mov qword [rsp + 0x30], rcx
mov ecx, dword [rbx + 8]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.HID.DLL_HidP_GetSpecificButtonCaps]
cmp eax, 0x110000
mov ecx, edi
mov dword [rsi + 4], eax
setne cl
mov dword [rsi], ecx
cmp qword [rbx + 0x30], rdi
setne dil
mov eax, edi
jmp 0x180001c63
mov eax, dword [rbx + 0x38]
lea rbp, [rbx + 0x38]
lea rcx, [rax + rax*8]
shl rcx, 3
call qword [sym.imp.MSVCR100.dll_malloc]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x1800012ec
mov rcx, qword [rbx + 0x10]
movzx r9d, word [rbx + 0x1a]
movzx r8d, word [rbx + 0x1c]
movzx edx, word [rbx + 0x18]
mov qword [rsp + 0x30], rcx
mov ecx, dword [rbx + 8]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.HID.DLL_HidP_GetSpecificValueCaps]
cmp eax, 0x110000
mov ecx, edi
mov dword [rsi + 4], eax
setne cl
mov dword [rsi], ecx
cmp qword [rbx + 0x30], rdi
setne dil
mov eax, edi
jmp 0x180001c63
mov eax, dword [rbx + 0x28]
movzx r9d, word [rbx + 0x1a]
movzx r8d, word [rbx + 0x1c]
movzx edx, word [rbx + 0x18]
mov dword [rsp + 0x38], eax
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 0x10]
lea rcx, [rbx + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov ecx, dword [rbx + 8]
call qword [sym.imp.HID.DLL_HidP_GetUsageValue]
jmp 0x1800017b6
mov rax, qword [rbx + 0x10]
movzx r9d, word [rbx + 0x1a]
movzx r8d, word [rbx + 0x1c]
movzx edx, word [rbx + 0x18]
mov ecx, dword [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov ebp, 1
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov word [rsp + 0x50], bp
mov qword [rsp + 0x20], rax
call qword [sym.imp.HID.DLL_HidP_GetSpecificValueCaps]
cmp eax, 0x110000
jne case.0x1800011e4.1
movzx ecx, word [rsp + 0x72]
movzx eax, word [rsp + 0x74]
mov word [rbx + 0x40], ax
mov word [rbx + 0x42], cx
imul eax, ecx
cdq
and edx, 7
add eax, edx
mov ecx, eax
and eax, 7
sar ecx, 3
cmp eax, edx
je 0x180001952
inc ecx
mov dword [rbx + 0x38], ecx
call qword [sym.imp.MSVCR100.dll_malloc]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x1800012ec
mov ecx, dword [rbx + 0x28]
movzx r9d, word [rbx + 0x1a]
movzx r8d, word [rbx + 0x1c]
movzx edx, word [rbx + 0x18]
mov dword [rsp + 0x40], ecx
mov rcx, qword [rbx + 0x20]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x30], rcx
movzx ecx, word [rbx + 0x38]
mov word [rsp + 0x28], cx
mov ecx, dword [rbx + 8]
mov qword [rsp + 0x20], rax
call qword [sym.imp.HID.DLL_HidP_GetUsageValueArray]
mov ecx, edi
cmp eax, 0x110000
mov dword [rsi + 4], eax
setne cl
mov dword [rsi], ecx
cmp qword [rbx + 0x30], rdi
setne dil
mov eax, edi
jmp 0x180001c63
mov eax, dword [rbx + 0x38]
lea rcx, [rax + rax*8]
shl rcx, 3
call qword [sym.imp.MSVCR100.dll_malloc]
mov qword [rbx + 0x30], rax
test rax, rax
je case.0x1800011e4.35
mov r9, qword [rbx + 0x10]
mov ecx, dword [rbx + 8]
lea r8, [rbx + 0x38]
mov rdx, rax
call qword [sym.imp.HID.DLL_HidP_GetValueCaps]
mov ecx, edi
cmp eax, 0x110000
mov dword [rsi + 4], eax
setne cl
mov dword [rsi], ecx
mov eax, dword [rbx + 0x28]
mov r9, qword [rbx + 0x20]
mov r8, qword [rbx + 0x10]
movzx edx, byte [rbx + 0x1e]
mov ecx, dword [rbx + 8]
mov dword [rsp + 0x20], eax
call qword [0x18005ecf8]
jmp 0x1800017b6
mov r8, qword [rbx + 0x10]
movzx edx, word [rbx + 0x18]
mov ecx, dword [rbx + 8]
call qword [sym.imp.HID.DLL_HidP_MaxUsageListLength]
mov dword [rbx + 0x40], eax
mov dword [rsi + 4], 0x110000
mov dword [rsi], edi
mov eax, 1
jmp 0x180001c63
mov rdx, qword [rbx + 0x10]
mov ecx, dword [rbx + 8]
call qword [sym.imp.HID.DLL_HidP_MaxDataListLength]
mov dword [rbx + 0x40], eax
mov dword [rsi + 4], 0x110000
mov dword [rsi], edi
mov eax, 1
jmp 0x180001c63
mov eax, dword [rbx + 0x28]
mov r9, qword [rbx + 0x30]
movzx r8d, word [rbx + 0x1c]
movzx edx, word [rbx + 0x18]
mov dword [rsp + 0x38], eax
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 0x10]
lea rcx, [rbx + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov ecx, dword [rbx + 8]
call qword [sym.imp.HID.DLL_HidP_SetUsages]
jmp 0x1800017b6
mov eax, dword [rbx + 0x28]
mov r9, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x30]
mov ecx, dword [rbx + 8]
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x20]
lea r8, [rbx + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.HID.DLL_HidP_SetData]
jmp 0x1800017b6
mov eax, dword [rbx + 0x28]
movzx r9d, word [rbx + 0x1a]
movzx r8d, word [rbx + 0x1c]
movzx edx, word [rbx + 0x18]
mov ecx, dword [rbx + 8]
mov dword [rsp + 0x38], eax
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x28], rax
mov eax, dword [rbx + 0x40]
mov dword [rsp + 0x20], eax
call qword [sym.imp.HID.DLL_HidP_SetUsageValue]
jmp 0x1800017b6
mov rax, qword [rbx + 0x10]
movzx r9d, word [rbx + 0x1a]
movzx r8d, word [rbx + 0x1c]
movzx edx, word [rbx + 0x18]
mov ecx, dword [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov ebp, 1
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov word [rsp + 0x50], bp
mov qword [rsp + 0x20], rax
call qword [sym.imp.HID.DLL_HidP_GetSpecificValueCaps]
cmp eax, 0x110000
jne case.0x1800011e4.1
movzx r8d, word [rsp + 0x72]
movzx r9d, word [rsp + 0x74]
mov edx, dword [rbx + 0x38]
mov rcx, qword [rbx + 0x30]
lea rdi, [rbx + 0x30]
lea r12, [rbx + 0x38]
mov qword [rsp + 0x28], r12
mov word [rbx + 0x42], r8w
mov word [rbx + 0x40], r9w
mov qword [rsp + 0x20], rdi
call entry0
test eax, eax
je case.0x1800011e4.1
mov eax, dword [rbx + 0x28]
movzx r9d, word [rbx + 0x1a]
movzx r8d, word [rbx + 0x1c]
movzx edx, word [rbx + 0x18]
mov ecx, dword [rbx + 8]
mov dword [rsp + 0x40], eax
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x38], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x30], rax
movzx eax, word [r12]
mov word [rsp + 0x28], ax
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
call qword [sym.imp.HID.DLL_HidP_SetUsageValueArray]
xor edi, edi
cmp eax, 0x110000
mov dword [rsi + 4], eax
mov eax, ebp
setne dil
mov dword [rsi], edi
jmp 0x180001c63
mov eax, dword [rbx + 0x28]
mov r9, qword [rbx + 0x30]
movzx r8d, word [rbx + 0x1c]
movzx edx, word [rbx + 0x18]
mov dword [rsp + 0x38], eax
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 0x10]
lea rcx, [rbx + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov ecx, dword [rbx + 8]
call qword [sym.imp.HID.DLL_HidP_UnsetUsages]
jmp 0x1800017b6
mov r12d, dword [rbx + 0x38]
mov edi, r12d
add rdi, rdi
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_malloc]
mov rbp, rax
mov qword [rbx + 0x48], rax
test rax, rax
je case.0x1800011e4.1
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_malloc]
mov qword [rbx + 0x50], rax
test rax, rax
jne 0x180001c8b
mov rcx, rbp
call qword [sym.imp.MSVCR100.dll_free]
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.18003c580
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
mov rdx, qword [rbx + 0x40]
mov rcx, qword [rbx + 0x30]
mov r9, rbp
mov r8, rax
mov dword [rsp + 0x20], r12d
call qword [sym.imp.HID.DLL_HidP_UsageListDifference]
xor edi, edi
jmp 0x1800017b6