Function at 0x140004440
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1070
call fcn.140014120
sub rsp, rax
mov r13, r8
mov r14, rdx
mov rax, rcx
xor edi, edi
test r8, r8
je 0x140004588
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], 0x33
mov qword [rsp + 0x50], r8
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], 0x1000
mov dword [rsp + 0x10c0], edi
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x10c0]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 0x28]
lea r8, [rsp + 0x40]
mov edx, 0x80862007
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400044ea
lea rdx, str.____Cant_read_module_headers
jmp 0x14000456c
mov rbx, 0xffffffffffffffff
mov rsi, rbx
inc rsi
cmp byte [r14 + rsi], dil
jne 0x1400044f4
movsxd rax, dword [rsp + 0xac]
lea rcx, [rsp + 0x70]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
add r12, rax
mov ebp, edi
movzx r15d, word [rcx + 6]
test r15d, r15d
je 0x140004565
nop dword [rax]
nop dword [rax + rax]
mov eax, ebp
lea rcx, [rax + rax*4]
lea rdi, [r12 + rcx*8]
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000455e
mov rax, rbx
nop
inc rax
cmp byte [rdi + rax], 0
jne 0x140004550
cmp rsi, rax
je 0x1400045cc
inc ebp
cmp ebp, r15d
jb 0x140004530
lea rdx, str.____Cant_find_section
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400067d0
lea rdx, [0x1400069b0]
mov rcx, rax
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]
lea rdx, str.____No_module_address_to_find_pattern
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400067d0
lea rdx, [0x1400069b0]
mov rcx, rax
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 r14d, r14d
mov rax, r14
mov rbx, qword [rsp + 0x10b8]
add rsp, 0x1070
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rdi + 0xc]
test eax, eax
je 0x140004565
mov ecx, dword [rdi + 8]
lea rbp, [rsp + 0x70]
add rbp, rax
je 0x140004565
test ecx, ecx
je 0x140004565
lea rax, [rsp + 0x70]
sub rbp, rax
add rbp, r13
mov edi, ecx
je 0x140004588
cmp rcx, 0x40000000
jbe 0x140004605
lea rdx, str.____Cant_find_pattern__Too_big_section
jmp 0x14000458f
call fcn.1400137f0
mov rsi, rax
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x68], rsi
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], 0x33
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x10c0], r14d
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x10c0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 0x28]
lea r8, [rsp + 0x40]
mov edx, 0x80862007
mov rcx, qword [rsp + 0x10b0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400046b4
lea rdx, str.____Read_failed_in_FindPatternAtKernel
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400067d0
lea rdx, [0x1400069b0]
mov rcx, rax
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]
nop
mov rcx, rsi
call fcn.14001343c
jmp 0x1400045ae
mov r10, qword [rsp + 0x10d0]
nop dword [rax]
inc rbx
cmp byte [r10 + rbx], r14b
jne 0x1400046c0
sub rdi, rbx
mov r8, r14
je 0x140004723
movzx r11d, byte [r10]
mov rbx, rsi
mov rax, qword [rsp + 0x10c8]
sub rbx, rax
mov rdx, r10
test r11b, r11b
je 0x14000470e
movzx ecx, r11b
lea r9, [rbx + r8]
cmp cl, 0x78
jne 0x140004701
movzx ecx, byte [rax]
cmp byte [r9 + rax], cl
jne 0x140004713
inc rdx
inc rax
movzx ecx, byte [rdx]
test cl, cl
jne 0x1400046f3
cmp byte [rdx], r14b
je 0x14000472f
inc r8
cmp r8, rdi
mov rax, qword [rsp + 0x10c8]
jb 0x1400046e3
lea rdx, str.____Cant_find_pattern
jmp 0x14000468a
lea rax, [r8 + rsi]
test rax, rax
je 0x140004723
lea rbx, [r8 + rbp]
mov rcx, rsi
call fcn.14001343c
mov rax, rbx
jmp 0x1400045b1