Function at 0x10000de80
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1070
call fcn.1000151b0
sub rsp, rax
mov rax, qword [0x100019110]
xor rax, rsp
mov qword [rsp + 0x1060], rax
xor ebx, ebx
mov r8d, 0x218
lea r9, [rsp + 0x48]
lea ecx, [rbx + 0x62]
lea rdx, [rsp + 0x270]
mov r14, rbx
mov dword [rsp + 0x48], r8d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, ebx
jl 0x10000df00
movzx ecx, word [rsp + 0x270]
mov rax, qword [rsp + 0x278]
shr rcx, 1
mov word [rax + rcx*2], bx
mov r14, qword [rsp + 0x278]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SETUPAPI.dll_SetupDiCreateDeviceInfoList]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x10000df20
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
mov ebx, eax
jmp 0x10000e28a
lea rax, [0x1000022d8]
mov esi, 0x20
mov r13, rbx
mov qword [rsp + 0x68], rax
lea rax, [0x1000022e8]
lea r15d, [rsi - 0x1e]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + r13*8 + 0x68]
mov qword [rsp + 0x30], rbx
mov r9d, 0x12
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsExW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x10000e27d
lea rcx, [rsp + 0xa0]
mov r8, rsi
xor edx, edx
mov edi, ebx
call sub.msvcrt.dll_memset
xor r9d, r9d
jmp 0x10000e23d
lea rcx, [rsp + 0xc0]
inc edi
mov r8, rsi
xor edx, edx
mov dword [rsp + 0x44], edi
call sub.msvcrt.dll_memset
lea rax, [rsp + 0xc0]
lea r8, [rsp + 0x830]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0xa0]
mov r9d, 0x828
mov rcx, r12
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0xc0], esi
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
cmp eax, ebx
je 0x10000e228
lea r8, [rsp + 0x490]
lea rdx, [rsp + 0xc0]
mov r9d, 0xc8
mov rcx, r12
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
cmp eax, ebx
je 0x10000e228
mov esi, ebx
cmp r13, 1
jne 0x10000e08f
cmp r14, rbx
je 0x10000e08f
mov dword [rsp + 0x38], ebx
lea rax, [rsp + 0x620]
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x40]
lea r8, [0x100002128]
lea rdx, [rsp + 0xc0]
mov rcx, r12
mov dword [rsp + 0x28], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDevicePropertyW]
cmp eax, ebx
je 0x10000e08f
cmp dword [rsp + 0x40], 0x12
jne 0x10000e08f
or r9d, 0xffffffff
lea rcx, [rsp + 0x620]
mov r8, r14
or edx, r9d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.API_MS_Win_Core_String_L1_1_0.dll_CompareStringOrdinal]
cmp eax, 2
je 0x10000e13c
mov eax, 3
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x834]
xor r9d, r9d
mov edx, 0x80000000
mov r8d, eax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
call qword [sym.imp.API_MS_Win_Core_File_L1_1_0.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x10000e21f
xor eax, eax
mov qword [rsp + 0x38], rbx
xor r9d, r9d
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x78]
xor r8d, r8d
mov edx, 0x704010
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov rcx, rdi
mov dword [rsp + 0x28], 0x14
mov qword [rsp + 0x20], rax
call qword [sym.imp.API_MS_Win_Core_IO_L1_1_0.dll_DeviceIoControl]
cmp eax, ebx
je 0x10000e127
cmp dword [rsp + 0x58], ebx
jg 0x10000e122
cmp dword [rsp + 0x5c], ebx
jg 0x10000e122
cmp dword [rsp + 0x60], ebx
jle 0x10000e127
mov esi, 1
mov rcx, rdi
call qword [sym.imp.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle]
mov edi, dword [rsp + 0x44]
cmp esi, ebx
je 0x10000e223
lea r8, [rsp + 0x490]
lea rax, [rsp + 0xe0]
mov edx, 0xc8
sub r8, rax
lea rcx, [rsp + 0xe0]
lea rax, [rdx + 0x7fffff36]
cmp rax, rbx
je 0x10000e17f
movzx eax, word [r8 + rcx]
cmp ax, bx
je 0x10000e17f
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x10000e15c
cmp rdx, rbx
jne 0x10000e188
sub rcx, 2
mov word [rcx], bx
mov esi, 0x20
jmp 0x10000e1d8
mov dword [rsp + 0x38], ebx
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x40]
lea r8, [0x100002158]
lea rdx, [rsp + 0x80]
mov rcx, rbp
mov dword [rsp + 0x28], 0x190
mov qword [rsp + 0x20], rax
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDevicePropertyW]
cmp eax, ebx
je 0x10000e228
cmp dword [rsp + 0x40], 0x12
jne 0x10000e228
lea rcx, [rsp + 0x80]
mov r8, rsi
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x80]
lea rdx, [rsp + 0xe0]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x80], esi
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDeviceInfoW]
cmp eax, ebx
jne 0x10000e192
jmp 0x10000e228
mov edi, dword [rsp + 0x44]
mov esi, 0x20
lea rcx, [rsp + 0xa0]
mov r8, rsi
xor edx, edx
call sub.msvcrt.dll_memset
mov r9d, edi
mov r8, qword [rsp + r13*8 + 0x68]
lea rax, [rsp + 0xa0]
xor edx, edx
mov rcx, r12
mov dword [rsp + 0xa0], esi
mov dword [rsp + 0x830], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
cmp eax, ebx
jne 0x10000df92
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
inc r13
sub r15, 1
jne 0x10000df44
mov ecx, ebx
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov rax, rbp
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.100014800
lea r11, [rsp + 0x1070]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret