Function at 0x1400fd4f0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x14015b040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
xor ebx, ebx
mov qword [rsp + 0x20], r8
mov r14, rdx
mov r15, rcx
test rdx, rdx
je 0x1400fd79b
lea edi, [rbx + 0x40]
xor edx, edx
mov r8d, edi
lea rcx, [rsp + 0x70]
call fcn.140100356
mov esi, 0x108
lea rcx, [rbp - 0x50]
mov r8d, esi
xor edx, edx
call fcn.140100356
mov r9d, edi
lea rdx, [rsp + 0x70]
mov r8, r14
mov rcx, r15
call fcn.1400fcf44
test al, al
je 0x1400fd79b
mov eax, 0x5a4d
cmp word [rsp + 0x70], ax
jne 0x1400fd79b
movsxd r8, dword [rbp - 0x54]
lea rdx, [rbp - 0x50]
add r8, r14
mov r9d, esi
mov rcx, r15
call fcn.1400fcf44
test al, al
je 0x1400fd79b
cmp dword [rbp - 0x50], 0x4550
jne 0x1400fd79b
mov esi, dword [rbp + 0x38]
test esi, esi
je 0x1400fd79b
cmp dword [rbp + 0x3c], ebx
je 0x1400fd79b
mov r13d, dword [rbp + 0x3c]
lea r9d, [rbx + 4]
mov edx, r13d
mov qword [rsp + 0x48], r13
mov r8d, 0x3000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r9d, r13d
mov qword [rsp + 0x40], rsi
mov rdi, rax
mov rcx, r15
lea rax, [rsi + r14]
mov rdx, rdi
mov r8, rax
mov qword [rsp + 0x38], rax
mov r12d, esi
call fcn.1400fcf44
test al, al
je 0x1400fd78a
mov ecx, dword [rdi + 0x20]
mov rsi, rdi
mov r13d, dword [rdi + 0x1c]
sub rsi, r12
mov r12d, dword [rdi + 0x24]
add rcx, rsi
add r12, rsi
mov qword [rsp + 0x28], rcx
add r13, rsi
mov r15d, ebx
cmp dword [rdi + 0x18], ebx
jbe 0x1400fd78a
mov eax, r15d
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov edx, dword [rcx + rax*4]
add rdx, rsi
mov qword [rsp + 0x68], rbx
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], bl
jne 0x1400fd65f
lea rcx, [rsp + 0x50]
call fcn.140045210
mov rax, qword [rsp + 0x20]
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1400fd684
mov rdx, qword [rax]
cmp qword [rsp + 0x68], 0xf
lea rcx, [rsp + 0x50]
cmova rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400fd6f3
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400fd6dc
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fd6d7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fd779
call fcn.1400fefc0
inc r15d
cmp r15d, dword [rdi + 0x18]
jae 0x1400fd78a
mov rcx, qword [rsp + 0x28]
jmp 0x1400fd63b
mov rax, qword [rsp + 0x30]
movzx eax, word [r12 + rax*2]
mov esi, dword [r13 + rax*4]
add rsi, r14
cmp rsi, qword [rsp + 0x38]
jb 0x1400fd731
mov rax, qword [rsp + 0x40]
add rax, qword [rsp + 0x48]
add rax, r14
cmp rsi, rax
ja 0x1400fd731
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1400fd745
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rbx, rsi
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400fd785
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fd780
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400fd780
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fefc0
mov rax, rbx
jmp 0x1400fd79d
mov r8d, 0x8000
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1400feed0
mov rbx, qword [rsp + 0x228]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret