Function at 0x14003d7a0
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400d6040]
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 [0x140151004], eax
jle 0x14003d813
lea rcx, [0x140151004]
call fcn.1400a9db0
cmp dword [0x140151004], 0xffffffff
jne 0x14003d813
mov r8d, ebx
lea rcx, [0x1400b7928]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x140151004]
mov qword [0x1401510a0], rax
call fcn.1400a9d44
mov eax, dword [rdi]
cmp dword [0x1401510c4], eax
jle 0x14003d84c
lea rcx, [0x1401510c4]
call fcn.1400a9db0
cmp dword [0x1401510c4], 0xffffffff
jne 0x14003d84c
mov rax, qword [0x1401510a0]
lea rcx, [0x1401510c4]
mov qword [0x140151058], rax
call fcn.1400a9d44
mov rax, qword [0x140151058]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003dac5
mov eax, dword [rdi]
cmp dword [0x1401510bc], eax
jle 0x14003d8a5
lea rcx, [0x1401510bc]
call fcn.1400a9db0
cmp dword [0x1401510bc], 0xffffffff
jne 0x14003d8a5
mov rax, qword [0x140151058]
lea rcx, [0x1401510bc]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1401510a0]
mov qword [0x140151080], rdx
call fcn.1400a9d44
mov rax, qword [0x140151080]
cmp dword [rax], 0x4550
jne 0x14003dac5
mov eax, dword [rdi]
cmp dword [0x140151014], eax
mov qword [rsp + 0x60], rsi
jle 0x14003d8fc
lea rcx, [0x140151014]
call fcn.1400a9db0
cmp dword [0x140151014], 0xffffffff
jne 0x14003d8fc
mov rax, qword [0x140151080]
lea rcx, [0x140151014]
add rax, 0x108
mov qword [0x140150fe8], rax
call fcn.1400a9d44
mov eax, dword [rdi]
cmp dword [0x140151018], eax
jle 0x14003d935
lea rcx, [0x140151018]
call fcn.1400a9db0
cmp dword [0x140151018], 0xffffffff
jne 0x14003d935
mov rax, qword [0x140150fe8]
lea rcx, [0x140151018]
mov qword [0x1401510d0], rax
call fcn.1400a9d44
mov eax, dword [rdi]
cmp dword [0x140151078], eax
jle 0x14003d972
lea rcx, [0x140151078]
call fcn.1400a9db0
cmp dword [0x140151078], 0xffffffff
jne 0x14003d972
mov rax, qword [0x140151080]
lea rcx, [0x140151078]
movzx edx, word [rax + 6]
mov word [0x1401510c0], dx
call fcn.1400a9d44
xchg byte [0x1401510a8], bl
mov rdx, qword [0x140150fe8]
xor esi, esi
test bl, bl
jne 0x14003d9e6
movzx eax, word [0x1401510c0]
lea rcx, [rax + rax*4]
mov rax, qword [0x1401510d0]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x14003d9e6
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 0x14003d9d6
cmp rcx, 5
jne 0x14003d9c0
jmp 0x14003d9e6
add rdx, 0x28
mov qword [0x140150fe8], rdx
cmp rdx, r8
jb 0x14003d9b0
mov eax, dword [rdi]
cmp dword [0x140150fd8], eax
jle 0x14003da30
lea rcx, [0x140150fd8]
call fcn.1400a9db0
cmp dword [0x140150fd8], 0xffffffff
jne 0x14003da29
mov rax, qword [0x140150fe8]
lea rcx, [0x140150fd8]
mov edx, dword [rax + 0xc]
add rdx, qword [0x1401510a0]
mov qword [0x1401510e0], rdx
call fcn.1400a9d44
mov rdx, qword [0x140150fe8]
mov ecx, dword [rdx + 0x10]
mov r10, qword [0x1401510e0]
movdqa xmm0, xmmword [0x1400c2f10]
movdqa xmm1, xmmword [0x1400c2f00]
movdqu xmmword [rsp + 0x20], xmm0
lea rbx, [rcx + r10]
mov rax, rbx
movdqu xmmword [rsp + 0x30], xmm1
cmp rcx, 0x10
jb 0x14003daaa
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 0x14003da96
cmp byte [r8], r9b
jne 0x14003dabb
inc r8
lea rcx, [rsp + 0x40]
add rdx, 2
cmp rdx, rcx
jne 0x14003da80
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x60]
jmp 0x14003dac7
cmp r10, r11
je 0x14003daaa
inc r10
jmp 0x14003da70
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400a9ce0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret