Function at 0x1400247e0
Capabilities:
Create thread

Disassembly:
mov r11, rsp
push rbp
push r15
lea rbp, [r11 - 0x1e8]
sub rsp, 0x2d8
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov qword [r11 + 8], rbx
lea rcx, [rsp + 0x38]
mov qword [r11 + 0x18], rdi
xor r15d, r15d
mov qword [r11 - 0x18], r12
mov qword [r11 - 0x28], r14
mov qword [rsp + 0x38], r15
call fcn.14001caa0
mov r14, qword [rsp + 0x38]
lea r12d, [r15 + 1]
mov edi, eax
mov rbx, r14
mov dword [rsp + 0x30], edi
test eax, eax
je 0x140024a84
mov qword [rsp + 0x2f8], rsi
mov r14d, 0xa0
mov qword [rsp + 0x2c8], r13
mov esi, edi
mov edi, 0xffb5
mov r13d, 0xb05
nop dword [rax]
nop dword [rax + rax]
xor eax, eax
lea r8, [0x140064c30]
mov edx, 0x104
mov qword [rbp + 0x150], rax
lea rcx, [rsp + 0x40]
mov qword [rbp + 0x158], rax
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x168], rax
mov qword [rbp + 0x170], rax
mov qword [rbp + 0x178], rax
mov qword [rbp + 0x180], rax
mov qword [rbp + 0x188], rax
call fcn.140044288
lea rdx, [rsp + 0x40]
mov qword [rbp + 0x148], 0xffffffffffffffff
mov rcx, rbx
mov qword [rbp + 0x19c], r15
call fcn.14001cc60
test eax, eax
je 0x140024a5b
movzx eax, word [rbp + 0x152]
cmp ax, di
jne 0x14002493d
cmp word [rbp + 0x150], r14w
jne 0x140024a5b
cmp word [rbp + 0x194], r13w
jne 0x140024a5b
mov r8, rbx
lea rcx, [0x14007b7f0]
mov edx, 0x104
call fcn.140044288
movzx eax, word [rbp + 0x158]
mov word [0x14007b7e4], ax
mov dword [0x14007b7e8], r12d
jmp 0x140024a5b
mov ecx, 0xff89
cmp ax, cx
mov rcx, qword [rbp + 0x150]
jne 0x1400249f2
mov edx, 0xcc
cmp cx, dx
jne 0x140024a5b
movzx r8d, word [rbp + 0x194]
mov edx, 0x48d
cmp r8w, dx
jne 0x140024a5b
movzx r9d, word [rbp + 0x196]
mov edx, 0x8295
cmp r9w, dx
jne 0x140024a5b
mov edx, dword [0x1400799e0]
cmp edx, 2
jne 0x1400249c2
call fcn.14002aa70
movzx r9d, word [rbp + 0x196]
movzx r8d, word [rbp + 0x194]
movzx eax, word [rbp + 0x152]
mov rcx, qword [rbp + 0x150]
mov edx, dword [0x1400799e0]
cmp edx, r12d
jne 0x140024a02
mov r8, rbx
lea rcx, [0x14007b5c0]
mov edx, 0x104
call fcn.140044288
movzx eax, word [rbp + 0x158]
mov word [0x14007b5b0], ax
mov dword [0x14007b5b4], r12d
jmp 0x140024a5b
movzx r9d, word [rbp + 0x196]
movzx r8d, word [rbp + 0x194]
mov edx, 0xff82
cmp ax, dx
jne 0x140024a2c
cmp cx, 0x33
jne 0x140024a5b
cmp r8w, r13w
jne 0x140024a5b
mov eax, 0x1a00
cmp r9w, ax
jne 0x140024a5b
mov dword [0x14007b584], r12d
jmp 0x140024a5b
mov edx, 0xff31
cmp ax, dx
jne 0x140024a5b
cmp cx, 0x77
jne 0x140024a5b
cmp r8w, r13w
jne 0x140024a5b
mov eax, dword [0x14007b57c]
mov ecx, 0x8854
cmp r9w, cx
cmove eax, r12d
mov dword [0x14007b57c], eax
add rbx, 0x208
sub rsi, r12
jne 0x140024870
mov edi, dword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x2c8]
mov rsi, qword [rsp + 0x2f8]
mov rbx, qword [rsp + 0x2f0]
test r14, r14
je 0x140024a99
mov rcx, r14
call fcn.14004d69c
cmp dword [0x14007b7e8], r15d
mov r14, qword [rsp + 0x2c0]
jne 0x140024adc
cmp dword [0x14007b5b4], r15d
jne 0x140024adc
cmp dword [0x14007b584], r15d
jne 0x140024adc
cmp dword [0x14007b57c], r15d
jne 0x140024adc
call fcn.1400267b0
mov ecx, dword [0x14007b580]
test eax, eax
cmovne ecx, r12d
mov dword [0x14007b580], ecx
call fcn.140026a10
mov ecx, dword [0x14007b580]
cmp eax, ecx
je 0x140024aff
test ecx, ecx
mov edx, r15d
lea rcx, str.APanelOLED
setne dl
call fcn.1400320f0
cmp dword [0x14007b57c], r15d
jne 0x140024b6f
mov rax, qword [0x14007d110]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140024b6f
lea rax, [rsp + 0x30]
mov dword [rsp + 0x34], 0x100066
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r8d, 4
mov dword [rsp + 0x30], 4
lea rdx, [rsp + 0x34]
mov ecx, 0x53545344
call fcn.140006780
test eax, eax
je 0x140024b6f
cmp dword [rsp + 0x30], 4
mov eax, r15d
cmovae eax, dword [rsp + 0x38]
test al, 0x80
mov eax, dword [0x14007b578]
cmovne eax, r12d
mov dword [0x14007b578], eax
cmp dword [0x14007b584], r15d
mov edx, edi
mov r12, qword [rsp + 0x2d0]
jne 0x140024bdf
cmp dword [0x14007b580], r15d
jne 0x140024bd6
cmp dword [0x14007b57c], r15d
jne 0x140024bcd
cmp dword [0x14007b578], r15d
jne 0x140024bc4
lea rcx, str.Not_Exclusive_model
call fcn.14003f770
mov rcx, qword [0x14007d0c0]
test rcx, rcx
je 0x140024beb
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [0x14007d0c0], r15
jmp 0x140024beb
lea rcx, str.Exclusive_RGB_One_zone__WMI_0x00100066_
jmp 0x140024be6
lea rcx, str.Exclusive_RGB__HID_0x0B05_0x8854_
jmp 0x140024be6
lea rcx, str.Exclusive_APanel_OLED__WinUSB_
jmp 0x140024be6
lea rcx, str.Exclusive_APanel__HID_0x0B05_0x1A00_
call fcn.14003f770
cmp dword [0x14007b7e8], r15d
mov rdi, qword [rsp + 0x300]
je 0x140024c23
mov qword [rsp + 0x28], r15
lea r8, [0x1400257b0]
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor edx, edx
mov dword [0x14007b5b4], r15d
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
jmp 0x140024c67
mov rcx, qword [0x14007d108]
test rcx, rcx
je 0x140024c3c
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [0x14007d108], r15
cmp dword [0x14007b5b4], r15d
je 0x140024c65
mov qword [rsp + 0x28], r15
lea r8, [0x140026270]
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
jmp 0x140024c67
xor eax, eax
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400406e0
add rsp, 0x2d8
pop r15
pop rbp
ret