Function at 0x140004430
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14007e040]
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 [0x14007f18c], eax
jle 0x1400044a3
lea rcx, [0x14007f18c]
call fcn.140060390
cmp dword [0x14007f18c], 0xffffffff
jne 0x1400044a3
mov r8d, ebx
lea rcx, [0x140063df0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x14007f18c]
mov qword [0x14007f228], rax
call fcn.140060324
mov eax, dword [rdi]
cmp dword [0x14007f24c], eax
jle 0x1400044dc
lea rcx, [0x14007f24c]
call fcn.140060390
cmp dword [0x14007f24c], 0xffffffff
jne 0x1400044dc
mov rax, qword [0x14007f228]
lea rcx, [0x14007f24c]
mov qword [0x14007f1e0], rax
call fcn.140060324
mov rax, qword [0x14007f1e0]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004755
mov eax, dword [rdi]
cmp dword [0x14007f244], eax
jle 0x140004535
lea rcx, [0x14007f244]
call fcn.140060390
cmp dword [0x14007f244], 0xffffffff
jne 0x140004535
mov rax, qword [0x14007f1e0]
lea rcx, [0x14007f244]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x14007f228]
mov qword [0x14007f208], rdx
call fcn.140060324
mov rax, qword [0x14007f208]
cmp dword [rax], 0x4550
jne 0x140004755
mov eax, dword [rdi]
cmp dword [0x14007f19c], eax
mov qword [rsp + 0x60], rsi
jle 0x14000458c
lea rcx, [0x14007f19c]
call fcn.140060390
cmp dword [0x14007f19c], 0xffffffff
jne 0x14000458c
mov rax, qword [0x14007f208]
lea rcx, [0x14007f19c]
add rax, 0x108
mov qword [0x14007f170], rax
call fcn.140060324
mov eax, dword [rdi]
cmp dword [0x14007f1a0], eax
jle 0x1400045c5
lea rcx, [0x14007f1a0]
call fcn.140060390
cmp dword [0x14007f1a0], 0xffffffff
jne 0x1400045c5
mov rax, qword [0x14007f170]
lea rcx, [0x14007f1a0]
mov qword [0x14007f258], rax
call fcn.140060324
mov eax, dword [rdi]
cmp dword [0x14007f200], eax
jle 0x140004602
lea rcx, [0x14007f200]
call fcn.140060390
cmp dword [0x14007f200], 0xffffffff
jne 0x140004602
mov rax, qword [0x14007f208]
lea rcx, [0x14007f200]
movzx edx, word [rax + 6]
mov word [0x14007f248], dx
call fcn.140060324
xchg byte [0x14007f230], bl
mov rdx, qword [0x14007f170]
xor esi, esi
test bl, bl
jne 0x140004676
movzx eax, word [0x14007f248]
lea rcx, [rax + rax*4]
mov rax, qword [0x14007f258]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x140004676
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 0x140004666
cmp rcx, 5
jne 0x140004650
jmp 0x140004676
add rdx, 0x28
mov qword [0x14007f170], rdx
cmp rdx, r8
jb 0x140004640
mov eax, dword [rdi]
cmp dword [0x14007f160], eax
jle 0x1400046c0
lea rcx, [0x14007f160]
call fcn.140060390
cmp dword [0x14007f160], 0xffffffff
jne 0x1400046b9
mov rax, qword [0x14007f170]
lea rcx, [0x14007f160]
mov edx, dword [rax + 0xc]
add rdx, qword [0x14007f228]
mov qword [0x14007f268], rdx
call fcn.140060324
mov rdx, qword [0x14007f170]
mov ecx, dword [rdx + 0x10]
mov r10, qword [0x14007f268]
movdqa xmm0, xmmword [0x140071600]
movdqa xmm1, xmmword [0x1400715e0]
movdqu xmmword [rsp + 0x20], xmm0
lea rbx, [rcx + r10]
mov rax, rbx
movdqu xmmword [rsp + 0x30], xmm1
cmp rcx, 0x10
jb 0x14000473a
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 0x140004726
cmp byte [r8], r9b
jne 0x14000474b
inc r8
lea rcx, [rsp + 0x40]
add rdx, 2
cmp rdx, rcx
jne 0x140004710
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x60]
jmp 0x140004757
cmp r10, r11
je 0x14000473a
inc r10
jmp 0x140004700
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140060250
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret