Function at 0x140009bb0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], r8
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x208
mov rcx, qword [rsp + 0x220]
call fcn.14000b1f0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140009c35
lea rdx, str.____Invalid_format_of_PE_image
mov rcx, qword [0x140013258]
call fcn.140002a80
mov qword [rsp + 0xa8], rax
lea rdx, [0x140002e90]
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 qword [rsp + 0xb0], rax
lea rdx, [0x140002e90]
mov rcx, qword [rsp + 0xb0]
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 0x14000a47d
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140009c99
lea rdx, str.____Image_is_not_64_bit
mov rcx, qword [0x140013258]
call fcn.140002a80
mov qword [rsp + 0xb8], rax
lea rdx, [0x140002e90]
mov rcx, qword [rsp + 0xb8]
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 qword [rsp + 0xc0], rax
lea rdx, [0x140002e90]
mov rcx, qword [rsp + 0xc0]
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 0x14000a47d
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x50]
mov qword [rsp + 0x48], rax
mov r9d, 4
mov r8d, 0x3000
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140009cd3
xor eax, eax
jmp 0x14000a47d
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x24]
mov dword [rsp + 0x78], eax
movzx eax, byte [rsp + 0x228]
test eax, eax
je 0x140009cff
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x58], eax
jmp 0x140009d07
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xd0], 0xffffffffffffffff
xor edx, edx
mov rax, qword [rsp + 0x48]
mov ecx, 0x1000
div rcx
inc rax
mov qword [rsp + 0xc8], rax
imul rax, qword [rsp + 0xc8], 0x1000
mov r9, rax
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x98]
call fcn.140001540
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x140009dbd
lea rdx, str.Failed_to_AllocateMdlForPages_
mov rcx, qword [0x140013258]
call fcn.140002a80
mov qword [rsp + 0xd8], rax
lea rdx, [0x140002e90]
mov rcx, qword [rsp + 0xd8]
invalid
invalid
invalid
push rax
invalid