Function at 0x14008daf0
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1405d4300]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, qword gs:[0x58]
mov r15, rcx
mov r8d, dword [0x1405d5b6c]
mov r14, rdx
mov ecx, 4
mov edi, 1
mov rbx, qword [rax + r8*8]
add rbx, rcx
mov eax, dword [rbx]
cmp dword [0x1405d52b0], eax
jg 0x14008ded9
mov eax, dword [rbx]
cmp dword [0x1405d52c0], eax
jg 0x14008df1c
mov rax, qword [0x1405d52b8]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008de37
mov eax, dword [rbx]
cmp dword [0x1405d52d0], eax
jg 0x14008df54
mov rax, qword [0x1405d52c8]
cmp dword [rax], 0x4550
jne 0x14008de37
mov eax, dword [rbx]
cmp dword [0x1405d52e0], eax
mov qword [rsp + 0x80], rsi
jg 0x14008df97
mov eax, dword [rbx]
cmp dword [0x1405d52f0], eax
jg 0x14008dfd5
mov eax, dword [rbx]
cmp dword [0x1405d52f8], eax
jg 0x14008de5b
mov ecx, 5
call fcn.14009cbe0
xchg byte [0x1405d52fc], dil
mov rdx, qword [0x1405d52d8]
xor esi, esi
test dil, dil
jne 0x14008dc36
movzx eax, word [0x1405d52f4]
lea rcx, [rax + rax*4]
mov rax, qword [0x1405d52e8]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x14008dc36
lea r9, str.PAGE
mov rax, rsi
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r9 + rax - 1]
jne 0x14008dc26
cmp rax, 5
jne 0x14008dc10
jmp 0x14008dc36
add rdx, 0x28
mov qword [0x1405d52d8], rdx
cmp rdx, r8
jb 0x14008dc00
mov eax, dword [rbx]
cmp dword [0x1405d5308], eax
jg 0x14008de97
jmp 0x14008dc4d
mov rdx, qword [0x1405d52d8]
mov edx, dword [rdx + 0x10]
movzx eax, byte [r15]
movzx ecx, byte [r14]
mov r10, qword [0x1405d5300]
mov byte [rbp - 0x40], al
movzx eax, byte [r15 + 1]
mov byte [rbp - 0x3f], cl
movzx ecx, byte [r14 + 1]
mov byte [rbp - 0x3e], al
movzx eax, byte [r15 + 2]
mov byte [rbp - 0x3d], cl
movzx ecx, byte [r14 + 2]
mov byte [rbp - 0x3c], al
movzx eax, byte [r15 + 3]
mov byte [rbp - 0x3b], cl
movzx ecx, byte [r14 + 3]
mov byte [rbp - 0x3a], al
movzx eax, byte [r15 + 4]
mov byte [rbp - 0x39], cl
movzx ecx, byte [r14 + 4]
mov byte [rbp - 0x38], al
movzx eax, byte [r15 + 5]
mov byte [rbp - 0x37], cl
movzx ecx, byte [r14 + 5]
mov byte [rbp - 0x36], al
movzx eax, byte [r15 + 6]
mov byte [rbp - 0x35], cl
movzx ecx, byte [r14 + 6]
mov byte [rbp - 0x34], al
movzx eax, byte [r15 + 7]
mov byte [rbp - 0x33], cl
movzx ecx, byte [r14 + 7]
mov byte [rbp - 0x32], al
movzx eax, byte [r15 + 8]
mov byte [rbp - 0x31], cl
movzx ecx, byte [r14 + 8]
mov byte [rbp - 0x30], al
movzx eax, byte [r15 + 9]
mov byte [rbp - 0x2f], cl
movzx ecx, byte [r14 + 9]
mov byte [rbp - 0x2e], al
movzx eax, byte [r15 + 0xa]
mov byte [rbp - 0x2d], cl
movzx ecx, byte [r14 + 0xa]
mov byte [rbp - 0x2c], al
movzx eax, byte [r15 + 0xb]
mov byte [rbp - 0x2b], cl
movzx ecx, byte [r14 + 0xb]
mov byte [rbp - 0x2a], al
movzx eax, byte [r15 + 0xc]
mov byte [rbp - 0x29], cl
movzx ecx, byte [r14 + 0xc]
mov byte [rbp - 0x28], al
movzx eax, byte [r15 + 0xd]
mov byte [rbp - 0x27], cl
movzx ecx, byte [r14 + 0xd]
mov byte [rbp - 0x26], al
movzx eax, byte [r15 + 0xe]
mov byte [rbp - 0x25], cl
movzx ecx, byte [r14 + 0xe]
mov byte [rbp - 0x24], al
movzx eax, byte [r15 + 0xf]
mov byte [rbp - 0x23], cl
movzx ecx, byte [r14 + 0xf]
mov byte [rbp - 0x22], al
movzx eax, byte [r15 + 0x10]
mov byte [rbp - 0x21], cl
movzx ecx, byte [r14 + 0x10]
mov byte [rbp - 0x20], al
movzx eax, byte [r15 + 0x11]
mov byte [rbp - 0x1f], cl
movzx ecx, byte [r14 + 0x11]
mov byte [rbp - 0x1e], al
movzx eax, byte [r15 + 0x12]
mov byte [rbp - 0x1d], cl
movzx ecx, byte [r14 + 0x12]
mov byte [rbp - 0x1c], al
movzx eax, byte [r15 + 0x13]
mov byte [rbp - 0x1b], cl
movzx ecx, byte [r14 + 0x13]
mov byte [rbp - 0x1a], al
movzx eax, byte [r15 + 0x14]
lea rbx, [rdx + r10]
mov byte [rbp - 0x19], cl
movzx ecx, byte [r14 + 0x14]
mov byte [rbp - 0x18], al
movzx eax, byte [r15 + 0x15]
mov byte [rbp - 0x17], cl
movzx ecx, byte [r14 + 0x15]
mov byte [rbp - 0x16], al
movzx eax, byte [r15 + 0x16]
mov byte [rbp - 0x15], cl
movzx ecx, byte [r14 + 0x16]
mov byte [rbp - 0x14], al
mov rax, rbx
mov byte [rbp - 0x13], cl
cmp rdx, 0x17
jb 0x14008de19
lea r11, [rbx - 0x17]
nop word [rax + rax]
mov r8, r10
lea rdx, [rbp - 0x40]
nop word [rax + rax]
movzx r9d, word [rdx]
movzx ecx, r9w
shr cx, 8
cmp cl, 0x3f
je 0x14008de06
cmp byte [r8], r9b
jne 0x14008de2d
inc r8
lea rcx, [rbp - 0x12]
add rdx, 2
cmp rdx, rcx
jne 0x14008ddf0
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x80]
jmp 0x14008de39
cmp r10, r11
je 0x14008de19
inc r10
jmp 0x14008dde0
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401dd5d0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rcx, [0x1405d52f8]
call fcn.1401dd358
cmp dword [0x1405d52f8], 0xffffffff
jne 0x14008dbbf
mov rax, qword [0x1405d52c8]
lea rcx, [0x1405d52f8]
movzx edx, word [rax + 6]
mov word [0x1405d52f4], dx
call fcn.1401dd2ec
jmp 0x14008dbbf
lea rcx, [0x1405d5308]
call fcn.1401dd358
cmp dword [0x1405d5308], 0xffffffff
jne 0x14008dc46
mov rax, qword [0x1405d52d8]
lea rcx, [0x1405d5308]
mov edx, dword [rax + 0xc]
add rdx, qword [0x1405d52a8]
mov qword [0x1405d5300], rdx
call fcn.1401dd2ec
jmp 0x14008dc46
lea rcx, [0x1405d52b0]
call fcn.1401dd358
cmp dword [0x1405d52b0], 0xffffffff
jne 0x14008db49
mov r8d, edi
lea rcx, [0x1401e0de0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x1405d52b0]
mov qword [0x1405d52a8], rax
call fcn.1401dd2ec
jmp 0x14008db49
lea rcx, [0x1405d52c0]
call fcn.1401dd358
cmp dword [0x1405d52c0], 0xffffffff
jne 0x14008db57
mov rax, qword [0x1405d52a8]
lea rcx, [0x1405d52c0]
mov qword [0x1405d52b8], rax
call fcn.1401dd2ec
jmp 0x14008db57
lea rcx, [0x1405d52d0]
call fcn.1401dd358
cmp dword [0x1405d52d0], 0xffffffff
jne 0x14008db7a
mov rax, qword [0x1405d52b8]
lea rcx, [0x1405d52d0]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1405d52a8]
mov qword [0x1405d52c8], rdx
call fcn.1401dd2ec
jmp 0x14008db7a
lea rcx, [0x1405d52e0]
call fcn.1401dd358
cmp dword [0x1405d52e0], 0xffffffff
jne 0x14008dba3
mov rax, qword [0x1405d52c8]
lea rcx, [0x1405d52e0]
add rax, 0x108
mov qword [0x1405d52d8], rax
call fcn.1401dd2ec
jmp 0x14008dba3
lea rcx, [0x1405d52f0]
call fcn.1401dd358
cmp dword [0x1405d52f0], 0xffffffff
jne 0x14008dbb1
mov rax, qword [0x1405d52d8]
lea rcx, [0x1405d52f0]
mov qword [0x1405d52e8], rax
call fcn.1401dd2ec
jmp 0x14008dbb1