Function at 0x1400aac90
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
cmp word [rcx + 0x10], 2
mov r9, rdx
mov rdx, rcx
mov rbx, r8
jne 0x1400aab26
mov ecx, dword [rcx + 0x1c]
test ecx, ecx
je 0x1400aab0f
movzx eax, word [rdx + 0x2c]
test ax, ax
je 0x1400aab0f
mov r8d, eax
mov r10d, eax
mov eax, ecx
shl r8, 5
not eax
cmp rax, r8
jb 0x1400aab0f
lea rax, [rcx + r8]
cmp rax, rbx
ja 0x1400aab0f
add rdx, rcx
xor ecx, ecx
test r10d, r10d
je 0x1400aab0f
nop dword [rax + rax]
mov r8d, dword [rdx + 8]
cmp r9, r8
jb 0x1400aab04
mov eax, dword [rdx + 0x14]
add eax, r8d
cmp r9, rax
jb 0x1400aab17
add rdx, 0x20
inc ecx
cmp ecx, r10d
jl 0x1400aaaf0
xor eax, eax
mov rbx, qword [rsp + 8]
ret
mov eax, dword [rdx + 4]
sub rax, r8
add rax, r9
mov rbx, qword [rsp + 8]
ret
mov r8d, dword [rcx + 0x20]
test r8d, r8d
je 0x1400aab0f
movzx eax, word [rcx + 0x30]
test ax, ax
je 0x1400aab0f
lea rcx, [rax + rax*4]
mov r10d, eax
mov eax, r8d
lea r11, [rcx*8]
not eax
cmp rax, r11
jb 0x1400aab0f
lea rax, [r8 + r11]
cmp rax, rbx
ja 0x1400aab0f
add rdx, r8
xor ecx, ecx
test r10d, r10d
je 0x1400aab0f
test dword [rdx + 4], 0xfffffff7
je 0x1400aab81
mov r8d, dword [rdx + 0xc]
cmp r9, r8
jb 0x1400aab81
mov eax, dword [rdx + 0x14]
add eax, r8d
cmp r9, rax
jb 0x1400aab94
add rdx, 0x28
inc ecx
cmp ecx, r10d
jl 0x1400aab64
xor eax, eax
mov rbx, qword [rsp + 8]
ret
mov r10d, dword [rdx + 0x10]
mov rcx, r9
mov eax, r10d
sub rcx, r8
not eax
cmp rax, rcx
jb 0x1400aab0f
mov rbx, qword [rsp + 8]
mov eax, r10d
sub rax, r8
add rax, r9
ret
push rbx
sub rsp, 0x30
mov r8, rdx
mov r10, rcx
cmp rdx, 0x40
jae 0x1400aacbc
cmp rdx, 0x10
jae 0x1400aadca
movabs rax, 0xfffabadafabadaff
add rsp, 0x30
pop rbx
ret
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400aadca
movsxd rax, dword [rcx + 0x3c]
test eax, eax
js 0x1400aadca
mov rcx, rax
add rax, 0x18
cmp r8, rax
jb 0x1400aadca
lea rbx, [rcx + r10]
add rax, 0xe0
cmp dword [rbx], 0x4550
jne 0x1400aadca
movzx ecx, word [rbx + 4]
mov edx, 0x14c
cmp cx, dx
je 0x1400aad18
mov edx, 0x8664
cmp cx, dx
jne 0x1400aadca
cmp r8, rax
jbe 0x1400aadca
movzx r9d, word [rbx + 0x14]
xor edx, edx
mov qword [rsp + 0x40], rbp
add r9, 0x24
mov qword [rsp + 0x48], rsi
add r9, rbx
movzx esi, word [rbx + 6]
mov r11d, edx
mov qword [rsp + 0x50], rdi
mov ebp, edx
mov qword [rsp + 0x28], r14
mov edi, edx
mov r14d, dword [rbx + 0x28]
mov qword [rsp + 0x20], r15
mov r15d, 0x1c
sub r15, rbx
mov eax, esi
cmp esi, 0x3c
jb 0x1400aad6c
mov eax, 0x3c
cmp r11d, eax
jge 0x1400aad9e
mov rcx, r10
lea rax, [r15 + r9]
sub rcx, rbx
add rcx, r8
cmp rax, rcx
jae 0x1400aada8
mov eax, dword [r9]
cmp r14, rax
jb 0x1400aad95
cmp edi, eax
ja 0x1400aad95
mov ebp, dword [r9 + 8]
mov edi, eax
add r9, 0x28
inc r11d
jmp 0x1400aad60
mov edx, ebp
mov eax, edi
sub rdx, rax
add rdx, r14
mov r15, qword [rsp + 0x20]
mov rax, rdx
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
cmp dword [r10], 0x464c457f
jne 0x1400aacac
movzx ecx, byte [r10 + 4]
mov edx, ecx
sub edx, 1
je 0x1400aae02
cmp edx, 1
jne 0x1400aacac
cmp r8, 0x40
jae 0x1400aae0c
movabs rax, 0xfffabadafabadaff
add rsp, 0x30
pop rbx
ret
cmp r8, 0x34
jb 0x1400aacac
sub ecx, 1
je 0x1400aaf56
cmp ecx, 1
jne 0x1400aacac
cmp word [r10 + 0x10], 2
mov r9, qword [r10 + 0x18]
jne 0x1400aaebe
mov rcx, qword [r10 + 0x20]
test rcx, rcx
je 0x1400aaf4b
movzx r11d, word [r10 + 0x38]
test r11w, r11w
je 0x1400aaf4b
imul rdx, r11, 0x38
mov eax, 0xffffffff
sub rax, rcx
cmp rax, rdx
jb 0x1400aaf4b
lea rax, [rdx + rcx]
xor edx, edx
cmp rax, r8
ja 0x1400aaf4d
lea r8, [rcx + r10]
mov r10d, edx
mov ebx, r11d
test r11d, r11d
je 0x1400aaf4d
mov r11, qword [r8 + 0x10]
cmp r9, r11
jb 0x1400aae96
mov rcx, qword [r8 + 0x28]
add rcx, r11
cmp r9, rcx
jb 0x1400aaeab
add r8, 0x38
inc r10d
cmp r10d, ebx
jl 0x1400aae81
mov rax, rdx
add rsp, 0x30
pop rbx
ret
mov rdx, qword [r8 + 8]
sub rdx, r11
add rdx, r9
mov rax, rdx
add rsp, 0x30
pop rbx
ret
mov rcx, qword [r10 + 0x28]
test rcx, rcx
je 0x1400aaf4b
movzx r11d, word [r10 + 0x3c]
test r11w, r11w
je 0x1400aaf4b
mov edx, r11d
mov eax, 0xffffffff
shl rdx, 6
sub rax, rcx
cmp rax, rdx
jb 0x1400aaf4b
lea rax, [rdx + rcx]
xor edx, edx
cmp rax, r8
ja 0x1400aaf4d
lea r8, [rcx + r10]
mov r10d, edx
mov ebx, r11d
test r11d, r11d
je 0x1400aaf4d
test dword [r8 + 4], 0xfffffff7
je 0x1400aaf23
mov r11, qword [r8 + 0x10]
cmp r9, r11
jb 0x1400aaf23
mov rcx, qword [r8 + 0x20]
add rcx, r11
cmp r9, rcx
jb 0x1400aaf38
add r8, 0x40
inc r10d
cmp r10d, ebx
jl 0x1400aaf04
mov rax, rdx
add rsp, 0x30
pop rbx
ret
mov rdx, qword [r8 + 0x18]
sub rdx, r11
add rdx, r9
mov rax, rdx
add rsp, 0x30
pop rbx
ret
xor edx, edx
mov rax, rdx
add rsp, 0x30
pop rbx
ret
mov edx, dword [r10 + 0x18]
mov rcx, r10
add rsp, 0x30
pop rbx
jmp 0x1400aaaa0