Function at 0x140009ee0
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400a4040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword gs:[0x58]
mov ebx, 1
mov edi, 4
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x1400a5508], eax
jle 0x140009f53
lea rcx, [0x1400a5508]
call fcn.14007f840
cmp dword [0x1400a5508], 0xffffffff
jne 0x140009f53
mov r8d, ebx
lea rcx, [0x140086130]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x1400a5508]
mov qword [0x1400a5500], rax
call fcn.14007f7d4
mov eax, dword [rdi]
cmp dword [0x1400a5524], eax
jle 0x140009f8c
lea rcx, [0x1400a5524]
call fcn.14007f840
cmp dword [0x1400a5524], 0xffffffff
jne 0x140009f8c
mov rax, qword [0x1400a5500]
lea rcx, [0x1400a5524]
mov qword [0x1400a5578], rax
call fcn.14007f7d4
mov rax, qword [0x1400a5578]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000a228
mov eax, dword [rdi]
cmp dword [0x1400a5538], eax
jle 0x140009fe5
lea rcx, [0x1400a5538]
call fcn.14007f840
cmp dword [0x1400a5538], 0xffffffff
jne 0x140009fe5
mov rax, qword [0x1400a5578]
lea rcx, [0x1400a5538]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1400a5500]
mov qword [0x1400a5590], rdx
call fcn.14007f7d4
mov rax, qword [0x1400a5590]
cmp dword [rax], 0x4550
jne 0x14000a228
mov eax, dword [rdi]
cmp dword [0x1400a5528], eax
mov qword [rsp + 0x70], rsi
jle 0x14000a03c
lea rcx, [0x1400a5528]
call fcn.14007f840
cmp dword [0x1400a5528], 0xffffffff
jne 0x14000a03c
mov rax, qword [0x1400a5590]
lea rcx, [0x1400a5528]
add rax, 0x108
mov qword [0x1400a55e0], rax
call fcn.14007f7d4
mov eax, dword [rdi]
cmp dword [0x1400a55d0], eax
jle 0x14000a075
lea rcx, [0x1400a55d0]
call fcn.14007f840
cmp dword [0x1400a55d0], 0xffffffff
jne 0x14000a075
mov rax, qword [0x1400a55e0]
lea rcx, [0x1400a55d0]
mov qword [0x1400a54e8], rax
call fcn.14007f7d4
mov eax, dword [rdi]
cmp dword [0x1400a55d4], eax
jle 0x14000a0b2
lea rcx, [0x1400a55d4]
call fcn.14007f840
cmp dword [0x1400a55d4], 0xffffffff
jne 0x14000a0b2
mov rax, qword [0x1400a5590]
lea rcx, [0x1400a55d4]
movzx edx, word [rax + 6]
mov word [0x1400a54f8], dx
call fcn.14007f7d4
xchg byte [0x1400a5534], bl
mov rdx, qword [0x1400a55e0]
xor esi, esi
test bl, bl
jne 0x14000a126
movzx eax, word [0x1400a54f8]
lea rcx, [rax + rax*4]
mov rax, qword [0x1400a54e8]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x14000a126
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 0x14000a116
cmp rcx, 5
jne 0x14000a100
jmp 0x14000a126
add rdx, 0x28
mov qword [0x1400a55e0], rdx
cmp rdx, r8
jb 0x14000a0f0
mov eax, dword [rdi]
cmp dword [0x1400a54dc], eax
jle 0x14000a170
lea rcx, [0x1400a54dc]
call fcn.14007f840
cmp dword [0x1400a54dc], 0xffffffff
jne 0x14000a169
mov rax, qword [0x1400a55e0]
lea rcx, [0x1400a54dc]
mov edx, dword [rax + 0xc]
add rdx, qword [0x1400a5500]
mov qword [0x1400a55b8], rdx
call fcn.14007f7d4
mov rdx, qword [0x1400a55e0]
mov ecx, dword [rdx + 0x10]
mov r9, qword [0x1400a55b8]
movdqa xmm0, xmmword [0x140094b50]
movdqa xmm1, xmmword [0x1400945b0]
mov dword [rsp + 0x40], 0x3f003f00
mov dword [rsp + 0x44], 0x78483f00
lea r10, [r9 + rcx]
mov dword [rsp + 0x48], 0x78c07885
mov rax, r10
mov word [rsp + 0x4c], 0x780f
movdqu xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
cmp rcx, 0x17
jb 0x14000a20a
lea r11, [r10 - 0x17]
nop word [rax + rax]
mov rdx, r9
lea rax, [rsp + 0x20]
nop dword [rax + rax]
movzx r8d, word [rax]
movzx ecx, r8w
shr cx, 8
cmp cl, 0x3f
je 0x14000a1f6
cmp byte [rdx], r8b
jne 0x14000a21b
inc rdx
lea rcx, [rsp + 0x4e]
add rax, 2
cmp rax, rcx
jne 0x14000a1e0
mov rax, r9
cmp rax, r10
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x70]
jmp 0x14000a22a
mov rax, r10
cmp r9, r11
je 0x14000a20a
inc r9
jmp 0x14000a1d0
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14007f700
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret