Function at 0x140044fa0
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1401781c0]
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 [0x1401ea8e4], eax
jle 0x140045013
lea rcx, [0x1401ea8e4]
call fcn.14011b8fc
cmp dword [0x1401ea8e4], 0xffffffff
jne 0x140045013
mov r8d, ebx
lea rcx, [0x14013b470]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x1401ea8e4]
mov qword [0x1401ea980], rax
call fcn.14011b890
mov eax, dword [rdi]
cmp dword [0x1401ea9a4], eax
jle 0x14004504c
lea rcx, [0x1401ea9a4]
call fcn.14011b8fc
cmp dword [0x1401ea9a4], 0xffffffff
jne 0x14004504c
mov rax, qword [0x1401ea980]
lea rcx, [0x1401ea9a4]
mov qword [0x1401ea938], rax
call fcn.14011b890
mov rax, qword [0x1401ea938]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400452c5
mov eax, dword [rdi]
cmp dword [0x1401ea99c], eax
jle 0x1400450a5
lea rcx, [0x1401ea99c]
call fcn.14011b8fc
cmp dword [0x1401ea99c], 0xffffffff
jne 0x1400450a5
mov rax, qword [0x1401ea938]
lea rcx, [0x1401ea99c]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1401ea980]
mov qword [0x1401ea960], rdx
call fcn.14011b890
mov rax, qword [0x1401ea960]
cmp dword [rax], 0x4550
jne 0x1400452c5
mov eax, dword [rdi]
cmp dword [0x1401ea8f4], eax
mov qword [rsp + 0x60], rsi
jle 0x1400450fc
lea rcx, [0x1401ea8f4]
call fcn.14011b8fc
cmp dword [0x1401ea8f4], 0xffffffff
jne 0x1400450fc
mov rax, qword [0x1401ea960]
lea rcx, [0x1401ea8f4]
add rax, 0x108
mov qword [0x1401ea8c8], rax
call fcn.14011b890
mov eax, dword [rdi]
cmp dword [0x1401ea8f8], eax
jle 0x140045135
lea rcx, [0x1401ea8f8]
call fcn.14011b8fc
cmp dword [0x1401ea8f8], 0xffffffff
jne 0x140045135
mov rax, qword [0x1401ea8c8]
lea rcx, [0x1401ea8f8]
mov qword [0x1401ea9b0], rax
call fcn.14011b890
mov eax, dword [rdi]
cmp dword [0x1401ea958], eax
jle 0x140045172
lea rcx, [0x1401ea958]
call fcn.14011b8fc
cmp dword [0x1401ea958], 0xffffffff
jne 0x140045172
mov rax, qword [0x1401ea960]
lea rcx, [0x1401ea958]
movzx edx, word [rax + 6]
mov word [0x1401ea9a0], dx
call fcn.14011b890
xchg byte [0x1401ea988], bl
mov rdx, qword [0x1401ea8c8]
xor esi, esi
test bl, bl
jne 0x1400451e6
movzx eax, word [0x1401ea9a0]
lea rcx, [rax + rax*4]
mov rax, qword [0x1401ea9b0]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x1400451e6
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 0x1400451d6
cmp rcx, 5
jne 0x1400451c0
jmp 0x1400451e6
add rdx, 0x28
mov qword [0x1401ea8c8], rdx
cmp rdx, r8
jb 0x1400451b0
mov eax, dword [rdi]
cmp dword [0x1401ea8b8], eax
jle 0x140045230
lea rcx, [0x1401ea8b8]
call fcn.14011b8fc
cmp dword [0x1401ea8b8], 0xffffffff
jne 0x140045229
mov rax, qword [0x1401ea8c8]
lea rcx, [0x1401ea8b8]
mov edx, dword [rax + 0xc]
add rdx, qword [0x1401ea980]
mov qword [0x1401ea9c0], rdx
call fcn.14011b890
mov rdx, qword [0x1401ea8c8]
mov ecx, dword [rdx + 0x10]
mov r10, qword [0x1401ea9c0]
movdqa xmm0, xmmword [0x140146c30]
movdqa xmm1, xmmword [0x140146c20]
movdqu xmmword [rsp + 0x20], xmm0
lea rbx, [rcx + r10]
mov rax, rbx
movdqu xmmword [rsp + 0x30], xmm1
cmp rcx, 0x10
jb 0x1400452aa
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 0x140045296
cmp byte [r8], r9b
jne 0x1400452bb
inc r8
lea rcx, [rsp + 0x40]
add rdx, 2
cmp rdx, rcx
jne 0x140045280
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x60]
jmp 0x1400452c7
cmp r10, r11
je 0x1400452aa
inc r10
jmp 0x140045270
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14011b520
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret