Function at 0x14000b35c
Capabilities:
Access pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov byte [rax + 0x20], r9b
mov qword [rax + 0x18], r8
mov byte [rax + 0x10], dl
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x120
xor esi, esi
mov bl, dl
and dword [rsp + 0x70], esi
mov r15, rcx
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
lea r8d, [rsi + 1]
mov rcx, r15
lea r9, [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov dl, r8b
mov r14, rax
call qword [sym.imp.ntoskrnl.exe_RtlImageDirectoryEntryToData]
test rax, rax
je 0x14000b869
cmp dword [rax + 0xc], esi
je 0x14000b867
mov r12, qword [rbp + 0x80]
lea r13, [rax + 0x10]
test esi, esi
js 0x14000b867
mov eax, dword [r13 - 0x10]
test eax, eax
jne 0x14000b3e3
mov eax, dword [r13]
mov edx, dword [r13 - 4]
lea rcx, [rbp - 0x58]
and dword [rsp + 0x40], 0
xorps xmm0, xmm0
xorps xmm1, xmm1
mov edi, eax
add rdx, r15
add rdi, r15
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x58], xmm1
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
test bl, bl
jne 0x14000b481
mov rbx, qword [rbp + 0x70]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
and qword [rsp + 0x20], 0
mov rdx, rbx
xor r8d, r8d
mov rcx, r12
call fcn.14000b0c8
lea rdx, [rbp - 0x80]
mov esi, eax
lea rcx, [rsp + 0x60]
call fcn.14000e6b4
cmp esi, 0xc0000144
je 0x14000b84a
mov r8b, byte [rbp + 0x78]
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.1400084b0
jmp 0x14000b49c
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.14000e5cc
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140008428
mov rbx, rax
test rax, rax
jne 0x14000b64c
cmp byte [rbp + 0x68], al
jne 0x14000b81a
test byte [rbp + 0x88], 1
je 0x14000b519
xor edx, edx
lea r8d, [rax + 0x58]
lea rcx, [rbp - 0x40]
call fcn.140002640
mov eax, dword [rbp + 0x88]
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x38], rcx
lea rdx, [rsp + 0x60]
mov rcx, qword [rbp + 0x70]
bts eax, 0xf
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov byte [rsp + 0x20], bl
call fcn.140009a4c
mov esi, eax
test eax, eax
js 0x14000b81a
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x14000b81a
jmp 0x14000b64c
xor edx, edx
lea rax, [rsp + 0x60]
lea r9, [0x14000f550]
mov qword [rsp + 0x20], rax
lea r8, [0x14000f570]
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, 0x20b
cmp word [r14 + 0x18], ax
jne 0x14000b586
mov rcx, qword [r12 + 0x30]
lea rdx, [rbp - 0x80]
xorps xmm0, xmm0
movups xmmword [rcx + 0x1000], xmm0
lea rax, [rcx + 0x1010]
mov word [rcx + 0x1002], 0x800
mov qword [rcx + 0x1008], rax
mov rcx, qword [r12 + 0x30]
add rcx, 0x1000
call qword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
jmp 0x14000b5e6
mov ecx, dword [r12 + 0x30]
mov edx, 0x800
mov rax, qword [r12 + 0x30]
mov ebx, 0x1010
add ecx, ebx
mov r8d, edx
mov dword [rax + 0x1004], ecx
mov rax, qword [r12 + 0x30]
mov word [rax + 0x1002], dx
xor edx, edx
mov rcx, qword [r12 + 0x30]
movzx eax, word [rbp - 0x80]
mov word [rcx + 0x1000], ax
mov rcx, qword [r12 + 0x30]
add rcx, rbx
call fcn.140002640
mov rcx, qword [r12 + 0x30]
movzx r8d, word [rbp - 0x80]
add rcx, rbx
mov rdx, qword [rbp - 0x78]
call fcn.140002840
mov rax, qword [r12 + 0x30]
xor edx, edx
mov dword [rax + 0x1860], edx
lea r9d, [rdx + 4]
mov rax, qword [r12 + 0x30]
mov r8, qword [r12 + 0x50]
lea rcx, [rax + 0x1858]
add rax, 0x1000
cmp byte [r12 + 0x59], dl
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
sete r10b
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
mov rdx, r12
movzx ecx, r10b
call fcn.1400094c4
mov rax, qword [r12 + 0x30]
mov rbx, qword [rax + 0x1858]
test rbx, rbx
je 0x14000b814
mov r9d, 0x20b
movzx ecx, word [r14 + 0x18]
cmp cx, r9w
jne 0x14000b662
mov rax, qword [rdi]
jmp 0x14000b664
mov eax, dword [rdi]
test rax, rax
je 0x14000b7eb
cmp cx, r9w
jne 0x14000b67f
mov rax, qword [rdi]
mov rdx, rax
lea r14, [rax + r15]
jmp 0x14000b687
mov r14d, dword [rdi]
mov edx, dword [rdi]
add r14, r15
cmp cx, r9w
mov eax, 0x80000000
movabs r8, 0x8000000000000000
cmove rax, r8
cmp rdx, rax
jae 0x14000b6ac
lea rdx, [r14 + 2]
cmp byte [rdx], 0
jne 0x14000b6bc
cmp cx, r9w
jne 0x14000b6b7
mov rax, qword [rdi]
jmp 0x14000b6b9
mov eax, dword [rdi]
movzx edx, ax
cmp byte [rbp + 0x68], 0
je 0x14000b6cb
mov rcx, qword [rbx + 0x30]
xor r8d, r8d
jmp 0x14000b6d2
mov r8, qword [r12]
mov rcx, rbx
lea r9, [rsp + 0x60]
call fcn.140008158
mov rcx, qword [rsp + 0x78]
mov r8, rax
movzx ecx, word [rcx + 0x18]
test rax, rax
je 0x14000b763
mov edx, dword [r13]
mov r9d, 0x20b
cmp cx, r9w
jne 0x14000b718
test edx, edx
je 0x14000b70f
lea rax, [r15 + rdx]
mov edx, dword [rsp + 0x40]
mov qword [rdx + rax], r8
jmp 0x14000b730
mov rax, qword [rdi]
mov qword [rax + r15], r8
jmp 0x14000b730
test edx, edx
je 0x14000b72a
mov ecx, dword [rsp + 0x40]
lea rax, [r15 + rdx]
mov dword [rcx + rax], r8d
jmp 0x14000b730
mov eax, dword [rdi]
mov dword [rax + r15], r8d
mov r14, qword [rsp + 0x78]
mov edx, 4
mov eax, edx
movzx ecx, word [r14 + 0x18]
lea r8d, [rdx + 4]
cmp cx, r9w
cmove eax, r8d
add rdi, rax
mov eax, edx
cmp cx, r9w
cmove eax, r8d
add dword [rsp + 0x40], eax
jmp 0x14000b652
mov r8d, 0x20b
cmp cx, r8w
jne 0x14000b774
mov rdx, qword [rdi]
jmp 0x14000b776
mov edx, dword [rdi]
mov eax, 0x80000000
movabs r9, 0x8000000000000000
cmove rax, r9
cmp rdx, rax
jae 0x14000b7a0
lea rax, [r14 + 2]
cmp byte [rax], 0
je 0x14000b7a0
lea r8, [0x14000f5e0]
jmp 0x14000b7b7
cmp cx, r8w
jne 0x14000b7ab
mov rax, qword [rdi]
jmp 0x14000b7ad
mov eax, dword [rdi]
movzx eax, ax
lea r8, [0x14000f620]
movaps xmm0, xmmword [rsp + 0x50]
lea r9, [0x14000f550]
mov qword [rsp + 0x28], rax
xor edx, edx
lea rax, [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov r14, qword [rsp + 0x78]
mov esi, 0xc0000225
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
add r13, 0x14
cmp dword [r13 - 4], 0
je 0x14000b867
mov bl, byte [rbp + 0x68]
jmp 0x14000b3cf
mov esi, dword [rax + 0x1860]
movaps xmm0, xmmword [rsp + 0x50]
lea rax, [rbp - 0x70]
xor edx, edx
mov dword [rsp + 0x28], esi
lea r9, [0x14000f550]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [0x14000f5a0]
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov eax, 0xc0000225
jmp 0x14000b869
mov eax, esi
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret