Function at 0x14004a340
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400f7040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword gs:[0x58]
mov ebx, 1
mov edi, 8
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x1400f9a54], eax
jle 0x14004a3b3
lea rcx, [0x1400f9a54]
call fcn.1400c4750
cmp dword [0x1400f9a54], 0xffffffff
jne 0x14004a3b3
mov r8d, ebx
lea rcx, [0x1400d5070]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x1400f9a54]
mov qword [0x1400f9af0], rax
call fcn.1400c46e4
mov eax, dword [rdi]
cmp dword [0x1400f9b14], eax
jle 0x14004a3ec
lea rcx, [0x1400f9b14]
call fcn.1400c4750
cmp dword [0x1400f9b14], 0xffffffff
jne 0x14004a3ec
mov rax, qword [0x1400f9af0]
lea rcx, [0x1400f9b14]
mov qword [0x1400f9aa8], rax
call fcn.1400c46e4
mov rax, qword [0x1400f9aa8]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004a665
mov eax, dword [rdi]
cmp dword [0x1400f9b0c], eax
jle 0x14004a445
lea rcx, [0x1400f9b0c]
call fcn.1400c4750
cmp dword [0x1400f9b0c], 0xffffffff
jne 0x14004a445
mov rax, qword [0x1400f9aa8]
lea rcx, [0x1400f9b0c]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1400f9af0]
mov qword [0x1400f9ad0], rdx
call fcn.1400c46e4
mov rax, qword [0x1400f9ad0]
cmp dword [rax], 0x4550
jne 0x14004a665
mov eax, dword [rdi]
cmp dword [0x1400f9a64], eax
mov qword [rsp + 0x60], rsi
jle 0x14004a49c
lea rcx, [0x1400f9a64]
call fcn.1400c4750
cmp dword [0x1400f9a64], 0xffffffff
jne 0x14004a49c
mov rax, qword [0x1400f9ad0]
lea rcx, [0x1400f9a64]
add rax, 0x108
mov qword [0x1400f9a38], rax
call fcn.1400c46e4
mov eax, dword [rdi]
cmp dword [0x1400f9a68], eax
jle 0x14004a4d5
lea rcx, [0x1400f9a68]
call fcn.1400c4750
cmp dword [0x1400f9a68], 0xffffffff
jne 0x14004a4d5
mov rax, qword [0x1400f9a38]
lea rcx, [0x1400f9a68]
mov qword [0x1400f9b20], rax
call fcn.1400c46e4
mov eax, dword [rdi]
cmp dword [0x1400f9ac8], eax
jle 0x14004a512
lea rcx, [0x1400f9ac8]
call fcn.1400c4750
cmp dword [0x1400f9ac8], 0xffffffff
jne 0x14004a512
mov rax, qword [0x1400f9ad0]
lea rcx, [0x1400f9ac8]
movzx edx, word [rax + 6]
mov word [0x1400f9b10], dx
call fcn.1400c46e4
xchg byte [0x1400f9af8], bl
mov rdx, qword [0x1400f9a38]
xor esi, esi
test bl, bl
jne 0x14004a586
movzx eax, word [0x1400f9b10]
lea rcx, [rax + rax*4]
mov rax, qword [0x1400f9b20]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x14004a586
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 0x14004a576
cmp rcx, 5
jne 0x14004a560
jmp 0x14004a586
add rdx, 0x28
mov qword [0x1400f9a38], rdx
cmp rdx, r8
jb 0x14004a550
mov eax, dword [rdi]
cmp dword [0x1400f9a28], eax
jle 0x14004a5d0
lea rcx, [0x1400f9a28]
call fcn.1400c4750
cmp dword [0x1400f9a28], 0xffffffff
jne 0x14004a5c9
mov rax, qword [0x1400f9a38]
lea rcx, [0x1400f9a28]
mov edx, dword [rax + 0xc]
add rdx, qword [0x1400f9af0]
mov qword [0x1400f9b30], rdx
call fcn.1400c46e4
mov rdx, qword [0x1400f9a38]
mov ecx, dword [rdx + 0x10]
mov r10, qword [0x1400f9b30]
movdqa xmm0, xmmword [0x1400e18c0]
movdqa xmm1, xmmword [0x1400e18b0]
movdqu xmmword [rsp + 0x20], xmm0
lea rbx, [rcx + r10]
mov rax, rbx
movdqu xmmword [rsp + 0x30], xmm1
cmp rcx, 0x10
jb 0x14004a64a
lea r11, [rbx - 0x10]
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 0x14004a636
cmp byte [r8], r9b
jne 0x14004a65b
inc r8
lea rcx, [rsp + 0x40]
add rdx, 2
cmp rdx, rcx
jne 0x14004a620
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x60]
jmp 0x14004a667
cmp r10, r11
je 0x14004a64a
inc r10
jmp 0x14004a610
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400c4680
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret