Function at 0x100e244
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
lea edi, [ebx + 0x6c]
movzx eax, word [ebx + 0x24]
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
mov dword [edi], eax
je 0x100e41c
inc dword [ebp - 4]
add edi, 4
cmp dword [ebp - 4], 2
jb 0x100e260
movzx eax, word [ebx + 0x4e]
lea eax, [eax + eax*8]
shl eax, 3
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
mov dword [ebp - 4], eax
mov dword [ebx + 0x84], eax
je 0x100e41c
movzx eax, word [ebx + 0x50]
lea eax, [eax + eax*8]
shl eax, 3
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
xor eax, eax
cmp edi, esi
pop ecx
mov dword [ebx + 0x88], edi
je 0x100e415
mov ax, word [ebx + 0x4e]
push dword [ebx + 0x1c]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 4]
push esi
push esi
push esi
push esi
call sub.HID.DLL_HidP_GetSpecificButtonCaps
push dword [ebx + 0x1c]
xor eax, eax
mov ax, word [ebx + 0x50]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push edi
push esi
push esi
push esi
push esi
call sub.HID.DLL_HidP_GetSpecificValueCaps
xor ecx, ecx
cmp word [ebx + 0x50], si
jbe 0x100e31a
movzx edx, word [ebx + 0x50]
lea eax, [edi + 0x3a]
cmp byte [eax - 0x2e], 0
jne 0x101843a
inc ecx
add eax, 0x48
dec edx
jne 0x100e309
mov edi, dword [ebx + 0x88]
movzx eax, cx
mov dword [ebp - 0x10], eax
mov dword [ebx + 0x78], eax
imul eax, eax, 0x3c
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
test esi, esi
pop ecx
mov dword [ebx + 0x74], esi
je 0x100e41c
mov eax, dword [ebp - 4]
push dword [ebx + 0x1c]
movzx eax, word [eax]
push eax
push 0
call sub.HID.DLL_HidP_MaxUsageListLength
test eax, eax
mov dword [ebx + 0x7c], eax
je 0x101844c
add eax, eax
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
mov dword [ebx + 0x80], eax
je 0x100e41c
mov eax, dword [ebp - 0x10]
test eax, eax
jbe 0x100e41c
mov dword [ebp - 4], eax
xor eax, eax
mov edx, 0x110000
inc eax
cmp byte [edi + 0xc], 0
jne 0x1018457
mov dword [esi + 4], edx
mov cx, word [edi]
mov word [esi], cx
mov cx, word [edi + 0x38]
mov word [esi + 0x18], cx
movzx ecx, byte [edi + 2]
or dword [esi + 0x14], 0xffffffff
cmp word [esi], ax
mov dword [esi + 8], ecx
mov cx, word [edi + 8]
mov word [esi + 0xe], cx
mov cx, word [edi + 0xa]
mov word [esi + 0x10], cx
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x1c], ecx
mov ecx, dword [edi + 0x24]
mov dword [esi + 0x20], ecx
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x24], ecx
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x28], ecx
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x2c], ecx
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x30], ecx
jne 0x100e3fe
mov cx, word [esi + 0x18]
cmp cx, 0x30
jne 0x100e3f5
mov dword [ebp - 8], eax
cmp cx, 0x31
jne 0x100e3fe
mov dword [ebp - 0xc], eax
add esi, 0x3c
add edi, 0x48
dec dword [ebp - 4]
jne 0x100e389
cmp dword [ebp - 8], 0
je 0x100e41c
cmp dword [ebp - 0xc], 0
je 0x100e41c
pop edi
pop esi
pop ebx
leave
ret 4
xor eax, eax
jmp 0x100e415
xor esi, esi
mov si, word [eax]
sub si, word [eax - 2]
lea ecx, [ecx + esi + 1]
jmp 0x100e314
and dword [ebx + 0x80], eax
jmp 0x100e373
mov cx, word [edi + 0x38]
jmp 0x10184c4
mov dword [esi + 4], edx
mov bx, word [edi]
mov word [esi], bx
mov word [esi + 0x18], cx
movzx ebx, byte [edi + 2]
or dword [esi + 0x14], 0xffffffff
cmp word [esi], ax
mov dword [esi + 8], ebx
mov bx, word [edi + 8]
mov word [esi + 0xe], bx
mov bx, word [edi + 0xa]
mov word [esi + 0x10], bx
mov ebx, dword [edi + 0x20]
mov dword [esi + 0x1c], ebx
mov ebx, dword [edi + 0x24]
mov dword [esi + 0x20], ebx
mov ebx, dword [edi + 0x28]
mov dword [esi + 0x24], ebx
mov ebx, dword [edi + 0x2c]
mov dword [esi + 0x28], ebx
mov ebx, dword [edi + 0x30]
mov dword [esi + 0x2c], ebx
mov ebx, dword [edi + 0x34]
mov dword [esi + 0x30], ebx
jne 0x10184c0
cmp cx, 0x30
jne 0x10184b7
mov dword [ebp - 8], eax
cmp cx, 0x31
jne 0x10184c0
mov dword [ebp - 0xc], eax
add esi, 0x3c
inc ecx
cmp cx, word [edi + 0x3a]
jbe 0x101845d
jmp 0x100e401