Function at 0x14005f7a0
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1401931c0]
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 [0x1401eafb4], eax
jle 0x14005f813
lea rcx, [0x1401eafb4]
call fcn.14012f0bc
cmp dword [0x1401eafb4], 0xffffffff
jne 0x14005f813
mov r8d, ebx
lea rcx, [0x140153e20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x1401eafb4]
mov qword [0x1401eb050], rax
call fcn.14012f050
mov eax, dword [rdi]
cmp dword [0x1401eb074], eax
jle 0x14005f84c
lea rcx, [0x1401eb074]
call fcn.14012f0bc
cmp dword [0x1401eb074], 0xffffffff
jne 0x14005f84c
mov rax, qword [0x1401eb050]
lea rcx, [0x1401eb074]
mov qword [0x1401eb008], rax
call fcn.14012f050
mov rax, qword [0x1401eb008]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005fac5
mov eax, dword [rdi]
cmp dword [0x1401eb06c], eax
jle 0x14005f8a5
lea rcx, [0x1401eb06c]
call fcn.14012f0bc
cmp dword [0x1401eb06c], 0xffffffff
jne 0x14005f8a5
mov rax, qword [0x1401eb008]
lea rcx, [0x1401eb06c]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1401eb050]
mov qword [0x1401eb030], rdx
call fcn.14012f050
mov rax, qword [0x1401eb030]
cmp dword [rax], 0x4550
jne 0x14005fac5
mov eax, dword [rdi]
cmp dword [0x1401eafc4], eax
mov qword [rsp + 0x60], rsi
jle 0x14005f8fc
lea rcx, [0x1401eafc4]
call fcn.14012f0bc
cmp dword [0x1401eafc4], 0xffffffff
jne 0x14005f8fc
mov rax, qword [0x1401eb030]
lea rcx, [0x1401eafc4]
add rax, 0x108
mov qword [0x1401eaf98], rax
call fcn.14012f050
mov eax, dword [rdi]
cmp dword [0x1401eafc8], eax
jle 0x14005f935
lea rcx, [0x1401eafc8]
call fcn.14012f0bc
cmp dword [0x1401eafc8], 0xffffffff
jne 0x14005f935
mov rax, qword [0x1401eaf98]
lea rcx, [0x1401eafc8]
mov qword [0x1401eb080], rax
call fcn.14012f050
mov eax, dword [rdi]
cmp dword [0x1401eb028], eax
jle 0x14005f972
lea rcx, [0x1401eb028]
call fcn.14012f0bc
cmp dword [0x1401eb028], 0xffffffff
jne 0x14005f972
mov rax, qword [0x1401eb030]
lea rcx, [0x1401eb028]
movzx edx, word [rax + 6]
mov word [0x1401eb070], dx
call fcn.14012f050
xchg byte [0x1401eb058], bl
mov rdx, qword [0x1401eaf98]
xor esi, esi
test bl, bl
jne 0x14005f9e6
movzx eax, word [0x1401eb070]
lea rcx, [rax + rax*4]
mov rax, qword [0x1401eb080]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x14005f9e6
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 0x14005f9d6
cmp rcx, 5
jne 0x14005f9c0
jmp 0x14005f9e6
add rdx, 0x28
mov qword [0x1401eaf98], rdx
cmp rdx, r8
jb 0x14005f9b0
mov eax, dword [rdi]
cmp dword [0x1401eaf88], eax
jle 0x14005fa30
lea rcx, [0x1401eaf88]
call fcn.14012f0bc
cmp dword [0x1401eaf88], 0xffffffff
jne 0x14005fa29
mov rax, qword [0x1401eaf98]
lea rcx, [0x1401eaf88]
mov edx, dword [rax + 0xc]
add rdx, qword [0x1401eb050]
mov qword [0x1401eb090], rdx
call fcn.14012f050
mov rdx, qword [0x1401eaf98]
mov ecx, dword [rdx + 0x10]
mov r10, qword [0x1401eb090]
movdqa xmm0, xmmword [0x14015e790]
movdqa xmm1, xmmword [0x14015e770]
movdqu xmmword [rsp + 0x20], xmm0
lea rbx, [rcx + r10]
mov rax, rbx
movdqu xmmword [rsp + 0x30], xmm1
cmp rcx, 0x10
jb 0x14005faaa
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 0x14005fa96
cmp byte [r8], r9b
jne 0x14005fabb
inc r8
lea rcx, [rsp + 0x40]
add rdx, 2
cmp rdx, rcx
jne 0x14005fa80
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x60]
jmp 0x14005fac7
cmp r10, r11
je 0x14005faaa
inc r10
jmp 0x14005fa70
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14012ece0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret