Function at 0x14017fa20
Capabilities:
Map section object
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rdi
push r13
lea rbp, [rsp - 0x3f]
sub rsp, 0xb8
mov dword [rsp + 0x30], 0x60
mov rdx, rcx
mov dword [rsp + 0x28], 1
lea rcx, [rbp + 0x7f]
mov r9d, 0x80
mov dword [rsp + 0x20], 1
mov r8d, 0x100021
call sym.SystemInformer.exe_PhCreateFile
mov edi, eax
test eax, eax
js 0x14017fbae
mov rbx, qword [rbp + 0x7f]
lea rcx, [rbp + 0x6f]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x1000000
xor r8d, r8d
mov edx, 0xd
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.ntdll.dll_NtClose]
test edi, edi
js 0x14017fbae
mov rcx, qword ds:[rbp + 0x6f]
lea r8, [rbp - 0x19]
xorps xmm0, xmm0
xor r13d, r13d
mov r9d, 0x40
mov qword [rsp + 0x20], r13
mov edx, 1
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
call qword [sym.imp.ntdll.dll_NtQuerySection]
mov edi, eax
test eax, eax
js 0x14017fb02
cmp dword [rbp + 7], 2
jne 0x14017fafd
mov eax, 0x2002
test word [rbp + 0x13], ax
jne 0x14017fb1e
mov edi, 0xc000036f
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.ntdll.dll_NtClose]
lfence
mov eax, edi
add rsp, 0xb8
pop r13
pop rdi
pop rbx
pop rbp
ret
mov rcx, qword [rbp + 0x6f]
lea rax, [rbp - 0x29]
mov dword [rsp + 0x48], 0x10
lea r8, [rbp + 0x77]
mov dword [rsp + 0x40], r13d
xor r9d, r9d
mov dword [rsp + 0x38], 2
mov rdx, 0xffffffffffffffff
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov qword [rbp + 0x77], r13
mov qword [rbp - 0x29], r13
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov rcx, qword [rbp + 0x6f]
mov edi, eax
call qword [sym.imp.ntdll.dll_NtClose]
cmp edi, 0x40000003
jne 0x14017fb87
mov rcx, qword ds:[rbp + 0x77]
call fcn.14017f720
mov edi, eax
test edi, edi
js 0x14017fb91
mov rbx, qword [rbp + 0x77]
jmp 0x14017fbaa
mov rdx, qword ds:[rbp + 0x77]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov rbx, qword [rbp + 0x6f]
test edi, edi
jns 0x14017fbc1
lfence
mov eax, edi
add rsp, 0xb8
pop r13
pop rdi
pop rbx
pop rbp
ret
mov qword [rsp + 0xe0], rsi
mov esi, 0x5a4d
mov qword [rsp + 0xa8], r14
cmp word [rbx], si
je 0x14017fbe5
mov esi, 0xc000012f
jmp 0x14017fdb7
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x14017fdb2
cmp dword [rbx + rcx], 0x4550
lea r14, [rbx + rcx]
jne 0x14017fdb2
mov eax, dword [r14 + 0x90]
test eax, eax
je 0x14017fdab
nop word [rax + rax]
cmp dword [r14 + 0x94], r13d
je 0x14017fdab
movzx r11d, word [r14 + 0x14]
lea rdi, [rbx + rax]
movzx r10d, word [r14 + 6]
add r11, r14
mov qword [rsp + 0xb0], r12
mov edx, r13d
mov qword [rsp + 0xa0], r15
test r10d, r10d
je 0x14017fc93
nop word [rax + rax]
mov eax, edx
lea rcx, [rax + rax*4]
mov r8d, dword [r11 + rcx*8 + 0x24]
lea rcx, [rcx*8]
lea r9, [r8 + rbx]
cmp rdi, r9
jb 0x14017fc8c
mov eax, dword [r11 + rcx + 0x28]
add rax, r8
add rax, rbx
cmp rdi, rax
jb 0x14017fcde
inc edx
cmp edx, r10d
jb 0x14017fc60
mov esi, 0xc0000049
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xb0]
test esi, esi
js 0x14017fdb7
mov rdx, r14
mov rcx, rbx
call fcn.14017f2e0
mov esi, eax
test eax, eax
js 0x14017fdb7
mov eax, dword [r14 + 0x28]
test eax, eax
jne 0x14017fd85
mov esi, 0xc0000139
jmp 0x14017fdb7
mov eax, dword [r11 + rcx + 0x20]
test r9, r9
je 0x14017fc93
test rax, rax
je 0x14017fc93
mov qword [rbp + 0x77], rax
lea r8, [rbp + 0x77]
lea rax, [rbp + 0x6f]
mov qword [rbp + 0x7f], r9
mov r9d, 4
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x7f]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
mov esi, eax
test eax, eax
js 0x14017fc98
cmp dword [rdi + 0xc], r13d
je 0x14017fd59
nop
cmp dword [rdi], r13d
je 0x14017fd59
mov rdx, rdi
mov rcx, rbx
call fcn.14017f0c0
mov esi, eax
test eax, eax
js 0x14017fc98
add rdi, 0x14
cmp dword [rdi + 0xc], r13d
jne 0x14017fd30
mov r9d, dword [rbp + 0x6f]
lea rax, [rbp + 0x6f]
lea r8, [rbp + 0x77]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x7f]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
mov esi, eax
jmp 0x14017fc98
add rax, rbx
xor r8d, r8d
mov edx, 1
mov rcx, rbx
mov esi, r13d
call qword [case.0x14013d84a.0]
nop dword [rax]
test al, al
jne 0x14017fe06
mov esi, 0xc0000142
jmp 0x14017fdb7
mov esi, 0xc0000020
jmp 0x14017fdb7
mov esi, 0xc000007b
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x14017fe06
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x14017fe06
cmp dword [rcx + rbx], 0x4550
jne 0x14017fe06
mov edx, dword ds:[rcx + rbx + 0x28]
test edx, edx
je 0x14017fe06
lea rax, [rbx + rdx]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [case.0x14013d84a.0]
mov rdx, rbx
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov r14, qword [rsp + 0xa8]
mov eax, esi
mov rsi, qword [rsp + 0xe0]
add rsp, 0xb8
pop r13
pop rdi
pop rbx
pop rbp
ret