Function at 0x140006970
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rbx, rdx
xor r13d, r13d
mov qword [rbp - 0x49], r13
mov qword [rbp - 0x41], r13
mov qword [rbp - 1], r13
mov qword [rbp + 7], r13
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
lea ecx, [r13 + 0x48]
call fcn.14000d9e0
mov r12, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp + 0xf], rax
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.140006000
mov r14, rax
test rax, rax
je 0x140006bec
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], 0
jne 0x140006a01
dec rcx
mov rdx, rbx
call fcn.1400049c0
not eax
xor edx, edx
mov ecx, eax
call fcn.14000c180
mov r15, rax
test rax, rax
je 0x140006bec
mov eax, 0x5a4d
cmp word [r15], ax
je 0x140006a42
cmp word [r14], ax
jne 0x140006bec
movsxd rcx, dword [r15 + 0x3c]
movsxd rsi, dword [r14 + 0x3c]
add rsi, r14
cmp dword [rcx + r15], 0x4550
je 0x140006a63
cmp dword [rsi], 0x4550
jne 0x140006bec
mov eax, dword [rsi + 0x50]
mov qword [rbp + 7], rax
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x1000
lea r9, [rbp + 7]
xor r8d, r8d
lea rdx, [rbp - 1]
lea rcx, [r8 - 1]
call fcn.14000d507
test eax, eax
jne 0x140006bec
mov r8d, dword [rsi + 0x54]
mov rdx, r14
mov rcx, qword [rbp - 1]
call fcn.1400288c0
movsxd rbx, dword [r14 + 0x3c]
add rbx, 0x11c
mov edi, r13d
cmp r13w, word [rsi + 6]
jae 0x140006ae9
add rbx, r14
nop
mov eax, dword [rbx - 4]
test eax, eax
je 0x140006adb
mov r8d, eax
mov edx, dword [rbx]
add rdx, r14
mov ecx, dword [rbx - 8]
add rcx, qword [rbp - 1]
call fcn.1400288c0
inc edi
add rbx, 0x28
movzx eax, word [rsi + 6]
cmp edi, eax
jb 0x140006ac0
mov rdx, r14
mov rcx, 0xffffffffffffffff
call fcn.14000d56f
mov r14, r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
mov ecx, 0x18
call fcn.14000d9e0
mov rbx, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x39], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov ecx, 0x18
call fcn.14000d9e0
mov rdi, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x31], rbx
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x29], r13
mov qword [rbp - 0x19], r13
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x11]
call fcn.1400076b0
nop
mov rsi, qword [rbp - 0x31]
mov rax, qword [rsi + 8]
mov qword [rax], r13
mov rcx, qword [rsi]
test rcx, rcx
je 0x140006b85
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.14000da1c
mov rcx, rbx
test rbx, rbx
jne 0x140006b70
mov edx, 0x18
mov rcx, rsi
call fcn.14000da1c
nop
mov rax, qword [rdi + 8]
mov qword [rax], r13
mov rcx, qword [rdi]
test rcx, rcx
je 0x140006bb7
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.14000da1c
mov rcx, rbx
test rbx, rbx
jne 0x140006ba2
mov edx, 0x18
mov rcx, rdi
call fcn.14000da1c
mov rdx, r15
mov rcx, qword [rbp - 1]
call fcn.1400062a0
mov r9, qword [rbp - 0x11]
add r9, 0x28
cmp byte [rbp - 9], 1
cmovne r9, r13
mov rdx, r15
mov rcx, qword [rbp - 1]
call fcn.140006520
cmp qword [rbp - 1], 0
je 0x140006c0d
mov r9d, 0x8000
lea r8, [rbp + 7]
lea rdx, [rbp - 1]
mov rcx, 0xffffffffffffffff
call fcn.14000d514
test r14, r14
je 0x140006c21
mov rdx, r14
mov rcx, 0xffffffffffffffff
call fcn.14000d56f
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x140006c2f
call fcn.14000d4fa
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x140006c3e
call fcn.14000d4fa
nop
mov rax, qword [r12 + 8]
mov qword [rax], r13
mov rdi, qword [r12]
test rdi, rdi
je 0x140006cb7
nop
mov rsi, qword [rdi]
lea rbx, [rdi + 0x10]
mov qword [rbp - 0x49], rbx
mov rdx, qword [rbx + 0x20]
cmp rdx, 0xf
jbe 0x140006c92
inc rdx
mov rcx, qword [rbx + 8]
cmp rdx, 0x1000
jb 0x140006c8d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006cf1
mov rcx, r8
call fcn.14000da1c
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x20], 0xf
mov byte [rbx + 8], 0
mov edx, 0x48
mov rcx, rdi
call fcn.14000da1c
mov rdi, rsi
test rsi, rsi
jne 0x140006c50
mov edx, 0x48
mov rcx, r12
call fcn.14000da1c
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14000d8a0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140017a18
int3