Function at 0x1400d2250
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1b8
mov rcx, qword [rsp + 0x1d8]
call fcn.1400d4300
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400d22be
lea rdx, str.____Invalid_format_of_PE_image
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400ce3d0
mov qword [rsp + 0x98], rax
lea rdx, [0x1400ce7a0]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor eax, eax
jmp 0x1400d2c42
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400d2305
lea rdx, str.____Image_is_not_64_bit
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400ce3d0
mov qword [rsp + 0xa0], rax
lea rdx, [0x1400ce7a0]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor eax, eax
jmp 0x1400d2c42
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400d233f
xor eax, eax
jmp 0x1400d2c42
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 0x24]
mov dword [rsp + 0x70], eax
movzx eax, byte [rsp + 0x1f8]
test eax, eax
je 0x1400d236b
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x78], eax
jmp 0x1400d2373
mov dword [rsp + 0x78], 0
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x68], 0
cmp dword [rsp + 0x200], 1
jne 0x1400d23be
mov eax, dword [rsp + 0x38]
lea r8, [rsp + 0x68]
mov edx, eax
mov rcx, qword [rsp + 0x1d0]
call fcn.1400d1ea0
mov qword [rsp + 0x40], rax
jmp 0x1400d23fb
cmp dword [rsp + 0x200], 2
jne 0x1400d23e0
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x1d0]
call fcn.1400d2180
mov qword [rsp + 0x40], rax
jmp 0x1400d23fb
mov eax, dword [rsp + 0x38]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x1d0]
call fcn.1400cb8b0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400d244d
lea rdx, str.____Failed_to_allocate_remote_image_in_kernel
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400ce3d0
mov qword [rsp + 0xa8], rax
lea rdx, [0x1400ce7a0]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_VirtualFree]
xor eax, eax
jmp 0x1400d2c42
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x54]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x1d8]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x48], 0
jmp 0x1400d2495
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x48], eax
jge 0x1400d253c
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x80
test eax, eax
jbe 0x1400d24c8
jmp 0x1400d248b
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x10]
movsxd rcx, dword [rsp + 0x48]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x80]
mov ecx, dword [rdx + rcx + 0x14]
mov rdx, qword [rsp + 0x1d8]
add rdx, rcx
mov rcx, rdx
mov rdi, qword [rsp + 0xb0]
mov rsi, rcx
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
jmp 0x1400d248b
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
movzx eax, byte [rsp + 0x1f8]
test eax, eax
je 0x1400d2566
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x178]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xb8]
call fcn.1400d4360
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
call fcn.1400d2c50
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call fcn.1400d2d50
movzx eax, al
test eax, eax
jne 0x1400d261e
lea rdx, str.____Failed_to_fix_cookie
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400ce3d0
mov qword [rsp + 0xd8], rax
lea rdx, [0x1400ce7a0]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor eax, eax
jmp 0x1400d2c42
lea rax, [rsp + 0x190]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xe0]
call fcn.1400d4510
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x1d0]
call fcn.1400d2f30
movzx eax, al
test eax, eax
jne 0x1400d26a3
lea rdx, str.____Failed_to_resolve_imports
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400ce3d0
mov qword [rsp + 0xf0], rax
lea rdx, [0x1400ce7a0]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
jmp 0x1400d2acb
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0xf8], rax
movzx eax, byte [rsp + 0x1f8]
test eax, eax
je 0x1400d26c5
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x7c], eax
jmp 0x1400d26cd
mov dword [rsp + 0x7c], 0
mov eax, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov r9, qword [rsp + 0xf8]
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x1d0]
call fcn.1400cad20
movzx eax, al
test eax, eax
jne 0x1400d273f
lea rdx, str.____Failed_to_write_local_image_to_remote_image
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400ce3d0
mov qword [rsp + 0x100], rax
lea rdx, [0x1400ce7a0]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
jmp 0x1400d2acb
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x120], rax
cmp qword [rsp + 0x210], 0
je 0x1400d27ec
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x108], rax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x1e0]
call qword [rsp + 0x108]
movzx eax, al
test eax, eax
jne 0x1400d27ec
lea rdx, str.____Callback_returns_false__failed_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400ce3d0
mov qword [rsp + 0x110], rax
lea rdx, [0x1400ce7a0]
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
jmp 0x1400d2acb
mov dword [rsp + 0x74], 0
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x118], rax
movzx eax, byte [rsp + 0x208]
test eax, eax
je 0x1400d281f
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x90], rax
jmp 0x1400d282f
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x90]
mov r8, qword [rsp + 0x120]
lea rdx, [rsp + 0x74]
mov rcx, qword [rsp + 0x1d0]
call fcn.1400d32d0
movzx eax, al
test eax, eax
jne 0x1400d28a4
lea rdx, str.____Failed_to_call_driver_entry
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400ce3d0
mov qword [rsp + 0x128], rax
lea rdx, [0x1400ce7a0]
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
jmp 0x1400d2acb
cmp qword [rsp + 0x218], 0
je 0x1400d28bd
mov rax, qword [rsp + 0x218]
mov ecx, dword [rsp + 0x74]
mov dword [rax], ecx
lea rdx, str.___DriverEntry_returned_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400ce3d0
mov qword [rsp + 0x130], rax
lea rdx, [0x14000d610]
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov qword [rsp + 0x138], rax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x88], eax
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
mov qword [rsp + 0x140], rax
lea rdx, [0x1400ce7a0]
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
movzx eax, byte [rsp + 0x1f0]
test eax, eax
je 0x1400d2aa4
lea rdx, [0x1401926e0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400ce3d0
mov qword [rsp + 0x148], rax
lea rdx, [0x1400ce7a0]
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov byte [rsp + 0x30], 0
cmp dword [rsp + 0x200], 1
jne 0x1400d29fc
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x1d0]
call fcn.1400cb6d0
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400d29ac
mov byte [rsp + 0x32], 0
jmp 0x1400d29c2
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x1d0]
call fcn.1400cb7d0
mov byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400d29db
mov byte [rsp + 0x33], 0
jmp 0x1400d29f1
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x1d0]
call fcn.1400cb9e0
mov byte [rsp + 0x33], al
movzx eax, byte [rsp + 0x33]
mov byte [rsp + 0x30], al
jmp 0x1400d2a39
cmp dword [rsp + 0x200], 2
jne 0x1400d2a23
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x1d0]
call fcn.1400cb070
mov byte [rsp + 0x30], al
jmp 0x1400d2a39
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x1d0]
call fcn.1400cb9e0
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400d2a74
lea rdx, [0x1401926a0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400ce3d0
mov qword [rsp + 0x150], rax
lea rdx, [0x1400ce7a0]
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
jmp 0x1400d2aa4
lea rdx, [0x140192730]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400ce3d0
mov qword [rsp + 0x158], rax
lea rdx, [0x1400ce7a0]
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_VirtualFree]
mov rax, qword [rsp + 0x58]
jmp 0x1400d2c42
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_VirtualFree]
lea rdx, str.___Freeing_memory
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400ce3d0
mov qword [rsp + 0x160], rax
lea rdx, [0x1400ce7a0]
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov byte [rsp + 0x31], 0
cmp dword [rsp + 0x200], 1
jne 0x1400d2b98
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x1d0]
call fcn.1400cb6d0
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x1400d2b48
mov byte [rsp + 0x34], 0
jmp 0x1400d2b5e
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x1d0]
call fcn.1400cb7d0
mov byte [rsp + 0x34], al
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x1400d2b77
mov byte [rsp + 0x35], 0
jmp 0x1400d2b8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x1d0]
call fcn.1400cb9e0
mov byte [rsp + 0x35], al
movzx eax, byte [rsp + 0x35]
mov byte [rsp + 0x31], al
jmp 0x1400d2bd5
cmp dword [rsp + 0x200], 2
jne 0x1400d2bbf
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x1d0]
call fcn.1400cb070
mov byte [rsp + 0x31], al
jmp 0x1400d2bd5
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x1d0]
call fcn.1400cb9e0
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x1400d2c10
lea rdx, str.___Memory_has_been_released
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400ce3d0
mov qword [rsp + 0x168], rax
lea rdx, [0x1400ce7a0]
mov rcx, qword [rsp + 0x168]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
jmp 0x1400d2c40
lea rdx, str.____WARNING:_Failed_to_free_memory_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400ce3d0
mov qword [rsp + 0x170], rax
lea rdx, [0x1400ce7a0]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor eax, eax
add rsp, 0x1b8
pop rdi
pop rsi
ret