Function at 0x140013630
Capabilities:
Install driver
Parse pe header
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x1400a3c40]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov qword [rbp - 0x40], rdx
mov rcx, qword [rbp + 0x2d8]
mov qword [rbp - 0x30], rcx
xor edi, edi
mov dword [rbp + 0x28], edi
mov r15, qword [0x1408e97c0]
mov ecx, 0x5a4d
cmp word [rdx], cx
jne 0x1400144f9
movsxd r13, dword [rdx + 0x3c]
add r13, rdx
mov qword [rsp + 0x78], r13
cmp dword [r13], 0x4550
jne 0x1400144f9
mov eax, 0x20b
cmp word [r13 + 0x18], ax
jne 0x1400144f9
mov r12d, dword [r13 + 0x50]
mov qword [rbp - 0x38], r12
lea r9d, [rdi + 4]
mov r8d, 0x3000
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400144f9
lea rcx, [rbp + 0x90]
call fcn.140013520
nop
lea rcx, [rbp + 0x90]
mov rbx, qword [rbp + 0xa0]
cmp qword [rbp + 0xa8], 0x10
jb 0x140013717
mov rsi, qword [rbp + 0x90]
add rbx, rsi
jmp 0x140013721
add rbx, rcx
lea rsi, [rbp + 0x90]
mov qword [rbp + 0x70], rdi
mov rcx, rdi
mov qword [rbp + 0x80], rcx
mov r14d, 7
mov qword [rbp + 0x88], r14
mov word [rbp + 0x70], di
mov rdx, rbx
sub rdx, rsi
cmp rdx, r14
jbe 0x140013765
lea rcx, [rbp + 0x70]
call fcn.1400107c0
mov rcx, rdi
mov qword [rbp + 0x80], rcx
mov r14, qword [rbp + 0x88]
lea rax, [rbp + 0x70]
mov qword [rbp + 0x30], rax
cmp rsi, rbx
je 0x1400137df
movzx edi, byte [rbp + 0x20]
xor r13d, r13d
nop dword [rax]
movsx r9d, byte [rsi]
cmp rcx, r14
jae 0x1400137ae
lea rax, [rcx + 1]
mov qword [rbp + 0x80], rax
lea rax, [rbp + 0x70]
cmp r14, 8
cmovae rax, qword [rbp + 0x70]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r13w
jmp 0x1400137c0
movzx r8d, dil
mov edx, 1
lea rcx, [rbp + 0x70]
call fcn.140010930
inc rsi
mov r14, qword [rbp + 0x88]
cmp rsi, rbx
je 0x1400137d8
mov rcx, qword [rbp + 0x80]
jmp 0x140013780
mov r13, qword [rsp + 0x78]
xor edi, edi
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x160]
call fcn.14005e450
lea rdx, [rbp + 0x70]
cmp r14, 8
cmovae rdx, qword [rbp + 0x70]
lea rcx, [rbp + 0x160]
call fcn.14000dd40
nop
mov r8d, 0x840368
lea rdx, [0x1400a3e50]
lea rcx, [rbp + 0x160]
call fcn.14000ec90
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
lea rcx, [rbp + 0x168]
test byte [rdx + rax + 0x10], 6
je 0x140013921
call fcn.14000f3f0
test rax, rax
jne 0x14001387c
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x160]
add rcx, rax
mov edx, 6
mov ebx, 2
cmp qword [rcx + 0x48], 0
cmovne edx, ebx
or edx, dword [rcx + 0x10]
xor r8d, r8d
call fcn.14000b2c0
nop
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x160], rax
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x15c], edx
lea rcx, [rbp + 0x168]
call fcn.14000ea10
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x160], rax
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x15c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x208], rax
lea rcx, [rbp + 0x208]
call fcn.14005a894
nop
lea rcx, str.____failed_to_CreateFileFromMemory_for_overwrite_driver_n
call fcn.140011030
call fcn.140014900
mov r14, 0xffffffffffffffff
jmp 0x14001445e
call fcn.14000f3f0
mov ebx, 2
test rax, rax
jne 0x14001395e
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x160]
add rcx, rax
mov edx, 6
cmp qword [rcx + 0x48], 0
cmovne edx, ebx
or edx, dword [rcx + 0x10]
xor r8d, r8d
call fcn.14000b2c0
nop
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x160], rax
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x15c], edx
lea rcx, [rbp + 0x168]
call fcn.14000ea10
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x160], rax
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x15c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x208], rax
lea rcx, [rbp + 0x208]
call fcn.14005a894
nop
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0x10
cmovae rdx, qword [rbp + 0x90]
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], recv
mov r14, 0xffffffffffffffff
mov r8, r14
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140013a20
lea rcx, [rbp - 0x28]
call fcn.140003650
mov r9d, r12d
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x100]
call fcn.140012ae0
nop
cmp dword [rbp + 0x148], 0
jne 0x140013a66
lea rcx, str.____failed_to_get_info_for_potential_driver._n
call fcn.140011030
call fcn.140014900
jmp 0x140014451
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov r8d, socket
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rbp - 0x80]
call fcn.14000f710
mov qword [rbp + 0x18], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x18]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140013ab0
mov bl, 1
jmp 0x140013b28
mov qword [rbp + 0x30], rdi
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
lea r8, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x140013ad6
mov bl, 1
jmp 0x140013b28
mov dword [rbp + 0xd0], 1
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0xd4], rax
mov dword [rbp + 0xdc], ebx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp + 0xd0]
xor edx, edx
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140013b1c
mov bl, 1
jmp 0x140013b28
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140013b68
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013b63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014531
call fcn.14005c324
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], di
test bl, bl
jne 0x140014042
mov rdi, qword [rbp + 0x110]
lea rbx, [rbp + 0x100]
cmp qword [rbp + 0x118], 0x10
cmovae rbx, qword [rbp + 0x100]
call fcn.14005afa0
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], rdi
lea r8, [rbp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1400113f0
nop
xor edi, edi
mov qword [rbp - 0x60], rdi
movdqa xmm0, xmmword [0x1400927d0]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], di
mov dword [rbp + 0x28], recv
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.140011e80
test eax, eax
jne 0x140014537
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x60]
call fcn.140011540
nop
lea r9d, [rdi + 4]
lea r8, [0x140091a7c]
xor edx, edx
mov rcx, rax
call fcn.140009fb0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], recv
mov byte [rax], dil
mov dword [rbp + 0x28], 0x1e
mov qword [rbp + 0x38], rdi
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x50], recv
mov byte [rbp + 0x38], dil
lea r8d, [rdi + 0x22]
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp + 0x38]
call fcn.140003650
nop
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x38]
call fcn.140008980
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0x10
cmovae rdx, qword [rbp + 0x38]
lea r8, [rbp + 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x140013ce7
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x140013ce0
inc rdx
mov rcx, qword [rbp + 0x38]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140013cdb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014544
call fcn.14005c324
xor bl, bl
jmp 0x140013e12
mov byte [rbp + 0x21], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x140091a1c]
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140013ca5
mov byte [rbp + 0x22], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x22]
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 0x140013ca5
mov byte [rbp + 0x20], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x20]
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 0x140013ca5
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rcx, qword [rsp + 0x58]
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140091a40]
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140013ca5
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
sete bl
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x140013e12
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013e0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014544
call fcn.14005c324
mov byte [rbp + 0x38], 0
mov qword [rbp + 0x50], recv
mov qword [rbp + 0x48], rdi
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140013e5f
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013e5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001454a
call fcn.14005c324
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], recv
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x140013ead
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013ea8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014550
call fcn.14005c324
mov qword [rbp + 8], rdi
mov qword [rbp + 0x10], recv
mov byte [rbp - 8], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140013efd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013ef8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014556
call fcn.14005c324
movdqa xmm0, xmmword [0x1400927d0]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], di
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140013f50
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013f4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001455c
call fcn.14005c324
movdqa xmm0, xmmword [0x1400927d0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], di
test bl, bl
je 0x140014042
mov qword [rbp + 0xb0], rdi
mov qword [rbp + 0xc0], rdi
mov qword [rbp + 0xc8], recv
mov byte [rbp + 0xb0], 0
mov r8d, 0x34
lea rdx, [0x140091a88]
lea rcx, [rbp + 0xb0]
call fcn.140003650
nop
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0xb0]
call fcn.140008980
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0x10
cmovae rdx, qword [rbp + 0xb0]
lea rcx, [rbp + 0x150]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x140014042
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001403d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001455c
call fcn.14005c324
lea rdx, [rbp + 0x120]
cmp qword [rbp + 0x138], 0x10
cmovae rdx, qword [rbp + 0x120]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], recv
mov byte [rsp + 0x30], 0
mov r8, r14
inc r8
cmp byte [rdx + r8], 0
jne 0x140014074
lea rcx, [rsp + 0x30]
call fcn.140003650
nop
lea rcx, [rsp + 0x30]
call fcn.140019f10
mov rbx, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400140d3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400140ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014562
call fcn.14005c324
test rbx, rbx
jne 0x1400140e2
call fcn.140014900
jmp 0x14001444e
mov esi, dword [rbp + 0x140]
add rsi, rbx
mov ebx, reloc.WS2_32.dll_recv
mov rax, qword gs:[0x58]
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x1408e993c], eax
jle 0x1400141a8
lea rcx, [0x1408e993c]
call fcn.14005bf78
cmp dword [0x1408e993c], 0xffffffff
jne 0x1400141a8
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], recv
mov byte [rsp + 0x30], 0
mov r8d, recv
lea rdx, [0x140091748]
lea rcx, [rsp + 0x30]
call fcn.140003650
nop
lea rcx, [rsp + 0x30]
call fcn.140019f10
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14001419c
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014196
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014568
call fcn.14005c324
nop
lea rcx, [0x1408e993c]
call fcn.14005bf18
mov eax, dword [rbx]
cmp dword [0x1408e994c], eax
jle 0x1400141df
lea rcx, [0x1408e994c]
call fcn.14005bf78
cmp dword [0x1408e994c], 0xffffffff
jne 0x1400141df
call fcn.140012130
mov qword [0x1408e98d0], rax
lea rcx, [0x1408e994c]
call fcn.14005bf18
mov eax, dword [rbx]
cmp dword [0x1408e995c], eax
jle 0x140014216
lea rcx, [0x1408e995c]
call fcn.14005bf78
cmp dword [0x1408e995c], 0xffffffff
jne 0x140014216
call fcn.140012590
mov qword [0x1408e9970], rax
lea rcx, [0x1408e995c]
call fcn.14005bf18
cmp qword [0x1408e98d0], 0
je 0x140014451
mov r8, qword [0x1408e9970]
test r8, r8
je 0x140014451
mov rbx, rsi
lea r14, [rsi + r12]
cmp rsi, r14
jae 0x140014328
movabs r12, 0x7ffffffffffffffd
xor r13d, r13d
mov qword [rbp + 0x30], r13
mov r9, rbx
lea rdx, [rbp + 0x30]
mov rcx, r15
call fcn.140017340
test al, al
je 0x140014309
mov qword [rbp + 0x60], r13
mov r9d, 8
mov rdi, qword [rbp + 0x30]
mov r8, rdi
lea rdx, [rbp + 0x60]
mov rcx, r15
call fcn.14000c3f0
test al, al
je 0x140014309
mov rax, qword [rbp + 0x60]
mov rcx, r15
test al, al
jns 0x1400142a9
and rax, r12
or rax, 2
mov qword [rbp + 0x60], rax
lea r8, [rbp + 0x60]
jmp 0x1400142fb
mov qword [rbp + 0x30], r13
mov r9, rbx
mov r8, qword [0x1408e98d0]
lea rdx, [rbp + 0x30]
call fcn.140017340
test al, al
je 0x140014309
mov qword [rbp + 0x28], r13
mov r9d, 8
mov rdi, qword [rbp + 0x30]
mov r8, rdi
lea rdx, [rbp + 0x28]
mov rcx, r15
call fcn.14000c3f0
test al, al
je 0x140014309
mov rax, qword [rbp + 0x28]
and rax, r12
or rax, 2
mov qword [rbp + 0x28], rax
lea r8, [rbp + 0x28]
mov rcx, r15
mov r9d, 8
mov rdx, rdi
call fcn.14000c3f0
add rbx, 0x1000
cmp rbx, r14
jae 0x140014321
mov r8, qword [0x1408e9970]
jmp 0x140014251
mov r13, qword [rsp + 0x78]
xor edi, edi
mov r8d, dword [r13 + 0x54]
mov r12, qword [rbp - 0x40]
mov rdx, r12
mov r14, qword [rsp + 0x50]
mov rcx, r14
call fcn.14005e640
movzx ebx, word [r13 + 0x14]
add rbx, 0x24
xor eax, eax
cmp ax, word [r13 + 6]
jae 0x140014381
add rbx, r13
test dword [rbx + 0x18], 0x80
ja 0x140014372
mov ecx, dword [rbx]
add rcx, r14
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 8]
add rdx, r12
call fcn.14005e640
inc edi
add rbx, 0x28
movzx eax, word [r13 + 6]
cmp edi, eax
jl 0x140014355
mov rbx, rsi
sub rbx, qword [r13 + 0x30]
mov rdx, r14
lea rcx, [rbp + 0xe0]
call fcn.140018c00
mov rdx, rbx
mov rcx, rax
call fcn.140014580
mov rdx, r14
lea rcx, [rbp + 0xe0]
call fcn.140018d50
mov rdx, rax
mov rcx, r15
call fcn.140014680
test al, al
je 0x14001443b
mov r9, qword [rbp - 0x38]
mov r8, r14
mov rdx, rsi
mov rcx, r15
call fcn.14000c3f0
xor edi, edi
test al, al
je 0x14001443d
mov r8d, dword [r13 + 0x28]
add r8, rsi
mov dword [rbp + 0x28], edi
lea rdx, [rbp + 0x28]
mov rcx, r15
call fcn.140017530
test al, al
je 0x14001443d
mov ebx, dword [rbp + 0x28]
mov rax, qword [rbp - 0x30]
test rax, rax
je 0x140014400
mov dword [rax], ebx
lea rdx, str.___DriverEntry_returned:
lea rcx, [0x1408e87a0]
call fcn.140017720
mov edx, ebx
mov rcx, rax
call fcn.140014a90
mov rcx, rax
call fcn.140017990
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r14, rsi
jmp 0x140014451
xor edi, edi
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r14, rdi
lea rcx, [rbp + 0x100]
call fcn.140013470
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x1400144a1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001449c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001456e
call fcn.14005c324
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], di
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x1400144f4
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400144ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001452b
call fcn.14005c324
mov rax, r14
jmp 0x1400144fb
xor eax, eax
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.14005bdd0
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140027658
nop
call fcn.140027658
nop
lea r8, [rsp + 0x30]
mov edx, eax
call fcn.140011db0
nop
call fcn.140027658
nop
call fcn.140027658
nop
call fcn.140027658
nop
call fcn.140027658
nop
call fcn.140027658
int3
call fcn.140027658
nop
call fcn.140027658
nop
call fcn.140027658
int3