Function at 0x14005fae0
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1401931c0]
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 [0x1401eafb0], eax
jle 0x14005fb53
lea rcx, [0x1401eafb0]
call fcn.14012f0bc
cmp dword [0x1401eafb0], 0xffffffff
jne 0x14005fb53
mov r8d, ebx
lea rcx, [0x140153e20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x1401eafb0]
mov qword [0x1401eafa8], rax
call fcn.14012f050
mov eax, dword [rdi]
cmp dword [0x1401eafcc], eax
jle 0x14005fb8c
lea rcx, [0x1401eafcc]
call fcn.14012f0bc
cmp dword [0x1401eafcc], 0xffffffff
jne 0x14005fb8c
mov rax, qword [0x1401eafa8]
lea rcx, [0x1401eafcc]
mov qword [0x1401eb020], rax
call fcn.14012f050
mov rax, qword [0x1401eb020]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005fe25
mov eax, dword [rdi]
cmp dword [0x1401eafe0], eax
jle 0x14005fbe5
lea rcx, [0x1401eafe0]
call fcn.14012f0bc
cmp dword [0x1401eafe0], 0xffffffff
jne 0x14005fbe5
mov rax, qword [0x1401eb020]
lea rcx, [0x1401eafe0]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1401eafa8]
mov qword [0x1401eb038], rdx
call fcn.14012f050
mov rax, qword [0x1401eb038]
cmp dword [rax], 0x4550
jne 0x14005fe25
mov eax, dword [rdi]
cmp dword [0x1401eafd0], eax
mov qword [rsp + 0x70], rsi
jle 0x14005fc3c
lea rcx, [0x1401eafd0]
call fcn.14012f0bc
cmp dword [0x1401eafd0], 0xffffffff
jne 0x14005fc3c
mov rax, qword [0x1401eb038]
lea rcx, [0x1401eafd0]
add rax, 0x108
mov qword [0x1401eb088], rax
call fcn.14012f050
mov eax, dword [rdi]
cmp dword [0x1401eb078], eax
jle 0x14005fc75
lea rcx, [0x1401eb078]
call fcn.14012f0bc
cmp dword [0x1401eb078], 0xffffffff
jne 0x14005fc75
mov rax, qword [0x1401eb088]
lea rcx, [0x1401eb078]
mov qword [0x1401eaf90], rax
call fcn.14012f050
mov eax, dword [rdi]
cmp dword [0x1401eb07c], eax
jle 0x14005fcb2
lea rcx, [0x1401eb07c]
call fcn.14012f0bc
cmp dword [0x1401eb07c], 0xffffffff
jne 0x14005fcb2
mov rax, qword [0x1401eb038]
lea rcx, [0x1401eb07c]
movzx edx, word [rax + 6]
mov word [0x1401eafa0], dx
call fcn.14012f050
xchg byte [0x1401eafdc], bl
mov rdx, qword [0x1401eb088]
xor esi, esi
test bl, bl
jne 0x14005fd26
movzx eax, word [0x1401eafa0]
lea rcx, [rax + rax*4]
mov rax, qword [0x1401eaf90]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x14005fd26
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 0x14005fd16
cmp rcx, 5
jne 0x14005fd00
jmp 0x14005fd26
add rdx, 0x28
mov qword [0x1401eb088], rdx
cmp rdx, r8
jb 0x14005fcf0
mov eax, dword [rdi]
cmp dword [0x1401eaf84], eax
jle 0x14005fd70
lea rcx, [0x1401eaf84]
call fcn.14012f0bc
cmp dword [0x1401eaf84], 0xffffffff
jne 0x14005fd69
mov rax, qword [0x1401eb088]
lea rcx, [0x1401eaf84]
mov edx, dword [rax + 0xc]
add rdx, qword [0x1401eafa8]
mov qword [0x1401eb060], rdx
call fcn.14012f050
mov rdx, qword [0x1401eb088]
mov ecx, dword [rdx + 0x10]
mov r10, qword [0x1401eb060]
movdqa xmm0, xmmword [0x14015e790]
movdqa xmm1, xmmword [0x14015e330]
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 0x14005fe0a
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 0x14005fdf6
cmp byte [r8], r9b
jne 0x14005fe1b
inc r8
lea rcx, [rsp + 0x4e]
add rdx, 2
cmp rdx, rcx
jne 0x14005fde0
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x70]
jmp 0x14005fe27
cmp r10, r11
je 0x14005fe0a
inc r10
jmp 0x14005fdd0
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14012ece0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret