Function at 0x140005900
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.14009df10
sub rsp, rax
mov rax, qword [0x1400cd080]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov qword [rsp + 0x20], r9
mov r12, r8
mov r13, rcx
test r8, r8
je 0x140005b28
mov r9d, 0x1000
lea rdx, [rsp + 0x30]
call fcn.140003a40
test al, al
jne 0x140005963
lea rdx, str.____Cant_read_module_headers
jmp 0x140005b0c
mov rsi, 0xffffffffffffffff
lea rdx, str.PAGE
mov rdi, rsi
inc rdi
cmp byte [rdx + rdi], 0
jne 0x140005974
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 0x140005b05
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 0x1400059df
mov rax, rsi
inc rax
cmp byte [rbx + rax], 0
jne 0x1400059d1
cmp rdi, rax
je 0x1400059f3
inc ebp
cmp ebp, r14d
jae 0x140005b05
lea rdx, str.PAGE
jmp 0x1400059b0
mov eax, dword [rbx + 0xc]
lea rbp, [rsp + 0x30]
mov ecx, dword [rbx + 8]
add rbp, rax
je 0x140005b05
test ecx, ecx
je 0x140005b05
lea rax, [rsp + 0x30]
mov edi, ecx
sub rbp, rax
add rbp, r12
je 0x140005b28
cmp rcx, 0x40000000
jbe 0x140005a37
lea rdx, str.____Cant_find_pattern__Too_big_section
jmp 0x140005b2f
call fcn.14009dac8
mov r9, rdi
mov r8, rbp
mov rdx, rax
mov rcx, r13
mov r14, rax
call fcn.140003a40
mov r9, qword [rsp + 0x10a0]
nop dword [rax + rax]
inc rsi
cmp byte [r9 + rsi], 0
jne 0x140005a60
mov ebx, 0
sub rdi, rsi
je 0x140005ac1
mov rax, qword [rsp + 0x20]
mov r11, r14
movzx r10d, byte [r9]
sub r11, rax
mov rdx, r9
test r10b, r10b
je 0x140005aaf
movzx ecx, r10b
lea r8, [r11 + rbx]
cmp cl, 0x78
jne 0x140005aa1
movzx ecx, byte [rax]
cmp byte [r8 + rax], cl
jne 0x140005ab4
movzx ecx, byte [rdx + 1]
inc rdx
inc rax
test cl, cl
jne 0x140005a93
cmp byte [rdx], 0
je 0x140005aee
mov rax, qword [rsp + 0x20]
inc rbx
cmp rbx, rdi
jb 0x140005a83
mov rcx, qword [0x1400a3630]
lea rdx, str.____Cant_find_pattern
call fcn.140007680
lea rdx, [0x140007850]
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.14009d470
jmp 0x140005b4b
lea rax, [rbx + r14]
test rax, rax
je 0x140005ac1
mov rcx, r14
call fcn.14009d470
lea rax, [rbx + rbp]
jmp 0x140005b4d
lea rdx, str.____Cant_find_section
mov rcx, qword [0x1400a3630]
call fcn.140007680
lea rdx, [0x140007850]
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 [0x1400a3630]
call fcn.140007680
lea rdx, [0x140007850]
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.14009d450
mov rbx, qword [rsp + 0x1088]
add rsp, 0x1040
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret