Function at 0x140006a1c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xe8
xorps xmm0, xmm0
lea rcx, str.Ntdll.dll
xor r13d, r13d
xor eax, eax
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp + 0x7f], r13
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 0x77], r13
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x6f], r13
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x41], rax
movups xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x59], r13
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x140006ceb
lea rdx, str.NtCreateSection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtMapViewOfSection
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtProtectVirtualMemory
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtUnmapViewOfSection
mov rcx, rbx
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
cmp qword [sym.imp.ntdll.dll_RtlInitUnicodeString], r13
je 0x140006ceb
test rdi, rdi
je 0x140006ceb
test rsi, rsi
je 0x140006ceb
test r12, r12
je 0x140006ceb
test rax, rax
je 0x140006ceb
lea rdx, str.__C:WindowsSystem32Ntdll.dll
lea rcx, [rbp - 0x39]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [rsp + 0x50], r13d
lea rax, [rbp - 0x39]
mov qword [rsp + 0x48], r13
lea r9, [rbp - 0x29]
mov dword [rsp + 0x40], 0x60
lea r8, [rbp - 0x19]
mov dword [rsp + 0x38], 1
lea rcx, [rbp + 0x7f]
mov dword [rsp + 0x30], 1
mov edx, 0x80100080
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov dword [rbp - 0x19], 0x30
mov qword [rbp - 9], rax
call qword [sym.imp.ntdll.dll_NtCreateFile]
test eax, eax
jne 0x140006ceb
mov rax, qword [rbp + 0x7f]
lea r14d, [r13 + 2]
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x77]
mov dword [rsp + 0x28], 0x1000000
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov edx, 0xf0005
call rdi
test eax, eax
jne 0x140006ceb
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rbp + 0x77]
lea r8, [rbp + 0x6f]
mov dword [rsp + 0x48], r14d
mov rdx, rax
mov dword [rsp + 0x40], r13d
lea rax, [rbp - 0x59]
mov dword [rsp + 0x38], 1
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call rsi
cmp eax, 0x40000003
jne 0x140006ceb
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9d, [r13 + 0x18]
mov rdx, rbx
mov rcx, rax
lea r8, [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
test eax, eax
je 0x140006ceb
mov rsi, qword [rbp - 0x51]
mov edi, r13d
movsxd rcx, dword [rsi + 0x3c]
add rcx, rsi
movzx r14d, word [rcx + 6]
test r14, r14
je 0x140006cbc
movzx ebx, word [rcx + 0x14]
add rbx, 0x18
add rbx, rcx
lea rdx, [0x1400349f0]
mov rcx, rbx
call fcn.1400276e0
test eax, eax
je 0x140006c49
inc rdi
add rbx, 0x28
cmp rdi, r14
jb 0x140006c28
jmp 0x140006cbc
mov ecx, dword [rbx + 0xc]
mov ebx, dword [rbx + 8]
mov qword [rbp - 0x69], rbx
lea rdi, [rcx + rsi]
mov rsi, qword [rbp + 0x6f]
add rsi, rcx
mov qword [rbp - 0x61], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x40
lea r8, [rbp - 0x69]
mov rcx, rax
lea rdx, [rbp - 0x61]
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
call r12
test eax, eax
jne 0x140006ceb
mov r8d, ebx
mov rdx, rsi
mov rcx, rdi
call fcn.14000ab90
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, dword [rbp + 0x67]
lea r8, [rbp - 0x69]
mov rcx, rax
lea rdx, [rbp - 0x61]
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
call r12
test eax, eax
jne 0x140006ceb
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rbp + 0x6f]
mov rcx, rax
call r15
test eax, eax
jne 0x140006ceb
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, 1
jmp 0x140006ced
xor eax, eax
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret