Function at 0x140083720
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov r12, rdx
mov r14, rcx
xor esi, esi
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x68], rsi
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x140084471
movsxd rdi, dword [rdx + 0x3c]
add rdi, rdx
cmp dword [rdi], 0x4550
jne 0x140084471
mov eax, 0x20b
cmp word [rdi + 0x18], ax
je 0x1400838a7
lea r8d, [rsi + 1]
lea rdx, str.C:_bKernellog.log
lea rcx, [rsp + 0x50]
call fcn.1400779b0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
cmp dword [rsp + rcx + 0x60], esi
jne 0x140083836
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
lea ecx, [rsi + 0x20]
call fcn.1400ba130
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [0x14013ded0]
movdqu xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [str.____Image_is_not_64_bit_n]
movups xmmword [rax], xmm1
movsd xmm0, qword [0x14013cd50]
movsd qword [rax + 0x10], xmm0
mov byte [rax + 0x18], sil
lea rcx, [rsp + 0x30]
call fcn.14006d5d0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140083836
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083830
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400845d6
call fcn.1400b9d58
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rdi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x60]
call fcn.14005deb0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rsi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x4c], edx
lea rbx, vtable.std::ios_base.0
mov qword [rbp], rbx
lea rcx, [rbp]
call fcn.1400bb848
nop
jmp 0x1400845b3
mov ebx, dword [rdi + 0x50]
mov edx, ebx
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r15, rax
test rax, rax
je 0x1400845b3
movzx eax, word [rdi + 0x14]
mov eax, dword [rax + rdi + 0x24]
mov dword [rbp + 0xd0], eax
sub ebx, eax
mov dword [rbp + 0xd8], ebx
mov qword [rbp + 0xc0], rsi
mov r13d, ebx
mov eax, dword [rbp + 0xe0]
mov rcx, r14
cmp eax, 1
jne 0x140083909
lea r8, [rbp + 0xc0]
mov edx, r13d
call fcn.140082d00
jmp 0x14008391f
cmp eax, 2
jne 0x140083917
mov edx, ebx
call fcn.140083420
jmp 0x14008391f
mov r8, r13
call fcn.140071af0
mov rbx, rax
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xb8], rax
test rax, rax
jne 0x140083a8c
lea r8d, [rax + 1]
lea rdx, str.C:_bKernellog.log
lea rcx, [rsp + 0x50]
call fcn.1400779b0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
cmp dword [rsp + rcx + 0x60], ebx
jne 0x140083a0a
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
lea ecx, [rbx + 0x30]
call fcn.1400ba130
mov rcx, rax
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [0x14013e010]
movdqu xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [str.____Failed_to_allocate_remote_image_in_kernel_n]
movups xmmword [rax], xmm1
movups xmm0, xmmword [0x14013cd70]
movups xmmword [rax + 0x10], xmm0
movsd xmm0, qword [0x14013cd80]
movsd qword [rax + 0x20], xmm0
mov eax, dword [0x14013cd88]
mov dword [rcx + 0x28], eax
movzx eax, word [0x14013cd8c]
mov word [rcx + 0x2c], ax
mov byte [rcx + 0x2e], bl
lea rcx, [rsp + 0x30]
call fcn.14006d5d0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140083a0a
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083a04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400845dc
call fcn.1400b9d58
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rdi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x60]
call fcn.14005deb0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rsi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x4c], edx
lea rbx, vtable.std::ios_base.0
mov qword [rbp], rbx
lea rcx, [rbp]
call fcn.1400bb848
nop
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1400845b3
lea rdx, str.___Image_base_has_been_allocated_at_0x
lea rcx, [0x140242640]
call fcn.140079cb0
mov rdx, rbx
mov rcx, rax
call fcn.140078080
mov rcx, rax
call fcn.140079f70
mov r8d, dword [rdi + 0x54]
mov rdx, r12
mov rcx, r15
call fcn.1400f18a0
movzx eax, word [rdi + 0x14]
add rax, 0x24
xor ecx, ecx
cmp cx, word [rdi + 6]
jae 0x140083b07
lea rbx, [rax + rdi]
test dword [rbx + 0x18], 0x80
ja 0x140083af2
mov ecx, dword [rbx]
add rcx, r15
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 8]
add rdx, r12
call fcn.1400f18a0
inc esi
add rbx, 0x28
movzx eax, word [rdi + 6]
cmp esi, eax
jl 0x140083ad5
mov rbx, qword [rbp + 0xc8]
mov rsi, rbx
mov r12d, dword [rbp + 0xd0]
sub rbx, r12
mov qword [rbp + 0xc8], rbx
lea rdx, str.___Skipped_0x
lea rcx, [0x140242640]
call fcn.140079cb0
mov rcx, qword [rax]
movsxd r8, dword [rcx + 4]
mov ecx, dword [r8 + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [r8 + rax + 0x18], ecx
mov edx, r12d
mov rcx, rax
call fcn.140082ad0
mov rcx, rax
lea rdx, str._bytes_of_PE_Header
call fcn.140079cb0
mov rcx, rax
call fcn.140079f70
sub rbx, qword [rdi + 0x30]
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.140085740
mov rdx, rbx
mov rcx, rax
call fcn.1400845f0
mov rbx, qword [rbp + 0xc8]
mov rdx, rbx
mov rcx, r15
call fcn.1400846f0
test al, al
jne 0x140083c89
mov r8d, 1
lea rdx, str.C:_bKernellog.log
lea rcx, [rsp + 0x50]
call fcn.1400779b0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
cmp dword [rsp + rcx + 0x60], 0
jne 0x140083c18
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0x19
lea rdx, str.____Failed_to_fix_cookie_n
lea rcx, [rsp + 0x30]
call fcn.140061160
nop
lea rcx, [rsp + 0x30]
call fcn.14006d5d0
nop
mov r8, qword [rsp + 0x48]
cmp r8, 0xf
jbe 0x140083c18
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14005f2b0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rdi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x60]
call fcn.14005deb0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rsi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x4c], edx
lea rbx, vtable.std::ios_base.0
mov qword [rbp], rbx
lea rcx, [rbp]
call fcn.1400bb848
nop
jmp 0x1400845b3
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.140085870
mov rdx, rax
mov rcx, r14
call fcn.140084940
test al, al
jne 0x140083d98
mov r8d, 1
lea rdx, str.C:_bKernellog.log
lea rcx, [rsp + 0x50]
call fcn.1400779b0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
cmp dword [rsp + rcx + 0x60], 0
jne 0x140083d20
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0x1e
lea rdx, str.____Failed_to_resolve_imports_n
lea rcx, [rsp + 0x30]
call fcn.140061160
nop
lea rcx, [rsp + 0x30]
call fcn.14006d5d0
nop
mov r8, qword [rsp + 0x48]
cmp r8, 0xf
jbe 0x140083d20
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14005f2b0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rdi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x60]
call fcn.14005deb0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rsi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x4c], edx
lea rbx, vtable.std::ios_base.0
mov qword [rbp], rbx
lea rcx, [rbp]
call fcn.1400bb848
nop
mov r12, qword [rbp + 0xc0]
jmp 0x1400840ee
lea r8, [r15 + r12]
mov r9, r13
mov rdx, rsi
mov rcx, r14
call fcn.14006ff70
test al, al
jne 0x140083ea1
mov r8d, 1
lea rdx, str.C:_bKernellog.log
lea rcx, [rsp + 0x50]
call fcn.1400779b0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
cmp dword [rsp + rcx + 0x60], 0
jne 0x140083e29
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0x30
lea rdx, str.____Failed_to_write_local_image_to_remote_image_n
lea rcx, [rsp + 0x30]
call fcn.140061160
nop
lea rcx, [rsp + 0x30]
call fcn.14006d5d0
nop
mov r8, qword [rsp + 0x48]
cmp r8, 0xf
jbe 0x140083e29
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14005f2b0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rdi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x60]
call fcn.14005deb0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rsi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x4c], edx
lea rbx, vtable.std::ios_base.0
mov qword [rbp], rbx
lea rcx, [rbp]
call fcn.1400bb848
nop
mov r12, qword [rbp + 0xc0]
jmp 0x1400840ee
mov edi, dword [rdi + 0x28]
add rdi, rbx
lea rdx, str.____Calling_DriverEntry_0x
lea rcx, [0x140242640]
call fcn.140079cb0
mov rdx, rdi
mov rcx, rax
call fcn.140078080
mov rcx, rax
call fcn.140079f70
mov r12, qword [rbp + 0xc0]
mov qword [rsp + 0x20], r12
mov r9, r13
mov r8, rsi
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x68]
call fcn.140082600
test al, al
jne 0x140083fdc
mov r8d, 1
lea rdx, str.C:_bKernellog.log
lea rcx, [rsp + 0x50]
call fcn.1400779b0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
cmp dword [rsp + rcx + 0x60], 0
jne 0x140083f6b
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0x24
lea rdx, str.____Callback_returns_false__failed__n
lea rcx, [rsp + 0x30]
call fcn.140061160
nop
lea rcx, [rsp + 0x30]
call fcn.14006d5d0
nop
mov r8, qword [rsp + 0x48]
cmp r8, 0xf
jbe 0x140083f6b
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14005f2b0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rdi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x60]
call fcn.14005deb0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rsi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x4c], edx
lea rbx, vtable.std::ios_base.0
mov qword [rbp], rbx
lea rcx, [rbp]
call fcn.1400bb848
nop
jmp 0x1400840ee
xor eax, eax
mov dword [rbp + 0xd0], eax
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x68]
mov r8, rdi
lea rdx, [rbp + 0xd0]
mov rcx, r14
call fcn.140084e60
test al, al
jne 0x140084404
mov r8d, 1
lea rdx, str.C:_bKernellog.log
lea rcx, [rsp + 0x50]
call fcn.1400779b0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
cmp dword [rsp + rcx + 0x60], 0
jne 0x140084082
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0x20
lea rdx, str.____Failed_to_call_driver_entry_n
lea rcx, [rsp + 0x30]
call fcn.140061160
nop
lea rcx, [rsp + 0x30]
call fcn.14006d5d0
nop
mov r8, qword [rsp + 0x48]
cmp r8, 0xf
jbe 0x140084082
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14005f2b0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rdi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x60]
call fcn.14005deb0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rsi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x4c], edx
lea rbx, vtable.std::ios_base.0
mov qword [rbp], rbx
lea rcx, [rbp]
call fcn.1400bb848
nop
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rdx, str.___Freeing_memory
lea rcx, [0x140242640]
call fcn.140079cb0
mov rcx, rax
call fcn.140079f70
mov eax, dword [rbp + 0xe0]
mov rdx, qword [rbp + 0xb8]
mov rcx, r14
cmp eax, 1
jne 0x1400842f5
mov r8, r12
call fcn.1400715e0
test al, al
je 0x140084153
mov rdx, r12
mov rcx, r14
call fcn.140071870
test al, al
je 0x140084153
test r12, r12
jne 0x14008415a
xor al, al
jmp 0x14008430d
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1402476b0], eax
jle 0x140084206
lea rcx, [0x1402476b0]
call fcn.1400b9e78
cmp dword [0x1402476b0], 0xffffffff
jne 0x140084206
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x14013de70]
movdqu xmmword [rsp + 0x40], xmm1
movsd xmm0, qword [str.ExFreePool]
movsd qword [rsp + 0x30], xmm0
movzx eax, word [0x14013bee0]
mov word [rsp + 0x38], ax
mov byte [rsp + 0x3a], 0
lea r8, [rsp + 0x30]
mov rdx, qword [0x1402440b8]
mov rcx, r14
call fcn.1400720b0
mov qword [0x140247668], rax
mov r8, qword [rsp + 0x48]
cmp r8, 0xf
jbe 0x1400841fa
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14005f2b0
nop
lea rcx, [0x1402476b0]
call fcn.1400b9e0c
mov r8, qword [0x140247668]
test r8, r8
jne 0x1400842e8
mov r8d, 1
lea rdx, str.C:_bKernellog.log
lea rcx, [rsp + 0x50]
call fcn.1400779b0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
cmp dword [rsp + rcx + 0x60], 0
jne 0x14008428d
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0x22
lea rdx, str.____Failed_to_find_ExAllocatePool_n
lea rcx, [rsp + 0x30]
call fcn.140061160
nop
lea rcx, [rsp + 0x30]
call fcn.14006d5d0
nop
mov r8, qword [rsp + 0x48]
cmp r8, 0xf
jbe 0x14008428d
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14005f2b0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], rdi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x60]
call fcn.14005deb0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], rsi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x4c], edx
mov qword [rbp], rbx
lea rcx, [rbp]
call fcn.1400bb848
nop
xor al, al
jmp 0x14008430d
mov r9, r12
mov rcx, r14
call fcn.14007a010
jmp 0x14008430d
cmp eax, 2
jne 0x140084308
mov r8d, dword [rbp + 0xd8]
call fcn.140070580
jmp 0x14008430d
call fcn.140071e40
test al, al
je 0x140084331
lea rdx, str.___Memory_has_been_released
lea rcx, [0x140242640]
call fcn.140079cb0
mov rcx, rax
call fcn.140079f70
jmp 0x1400845b3
mov r8d, 1
lea rdx, str.C:_bKernellog.log
lea rcx, [rsp + 0x50]
call fcn.1400779b0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
cmp dword [rsp + rcx + 0x60], 0
jne 0x1400843a8
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0x24
lea rdx, str.____WARNING:_Failed_to_free_memory__n
lea rcx, [rsp + 0x30]
call fcn.140061160
nop
lea rcx, [rsp + 0x30]
call fcn.14006d5d0
nop
mov r8, qword [rsp + 0x48]
cmp r8, 0xf
jbe 0x1400843a8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14005f2b0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], rdi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x60]
call fcn.14005deb0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], rsi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x4c], edx
mov qword [rbp], rbx
lea rcx, [rbp]
call fcn.1400bb848
nop
jmp 0x1400845b3
mov ebx, dword [rbp + 0xd0]
mov rax, qword [rbp + 0xf8]
test rax, rax
je 0x140084418
mov dword [rax], ebx
lea rdx, str.___DriverEntry_returned_0x
lea rcx, [0x140242640]
call fcn.140079cb0
mov rcx, qword [rax]
movsxd r8, dword [rcx + 4]
mov ecx, dword [r8 + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [r8 + rax + 0x18], ecx
mov edx, ebx
mov rcx, rax
call fcn.140084c10
mov rcx, rax
call fcn.140079f70
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rsi
jmp 0x1400845b5
mov r8d, 1
lea rdx, str.C:_bKernellog.log
lea rcx, [rsp + 0x50]
call fcn.1400779b0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
cmp dword [rsp + rcx + 0x60], 0
jne 0x140084547
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov ecx, 0x20
call fcn.1400ba130
mov rdx, rax
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [0x14013df30]
movdqu xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [str.____Invalid_format_of_PE_image_n]
movups xmmword [rax], xmm1
movsd xmm0, qword [0x14013cd30]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x14013cd38]
mov dword [rax + 0x18], ecx
movzx eax, word [0x14013cd3c]
mov word [rdx + 0x1c], ax
movzx eax, byte [0x14013cd3e]
mov byte [rdx + 0x1e], al
mov byte [rdx + 0x1f], 0
lea rcx, [rsp + 0x30]
call fcn.14006d5d0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140084547
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084541
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400845d0
call fcn.1400b9d58
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rdi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x60]
call fcn.14005deb0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rsi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x4c], edx
lea rbx, vtable.std::ios_base.0
mov qword [rbp], rbx
lea rcx, [rbp]
call fcn.1400bb848
nop
xor eax, eax
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400d3378
nop
call fcn.1400d3378
nop
call fcn.1400d3378
int3