Function at 0x140004920
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push r13
push r14
mov eax, 0x10b8
call fcn.140011910
sub rsp, rax
mov rax, qword [0x140025010]
xor rax, rsp
mov qword [rsp + 0x1090], rax
mov r14, rdx
mov qword [rsp + 0x48], r9
mov rdx, qword [rsp + 0x1100]
xor ebp, ebp
mov qword [rsp + 0x40], rdx
mov r13, r8
mov qword [rsp + 0x50], rcx
test r8, r8
je 0x1400049f1
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x90]
mov qword [rsp + 0x78], rax
lea r9d, [rbp + 0x28]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
mov dword [rsp + 0x28], ebp
mov edx, 0x80862007
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x60], 0x33
mov qword [rsp + 0x80], 0x1000
mov dword [rsp + 0x58], ebp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400049f9
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.____Cant_read_module_headers
call fcn.140006b30
lea rdx, [0x140006d10]
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]
mov rdx, rbp
jmp 0x140004ae2
mov qword [rsp + 0x10e8], rsi
mov qword [rsp + 0x10b0], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x10a8], r12
mov qword [rsp + 0x10a0], r15
inc rdi
cmp byte [r14 + rdi], bpl
jne 0x140004a20
movsxd rax, dword [rsp + 0xcc]
lea rcx, [rsp + 0x90]
add rcx, rax
mov esi, ebp
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
movzx r15d, word [rcx + 6]
add r12, rax
test r15d, r15d
je 0x140004a9c
nop dword [rax]
nop word [rax + rax]
mov eax, esi
mov r8, rdi
mov rdx, r14
lea rcx, [rax + rax*4]
lea rbx, [r12 + rcx*8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140004a95
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], bpl
jne 0x140004a83
cmp rdi, rax
je 0x140004b1c
inc esi
cmp esi, r15d
jb 0x140004a60
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.____Cant_find_section
call fcn.140006b30
lea rdx, [0x140006d10]
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]
mov rdx, rbp
mov r12, qword [rsp + 0x10a8]
mov rdi, qword [rsp + 0x10b0]
mov rsi, qword [rsp + 0x10e8]
mov r15, qword [rsp + 0x10a0]
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov r8d, ebp
mov qword [rsp + 0x20], rax
call fcn.140004750
mov rcx, qword [rsp + 0x1090]
xor rcx, rsp
call fcn.140010670
add rsp, 0x10b8
pop r14
pop r13
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x140004a9c
mov ecx, dword [rbx + 8]
mov edx, eax
lea rax, [rsp + 0x90]
add rax, rdx
je 0x140004a9c
test ecx, ecx
je 0x140004a9c
mov ebp, ecx
add rdx, r13
jmp 0x140004ac2