Function at 0x14004acc0
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400f7040]
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 [0x1400f8fd0], eax
jle 0x14004ad33
lea rcx, [0x1400f8fd0]
call fcn.1400c49a0
cmp dword [0x1400f8fd0], 0xffffffff
jne 0x14004ad33
mov r8d, ebx
lea rcx, [0x1400d5228]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x1400f8fd0]
mov qword [0x1400f8fc8], rax
call fcn.1400c4934
mov eax, dword [rdi]
cmp dword [0x1400f8fec], eax
jle 0x14004ad6c
lea rcx, [0x1400f8fec]
call fcn.1400c49a0
cmp dword [0x1400f8fec], 0xffffffff
jne 0x14004ad6c
mov rax, qword [0x1400f8fc8]
lea rcx, [0x1400f8fec]
mov qword [0x1400f9040], rax
call fcn.1400c4934
mov rax, qword [0x1400f9040]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004b005
mov eax, dword [rdi]
cmp dword [0x1400f9000], eax
jle 0x14004adc5
lea rcx, [0x1400f9000]
call fcn.1400c49a0
cmp dword [0x1400f9000], 0xffffffff
jne 0x14004adc5
mov rax, qword [0x1400f9040]
lea rcx, [0x1400f9000]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1400f8fc8]
mov qword [0x1400f9058], rdx
call fcn.1400c4934
mov rax, qword [0x1400f9058]
cmp dword [rax], 0x4550
jne 0x14004b005
mov eax, dword [rdi]
cmp dword [0x1400f8ff0], eax
mov qword [rsp + 0x70], rsi
jle 0x14004ae1c
lea rcx, [0x1400f8ff0]
call fcn.1400c49a0
cmp dword [0x1400f8ff0], 0xffffffff
jne 0x14004ae1c
mov rax, qword [0x1400f9058]
lea rcx, [0x1400f8ff0]
add rax, 0x108
mov qword [0x1400f90a8], rax
call fcn.1400c4934
mov eax, dword [rdi]
cmp dword [0x1400f9098], eax
jle 0x14004ae55
lea rcx, [0x1400f9098]
call fcn.1400c49a0
cmp dword [0x1400f9098], 0xffffffff
jne 0x14004ae55
mov rax, qword [0x1400f90a8]
lea rcx, [0x1400f9098]
mov qword [0x1400f8fb0], rax
call fcn.1400c4934
mov eax, dword [rdi]
cmp dword [0x1400f909c], eax
jle 0x14004ae92
lea rcx, [0x1400f909c]
call fcn.1400c49a0
cmp dword [0x1400f909c], 0xffffffff
jne 0x14004ae92
mov rax, qword [0x1400f9058]
lea rcx, [0x1400f909c]
movzx edx, word [rax + 6]
mov word [0x1400f8fc0], dx
call fcn.1400c4934
xchg byte [0x1400f8ffc], bl
mov rdx, qword [0x1400f90a8]
xor esi, esi
test bl, bl
jne 0x14004af06
movzx eax, word [0x1400f8fc0]
lea rcx, [rax + rax*4]
mov rax, qword [0x1400f8fb0]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x14004af06
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 0x14004aef6
cmp rcx, 5
jne 0x14004aee0
jmp 0x14004af06
add rdx, 0x28
mov qword [0x1400f90a8], rdx
cmp rdx, r8
jb 0x14004aed0
mov eax, dword [rdi]
cmp dword [0x1400f8fa8], eax
jle 0x14004af50
lea rcx, [0x1400f8fa8]
call fcn.1400c49a0
cmp dword [0x1400f8fa8], 0xffffffff
jne 0x14004af49
mov rax, qword [0x1400f90a8]
lea rcx, [0x1400f8fa8]
mov edx, dword [rax + 0xc]
add rdx, qword [0x1400f8fc8]
mov qword [0x1400f9080], rdx
call fcn.1400c4934
mov rdx, qword [0x1400f90a8]
mov ecx, dword [rdx + 0x10]
mov r10, qword [0x1400f9080]
movdqa xmm0, xmmword [0x1400e16d0]
movdqa xmm1, xmmword [0x1400e13f0]
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 0x14004afea
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 0x14004afd6
cmp byte [r8], r9b
jne 0x14004affb
inc r8
lea rcx, [rsp + 0x4e]
add rdx, 2
cmp rdx, rcx
jne 0x14004afc0
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x70]
jmp 0x14004b007
cmp r10, r11
je 0x14004afea
inc r10
jmp 0x14004afb0
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c48d0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret