Function at 0x140001b14
Capabilities:
Access pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov byte [rax + 0x10], dl
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
xor r13d, r13d
mov r12, rcx
and dword [rbp - 0x4c], r13d
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
lea r8d, [r13 + 1]
mov rcx, r12
lea r9, [rbp - 0x4c]
mov qword [rbp - 0x48], rax
mov dl, r8b
mov rsi, rax
call qword [sym.imp.ntoskrnl.exe_RtlImageDirectoryEntryToData]
test rax, rax
je 0x140001d88
lea r14, [rax + 0xc]
cmp dword [r14], r13d
je 0x140001d85
test r13d, r13d
js 0x140001d85
mov eax, dword [r14 - 0xc]
test eax, eax
jne 0x140001b8f
mov eax, dword [r14 + 4]
mov edx, dword [r14]
lea rcx, [rbp - 0x10]
and dword [rbp - 0x50], 0
xorps xmm0, xmm0
mov edi, eax
xorps xmm1, xmm1
add rdx, r12
add rdi, r12
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm0
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call fcn.14000151c
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.140001a00
mov rbx, rax
test rax, rax
je 0x140001da9
movzx esi, word [rsi + 0x18]
mov r8d, 0x20b
cmp si, r8w
jne 0x140001c04
mov rax, qword [rdi]
jmp 0x140001c06
mov eax, dword [rdi]
test rax, rax
je 0x140001d5f
cmp si, r8w
jne 0x140001c1e
mov rcx, qword [rdi]
lea r15, [r12 + rcx]
jmp 0x140001c26
mov r15d, dword [rdi]
mov ecx, dword [rdi]
add r15, r12
cmp si, r8w
mov eax, 0x80000000
movabs rdx, 0x8000000000000000
cmove rax, rdx
mov qword [rbp - 0x40], rax
cmp rcx, rax
jae 0x140001c4f
lea rdx, [r15 + 2]
cmp byte [rdx], 0
jne 0x140001c5f
cmp si, r8w
jne 0x140001c5a
mov rax, qword [rdi]
jmp 0x140001c5c
mov eax, dword [rdi]
movzx edx, ax
cmp byte [rbp + 0x38], 0
je 0x140001c6b
mov rcx, qword [rbx + 0x30]
jmp 0x140001c6e
mov rcx, rbx
lea r9, [rbp - 0x20]
xor r8d, r8d
call fcn.1400018d0
mov rdx, rax
test rax, rax
je 0x140001cf1
mov eax, dword [r14 + 4]
mov r8d, 0x20b
cmp si, r8w
jne 0x140001cab
test eax, eax
je 0x140001ca2
mov ecx, dword [rbp - 0x50]
add rax, r12
mov qword [rcx + rax], rdx
jmp 0x140001cc0
mov rax, qword [rdi]
mov qword [rax + r12], rdx
jmp 0x140001cc0
test eax, eax
je 0x140001cba
mov ecx, dword [rbp - 0x50]
add rax, r12
mov dword [rcx + rax], edx
jmp 0x140001cc0
mov eax, dword [rdi]
mov dword [rax + r12], edx
mov rax, qword [rbp - 0x48]
mov r15d, 4
movzx esi, word [rax + 0x18]
lea ecx, [r15 + 4]
cmp si, r8w
mov eax, r15d
cmove eax, ecx
add rdi, rax
mov eax, r15d
cmp si, r8w
cmove eax, ecx
add dword [rbp - 0x50], eax
jmp 0x140001bf9
mov ecx, 0x20b
cmp si, cx
jne 0x140001d00
mov rax, qword [rdi]
jmp 0x140001d02
mov eax, dword [rdi]
cmp rax, qword [rbp - 0x40]
jae 0x140001d1a
lea rax, [r15 + 2]
cmp byte [rax], 0
je 0x140001d1a
lea r8, [0x140002a10]
jmp 0x140001d30
cmp si, cx
jne 0x140001d24
mov rax, qword [rdi]
jmp 0x140001d26
mov eax, dword [rdi]
movzx eax, ax
lea r8, [0x140002a70]
movaps xmm0, xmmword [rbp - 0x30]
lea r9, [0x140002990]
mov qword [rsp + 0x28], rax
xor edx, edx
lea rax, [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov r13d, 0xc0000225
lea rcx, [rbp - 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rbp - 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov rsi, qword [rbp - 0x48]
add r14, 0x14
cmp dword [r14], 0
jne 0x140001b7a
mov eax, r13d
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movaps xmm0, xmmword [rbp - 0x30]
lea rdx, [rbp - 0x40]
mov dword [rsp + 0x28], r13d
lea r9, [0x140002990]
mov qword [rsp + 0x20], rdx
lea r8, [0x1400029b0]
xor edx, edx
movdqa xmmword [rbp - 0x40], xmm0
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea rcx, [rbp - 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rbp - 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov eax, 0xc0000225
jmp 0x140001d88