Function at 0x1401806e0
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, 0xe8
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 0x140180896
mov rbx, qword ds:[rbp + 0x7f]
lea r8, [rbp - 0x51]
mov qword [rsp + 0x30], rbx
lea rcx, [rbp + 0x6f]
xor r13d, r13d
mov dword [rsp + 0x28], 0x1000000
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x10
xor r9d, r9d
mov dword [rbp - 0x51], 0x30
mov edx, 0xd
mov qword [rbp - 0x49], r13
mov dword [rbp - 0x39], 0x20
mov qword [rbp - 0x41], r13
movdqu xmmword [rbp - 0x31], xmm0
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.ntdll.dll_NtClose]
test edi, edi
js 0x140180896
mov rcx, qword [rbp + 0x6f]
lea r8, [rbp - 0x19]
xorps xmm0, xmm0
mov qword [rsp + 0x20], r13
mov r9d, 0x40
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 0x1401807eb
cmp dword [rbp + 7], 2
jne 0x1401807e6
mov eax, 0x2002
test word [rbp + 0x13], ax
jne 0x140180807
mov edi, 0xc000036f
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.ntdll.dll_NtClose]
lfence
mov eax, edi
add rsp, 0xe8
pop r13
pop rdi
pop rbx
pop rbp
ret
mov rcx, qword [rbp + 0x6f]
lea rax, [rbp - 0x59]
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 - 0x59], r13
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov rcx, qword [rbp + 0x6f]
mov edi, eax
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
cmp edi, 0x40000003
jne 0x140180873
mov rcx, qword [rbp + 0x77]
call fcn.1401803e0
mov edi, eax
test edi, edi
js 0x14018087d
mov rbx, qword [rbp + 0x77]
jmp 0x140180892
mov rdx, qword [rbp + 0x77]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov rbx, qword [rbp + 0x6f]
test edi, edi
jns 0x1401808a8
lfence
mov eax, edi
add rsp, 0xe8
pop r13
pop rdi
pop rbx
pop rbp
ret
mov qword ss:[rsp + 0x110], rsi
mov esi, 0x5a4d
mov qword [rsp + 0xd8], r14
cmp word [rbx], si
je 0x1401808cf
mov esi, 0xc000012f
jmp 0x140180a97
mov ecx, dword ds:[rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140180a92
cmp dword [rbx + rcx], 0x4550
lea r14, [rbx + rcx]
jne 0x140180a92
mov eax, dword [r14 + 0x90]
test eax, eax
je 0x140180a8b
cmp dword [r14 + 0x94], r13d
je 0x140180a8b
movzx r11d, word ds:[r14 + 0x14]
lea rdi, [rbx + rax]
movzx r10d, word [r14 + 6]
add r11, r14
mov qword [rsp + 0xe0], r12
mov edx, r13d
mov qword [rsp + 0xd0], r15
test r10d, r10d
je 0x14018097c
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 0x140180975
mov eax, dword [r11 + rcx + 0x28]
add rax, r8
add rax, rbx
cmp rdi, rax
jb 0x1401809c5
inc edx
cmp edx, r10d
jb 0x140180945
mov esi, 0xc0000049
mov r15, qword [rsp + 0xd0]
mov r12, qword [rsp + 0xe0]
test esi, esi
js 0x140180a97
mov rdx, r14
mov rcx, rbx
call fcn.14017ffa0
mov esi, eax
test eax, eax
js 0x140180a97
mov eax, dword [r14 + 0x28]
test eax, eax
jne 0x140180a65
mov esi, 0xc0000139
jmp 0x140180a97
mov eax, dword [r11 + rcx + 0x20]
test r9, r9
je 0x14018097c
test rax, rax
je 0x14018097c
mov qword ds:[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 0x140180981
cmp dword [rdi + 0xc], r13d
je 0x140180a3a
cmp dword [rdi], r13d
je 0x140180a3a
mov rdx, rdi
mov rcx, rbx
call fcn.14017fd80
mov esi, eax
test eax, eax
js 0x140180981
add rdi, 0x14
cmp dword [rdi + 0xc], r13d
jne 0x140180a16
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 0x140180981
add rax, rbx
xor r8d, r8d
mov edx, 1
mov rcx, rbx
mov esi, r13d
call qword [case.0x14013dbaa.0]
nop dword [rax]
test al, al
jne 0x140180ae6
mov esi, 0xc0000142
jmp 0x140180a97
mov esi, 0xc0000020
jmp 0x140180a97
mov esi, 0xc000007b
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140180ae6
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140180ae6
cmp dword [rcx + rbx], 0x4550
jne 0x140180ae6
mov edx, dword ds:[rcx + rbx + 0x28]
test edx, edx
je 0x140180ae6
lea rax, [rbx + rdx]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [case.0x14013dbaa.0]
mov rdx, rbx
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov r14, qword [rsp + 0xd8]
mov eax, esi
mov rsi, qword [rsp + 0x110]
add rsp, 0xe8
pop r13
pop rdi
pop rbx
pop rbp
ret