Function at 0x14000b510
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 - 0x48]
sub rsp, 0x110
xor esi, esi
mov bl, dl
and dword [rsp + 0x70], esi
mov r12, rcx
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
lea r8d, [rsi + 1]
mov rcx, r12
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 0x14000ba0b
lea r15, [rax + 0xc]
cmp dword [r15], esi
je 0x14000ba09
mov r13, qword [rbp + 0x70]
test esi, esi
js 0x14000ba09
mov eax, dword [r15 - 0xc]
test eax, eax
jne 0x14000b594
mov eax, dword [r15 + 4]
mov edx, dword [r15]
lea rcx, [rbp - 0x60]
and dword [rsp + 0x40], 0
xorps xmm0, xmm0
xorps xmm1, xmm1
mov edi, eax
add rdx, r12
add rdi, r12
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x60], xmm1
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
test bl, bl
jne 0x14000b631
mov rbx, qword [rbp + 0x60]
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, r13
call fcn.14000b27c
lea rdx, [rbp - 0x80]
mov esi, eax
lea rcx, [rsp + 0x60]
call fcn.14000e8c8
cmp esi, 0xc0000144
je 0x14000b9ec
mov r8b, byte [rbp + 0x68]
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.1400084d8
jmp 0x14000b64c
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.14000e7dc
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140008450
mov rbx, rax
test rax, rax
jne 0x14000b7ec
cmp byte [rbp + 0x58], al
jne 0x14000b9bc
test byte [rbp + 0x78], 1
je 0x14000b6c3
xor edx, edx
lea r8d, [rax + 0x58]
lea rcx, [rbp - 0x50]
call fcn.1400025c0
mov eax, dword [rbp + 0x78]
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x38], rcx
lea rdx, [rsp + 0x60]
mov rcx, qword [rbp + 0x60]
bts eax, 0xf
mov qword [rsp + 0x30], r13
xor r9d, r9d
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov byte [rsp + 0x20], bl
call fcn.140009ac8
mov esi, eax
test eax, eax
js 0x14000b9bc
mov rbx, qword [rbp - 0x40]
test rbx, rbx
je 0x14000b9bc
jmp 0x14000b7ec
xor edx, edx
lea rax, [rsp + 0x60]
lea r9, [0x14000f9d0]
mov qword [rsp + 0x20], rax
lea r8, [0x14000f9f0]
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, 0x20b
cmp word [r14 + 0x18], ax
jne 0x14000b731
mov rcx, qword [r13 + 0x30]
lea rdx, [rbp - 0x80]
xorps xmm0, xmm0
mov eax, 0x800
movups xmmword [rcx + 0x1000], xmm0
mov word [rcx + 0x1002], ax
lea rax, [rcx + 0x1010]
mov qword [rcx + 0x1008], rax
mov rcx, qword [r13 + 0x30]
add rcx, 0x1000
call qword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
jmp 0x14000b78b
mov ecx, dword [r13 + 0x30]
mov edx, 0x800
mov rax, qword [r13 + 0x30]
mov ebx, 0x1010
add ecx, ebx
mov r8d, edx
mov dword [rax + 0x1004], ecx
mov rax, qword [r13 + 0x30]
mov word [rax + 0x1002], dx
xor edx, edx
mov rcx, qword [r13 + 0x30]
movzx eax, word [rbp - 0x80]
mov word [rcx + 0x1000], ax
mov rcx, qword [r13 + 0x30]
add rcx, rbx
call fcn.1400025c0
mov rcx, qword [r13 + 0x30]
movzx r8d, word [rbp - 0x80]
add rcx, rbx
mov rdx, qword [rbp - 0x78]
call fcn.1400026c0
mov rax, qword [r13 + 0x30]
xor edx, edx
mov dword [rax + 0x1860], edx
lea r9d, [rdx + 4]
mov rax, qword [r13 + 0x30]
mov r8, qword [r13 + 0x50]
lea rcx, [rax + 0x1858]
add rax, 0x1000
cmp byte [r13 + 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, r13
movzx ecx, r10b
call fcn.1400094d0
mov rax, qword [r13 + 0x30]
mov rbx, qword [rax + 0x1858]
test rbx, rbx
je 0x14000b9b6
movzx ecx, word [r14 + 0x18]
mov r9d, 0x20b
cmp cx, r9w
jne 0x14000b802
mov rax, qword [rdi]
jmp 0x14000b804
mov eax, dword [rdi]
test rax, rax
je 0x14000b98e
cmp cx, r9w
jne 0x14000b81c
mov rdx, qword [rdi]
lea r14, [r12 + rdx]
jmp 0x14000b824
mov r14d, dword [rdi]
mov edx, dword [rdi]
add r14, r12
cmp cx, r9w
mov eax, 0x80000000
movabs r8, 0x8000000000000000
cmove rax, r8
cmp rdx, rax
jae 0x14000b849
lea rdx, [r14 + 2]
cmp byte [rdx], 0
jne 0x14000b859
cmp cx, r9w
jne 0x14000b854
mov rax, qword [rdi]
jmp 0x14000b856
mov eax, dword [rdi]
movzx edx, ax
cmp byte [rbp + 0x58], 0
je 0x14000b868
mov rcx, qword [rbx + 0x30]
xor r8d, r8d
jmp 0x14000b86f
mov r8, qword [r13]
mov rcx, rbx
lea r9, [rsp + 0x60]
call fcn.140008184
mov r8, rax
mov rax, qword [rsp + 0x78]
movzx edx, word [rax + 0x18]
test r8, r8
je 0x14000b900
mov ecx, dword [r15 + 4]
mov r9d, 0x20b
cmp dx, r9w
jne 0x14000b8b5
test ecx, ecx
je 0x14000b8ac
mov edx, dword [rsp + 0x40]
lea rax, [r12 + rcx]
mov qword [rdx + rax], r8
jmp 0x14000b8cd
mov rax, qword [rdi]
mov qword [rax + r12], r8
jmp 0x14000b8cd
test ecx, ecx
je 0x14000b8c7
lea rax, [r12 + rcx]
mov ecx, dword [rsp + 0x40]
mov dword [rcx + rax], r8d
jmp 0x14000b8cd
mov eax, dword [rdi]
mov dword [rax + r12], 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 0x14000b7f7
mov r8d, 0x20b
cmp dx, r8w
jne 0x14000b911
mov rcx, qword [rdi]
jmp 0x14000b913
mov ecx, dword [rdi]
mov eax, 0x80000000
movabs r9, 0x8000000000000000
cmove rax, r9
cmp rcx, rax
jae 0x14000b943
add r14, 2
cmp byte [r14], 0
je 0x14000b943
mov qword [rsp + 0x28], r14
lea r8, [0x14000fa80]
jmp 0x14000b95f
cmp dx, r8w
jne 0x14000b94e
mov rax, qword [rdi]
jmp 0x14000b950
mov eax, dword [rdi]
movzx eax, ax
lea r8, [0x14000fad0]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x50]
lea rax, [rbp - 0x70]
xor edx, edx
mov qword [rsp + 0x20], rax
lea r9, [0x14000f9d0]
movdqa xmmword [rbp - 0x70], xmm0
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 r15, 0x14
cmp dword [r15], 0
je 0x14000ba09
mov bl, byte [rbp + 0x58]
jmp 0x14000b580
mov esi, dword [rax + 0x1860]
movaps xmm0, xmmword [rsp + 0x50]
lea rax, [rbp - 0x70]
xor edx, edx
mov dword [rsp + 0x28], esi
lea r9, [0x14000f9d0]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [0x14000fa30]
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 0x14000ba0b
mov eax, esi
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret