Function at 0x14004a440
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400d2040]
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 [0x1400d3c80], eax
jle 0x14004a4b3
lea rcx, [0x1400d3c80]
call fcn.1400a60d0
cmp dword [0x1400d3c80], 0xffffffff
jne 0x14004a4b3
mov r8d, ebx
lea rcx, [0x1400b50e8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x1400d3c80]
mov qword [0x1400d3c78], rax
call fcn.1400a6064
mov eax, dword [rdi]
cmp dword [0x1400d3c9c], eax
jle 0x14004a4ec
lea rcx, [0x1400d3c9c]
call fcn.1400a60d0
cmp dword [0x1400d3c9c], 0xffffffff
jne 0x14004a4ec
mov rax, qword [0x1400d3c78]
lea rcx, [0x1400d3c9c]
mov qword [0x1400d3cf0], rax
call fcn.1400a6064
mov rax, qword [0x1400d3cf0]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004a785
mov eax, dword [rdi]
cmp dword [0x1400d3cb0], eax
jle 0x14004a545
lea rcx, [0x1400d3cb0]
call fcn.1400a60d0
cmp dword [0x1400d3cb0], 0xffffffff
jne 0x14004a545
mov rax, qword [0x1400d3cf0]
lea rcx, [0x1400d3cb0]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1400d3c78]
mov qword [0x1400d3d08], rdx
call fcn.1400a6064
mov rax, qword [0x1400d3d08]
cmp dword [rax], 0x4550
jne 0x14004a785
mov eax, dword [rdi]
cmp dword [0x1400d3ca0], eax
mov qword [rsp + 0x70], rsi
jle 0x14004a59c
lea rcx, [0x1400d3ca0]
call fcn.1400a60d0
cmp dword [0x1400d3ca0], 0xffffffff
jne 0x14004a59c
mov rax, qword [0x1400d3d08]
lea rcx, [0x1400d3ca0]
add rax, 0x108
mov qword [0x1400d3d58], rax
call fcn.1400a6064
mov eax, dword [rdi]
cmp dword [0x1400d3d48], eax
jle 0x14004a5d5
lea rcx, [0x1400d3d48]
call fcn.1400a60d0
cmp dword [0x1400d3d48], 0xffffffff
jne 0x14004a5d5
mov rax, qword [0x1400d3d58]
lea rcx, [0x1400d3d48]
mov qword [0x1400d3c60], rax
call fcn.1400a6064
mov eax, dword [rdi]
cmp dword [0x1400d3d4c], eax
jle 0x14004a612
lea rcx, [0x1400d3d4c]
call fcn.1400a60d0
cmp dword [0x1400d3d4c], 0xffffffff
jne 0x14004a612
mov rax, qword [0x1400d3d08]
lea rcx, [0x1400d3d4c]
movzx edx, word [rax + 6]
mov word [0x1400d3c70], dx
call fcn.1400a6064
xchg byte [0x1400d3cac], bl
mov rdx, qword [0x1400d3d58]
xor esi, esi
test bl, bl
jne 0x14004a686
movzx eax, word [0x1400d3c70]
lea rcx, [rax + rax*4]
mov rax, qword [0x1400d3c60]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x14004a686
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 0x14004a676
cmp rcx, 5
jne 0x14004a660
jmp 0x14004a686
add rdx, 0x28
mov qword [0x1400d3d58], rdx
cmp rdx, r8
jb 0x14004a650
mov eax, dword [rdi]
cmp dword [0x1400d3c54], eax
jle 0x14004a6d0
lea rcx, [0x1400d3c54]
call fcn.1400a60d0
cmp dword [0x1400d3c54], 0xffffffff
jne 0x14004a6c9
mov rax, qword [0x1400d3d58]
lea rcx, [0x1400d3c54]
mov edx, dword [rax + 0xc]
add rdx, qword [0x1400d3c78]
mov qword [0x1400d3d30], rdx
call fcn.1400a6064
mov rdx, qword [0x1400d3d58]
mov ecx, dword [rdx + 0x10]
mov r10, qword [0x1400d3d30]
movdqa xmm0, xmmword [0x1400bf9f0]
movdqa xmm1, xmmword [0x1400bf7b0]
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 0x14004a76a
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 0x14004a756
cmp byte [r8], r9b
jne 0x14004a77b
inc r8
lea rcx, [rsp + 0x4e]
add rdx, 2
cmp rdx, rcx
jne 0x14004a740
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x70]
jmp 0x14004a787
cmp r10, r11
je 0x14004a76a
inc r10
jmp 0x14004a730
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a6000
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret