Function at 0x14004b490
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400f6040]
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 [0x1400f7fb4], eax
jle 0x14004b503
lea rcx, [0x1400f7fb4]
call fcn.1400c3a10
cmp dword [0x1400f7fb4], 0xffffffff
jne 0x14004b503
mov r8d, ebx
lea rcx, [0x1400d4218]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x1400f7fb4]
mov qword [0x1400f8050], rax
call fcn.1400c39a4
mov eax, dword [rdi]
cmp dword [0x1400f8074], eax
jle 0x14004b53c
lea rcx, [0x1400f8074]
call fcn.1400c3a10
cmp dword [0x1400f8074], 0xffffffff
jne 0x14004b53c
mov rax, qword [0x1400f8050]
lea rcx, [0x1400f8074]
mov qword [0x1400f8008], rax
call fcn.1400c39a4
mov rax, qword [0x1400f8008]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004b7b8
mov eax, dword [rdi]
cmp dword [0x1400f806c], eax
jle 0x14004b595
lea rcx, [0x1400f806c]
call fcn.1400c3a10
cmp dword [0x1400f806c], 0xffffffff
jne 0x14004b595
mov rax, qword [0x1400f8008]
lea rcx, [0x1400f806c]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1400f8050]
mov qword [0x1400f8030], rdx
call fcn.1400c39a4
mov rax, qword [0x1400f8030]
cmp dword [rax], 0x4550
jne 0x14004b7b8
mov eax, dword [rdi]
cmp dword [0x1400f7fc4], eax
mov qword [rsp + 0x60], rsi
jle 0x14004b5ec
lea rcx, [0x1400f7fc4]
call fcn.1400c3a10
cmp dword [0x1400f7fc4], 0xffffffff
jne 0x14004b5ec
mov rax, qword [0x1400f8030]
lea rcx, [0x1400f7fc4]
add rax, 0x108
mov qword [0x1400f7f98], rax
call fcn.1400c39a4
mov eax, dword [rdi]
cmp dword [0x1400f7fc8], eax
jle 0x14004b625
lea rcx, [0x1400f7fc8]
call fcn.1400c3a10
cmp dword [0x1400f7fc8], 0xffffffff
jne 0x14004b625
mov rax, qword [0x1400f7f98]
lea rcx, [0x1400f7fc8]
mov qword [0x1400f8080], rax
call fcn.1400c39a4
mov eax, dword [rdi]
cmp dword [0x1400f8028], eax
jle 0x14004b662
lea rcx, [0x1400f8028]
call fcn.1400c3a10
cmp dword [0x1400f8028], 0xffffffff
jne 0x14004b662
mov rax, qword [0x1400f8030]
lea rcx, [0x1400f8028]
movzx edx, word [rax + 6]
mov word [0x1400f8070], dx
call fcn.1400c39a4
xchg byte [0x1400f8058], bl
mov rdx, qword [0x1400f7f98]
xor esi, esi
test bl, bl
jne 0x14004b6d6
movzx eax, word [0x1400f8070]
lea rcx, [rax + rax*4]
mov rax, qword [0x1400f8080]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x14004b6d6
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 0x14004b6c6
cmp rcx, 5
jne 0x14004b6b0
jmp 0x14004b6d6
add rdx, 0x28
mov qword [0x1400f7f98], rdx
cmp rdx, r8
jb 0x14004b6a0
mov eax, dword [rdi]
cmp dword [0x1400f7f8c], eax
jle 0x14004b720
lea rcx, [0x1400f7f8c]
call fcn.1400c3a10
cmp dword [0x1400f7f8c], 0xffffffff
jne 0x14004b719
mov rax, qword [0x1400f7f98]
lea rcx, [0x1400f7f8c]
mov edx, dword [rax + 0xc]
add rdx, qword [0x1400f8050]
mov qword [0x1400f8090], rdx
call fcn.1400c39a4
mov rdx, qword [0x1400f7f98]
mov ecx, dword [rdx + 0x10]
mov r9, qword [0x1400f8090]
movdqa xmm0, xmmword [0x1400e0910]
movdqa xmm1, xmmword [0x1400e08f0]
movdqu xmmword [rsp + 0x20], xmm0
lea r10, [r9 + rcx]
mov rax, r10
movdqu xmmword [rsp + 0x30], xmm1
cmp rcx, 0x10
jb 0x14004b79a
lea r11, [r10 - 0x10]
nop word [rax + rax]
mov rdx, r9
lea rax, [rsp + 0x20]
nop dword [rax + rax]
movzx r8d, word [rax]
movzx ecx, r8w
shr cx, 8
cmp cl, 0x3f
je 0x14004b786
cmp byte [rdx], r8b
jne 0x14004b7ab
inc rdx
lea rcx, [rsp + 0x40]
add rax, 2
cmp rax, rcx
jne 0x14004b770
mov rax, r9
cmp rax, r10
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x60]
jmp 0x14004b7ba
mov rax, r10
cmp r9, r11
je 0x14004b79a
inc r9
jmp 0x14004b760
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400c3940
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret