Function at 0x140003160
Capabilities:
Map section object

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
cmp dword [0x14000df28], 0x3839
mov rbx, rcx
jb 0x140003314
xorps xmm0, xmm0
lea rdx, [0x140009b90]
lea rcx, [rbp - 0x11]
movups xmmword [rbp - 0x11], xmm0
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
xor edi, edi
mov qword [rbp - 1], 0x30
lea rax, [rbp - 0x11]
mov qword [rbp + 0x17], 0x40
xorps xmm0, xmm0
mov qword [rbp + 7], rdi
lea r8, [rbp - 1]
mov qword [rbp + 0xf], rax
lea edx, [rdi + 4]
mov qword [rbp + 0x6f], rdi
lea rcx, [rbp + 0x6f]
movdqu xmmword [rbp + 0x1f], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwOpenSection]
test eax, eax
js 0x14000323c
mov rcx, qword [rbp + 0x6f]
lea r8, [rbp + 0x77]
mov eax, 2
mov qword [rbp + 0x77], rdi
mov dword [rsp + 0x48], eax
xor r9d, r9d
mov dword [rsp + 0x40], edi
mov eax, 1
mov dword [rsp + 0x38], eax
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov qword [rbp + 0x7f], rdi
mov qword [rbp - 0x19], rdi
mov qword [rsp + 0x20], rdi
mov rdi, 0xffffffffffffffff
mov rdx, rdi
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
test eax, eax
jns 0x140003249
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor al, al
add rsp, 0xb0
pop rdi
pop rbx
pop rbp
ret
mov qword [rsp + 0xd0], rsi
lea rsi, [rbx + 0xc8]
mov qword [rsp + 0xa8], r14
mov r14b, 1
cmp rbx, rsi
je 0x1400032de
mov qword [rsp + 0xa0], r15
mov r15d, 0x1000
nop word [rax + rax]
mov r8, qword [rbx + 8]
xor ecx, ecx
mov rdx, qword [rbp + 0x77]
call fcn.140008b40
test rax, rax
je 0x1400032d3
movzx eax, word [rax + 4]
lea r8, [0x140009bc0]
sub ax, r15w
lea rdx, [0x140009ac0]
mov word [rbx], ax
mov r9d, 0xc2
cwde
xor ecx, ecx
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x20], rax
call fcn.140003c60
add rbx, 0x28
cmp rbx, rsi
jne 0x140003280
jmp 0x1400032d6
xor r14b, r14b
mov r15, qword [rsp + 0xa0]
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rdx, qword [rbp + 0x77]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ZwUnmapViewOfSection]
mov rsi, qword [rsp + 0xd0]
movzx eax, r14b
mov r14, qword [rsp + 0xa8]
add rsp, 0xb0
pop rdi
pop rbx
pop rbp
ret
mov rdi, 0xffffffffffffffff
lea rcx, [0x140009af0]
mov rax, rdi
inc rax
cmp byte [rcx + rax], 0
jne 0x140003325
mov qword [rbx + 8], rcx
lea rcx, [0x140009b10]
mov qword [rbx + 0x10], rax
mov rax, rdi
inc rax
cmp byte [rcx + rax], 0
jne 0x140003340
mov qword [rbx + 0x30], rcx
lea rcx, [0x140009b30]
mov qword [rbx + 0x38], rax
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140003360
mov qword [rbx + 0x58], rcx
lea rcx, [0x140009b50]
mov qword [rbx + 0x60], rax
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140003380
mov qword [rbx + 0x80], rcx
mov qword [rbx + 0x88], rax
lea rax, [0x140009b70]
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400033a0
mov qword [rbx + 0xa8], rax
mov qword [rbx + 0xb0], rdi
mov rax, qword [0x14000df28]
cmp eax, 0x295a
je 0x14000347d
cmp eax, 0x2800
je 0x14000347d
cmp eax, 0x2580
jne 0x140003408
mov eax, 0x6f
mov word [rbx], ax
mov eax, 0x1e
mov word [rbx + 0x28], ax
mov eax, 0x12
mov word [rbx + 0x50], ax
mov eax, 0x3e
mov word [rbx + 0x78], ax
mov eax, 2
jmp 0x1400034a5
cmp eax, 0x23f0
jne 0x140003439
mov eax, 0x6e
mov word [rbx], ax
mov eax, 0x1d
mov word [rbx + 0x28], ax
mov eax, 0x11
mov word [rbx + 0x50], ax
mov eax, 0x3d
mov word [rbx + 0x78], ax
mov eax, 1
jmp 0x1400034a5
lea ecx, [rax - 0x1db0]
cmp ecx, 1
ja 0x1400034ac
mov eax, 0x6e
xor edi, edi
mov word [rbx], ax
mov eax, 0x1c
mov word [rbx + 0x28], ax
mov eax, 0x10
mov word [rbx + 0x50], ax
mov eax, 0x3c
mov word [rbx + 0x78], ax
mov al, 1
mov word [rbx + 0xa0], di
add rsp, 0xb0
pop rdi
pop rbx
pop rbp
ret
mov eax, 0x70
mov word [rbx], ax
mov eax, 0x1f
mov word [rbx + 0x28], ax
mov eax, 0x13
mov word [rbx + 0x50], ax
mov eax, 0x3f
mov word [rbx + 0x78], ax
mov eax, 3
mov word [rbx + 0xa0], ax
mov al, 1
add rsp, 0xb0
pop rdi
pop rbx
pop rbp
ret