Function at 0x140005970
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1040
call fcn.14008ca20
sub rsp, rax
mov rax, qword [0x1400b9080]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov qword [rsp + 0x20], r9
mov r12, r8
mov r13, rcx
test r8, r8
je 0x140005b98
mov r9d, 0x1000
lea rdx, [rsp + 0x30]
call fcn.140003ab0
test al, al
jne 0x1400059d3
lea rdx, str.____Cant_read_module_headers
jmp 0x140005b7c
mov rsi, 0xffffffffffffffff
lea rdx, str.PAGE
mov rdi, rsi
inc rdi
cmp byte [rdx + rdi], 0
jne 0x1400059e4
movsxd rax, dword [rsp + 0x6c]
lea rcx, [rsp + 0x30]
add rcx, rax
xor ebp, ebp
movzx eax, word [rcx + 0x14]
lea r15, [rcx + 0x18]
movzx r14d, word [rcx + 6]
add r15, rax
test r14d, r14d
je 0x140005b75
nop word [rax + rax]
lea rcx, [rbp*4]
mov r8, rdi
add rcx, rbp
lea rbx, [r15 + rcx*8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140005a4f
mov rax, rsi
inc rax
cmp byte [rbx + rax], 0
jne 0x140005a41
cmp rdi, rax
je 0x140005a63
inc ebp
cmp ebp, r14d
jae 0x140005b75
lea rdx, str.PAGE
jmp 0x140005a20
mov eax, dword [rbx + 0xc]
lea rbp, [rsp + 0x30]
mov ecx, dword [rbx + 8]
add rbp, rax
je 0x140005b75
test ecx, ecx
je 0x140005b75
lea rax, [rsp + 0x30]
mov edi, ecx
sub rbp, rax
add rbp, r12
je 0x140005b98
cmp rcx, 0x40000000
jbe 0x140005aa7
lea rdx, str.____Cant_find_pattern__Too_big_section
jmp 0x140005b9f
call fcn.14008c5d8
mov r9, rdi
mov r8, rbp
mov rdx, rax
mov rcx, r13
mov r14, rax
call fcn.140003ab0
mov r9, qword [rsp + 0x10a0]
nop dword [rax + rax]
inc rsi
cmp byte [r9 + rsi], 0
jne 0x140005ad0
mov ebx, 0
sub rdi, rsi
je 0x140005b31
mov rax, qword [rsp + 0x20]
mov r11, r14
movzx r10d, byte [r9]
sub r11, rax
mov rdx, r9
test r10b, r10b
je 0x140005b1f
movzx ecx, r10b
lea r8, [r11 + rbx]
cmp cl, 0x78
jne 0x140005b11
movzx ecx, byte [rax]
cmp byte [r8 + rax], cl
jne 0x140005b24
movzx ecx, byte [rdx + 1]
inc rdx
inc rax
test cl, cl
jne 0x140005b03
cmp byte [rdx], 0
je 0x140005b5e
mov rax, qword [rsp + 0x20]
inc rbx
cmp rbx, rdi
jb 0x140005af3
mov rcx, qword [0x140090640]
lea rdx, str.____Cant_find_pattern
call fcn.140007660
lea rdx, [0x140007830]
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 rcx, r14
call fcn.14008bf80
jmp 0x140005bbb
lea rax, [rbx + r14]
test rax, rax
je 0x140005b31
mov rcx, r14
call fcn.14008bf80
lea rax, [rbx + rbp]
jmp 0x140005bbd
lea rdx, str.____Cant_find_section
mov rcx, qword [0x140090640]
call fcn.140007660
lea rdx, [0x140007830]
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]
lea rdx, str.____No_module_address_to_find_pattern
mov rcx, qword [0x140090640]
call fcn.140007660
lea rdx, [0x140007830]
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]
xor eax, eax
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14008bf60
mov rbx, qword [rsp + 0x1088]
add rsp, 0x1040
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret