Function at 0x1400532d0
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1401821c0]
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 [0x1401cfe54], eax
jle 0x140053343
lea rcx, [0x1401cfe54]
call fcn.140120620
cmp dword [0x1401cfe54], 0xffffffff
jne 0x140053343
mov r8d, ebx
lea rcx, [0x140144668]
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_LoadLibraryExA]
lea rcx, [0x1401cfe54]
mov qword [0x1401cfef0], rax
call fcn.1401205b4
mov eax, dword [rdi]
cmp dword [0x1401cff14], eax
jle 0x14005337c
lea rcx, [0x1401cff14]
call fcn.140120620
cmp dword [0x1401cff14], 0xffffffff
jne 0x14005337c
mov rax, qword [0x1401cfef0]
lea rcx, [0x1401cff14]
mov qword [0x1401cfea8], rax
call fcn.1401205b4
mov rax, qword [0x1401cfea8]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400535f5
mov eax, dword [rdi]
cmp dword [0x1401cff0c], eax
jle 0x1400533d5
lea rcx, [0x1401cff0c]
call fcn.140120620
cmp dword [0x1401cff0c], 0xffffffff
jne 0x1400533d5
mov rax, qword [0x1401cfea8]
lea rcx, [0x1401cff0c]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1401cfef0]
mov qword [0x1401cfed0], rdx
call fcn.1401205b4
mov rax, qword [0x1401cfed0]
cmp dword [rax], 0x4550
jne 0x1400535f5
mov eax, dword [rdi]
cmp dword [0x1401cfe64], eax
mov qword [rsp + 0x60], rsi
jle 0x14005342c
lea rcx, [0x1401cfe64]
call fcn.140120620
cmp dword [0x1401cfe64], 0xffffffff
jne 0x14005342c
mov rax, qword [0x1401cfed0]
lea rcx, [0x1401cfe64]
add rax, 0x108
mov qword [0x1401cfe38], rax
call fcn.1401205b4
mov eax, dword [rdi]
cmp dword [0x1401cfe68], eax
jle 0x140053465
lea rcx, [0x1401cfe68]
call fcn.140120620
cmp dword [0x1401cfe68], 0xffffffff
jne 0x140053465
mov rax, qword [0x1401cfe38]
lea rcx, [0x1401cfe68]
mov qword [0x1401cff20], rax
call fcn.1401205b4
mov eax, dword [rdi]
cmp dword [0x1401cfec8], eax
jle 0x1400534a2
lea rcx, [0x1401cfec8]
call fcn.140120620
cmp dword [0x1401cfec8], 0xffffffff
jne 0x1400534a2
mov rax, qword [0x1401cfed0]
lea rcx, [0x1401cfec8]
movzx edx, word [rax + 6]
mov word [0x1401cff10], dx
call fcn.1401205b4
xchg byte [0x1401cfef8], bl
mov rdx, qword [0x1401cfe38]
xor esi, esi
test bl, bl
jne 0x140053516
movzx eax, word [0x1401cff10]
lea rcx, [rax + rax*4]
mov rax, qword [0x1401cff20]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x140053516
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 0x140053506
cmp rcx, 5
jne 0x1400534f0
jmp 0x140053516
add rdx, 0x28
mov qword [0x1401cfe38], rdx
cmp rdx, r8
jb 0x1400534e0
mov eax, dword [rdi]
cmp dword [0x1401cfe28], eax
jle 0x140053560
lea rcx, [0x1401cfe28]
call fcn.140120620
cmp dword [0x1401cfe28], 0xffffffff
jne 0x140053559
mov rax, qword [0x1401cfe38]
lea rcx, [0x1401cfe28]
mov edx, dword [rax + 0xc]
add rdx, qword [0x1401cfef0]
mov qword [0x1401cff30], rdx
call fcn.1401205b4
mov rdx, qword [0x1401cfe38]
mov ecx, dword [rdx + 0x10]
mov r10, qword [0x1401cff30]
movdqa xmm0, xmmword [0x14014f600]
movdqa xmm1, xmmword [0x14014f5e0]
movdqu xmmword [rsp + 0x20], xmm0
lea rbx, [rcx + r10]
mov rax, rbx
movdqu xmmword [rsp + 0x30], xmm1
cmp rcx, 0x10
jb 0x1400535da
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 0x1400535c6
cmp byte [r8], r9b
jne 0x1400535eb
inc r8
lea rcx, [rsp + 0x40]
add rdx, 2
cmp rdx, rcx
jne 0x1400535b0
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x60]
jmp 0x1400535f7
cmp r10, r11
je 0x1400535da
inc r10
jmp 0x1400535a0
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140120550
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret