Function at 0x1400115be
Capabilities:
Parse pe header

Disassembly:
jmp 0x14002c090
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 0x14002c0e1
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.140011abe
test eax, eax
je 0x14002c126
mov r8, qword [rbp - 0x29]
mov eax, 0x5a4d
cmp word [r8], ax
jne 0x14002c126
movsxd rax, dword [r8 + 0x3c]
test eax, eax
jle 0x14002c126
cmp dword [r8 + rax], 0x4550
lea rcx, [r8 + rax]
je 0x14002c12d
xor eax, eax
jmp 0x14002c4eb
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 0x14002c183
nop word [rax + rax]
mov eax, r14d
lea rcx, [rax + rax*4]
mov eax, dword [r9 + rcx*8 + 0x24]
cmp ebx, eax
jb 0x14002c17b
mov esi, ebx
sub esi, eax
cmp ebx, dword [r9 + rcx*8 + 0x20]
jb 0x14002c183
inc r14d
cmp r14d, edx
jb 0x14002c160
cmp r14d, edx
je 0x14002c20f
inc r14d
cmp byte [0x14003b932], r15b
jne 0x14002c1bb
cmp qword [0x14003b928], r15
jne 0x14002c20f
call fcn.14002ba70
mov qword [0x14003b928], rax
test rax, rax
je 0x14002c20f
mov byte [0x14003b932], 1
jmp 0x14002c1c2
mov rax, qword [0x14003b928]
lea rdx, str.PDBOpenValidate5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14002c20f
mov rcx, rax
call fcn.1400114fb
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 0x14002c216
xor eax, eax
jmp 0x14002c4db
mov rdi, qword [rbp - 0x49]
mov rax, qword [rdi]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.1400114fb
mov rcx, rdi
call rbx
cmp eax, 0x1329141
jne 0x14002c4c0
mov rdi, qword [rbp - 0x49]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x38]
mov rcx, rbx
call fcn.1400114fb
lea r9, [rbp - 0x41]
xor edx, edx
lea r8, [0x140034ec4]
mov rcx, rdi
call rbx
test eax, eax
je 0x14002c4c0
mov rdi, qword [rbp - 0x41]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x40]
mov rcx, rbx
call fcn.1400114fb
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 0x14002c4a8
mov rdi, qword [rbp - 0x51]
mov qword [rbp - 0x69], r15
mov rax, qword [rdi]
mov rbx, qword [rax + 0xd0]
mov rcx, rbx
call fcn.1400114fb
lea rdx, [rbp - 0x69]
mov rcx, rdi
call rbx
test al, al
je 0x14002c48d
mov rdi, qword [rbp - 0x69]
test rdi, rdi
je 0x14002c48d
mov rax, qword [rdi]
mov qword [rsp + 0xc0], r12
mov r12, r15
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call fcn.1400114fb
mov rcx, rdi
call rbx
test eax, eax
je 0x14002c45a
nop
mov rdi, qword [rbp - 0x69]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.1400114fb
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 0x14002c46e
movzx eax, word [rbp + 0x57]
cmp eax, r14d
jne 0x14002c358
mov ecx, dword [rbp - 0x61]
cmp ecx, esi
ja 0x14002c358
add ecx, dword [rbp - 0x5d]
cmp esi, ecx
jb 0x14002c379
mov rdi, qword [rbp - 0x69]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call fcn.1400114fb
mov rcx, rdi
call rbx
test eax, eax
jne 0x14002c300
jmp 0x14002c45a
mov eax, dword [rbp + 0x6f]
test eax, eax
je 0x14002c46e
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 0x14002c46e
mov rdi, qword [rbp - 0x69]
mov rdx, qword [rdi]
mov rbx, qword [rdx + 0x18]
mov rcx, rbx
call fcn.1400114fb
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 0x14002c45a
sub esi, dword [rbp - 0x61]
cmp esi, dword [r12]
jb 0x14002c45a
mov edx, dword [rbp + 0x6f]
mov r14d, 1
mov ecx, r14d
cmp edx, ecx
jbe 0x14002c40e
nop dword [rax]
mov eax, ecx
cmp esi, dword [r12 + rax*8]
jb 0x14002c40e
inc ecx
cmp ecx, edx
jb 0x14002c400
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.1400114fb
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.1400114fb
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.1400114fb
mov rcx, rdi
call rbx
mov rdi, qword [rbp - 0x41]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x70]
mov rcx, rbx
call fcn.1400114fb
mov rcx, rdi
call rbx
mov rdi, qword [rbp - 0x49]
mov rdx, qword [rdi]
mov rbx, qword [rdx + 0x58]
mov rcx, rbx
call fcn.1400114fb
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