Function at 0x140181320
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_Ordinal_1467
mov edi, eax
test eax, eax
js 0x1401814d6
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 0x1401814d6
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 0x14018142b
cmp dword [rbp + 7], 2
jne 0x140181426
mov eax, 0x2002
test word [rbp + 0x13], ax
jne 0x140181447
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 0x1401814b3
mov rcx, qword [rbp + 0x77]
call fcn.140181020
mov edi, eax
test edi, edi
js 0x1401814bd
mov rbx, qword [rbp + 0x77]
jmp 0x1401814d2
mov rdx, qword [rbp + 0x77]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov rbx, qword [rbp + 0x6f]
test edi, edi
jns 0x1401814e8
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 0x14018150f
mov esi, 0xc000012f
jmp 0x1401816d7
mov ecx, dword ds:[rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x1401816d2
cmp dword [rbx + rcx], 0x4550
lea r14, [rbx + rcx]
jne 0x1401816d2
mov eax, dword [r14 + 0x90]
test eax, eax
je 0x1401816cb
cmp dword [r14 + 0x94], r13d
je 0x1401816cb
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 0x1401815bc
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 0x1401815b5
mov eax, dword [r11 + rcx + 0x28]
add rax, r8
add rax, rbx
cmp rdi, rax
jb 0x140181605
inc edx
cmp edx, r10d
jb 0x140181585
mov esi, 0xc0000049
mov r15, qword [rsp + 0xd0]
mov r12, qword [rsp + 0xe0]
test esi, esi
js 0x1401816d7
mov rdx, r14
mov rcx, rbx
call fcn.140180be0
mov esi, eax
test eax, eax
js 0x1401816d7
mov eax, dword [r14 + 0x28]
test eax, eax
jne 0x1401816a5
mov esi, 0xc0000139
jmp 0x1401816d7
mov eax, dword [r11 + rcx + 0x20]
test r9, r9
je 0x1401815bc
test rax, rax
je 0x1401815bc
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 0x1401815c1
cmp dword [rdi + 0xc], r13d
je 0x14018167a
cmp dword [rdi], r13d
je 0x14018167a
mov rdx, rdi
mov rcx, rbx
call fcn.1401809c0
mov esi, eax
test eax, eax
js 0x1401815c1
add rdi, 0x14
cmp dword [rdi + 0xc], r13d
jne 0x140181656
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 0x1401815c1
add rax, rbx
xor r8d, r8d
mov edx, 1
mov rcx, rbx
mov esi, r13d
call qword [case.0x14013f76a.0]
nop dword [rax]
test al, al
jne 0x140181726
mov esi, 0xc0000142
jmp 0x1401816d7
mov esi, 0xc0000020
jmp 0x1401816d7
mov esi, 0xc000007b
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140181726
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140181726
cmp dword [rcx + rbx], 0x4550
jne 0x140181726
mov edx, dword ds:[rcx + rbx + 0x28]
test edx, edx
je 0x140181726
lea rax, [rbx + rdx]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [case.0x14013f76a.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