Function at 0x1405b8bf0
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 [0x1406df080]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov r12d, edx
xor r13d, r13d
mov r15, qword [0x1406e0c98]
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 [0x1406e0e2c], eax
jle 0x1405b8e40
lea rcx, [0x1406e0e2c]
call fcn.140668208
cmp dword [0x1406e0e2c], 0xffffffff
jne 0x1405b8e40
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 0x1405b8d1b
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 0x1405b8ce5
test eax, eax
jns 0x1405b8d4e
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1405b8e34
mov r14d, r13d
cmp dword [rbx], r13d
jbe 0x1405b8e1d
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 0x1405b8d8f
lea rcx, [rbp + 0x1e8]
call fcn.1405bbfdc
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 0x1405b9168
mov rdx, qword [rbp + 0x200]
cmp rdx, 0x10
jb 0x1405b8e11
inc rdx
mov rcx, qword [rbp + 0x1e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1405b8e0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1405b91b5
call fcn.140668354
add r14d, edi
cmp r14d, dword [rbx]
jb 0x1405b8d5a
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r14d, 4
lea rcx, [0x1406e0e2c]
call fcn.1406681a8
mov eax, dword [r14 + rsi]
cmp dword [0x1406e0e50], eax
jle 0x1405b8e79
lea rcx, [0x1406e0e50]
call fcn.140668208
cmp dword [0x1406e0e50], 0xffffffff
jne 0x1405b8e79
call fcn.1405b5230
mov qword [0x1406e0e78], rax
lea rcx, [0x1406e0e50]
call fcn.1406681a8
mov eax, dword [r14 + rsi]
cmp dword [0x1406e0e30], eax
jle 0x1405b8eb2
lea rcx, [0x1406e0e30]
call fcn.140668208
cmp dword [0x1406e0e30], 0xffffffff
jne 0x1405b8eb2
call fcn.1405b5628
mov qword [0x1406e0e58], rax
lea rcx, [0x1406e0e30]
call fcn.1406681a8
cmp qword [0x1406e0e78], r13
je 0x1405b9e33
cmp qword [0x1406e0e58], r13
je 0x1405b9e33
lea rcx, [rbp + 0x1e0]
call fcn.140605028
lea rbx, [r15 + r12]
cmp r15, rbx
jae 0x1405b926b
mov r14, qword [0x1406e0e58]
mov r12d, 4
mov eax, dword [r12 + rsi]
cmp dword [0x1406e084c], eax
jle 0x1405b8f43
lea rcx, [0x1406e084c]
call fcn.140668208
cmp dword [0x1406e084c], 0xffffffff
jne 0x1405b8f43
lea rcx, [0x14067bbe8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1406e0908], rax
lea rcx, [0x1406e084c]
call fcn.1406681a8
mov eax, dword [r12 + rsi]
cmp dword [0x1406e08f8], eax
jle 0x1405b8f8e
lea rcx, [0x1406e08f8]
call fcn.140668208
cmp dword [0x1406e08f8], 0xffffffff
jne 0x1405b8f8e
mov edx, 2
lea rcx, [0x1406e0850]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14066c3f0]
call fcn.140668594
lea rcx, [0x1406e08f8]
call fcn.1406681a8
lea rcx, [0x1406e0850]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x1405b9262
mov dword [rbp + 8], 0x25ff
mov word [rbp + 0xc], r13w
mov qword [rbp + 0xe], r14
mov rcx, qword [0x1406e08a8]
lea r14d, [rax + 0xe]
mov r8d, r14d
lea rdx, [rbp + 0x140]
call fcn.1405b6d94
mov rcx, qword [0x1406e08a8]
mov r8d, r14d
lea rdx, [rbp + 8]
call fcn.1405b6f20
mov rax, qword [0x1406e0908]
mov rcx, r15
call rax
mov r12, rax
mov rcx, qword [0x1406e08a8]
mov r8d, r14d
lea rdx, [rbp + 0x140]
call fcn.1405b6f20
lea rcx, [0x1406e0850]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r14, qword [0x1406e0e78]
mov eax, 4
mov eax, dword [rax + rsi]
cmp dword [0x1406e084c], eax
jle 0x1405b906e
lea rcx, [0x1406e084c]
call fcn.140668208
cmp dword [0x1406e084c], 0xffffffff
jne 0x1405b906e
lea rcx, [0x14067bbe8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1406e0908], rax
lea rcx, [0x1406e084c]
call fcn.1406681a8
mov eax, 4
mov eax, dword [rax + rsi]
cmp dword [0x1406e08f8], eax
jle 0x1405b90bd
lea rcx, [0x1406e08f8]
call fcn.140668208
cmp dword [0x1406e08f8], 0xffffffff
jne 0x1405b90bd
mov edx, 2
lea rcx, [0x1406e0850]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14066c3f0]
call fcn.140668594
lea rcx, [0x1406e08f8]
call fcn.1406681a8
lea rcx, [0x1406e0850]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x1405b9259
mov dword [rbp + 0x18], 0x25ff
mov word [rbp + 0x1c], r13w
mov qword [rbp + 0x1e], r14
mov rcx, qword [0x1406e08a8]
lea r14d, [rax + 0xe]
mov r8d, r14d
lea rdx, [rbp + 0x210]
call fcn.1405b6d94
mov rcx, qword [0x1406e08a8]
mov r8d, r14d
lea rdx, [rbp + 0x18]
call fcn.1405b6f20
mov rax, qword [0x1406e0908]
mov rcx, r15
call rax
mov r14, rax
mov rcx, qword [0x1406e08a8]
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, [rbp + 0x210]
call fcn.1405b6f20
lea rcx, [0x1406e0850]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r9d, 8
mov r8, r12
lea rdx, [rbp + 0x268]
lea rcx, [rbp + 0x1e0]
call fcn.14060573c
test al, al
jne 0x1405b91c6
xor eax, eax
jmp 0x1405b91cd
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 0x1405b8e2e
inc rdx
mov rcx, qword [rbp + 0x1e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1405b91bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405b91bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140668354
jmp 0x1405b8e2e
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.14060573c
test al, al
jne 0x1405b91f8
xor eax, eax
jmp 0x1405b91ff
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.140605e10
mov r12d, 0x1000
add r15, r12
cmp r15, rbx
jb 0x1405b8ee5
mov r14d, 4
jmp 0x1405b9271
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, [0x140682370]
lea rdx, [0x14067bd20]
lea rcx, [rbp + 0x250]
call fcn.1405bbc38
nop
mov eax, dword [r14 + rsi]
cmp dword [0x1406e0914], eax
jle 0x1405b9338
lea rcx, [0x1406e0914]
call fcn.140668208
cmp dword [0x1406e0914], 0xffffffff
jne 0x1405b9338
lea rcx, [0x1406e0914]
call fcn.1406681a8
mov r14d, reloc.WS2_32.dll_recv
mov r8d, r14d
lea rdx, [rbp + 0x210]
lea rcx, [0x1406e08f0]
call fcn.1405b64c8
nop
lea rcx, [rbp + 0x190]
call fcn.1405b4c8c
nop
lea r8, [rbp + 3]
lea rdx, [rbp + 0xe0]
mov rcx, rax
call fcn.1405bb79c
nop
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0xe0]
call fcn.1405baf20
mov rdx, rax
lea rcx, [rbp + 0x2b8]
call fcn.1405baf34
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, r14
jb 0x1405b93d8
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, r12
jb 0x1405b93d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405b93d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140668354
movdqa xmm0, xmmword [0x1406cf4c0]
movdqu xmmword [rbp + 0xf0], xmm0
mov byte [rbp + 0xe0], r13b
lea rcx, [rbp + 0x190]
call fcn.1405bb4bc
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x320]
call fcn.14066950c
lea rcx, [rbp + 0x2b8]
call fcn.1405b4ee0
mov dword [rsp + 0x20], edi
mov r15d, 0x40
mov r9d, r15d
lea r8d, [r15 - 0x20]
mov rdx, rax
lea rcx, [rbp + 0x320]
call fcn.1405ba01c
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.1405b9f8c
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rbp + 0x150]
call fcn.1405baeec
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 0x1405b94a3
mov bl, dil
jmp 0x1405b9521
mov qword [rbp + 0x240], r13
lea rcx, [rbp + 0x150]
call fcn.1405bb520
lea r8, [rbp + 0x240]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1405b949e
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 0x1405b949e
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, r13b
lea rcx, [rbp + 0x150]
call fcn.1405bb4bc
test bl, bl
je 0x1405b9543
mov bl, r13b
movabs rsi, 0x9c7187f9bf3588b0
jmp 0x1405b9b38
xor r8d, r8d
lea rdx, [rbp + 0x2b8]
lea rcx, [rbp + 0x1b0]
call fcn.1405bba20
nop
mov rdx, rax
lea rcx, [rbp + 0x170]
call fcn.1405b4ad8
nop
lea r8, [rbp + 1]
lea rdx, [rbp + 0xc0]
mov rcx, rax
call fcn.1405bb79c
nop
lea r8, [rbp + 0xc0]
lea rdx, [0x14067bb84]
lea rcx, [rbp + 0x100]
call fcn.1405bb960
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.1405baf64
nop
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x1e8]
call fcn.1405baf20
lea rcx, [rbp + 0x1e8]
call fcn.1405b4ee0
lea r8, [rbp + 0x1d0]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x1405b9726
mov rdx, qword [rbp + 0x200]
cmp rdx, r14
jb 0x1405b971e
inc rdx
mov rcx, qword [rbp + 0x1e8]
cmp rdx, r12
mov rax, rcx
jb 0x1405b9719
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1405b984e
call fcn.140668354
mov bl, r13b
jmp 0x1405b985a
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 0x1405b96e2
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 0x1405b96e2
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 0x1405b96e2
mov rbx, qword [rsi + 0x10]
mov rcx, rsi
call fcn.1405b4ee0
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 0x1405b96e2
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 0x1405b985a
inc rdx
mov rcx, qword [rbp + 0x1e8]
mov rax, rcx
cmp rdx, r12
jb 0x1405b9855
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405b9855
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140668354
movdqa xmm0, xmmword [0x1406cf4c0]
mov byte [rbp + 0x1e8], r13b
movdqu xmmword [rbp + 0x1f8], xmm0
mov rdx, qword [rbp + 0x118]
cmp rdx, r14
jb 0x1405b98b0
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, r12
jb 0x1405b98ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405b98ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140668354
movdqa xmm0, xmmword [0x1406cf4c0]
movdqu xmmword [rbp + 0x110], xmm0
mov byte [rbp + 0x100], r13b
mov rdx, qword [rbp + 0xd8]
cmp rdx, r14
jb 0x1405b9906
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, r12
jb 0x1405b9901
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405b9901
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140668354
movdqa xmm0, xmmword [0x1406cf4c0]
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], r13b
lea rcx, [rbp + 0x170]
call fcn.1405bb4bc
nop
lea rcx, [rbp + 0x1b0]
call fcn.1405bb4bc
movabs rsi, 0x9c7187f9bf3588b0
test bl, bl
jne 0x1405b994c
mov bl, r13b
jmp 0x1405b9b38
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.1405baf64
nop
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x298]
call fcn.1405baf20
lea rcx, [rbp + 0x298]
call fcn.1405b4ee0
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 0x1405b9b21
inc rdx
mov rcx, qword [rbp + 0x298]
mov rax, rcx
cmp rdx, r12
jb 0x1405b9b1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405b9b1c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140668354
movdqa xmm0, xmmword [0x1406cf4c0]
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.1405bc78c
nop
lea rcx, [rbp + 0x3c8]
call fcn.1405b9fc0
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 0x1405b9baf
inc rdx
mov rcx, qword [rbp + 0x2b8]
mov rax, rcx
cmp rdx, r12
jb 0x1405b9baa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405b9baa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140668354
movdqa xmm0, xmmword [0x1406cf4c0]
movdqu xmmword [rbp + 0x2c8], xmm0
mov byte [rbp + 0x2b8], r13b
mov rdx, qword [rbp + 0x228]
cmp rdx, r14
jb 0x1405b9c05
inc rdx
mov rcx, qword [rbp + 0x210]
mov rax, rcx
cmp rdx, r12
jb 0x1405b9c00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405b9c00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140668354
movdqa xmm0, xmmword [0x1406cf4c0]
movdqu xmmword [rbp + 0x220], xmm0
mov byte [rbp + 0x210], r13b
lea rcx, [rbp + 0x250]
call fcn.1405baccc
nop
cmp byte [rbp + 0x318], r13b
jne 0x1405b9ca3
lea rcx, [rbp + 0x30]
call fcn.1405bb070
nop
mov qword [rbp + 0x270], r13
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x278]
call fcn.1405baf98
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, r14
jb 0x1405b9c8d
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, r12
jb 0x1405b9c88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405b9c88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140668354
movdqa xmm0, xmmword [0x1406cf4c0]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], r13b
jmp 0x1405b9d39
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 [0x1406e08a0], rax
mov qword [rbp + 0x270], rax
lea rdx, [rbp + 0x2f8]
lea rcx, [rbp + 0x278]
call fcn.1405baf98
nop
lea rcx, [rbp + 0x2f8]
call fcn.1405b4344
nop
cmp qword [rbp + 0x270], r13
je 0x1405b9de5
cmp qword [rbp + 0x288], r13
je 0x1405b9de5
lea rdx, [rbp + 0x278]
lea rcx, [rbp + 0x120]
call fcn.1405baf98
mov rbx, rax
mov qword [rbp + 0x208], rax
mov rcx, qword [rbp + 0x270]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1405b9d9d
mov rcx, rbx
call fcn.1405b6694
test al, al
mov sil, dil
jne 0x1405b9da0
mov sil, r13b
mov rdx, qword [rbx + 0x18]
cmp rdx, r14
jb 0x1405b9dd1
mov rcx, qword [rbx]
inc rdx
cmp rdx, r12
jb 0x1405b9dcc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1405b9e22
mov rcx, r8
call fcn.140668354
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r13b
test sil, sil
jne 0x1405b9de8
mov dil, r13b
mov rdx, qword [rbp + 0x290]
cmp rdx, r14
jb 0x1405b9e2e
inc rdx
mov rcx, qword [rbp + 0x278]
mov rax, rcx
cmp rdx, r12
jb 0x1405b9e29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405b9e29
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.140668354
mov al, dil
jmp 0x1405b9e35
xor al, al
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.140668060
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