Function at 0x14006c5a0
Capabilities:
Parse pe header

Disassembly:
push rbp
push rbx
push rsi
push r13
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x1400ae010]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r15, r8
mov r13, rdx
mov rbx, rcx
test rdx, rdx
je 0x14006c8b3
xorps xmm0, xmm0
lea rcx, [rbp - 0x50]
xor edx, edx
mov r8d, 0x108
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
call fcn.140071d96
mov r9d, 0x40
lea rdx, [rsp + 0x70]
mov r8, r13
mov rcx, rbx
call fcn.14006c2b0
test al, al
je 0x14006c8b3
mov eax, 0x5a4d
cmp word [rsp + 0x70], ax
jne 0x14006c8b3
movsxd r8, dword [rbp - 0x54]
lea rdx, [rbp - 0x50]
add r8, r13
mov r9d, 0x108
mov rcx, rbx
call fcn.14006c2b0
test al, al
je 0x14006c8b3
cmp dword [rbp - 0x50], 0x4550
jne 0x14006c8b3
mov esi, dword [rbp + 0x38]
test esi, esi
je 0x14006c8b3
mov eax, dword [rbp + 0x3c]
test eax, eax
je 0x14006c8b3
mov qword [rsp + 0x228], rdi
mov r9d, 4
mov qword [rsp + 0x1d0], r14
mov r8d, 0x3000
mov edx, eax
mov qword [rsp + 0x48], rax
xor ecx, ecx
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r9d, r14d
mov qword [rsp + 0x40], rsi
mov rdi, rax
mov rcx, rbx
lea rax, [rsi + r13]
mov rdx, rdi
mov r8, rax
mov qword [rsp + 0x38], rax
call fcn.14006c2b0
test al, al
jne 0x14006c6dd
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14006c7e9
mov ecx, dword [rdi + 0x24]
xor r14d, r14d
mov eax, dword [rdi + 0x20]
mov ebx, r14d
mov qword [rsp + 0x1d8], r12
mov r12, rdi
sub r12, rsi
add rcx, r12
add rax, r12
mov qword [rsp + 0x28], rcx
mov ecx, dword [rdi + 0x1c]
add rcx, r12
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rcx
cmp dword [rdi + 0x18], ebx
jbe 0x14006c7ce
nop dword [rax + rax]
mov esi, ebx
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0xf
mov edx, dword [rax + rsi*4]
add rdx, r12
inc r8
cmp byte [rdx + r8], r14b
jne 0x14006c742
lea rcx, [rsp + 0x50]
call fcn.140069430
cmp qword [r15 + 0x18], 0x10
mov rdx, r15
jb 0x14006c762
mov rdx, qword [r15]
cmp qword [rsp + 0x68], 0x10
lea rcx, [rsp + 0x50]
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14006c817
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14006c7be
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c7b9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006c89f
call fcn.140070b28
mov rax, qword [rsp + 0x20]
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x14006c720
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov r12, qword [rsp + 0x1d8]
mov rdi, qword [rsp + 0x228]
mov r14, qword [rsp + 0x1d0]
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140070580
add rsp, 0x1e0
pop r15
pop r13
pop rsi
pop rbx
pop rbp
ret
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rax + rsi*2]
mov ebx, dword [rcx + rax*4]
add rbx, r13
cmp rbx, qword [rsp + 0x38]
jb 0x14006c857
mov rax, qword [rsp + 0x40]
add rax, qword [rsp + 0x48]
add rax, r13
cmp rbx, rax
ja 0x14006c857
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x14006c86b
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r14, rbx
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14006c8ab
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c8a6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006c8a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070b28
mov rax, r14
jmp 0x14006c7e1
xor eax, eax
jmp 0x14006c7f9