Function at 0x140003c10
Capabilities:
Disable driver code integrity

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x488
lea rcx, [0x140009186]
call fcn.140001000
lea rcx, [rsp + 0x40]
call fcn.140002e00
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140003c50
mov eax, dword [rsp + 0x30]
jmp 0x140003f80
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
call fcn.140002580
mov rax, qword [rax + 0x60]
movzx eax, word [rax + 0x120]
cmp eax, 0x23f0
jl 0x140003c7f
lea rax, str.CI_g_CiOptions
mov qword [rsp + 0x48], rax
jmp 0x140003c8b
lea rax, str.nt_g_CiEnabled
mov qword [rsp + 0x48], rax
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x48]
lea rcx, str._ls_at_0x_p._n
call fcn.1400025a0
mov dword [rsp + 0x50], 0xa
lea r9, [rsp + 0x34]
xor r8d, r8d
mov dl, 1
mov ecx, 0xa
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140003cde
lea rcx, str.Fatal_error:_failed_to_acquire_SE_LOAD_DRIVER_PRIVILEGE._Make_sure_you_are_running_as_administrator._n
call fcn.1400025a0
mov eax, dword [rsp + 0x30]
jmp 0x140003f80
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x270]
mov edx, 0x208
mov rcx, qword [rsp + 0x490]
call qword [sym.imp.ntdll.dll_RtlGetFullPathName_UEx]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140003d19
mov eax, dword [rsp + 0x30]
jmp 0x140003f80
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov edx, 0x208
mov rcx, qword [rsp + 0x498]
call qword [sym.imp.ntdll.dll_RtlGetFullPathName_UEx]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140003d51
mov eax, dword [rsp + 0x30]
jmp 0x140003f80
lea rdx, [rsp + 0x60]
lea rcx, [0x140007220]
call fcn.140003090
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140003d76
mov eax, dword [rsp + 0x30]
jmp 0x140003f80
call fcn.140003430
movzx eax, al
test eax, eax
jne 0x140003d9f
lea rcx, str.WARNING:_CI_is_already_disabled__n
call fcn.1400025a0
lea rcx, [0x140007220]
call fcn.1400034c0
jmp 0x140003f80
lea rdx, [rsp + 0x270]
lea rcx, [0x140007430]
call fcn.140003090
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140003dc7
mov eax, dword [rsp + 0x30]
jmp 0x140003f80
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
lea rcx, [0x140007430]
call fcn.140003940
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140003e05
mov edx, dword [rsp + 0x30]
lea rcx, str.Failed_to_disable_DSE_through_Gigabyte_loader_driver:__08X_n
call fcn.1400025a0
jmp 0x140003f45
lea rcx, str.Successfully_disabled_DSE.
call fcn.1400025a0
call fcn.140002580
mov rax, qword [rax + 0x60]
movzx eax, word [rax + 0x120]
cmp eax, 0x23f0
jl 0x140003e38
mov edx, dword [rsp + 0x38]
lea rcx, str._Original_g_CiOptions_value:_0x_X.
call fcn.1400025a0
lea rcx, [0x1400058d8]
call fcn.1400025a0
lea rcx, [0x140007220]
call fcn.1400034c0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140003ed7
cmp dword [rsp + 0x30], 0xc000010e
jne 0x140003ec5
lea rcx, [0x140007220]
call fcn.140003bd0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140003e8e
mov edx, dword [rsp + 0x30]
lea rcx, str.Target_driver_is_already_loaded__and_unloading_failed_with_status__08X_n
call fcn.1400025a0
jmp 0x140003ec3
lea rcx, [0x140007220]
call fcn.1400034c0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140003eb7
mov edx, dword [rsp + 0x30]
lea rcx, str.Failed_to_reload_target_driver:__08X_n
call fcn.1400025a0
jmp 0x140003ec3
lea rcx, str.Succesfully_reloaded_target_driver._n
call fcn.1400025a0
jmp 0x140003ed5
mov edx, dword [rsp + 0x30]
lea rcx, str.Failed_to_load_target_driver:__08X_n
call fcn.1400025a0
jmp 0x140003ee3
lea rcx, str.Target_driver_loaded_successfully._n
call fcn.1400025a0
xor r9d, r9d
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
lea rcx, [0x140007430]
call fcn.140003940
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140003f21
mov edx, dword [rsp + 0x30]
lea rcx, str.WARNING:_failed_to_re_enable_DSE_through_Gigabyte_loader_driver:__08X_n
call fcn.1400025a0
mov dword [rsp + 0x30], 0
jmp 0x140003f2d
lea rcx, str.Successfully_re_enabled_DSE._n
call fcn.1400025a0
lea rcx, [0x140007430]
call fcn.140003bd0
lea rcx, [0x140007430]
call fcn.140003180
cmp dword [rsp + 0x30], 0
jl 0x140003f58
movzx eax, byte [rsp + 0x4a0]
test eax, eax
je 0x140003f64
lea rcx, [0x140007220]
call fcn.140003180
lea r9, [rsp + 0x34]
xor r8d, r8d
movzx edx, byte [rsp + 0x34]
mov ecx, 0xa
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
mov eax, dword [rsp + 0x30]
add rsp, 0x488
ret