Function at 0x14000b360
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 0x14000b86d
cmp dword [rax + 0xc], esi
je 0x14000b86b
mov r12, qword [rbp + 0x80]
lea r13, [rax + 0x10]
test esi, esi
js 0x14000b86b
mov eax, dword [r13 - 0x10]
test eax, eax
jne 0x14000b3e7
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 0x14000b485
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.14000b0cc
lea rdx, [rbp - 0x80]
mov esi, eax
lea rcx, [rsp + 0x60]
call fcn.14000e6d4
cmp esi, 0xc0000144
je 0x14000b84e
mov r8b, byte [rbp + 0x78]
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.140008488
jmp 0x14000b4a0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.14000e5ec
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140008400
mov rbx, rax
test rax, rax
jne 0x14000b650
cmp byte [rbp + 0x68], al
jne 0x14000b81e
test byte [rbp + 0x88], 1
je 0x14000b51d
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.140009a2c
mov esi, eax
test eax, eax
js 0x14000b81e
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x14000b81e
jmp 0x14000b650
xor edx, edx
lea rax, [rsp + 0x60]
lea r9, [0x14000f570]
mov qword [rsp + 0x20], rax
lea r8, [0x14000f590]
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, 0x20b
cmp word [r14 + 0x18], ax
jne 0x14000b58a
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 0x14000b5ea
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.1400094a4
mov rax, qword [r12 + 0x30]
mov rbx, qword [rax + 0x1858]
test rbx, rbx
je 0x14000b818
mov r9d, 0x20b
movzx ecx, word [r14 + 0x18]
cmp cx, r9w
jne 0x14000b666
mov rax, qword [rdi]
jmp 0x14000b668
mov eax, dword [rdi]
test rax, rax
je 0x14000b7ef
cmp cx, r9w
jne 0x14000b683
mov rax, qword [rdi]
mov rdx, rax
lea r14, [rax + r15]
jmp 0x14000b68b
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 0x14000b6b0
lea rdx, [r14 + 2]
cmp byte [rdx], 0
jne 0x14000b6c0
cmp cx, r9w
jne 0x14000b6bb
mov rax, qword [rdi]
jmp 0x14000b6bd
mov eax, dword [rdi]
movzx edx, ax
cmp byte [rbp + 0x68], 0
je 0x14000b6cf
mov rcx, qword [rbx + 0x30]
xor r8d, r8d
jmp 0x14000b6d6
mov r8, qword [r12]
mov rcx, rbx
lea r9, [rsp + 0x60]
call fcn.140008130
mov rcx, qword [rsp + 0x78]
mov r8, rax
movzx ecx, word [rcx + 0x18]
test rax, rax
je 0x14000b767
mov edx, dword [r13]
mov r9d, 0x20b
cmp cx, r9w
jne 0x14000b71c
test edx, edx
je 0x14000b713
lea rax, [r15 + rdx]
mov edx, dword [rsp + 0x40]
mov qword [rdx + rax], r8
jmp 0x14000b734
mov rax, qword [rdi]
mov qword [rax + r15], r8
jmp 0x14000b734
test edx, edx
je 0x14000b72e
mov ecx, dword [rsp + 0x40]
lea rax, [r15 + rdx]
mov dword [rcx + rax], r8d
jmp 0x14000b734
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 0x14000b656
mov r8d, 0x20b
cmp cx, r8w
jne 0x14000b778
mov rdx, qword [rdi]
jmp 0x14000b77a
mov edx, dword [rdi]
mov eax, 0x80000000
movabs r9, 0x8000000000000000
cmove rax, r9
cmp rdx, rax
jae 0x14000b7a4
lea rax, [r14 + 2]
cmp byte [rax], 0
je 0x14000b7a4
lea r8, [0x14000f600]
jmp 0x14000b7bb
cmp cx, r8w
jne 0x14000b7af
mov rax, qword [rdi]
jmp 0x14000b7b1
mov eax, dword [rdi]
movzx eax, ax
lea r8, [0x14000f640]
movaps xmm0, xmmword [rsp + 0x50]
lea r9, [0x14000f570]
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 0x14000b86b
mov bl, byte [rbp + 0x68]
jmp 0x14000b3d3
mov esi, dword [rax + 0x1860]
movaps xmm0, xmmword [rsp + 0x50]
lea rax, [rbp - 0x70]
xor edx, edx
mov dword [rsp + 0x28], esi
lea r9, [0x14000f570]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [0x14000f5c0]
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 0x14000b86d
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