Function at 0x1400a8db9
Capabilities:
Parse pe header

Disassembly:
jmp 0x140124dd0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push r13
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xd8
xor r15d, r15d
lea rbx, [rcx - 1]
mov dword [r9], r15d
mov rcx, rbx
mov word [rdx], r15w
mov r13, r9
lea rdx, [rbp - 0x31]
lea r8d, [r15 + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140124e21
add rsp, 0xd8
pop r15
pop r13
pop rbx
pop rbp
ret
mov r8d, dword [rbp + 0x7f]
mov rcx, qword [rbp - 0x29]
mov qword [rsp + 0xc8], rdi
mov rdi, qword [rbp + 0x77]
mov rdx, rdi
call fcn.1400ab7a8
test eax, eax
je 0x140124e66
mov r8, qword [rbp - 0x29]
mov eax, 0x5a4d
cmp word [r8], ax
jne 0x140124e66
movsxd rax, dword [r8 + 0x3c]
test eax, eax
jle 0x140124e66
cmp dword [r8 + rax], 0x4550
lea rcx, [r8 + rax]
je 0x140124e6d
xor eax, eax
jmp 0x14012522b
movzx r9d, word [rcx + 0x14]
sub ebx, r8d
movzx edx, word [rcx + 6]
add r9, rcx
mov qword [rsp + 0xd0], rsi
mov esi, r15d
mov qword [rsp + 0xb8], r14
mov r14d, r15d
test edx, edx
je 0x140124ec3
nop word [rax + rax]
mov eax, r14d
lea rcx, [rax + rax*4]
mov eax, dword [r9 + rcx*8 + 0x24]
cmp ebx, eax
jb 0x140124ebb
mov esi, ebx
sub esi, eax
cmp ebx, dword [r9 + rcx*8 + 0x20]
jb 0x140124ec3
inc r14d
cmp r14d, edx
jb 0x140124ea0
cmp r14d, edx
je 0x140124f4f
inc r14d
cmp byte [0x14025c7d2], r15b
jne 0x140124efb
cmp qword [0x14025c7c8], r15
jne 0x140124f4f
call fcn.1401247b0
mov qword [0x14025c7c8], rax
test rax, rax
je 0x140124f4f
mov byte [0x14025c7d2], 1
jmp 0x140124f02
mov rax, qword [0x14025c7c8]
lea rdx, str.PDBOpenValidate5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140124f4f
mov rcx, rax
call fcn.1400a86a7
lea rax, [rbp - 0x49]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], r15
lea rax, [rbp - 0x39]
mov qword [rsp + 0x28], r15
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call rbx
test eax, eax
jne 0x140124f56
xor eax, eax
jmp 0x14012521b
mov rdi, qword [rbp - 0x49]
mov rax, qword [rdi]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.1400a86a7
mov rcx, rdi
call rbx
cmp eax, 0x1329141
jne 0x140125200
mov rdi, qword [rbp - 0x49]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x38]
mov rcx, rbx
call fcn.1400a86a7
lea r9, [rbp - 0x41]
xor edx, edx
lea r8, str.rwa
mov rcx, rdi
call rbx
test eax, eax
je 0x140125200
mov rdi, qword [rbp - 0x41]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x40]
mov rcx, rbx
call fcn.1400a86a7
mov qword [rsp + 0x30], r15
lea r9, [rbp - 0x51]
mov qword [rsp + 0x28], r15
mov r8d, esi
movzx edx, r14w
mov qword [rsp + 0x20], r15
mov rcx, rdi
call rbx
test eax, eax
je 0x1401251e8
mov rdi, qword [rbp - 0x51]
mov qword [rbp - 0x69], r15
mov rax, qword [rdi]
mov rbx, qword [rax + 0xd0]
mov rcx, rbx
call fcn.1400a86a7
lea rdx, [rbp - 0x69]
mov rcx, rdi
call rbx
test al, al
je 0x1401251cd
mov rdi, qword [rbp - 0x69]
test rdi, rdi
je 0x1401251cd
mov rax, qword [rdi]
mov qword [rsp + 0xc0], r12
mov r12, r15
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call fcn.1400a86a7
mov rcx, rdi
call rbx
test eax, eax
je 0x14012519a
nop
mov rdi, qword [rbp - 0x69]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.1400a86a7
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x57]
lea rax, [rbp - 0x5d]
xor edx, edx
lea r8, [rbp - 0x61]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call rbx
test al, al
je 0x1401251ae
movzx eax, word [rbp + 0x57]
cmp eax, r14d
jne 0x140125098
mov ecx, dword [rbp - 0x61]
cmp ecx, esi
ja 0x140125098
add ecx, dword [rbp - 0x5d]
cmp esi, ecx
jb 0x1401250b9
mov rdi, qword [rbp - 0x69]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call fcn.1400a86a7
mov rcx, rdi
call rbx
test eax, eax
jne 0x140125040
jmp 0x14012519a
mov eax, dword [rbp + 0x6f]
test eax, eax
je 0x1401251ae
mov ebx, eax
shl rbx, 3
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r12, rax
test rax, rax
je 0x1401251ae
mov rdi, qword [rbp - 0x69]
mov rdx, qword [rdi]
mov rbx, qword [rdx + 0x18]
mov rcx, rbx
call fcn.1400a86a7
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x59]
xor r9d, r9d
mov qword [rsp + 0x20], r15
xor r8d, r8d
mov rcx, rdi
call rbx
test al, al
je 0x14012519a
sub esi, dword [rbp - 0x61]
cmp esi, dword [r12]
jb 0x14012519a
mov edx, dword [rbp + 0x6f]
mov r14d, 1
mov ecx, r14d
cmp edx, ecx
jbe 0x14012514e
nop dword [rax]
mov eax, ecx
cmp esi, dword [r12 + rax*8]
jb 0x14012514e
inc ecx
cmp ecx, edx
jb 0x140125140
mov rdi, qword [rbp - 0x51]
lea eax, [rcx - 1]
mov eax, dword [r12 + rax*8 + 4]
and eax, 0xffffff
mov dword [r13], eax
mov rax, qword [rdi]
mov rbx, qword [rax + 0xe0]
mov rcx, rbx
call fcn.1400a86a7
mov r8, qword [rbp + 0x5f]
lea r9, [rbp + 0x67]
mov edx, dword [rbp - 0x59]
mov rcx, rdi
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call rbx
test al, al
cmovne r15d, r14d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r12
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [rbp - 0x69]
mov rax, qword [rdi]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.1400a86a7
mov rcx, rdi
call rbx
mov r12, qword [rsp + 0xc0]
mov rdi, qword [rbp - 0x51]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x80]
mov rcx, rbx
call fcn.1400a86a7
mov rcx, rdi
call rbx
mov rdi, qword [rbp - 0x41]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x70]
mov rcx, rbx
call fcn.1400a86a7
mov rcx, rdi
call rbx
mov rdi, qword [rbp - 0x49]
mov rdx, qword [rdi]
mov rbx, qword [rdx + 0x58]
mov rcx, rbx
call fcn.1400a86a7
mov rcx, rdi
call rbx
mov eax, r15d
mov rsi, qword [rsp + 0xd0]
mov r14, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xc8]
add rsp, 0xd8
pop r15
pop r13
pop rbx
pop rbp
ret