Function at 0x14003dae0
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400d6040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword gs:[0x58]
mov ebx, 1
mov edi, 8
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x140151000], eax
jle 0x14003db53
lea rcx, [0x140151000]
call fcn.1400a9db0
cmp dword [0x140151000], 0xffffffff
jne 0x14003db53
mov r8d, ebx
lea rcx, [0x1400b7928]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x140151000]
mov qword [0x140150ff8], rax
call fcn.1400a9d44
mov eax, dword [rdi]
cmp dword [0x14015101c], eax
jle 0x14003db8c
lea rcx, [0x14015101c]
call fcn.1400a9db0
cmp dword [0x14015101c], 0xffffffff
jne 0x14003db8c
mov rax, qword [0x140150ff8]
lea rcx, [0x14015101c]
mov qword [0x140151070], rax
call fcn.1400a9d44
mov rax, qword [0x140151070]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003de25
mov eax, dword [rdi]
cmp dword [0x140151030], eax
jle 0x14003dbe5
lea rcx, [0x140151030]
call fcn.1400a9db0
cmp dword [0x140151030], 0xffffffff
jne 0x14003dbe5
mov rax, qword [0x140151070]
lea rcx, [0x140151030]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x140150ff8]
mov qword [0x140151088], rdx
call fcn.1400a9d44
mov rax, qword [0x140151088]
cmp dword [rax], 0x4550
jne 0x14003de25
mov eax, dword [rdi]
cmp dword [0x140151020], eax
mov qword [rsp + 0x70], rsi
jle 0x14003dc3c
lea rcx, [0x140151020]
call fcn.1400a9db0
cmp dword [0x140151020], 0xffffffff
jne 0x14003dc3c
mov rax, qword [0x140151088]
lea rcx, [0x140151020]
add rax, 0x108
mov qword [0x1401510d8], rax
call fcn.1400a9d44
mov eax, dword [rdi]
cmp dword [0x1401510c8], eax
jle 0x14003dc75
lea rcx, [0x1401510c8]
call fcn.1400a9db0
cmp dword [0x1401510c8], 0xffffffff
jne 0x14003dc75
mov rax, qword [0x1401510d8]
lea rcx, [0x1401510c8]
mov qword [0x140150fe0], rax
call fcn.1400a9d44
mov eax, dword [rdi]
cmp dword [0x1401510cc], eax
jle 0x14003dcb2
lea rcx, [0x1401510cc]
call fcn.1400a9db0
cmp dword [0x1401510cc], 0xffffffff
jne 0x14003dcb2
mov rax, qword [0x140151088]
lea rcx, [0x1401510cc]
movzx edx, word [rax + 6]
mov word [0x140150ff0], dx
call fcn.1400a9d44
xchg byte [0x14015102c], bl
mov rdx, qword [0x1401510d8]
xor esi, esi
test bl, bl
jne 0x14003dd26
movzx eax, word [0x140150ff0]
lea rcx, [rax + rax*4]
mov rax, qword [0x140150fe0]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x14003dd26
lea r9, str.PAGE
nop word [rax + rax]
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x14003dd16
cmp rcx, 5
jne 0x14003dd00
jmp 0x14003dd26
add rdx, 0x28
mov qword [0x1401510d8], rdx
cmp rdx, r8
jb 0x14003dcf0
mov eax, dword [rdi]
cmp dword [0x140150fd4], eax
jle 0x14003dd70
lea rcx, [0x140150fd4]
call fcn.1400a9db0
cmp dword [0x140150fd4], 0xffffffff
jne 0x14003dd69
mov rax, qword [0x1401510d8]
lea rcx, [0x140150fd4]
mov edx, dword [rax + 0xc]
add rdx, qword [0x140150ff8]
mov qword [0x1401510b0], rdx
call fcn.1400a9d44
mov rdx, qword [0x1401510d8]
mov ecx, dword [rdx + 0x10]
mov r10, qword [0x1401510b0]
movdqa xmm0, xmmword [0x1400c2f10]
movdqa xmm1, xmmword [0x1400c2bf0]
mov dword [rsp + 0x40], 0x3f003f00
mov dword [rsp + 0x44], 0x78483f00
lea rbx, [rcx + r10]
mov dword [rsp + 0x48], 0x78c07885
mov rax, rbx
mov word [rsp + 0x4c], 0x780f
movdqu xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
cmp rcx, 0x17
jb 0x14003de0a
lea r11, [rbx - 0x17]
nop word [rax + rax]
mov r8, r10
lea rdx, [rsp + 0x20]
nop dword [rax + rax]
movzx r9d, word [rdx]
movzx ecx, r9w
shr cx, 8
cmp cl, 0x3f
je 0x14003ddf6
cmp byte [r8], r9b
jne 0x14003de1b
inc r8
lea rcx, [rsp + 0x4e]
add rdx, 2
cmp rdx, rcx
jne 0x14003dde0
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x70]
jmp 0x14003de27
cmp r10, r11
je 0x14003de0a
inc r10
jmp 0x14003ddd0
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a9ce0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret