Function at 0x14007d550
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140515010]
xor rax, rsp
mov qword [rbp + 0x27], rax
movzx r15d, r8b
mov byte [rbp - 0x59], r8b
mov rbx, rdx
mov qword [rbp - 0x31], rdx
mov qword [rbp - 0x29], rcx
test rdx, rdx
jne 0x14007d5a8
xor al, al
jmp 0x14007db71
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14007d5a1
movsxd r13, dword [rdx + 0x3c]
add r13, rdx
cmp dword [r13], 0x4550
jne 0x14007d5a1
mov eax, 0x20b
cmp word [r13 + 0x18], ax
jne 0x14007d5a1
mov eax, 0x8664
cmp word [r13 + 4], ax
jne 0x14007d5a1
movzx eax, word [r13 + 0x14]
lea r14, [r13 + 0x18]
add r14, rax
mov qword [rbp - 0x41], r14
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
call fcn.14007ddf0
mov qword [rbp + 0xf], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
call fcn.14007ddf0
mov qword [rbp - 1], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
call fcn.14007ddf0
mov r9, rax
mov qword [rbp - 0x19], rax
xor esi, esi
cmp si, word [r13 + 6]
jae 0x14007d783
mov r9, qword [rbp + 0xf]
mov r15, r14
nop word [rax + rax]
movzx r14d, si
lea rax, [r14 + r14*4]
lea rdi, [r15 + rax*8]
mov rdx, qword [rdi]
mov qword [rbp + 0x1f], rdx
mov r8, r9
mov rax, qword [r9 + 8]
mov rcx, rax
movzx r10d, byte [rax + 0x19]
test r10b, r10b
jne 0x14007d68e
cmp qword [rcx + 0x20], rdx
jae 0x14007d673
mov rcx, qword [rcx + 0x10]
jmp 0x14007d679
mov r8, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x14007d667
cmp r8, r9
je 0x14007d68e
cmp rdx, qword [r8 + 0x20]
jae 0x14007d764
mov rbx, r9
test r10b, r10b
jne 0x14007d6b9
cmp qword [rax + 0x20], rdx
jae 0x14007d6a2
mov rax, qword [rax + 0x10]
jmp 0x14007d6a8
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14007d696
cmp rbx, r9
je 0x14007d6b9
cmp rdx, qword [rbx + 0x20]
jae 0x14007d6eb
lea rax, [rbp + 0x1f]
mov qword [rbp - 0x49], rax
lea r8, [rbp - 0x49]
lea rcx, [rbp + 0xf]
call fcn.14007de80
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0xf]
call fcn.14007deb0
mov rbx, qword [rbp - 0x39]
mov qword [rbx + 0x28], r14
mov ecx, dword [rdi + 0xc]
mov qword [rbp - 9], rcx
mov rdx, qword [rbp - 1]
mov rbx, rdx
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], 0
jne 0x14007d72a
cmp qword [rax + 0x20], rcx
jae 0x14007d713
mov rax, qword [rax + 0x10]
jmp 0x14007d719
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14007d707
cmp rbx, rdx
je 0x14007d72a
cmp rcx, qword [rbx + 0x20]
jae 0x14007d75c
lea rax, [rbp - 9]
mov qword [rbp - 0x49], rax
lea r8, [rbp - 0x49]
lea rcx, [rbp - 1]
call fcn.14007de80
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 1]
call fcn.14007deb0
mov rbx, qword [rbp - 0x51]
mov qword [rbx + 0x28], r14
mov r9, qword [rbp + 0xf]
inc si
cmp si, word [r13 + 6]
jb 0x14007d640
mov r9, qword [rbp - 0x19]
movzx r15d, byte [rbp - 0x59]
mov rbx, qword [rbp - 0x31]
mov r14, qword [rbp - 0x41]
test r15b, r15b
jne 0x14007da80
mov eax, dword [r13 + 0xb0]
test eax, eax
je 0x14007da80
mov edx, eax
mov r8, qword [rbp - 1]
mov rcx, r8
mov rax, qword [r8 + 8]
cmp byte [rax + 0x19], r15b
jne 0x14007d7c8
nop
cmp qword [rax + 0x20], rdx
jae 0x14007d7bc
mov rax, qword [rax + 0x10]
jmp 0x14007d7c2
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14007d7b0
cmp rcx, r8
je 0x14007da80
cmp qword [rcx + 0x20], rdx
je 0x14007d85f
cmp rcx, qword [r8]
je 0x14007da80
cmp byte [rcx + 0x19], 0
je 0x14007d7fd
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax + 0x28]
lea rax, [rcx + rcx*4]
mov ecx, dword [r14 + rax*8 + 0x14]
jmp 0x14007d86c
mov rax, qword [rcx]
cmp byte [rax + 0x19], 0
je 0x14007d839
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x14007d822
cmp rcx, qword [rax]
jne 0x14007d822
mov rcx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14007d810
cmp byte [rcx + 0x19], 0
cmovne rax, rcx
mov rcx, qword [rax + 0x28]
lea rax, [rcx + rcx*4]
mov ecx, dword [r14 + rax*8 + 0x14]
jmp 0x14007d86c
mov rcx, qword [rax + 0x10]
cmp byte [rcx + 0x19], 0
jne 0x14007d850
mov rax, rcx
mov rcx, qword [rcx + 0x10]
cmp byte [rcx + 0x19], 0
je 0x14007d843
mov rcx, qword [rax + 0x28]
lea rax, [rcx + rcx*4]
mov ecx, dword [r14 + rax*8 + 0x14]
jmp 0x14007d86c
mov rax, qword [rcx + 0x28]
lea rcx, [rax + rax*4]
mov ecx, dword [r14 + rcx*8 + 0x14]
mov r12d, ecx
add r12, rbx
je 0x14007da80
nop dword [rax + rax]
mov esi, dword [r12]
test esi, esi
je 0x14007da78
lea rdi, [r12 + 8]
mov r15d, dword [r12 + 4]
sub r15, 8
shr r15, 1
test r15d, r15d
je 0x14007da67
mov r14d, r15d
nop dword [rax]
movzx eax, word [rdi]
mov ecx, eax
shr ecx, 0xc
test ecx, ecx
je 0x14007da59
cmp ecx, 2
jbe 0x14007d9df
cmp ecx, 3
je 0x14007d962
cmp ecx, 4
je 0x14007d9df
cmp ecx, 0xa
jne 0x14007da59
and eax, 0xfff
lea ecx, [rsi + rax]
mov qword [rbp - 0x51], rcx
mov rbx, r9
mov rax, qword [r9 + 8]
cmp byte [rax + 0x19], 0
jne 0x14007d923
nop dword [rax]
cmp qword [rax + 0x20], rcx
jae 0x14007d90c
mov rax, qword [rax + 0x10]
jmp 0x14007d912
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14007d900
cmp rbx, r9
je 0x14007d923
cmp rcx, qword [rbx + 0x20]
jae 0x14007d955
lea rax, [rbp - 0x51]
mov qword [rbp - 9], rax
lea r8, [rbp - 9]
lea rcx, [rbp - 0x19]
call fcn.14007de80
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x19]
call fcn.14007deb0
mov rbx, qword [rbp - 0x39]
mov qword [rbx + 0x28], 8
jmp 0x14007da55
and eax, 0xfff
lea ecx, [rsi + rax]
mov qword [rbp - 0x51], rcx
mov rbx, r9
mov rax, qword [r9 + 8]
cmp byte [rax + 0x19], 0
jne 0x14007d9a3
nop dword [rax + rax]
cmp qword [rax + 0x20], rcx
jae 0x14007d98c
mov rax, qword [rax + 0x10]
jmp 0x14007d992
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14007d980
cmp rbx, r9
je 0x14007d9a3
cmp rcx, qword [rbx + 0x20]
jae 0x14007d9d5
lea rax, [rbp - 0x51]
mov qword [rbp - 9], rax
lea r8, [rbp - 9]
lea rcx, [rbp - 0x19]
call fcn.14007de80
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x19]
call fcn.14007deb0
mov rbx, qword [rbp - 0x49]
mov qword [rbx + 0x28], 4
jmp 0x14007da55
and eax, 0xfff
lea ecx, [rsi + rax]
mov qword [rbp - 0x51], rcx
mov rbx, r9
mov rax, qword [r9 + 8]
cmp byte [rax + 0x19], 0
jne 0x14007da1b
cmp qword [rax + 0x20], rcx
jae 0x14007da04
mov rax, qword [rax + 0x10]
jmp 0x14007da0a
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14007d9f8
cmp rbx, r9
je 0x14007da1b
cmp rcx, qword [rbx + 0x20]
jae 0x14007da4d
lea rax, [rbp - 0x51]
mov qword [rbp - 9], rax
lea r8, [rbp - 9]
lea rcx, [rbp - 0x19]
call fcn.14007de80
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 0x19]
call fcn.14007deb0
mov rbx, qword [rbp + 0x1f]
mov qword [rbx + 0x28], 2
mov r9, qword [rbp - 0x19]
add rdi, 2
sub r14, 1
jne 0x14007d8b0
mov eax, r15d
lea r12, [r12 + rax*2]
add r12, 8
jne 0x14007d880
mov rbx, qword [rbp - 0x31]
mov r14, qword [rbp - 0x41]
mov rdi, qword [rbp - 0x29]
mov qword [rdi], rbx
mov qword [rdi + 8], r13
mov qword [rdi + 0x10], r14
lea rbx, [rdi + 0x18]
lea rax, [rbp + 0xf]
cmp rbx, rax
je 0x14007dac2
mov rcx, rbx
call fcn.14007dd60
mov rcx, qword [rbx]
mov rax, qword [rbp + 0xf]
mov qword [rbx], rax
mov qword [rbp + 0xf], rcx
mov rcx, qword [rbx + 8]
mov rax, qword [rbp + 0x17]
mov qword [rbx + 8], rax
mov qword [rbp + 0x17], rcx
lea rbx, [rdi + 0x28]
lea rax, [rbp - 1]
cmp rbx, rax
je 0x14007daf5
mov rcx, rbx
call fcn.14007dd60
mov rcx, qword [rbx]
mov rax, qword [rbp - 1]
mov qword [rbx], rax
mov qword [rbp - 1], rcx
mov rcx, qword [rbx + 8]
mov rax, qword [rbp + 7]
mov qword [rbx + 8], rax
mov qword [rbp + 7], rcx
lea rbx, [rdi + 0x38]
lea rax, [rbp - 0x19]
cmp rbx, rax
je 0x14007db28
mov rcx, rbx
call fcn.14007dd60
mov rcx, qword [rbx]
mov rax, qword [rbp - 0x19]
mov qword [rbx], rax
mov qword [rbp - 0x19], rcx
mov rcx, qword [rbx + 8]
mov rax, qword [rbp - 0x11]
mov qword [rbx + 8], rax
mov qword [rbp - 0x11], rcx
lea rcx, [rbp - 0x19]
call fcn.14007dd60
mov edx, 0x30
mov rcx, qword [rbp - 0x19]
call fcn.140087984
nop
lea rcx, [rbp - 1]
call fcn.14007dd60
mov edx, 0x30
mov rcx, qword [rbp - 1]
call fcn.140087984
nop
lea rcx, [rbp + 0xf]
call fcn.14007dd60
mov edx, 0x30
mov rcx, qword [rbp + 0xf]
call fcn.140087984
mov al, 1
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140087670
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret