Function at 0x18007bbf0
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x18013a080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword gs:[0x58]
mov ebx, 1
mov ecx, dword [0x1801faecc]
mov edx, 4
mov rdi, qword [rax + rcx*8]
add rdi, rdx
mov eax, dword [rdi]
cmp dword [0x1801fb790], eax
jle 0x18007bc6d
lea rcx, [0x1801fb790]
call fcn.1800e65b0
cmp dword [0x1801fb790], 0xffffffff
jne 0x18007bc6d
mov r8d, ebx
lea rcx, [0x18011e2d8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x1801fb790]
mov qword [0x1801fb9a8], rax
call fcn.1800e6544
mov eax, dword [rdi]
cmp dword [0x1801fb9dc], eax
jle 0x18007bca6
lea rcx, [0x1801fb9dc]
call fcn.1800e65b0
cmp dword [0x1801fb9dc], 0xffffffff
jne 0x18007bca6
mov rax, qword [0x1801fb9a8]
lea rcx, [0x1801fb9dc]
mov qword [0x1801fb890], rax
call fcn.1800e6544
mov rax, qword [0x1801fb890]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18007bf15
mov eax, dword [rdi]
cmp dword [0x1801fb9d0], eax
jle 0x18007bcff
lea rcx, [0x1801fb9d0]
call fcn.1800e65b0
cmp dword [0x1801fb9d0], 0xffffffff
jne 0x18007bcff
mov rax, qword [0x1801fb890]
lea rcx, [0x1801fb9d0]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1801fb9a8]
mov qword [0x1801fb940], rdx
call fcn.1800e6544
mov rax, qword [0x1801fb940]
cmp dword [rax], 0x4550
jne 0x18007bf15
mov eax, dword [rdi]
cmp dword [0x1801fb7ac], eax
mov qword [rsp + 0x60], rsi
jle 0x18007bd56
lea rcx, [0x1801fb7ac]
call fcn.1800e65b0
cmp dword [0x1801fb7ac], 0xffffffff
jne 0x18007bd56
mov rax, qword [0x1801fb940]
lea rcx, [0x1801fb7ac]
add rax, 0x108
mov qword [0x1801fb760], rax
call fcn.1800e6544
mov eax, dword [rdi]
cmp dword [0x1801fb7b0], eax
jle 0x18007bd8f
lea rcx, [0x1801fb7b0]
call fcn.1800e65b0
cmp dword [0x1801fb7b0], 0xffffffff
jne 0x18007bd8f
mov rax, qword [0x1801fb760]
lea rcx, [0x1801fb7b0]
mov qword [0x1801fba10], rax
call fcn.1800e6544
mov eax, dword [rdi]
cmp dword [0x1801fb934], eax
jle 0x18007bdcc
lea rcx, [0x1801fb934]
call fcn.1800e65b0
cmp dword [0x1801fb934], 0xffffffff
jne 0x18007bdcc
mov rax, qword [0x1801fb940]
lea rcx, [0x1801fb934]
movzx edx, word [rax + 6]
mov word [0x1801fb9d8], dx
call fcn.1800e6544
xchg byte [0x1801fb9b0], bl
mov rdx, qword [0x1801fb760]
xor esi, esi
test bl, bl
jne 0x18007be36
movzx eax, word [0x1801fb9d8]
lea rcx, [rax + rax*4]
mov rax, qword [0x1801fba10]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x18007be36
lea r9, str.PAGE
mov rcx, rsi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x18007be26
cmp rcx, 5
jne 0x18007be10
jmp 0x18007be36
add rdx, 0x28
mov qword [0x1801fb760], rdx
cmp rdx, r8
jb 0x18007be01
mov eax, dword [rdi]
cmp dword [0x1801fb748], eax
jle 0x18007be80
lea rcx, [0x1801fb748]
call fcn.1800e65b0
cmp dword [0x1801fb748], 0xffffffff
jne 0x18007be79
mov rax, qword [0x1801fb760]
lea rcx, [0x1801fb748]
mov edx, dword [rax + 0xc]
add rdx, qword [0x1801fb9a8]
mov qword [0x1801fba38], rdx
call fcn.1800e6544
mov rdx, qword [0x1801fb760]
mov ecx, dword [rdx + 0x10]
mov r10, qword [0x1801fba38]
movdqa xmm0, xmmword [0x180127d10]
movdqa xmm1, xmmword [0x180127d00]
movdqu xmmword [rsp + 0x20], xmm0
lea rbx, [rcx + r10]
mov rax, rbx
movdqu xmmword [rsp + 0x30], xmm1
cmp rcx, 0x10
jb 0x18007befa
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 0x18007bee6
cmp byte [r8], r9b
jne 0x18007bf0b
inc r8
lea rcx, [rsp + 0x40]
add rdx, 2
cmp rdx, rcx
jne 0x18007bed0
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x60]
jmp 0x18007bf17
cmp r10, r11
je 0x18007befa
inc r10
jmp 0x18007bec0
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800e63a0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret