Function at 0x140053610
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1401821c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword gs:[0x58]
mov ebx, 1
mov edi, 8
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x1401cfe50], eax
jle 0x140053683
lea rcx, [0x1401cfe50]
call fcn.140120620
cmp dword [0x1401cfe50], 0xffffffff
jne 0x140053683
mov r8d, ebx
lea rcx, [0x140144668]
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_LoadLibraryExA]
lea rcx, [0x1401cfe50]
mov qword [0x1401cfe48], rax
call fcn.1401205b4
mov eax, dword [rdi]
cmp dword [0x1401cfe6c], eax
jle 0x1400536bc
lea rcx, [0x1401cfe6c]
call fcn.140120620
cmp dword [0x1401cfe6c], 0xffffffff
jne 0x1400536bc
mov rax, qword [0x1401cfe48]
lea rcx, [0x1401cfe6c]
mov qword [0x1401cfec0], rax
call fcn.1401205b4
mov rax, qword [0x1401cfec0]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140053955
mov eax, dword [rdi]
cmp dword [0x1401cfe80], eax
jle 0x140053715
lea rcx, [0x1401cfe80]
call fcn.140120620
cmp dword [0x1401cfe80], 0xffffffff
jne 0x140053715
mov rax, qword [0x1401cfec0]
lea rcx, [0x1401cfe80]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1401cfe48]
mov qword [0x1401cfed8], rdx
call fcn.1401205b4
mov rax, qword [0x1401cfed8]
cmp dword [rax], 0x4550
jne 0x140053955
mov eax, dword [rdi]
cmp dword [0x1401cfe70], eax
mov qword [rsp + 0x70], rsi
jle 0x14005376c
lea rcx, [0x1401cfe70]
call fcn.140120620
cmp dword [0x1401cfe70], 0xffffffff
jne 0x14005376c
mov rax, qword [0x1401cfed8]
lea rcx, [0x1401cfe70]
add rax, 0x108
mov qword [0x1401cff28], rax
call fcn.1401205b4
mov eax, dword [rdi]
cmp dword [0x1401cff18], eax
jle 0x1400537a5
lea rcx, [0x1401cff18]
call fcn.140120620
cmp dword [0x1401cff18], 0xffffffff
jne 0x1400537a5
mov rax, qword [0x1401cff28]
lea rcx, [0x1401cff18]
mov qword [0x1401cfe30], rax
call fcn.1401205b4
mov eax, dword [rdi]
cmp dword [0x1401cff1c], eax
jle 0x1400537e2
lea rcx, [0x1401cff1c]
call fcn.140120620
cmp dword [0x1401cff1c], 0xffffffff
jne 0x1400537e2
mov rax, qword [0x1401cfed8]
lea rcx, [0x1401cff1c]
movzx edx, word [rax + 6]
mov word [0x1401cfe40], dx
call fcn.1401205b4
xchg byte [0x1401cfe7c], bl
mov rdx, qword [0x1401cff28]
xor esi, esi
test bl, bl
jne 0x140053856
movzx eax, word [0x1401cfe40]
lea rcx, [rax + rax*4]
mov rax, qword [0x1401cfe30]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x140053856
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 0x140053846
cmp rcx, 5
jne 0x140053830
jmp 0x140053856
add rdx, 0x28
mov qword [0x1401cff28], rdx
cmp rdx, r8
jb 0x140053820
mov eax, dword [rdi]
cmp dword [0x1401cfe24], eax
jle 0x1400538a0
lea rcx, [0x1401cfe24]
call fcn.140120620
cmp dword [0x1401cfe24], 0xffffffff
jne 0x140053899
mov rax, qword [0x1401cff28]
lea rcx, [0x1401cfe24]
mov edx, dword [rax + 0xc]
add rdx, qword [0x1401cfe48]
mov qword [0x1401cff00], rdx
call fcn.1401205b4
mov rdx, qword [0x1401cff28]
mov ecx, dword [rdx + 0x10]
mov r10, qword [0x1401cff00]
movdqa xmm0, xmmword [0x14014f600]
movdqa xmm1, xmmword [0x14014f370]
mov dword [rsp + 0x40], 0x3f003f00
mov dword [rsp + 0x44], 0x78483f00
lea rbx, [rcx + r10]
mov dword [rsp + 0x48], 0x78c07885
mov rax, rbx
mov word [rsp + 0x4c], 0x780f
movdqu xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
cmp rcx, 0x17
jb 0x14005393a
lea r11, [rbx - 0x17]
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 0x140053926
cmp byte [r8], r9b
jne 0x14005394b
inc r8
lea rcx, [rsp + 0x4e]
add rdx, 2
cmp rdx, rcx
jne 0x140053910
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x70]
jmp 0x140053957
cmp r10, r11
je 0x14005393a
inc r10
jmp 0x140053900
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140120550
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret