Function at 0x1400bbde0
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1401f6080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword gs:[0x58]
mov ebx, 1
mov edi, 4
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x141673f74], eax
jle 0x1400bbe53
lea rcx, [0x141673f74]
call fcn.140175548
cmp dword [0x141673f74], 0xffffffff
jne 0x1400bbe53
mov r8d, ebx
lea rcx, [0x1401ce0c8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x141673f74]
mov qword [0x141674010], rax
call fcn.1401754dc
mov eax, dword [rdi]
cmp dword [0x141674034], eax
jle 0x1400bbe8c
lea rcx, [0x141674034]
call fcn.140175548
cmp dword [0x141674034], 0xffffffff
jne 0x1400bbe8c
mov rax, qword [0x141674010]
lea rcx, [0x141674034]
mov qword [0x141673fc8], rax
call fcn.1401754dc
mov rax, qword [0x141673fc8]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400bc108
mov eax, dword [rdi]
cmp dword [0x14167402c], eax
jle 0x1400bbee5
lea rcx, [0x14167402c]
call fcn.140175548
cmp dword [0x14167402c], 0xffffffff
jne 0x1400bbee5
mov rax, qword [0x141673fc8]
lea rcx, [0x14167402c]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x141674010]
mov qword [0x141673ff0], rdx
call fcn.1401754dc
mov rax, qword [0x141673ff0]
cmp dword [rax], 0x4550
jne 0x1400bc108
mov eax, dword [rdi]
cmp dword [0x141673f84], eax
mov qword [rsp + 0x60], rsi
jle 0x1400bbf3c
lea rcx, [0x141673f84]
call fcn.140175548
cmp dword [0x141673f84], 0xffffffff
jne 0x1400bbf3c
mov rax, qword [0x141673ff0]
lea rcx, [0x141673f84]
add rax, 0x108
mov qword [0x141673f58], rax
call fcn.1401754dc
mov eax, dword [rdi]
cmp dword [0x141673f8c], eax
jle 0x1400bbf75
lea rcx, [0x141673f8c]
call fcn.140175548
cmp dword [0x141673f8c], 0xffffffff
jne 0x1400bbf75
mov rax, qword [0x141673f58]
lea rcx, [0x141673f8c]
mov qword [0x141674040], rax
call fcn.1401754dc
mov eax, dword [rdi]
cmp dword [0x141673fe8], eax
jle 0x1400bbfb2
lea rcx, [0x141673fe8]
call fcn.140175548
cmp dword [0x141673fe8], 0xffffffff
jne 0x1400bbfb2
mov rax, qword [0x141673ff0]
lea rcx, [0x141673fe8]
movzx edx, word [rax + 6]
mov word [0x141674030], dx
call fcn.1401754dc
xchg byte [0x141674018], bl
mov rdx, qword [0x141673f58]
xor esi, esi
test bl, bl
jne 0x1400bc026
movzx eax, word [0x141674030]
lea rcx, [rax + rax*4]
mov rax, qword [0x141674040]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x1400bc026
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 0x1400bc016
cmp rcx, 5
jne 0x1400bc000
jmp 0x1400bc026
add rdx, 0x28
mov qword [0x141673f58], rdx
cmp rdx, r8
jb 0x1400bbff0
mov eax, dword [rdi]
cmp dword [0x141673f4c], eax
jle 0x1400bc070
lea rcx, [0x141673f4c]
call fcn.140175548
cmp dword [0x141673f4c], 0xffffffff
jne 0x1400bc069
mov rax, qword [0x141673f58]
lea rcx, [0x141673f4c]
mov edx, dword [rax + 0xc]
add rdx, qword [0x141674010]
mov qword [0x141674050], rdx
call fcn.1401754dc
mov rdx, qword [0x141673f58]
mov ecx, dword [rdx + 0x10]
mov r9, qword [0x141674050]
movdqa xmm0, xmmword [0x1401d8320]
movdqa xmm1, xmmword [0x1401d8310]
movdqu xmmword [rsp + 0x20], xmm0
lea r10, [r9 + rcx]
mov rax, r10
movdqu xmmword [rsp + 0x30], xmm1
cmp rcx, 0x10
jb 0x1400bc0ea
lea r11, [r10 - 0x10]
nop word [rax + rax]
mov rdx, r9
lea rax, [rsp + 0x20]
nop dword [rax + rax]
movzx r8d, word [rax]
movzx ecx, r8w
shr cx, 8
cmp cl, 0x3f
je 0x1400bc0d6
cmp byte [rdx], r8b
jne 0x1400bc0fb
inc rdx
lea rcx, [rsp + 0x40]
add rax, 2
cmp rax, rcx
jne 0x1400bc0c0
mov rax, r9
cmp rax, r10
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x60]
jmp 0x1400bc10a
mov rax, r10
cmp r9, r11
je 0x1400bc0ea
inc r9
jmp 0x1400bc0b0
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140175100
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret