Function at 0x14003f590
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov r13, rdx
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14003f7fc
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14003f7fc
mov edx, dword [rax + rdx + 0x90]
xor r14d, r14d
test edx, edx
je 0x14003f7ff
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov edi, r14d
mov qword [rbp - 0x21], r14
lea rbx, [rdx + r13]
mov qword [rbp + 0x6f], rbx
mov r15, qword [rbp - 0x29]
cmp dword [rbx + 0x10], r14d
je 0x14003f7dd
nop word [rax + rax]
mov qword [rbp - 0x19], r14
mov qword [rbp - 9], r14
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], 0
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
mov r12, r14
mov qword [rbp + 0x17], r14
mov edx, dword [rbx + 0xc]
add rdx, r13
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], 0xf
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14003f650
lea rcx, [rbp - 0x59]
call fcn.140003f70
movups xmm0, xmmword [rbp - 0x59]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rbp - 0x49]
movups xmmword [rbp - 9], xmm1
mov esi, dword [rbx + 0x10]
add rsi, r13
mov edi, dword [rbx]
add rdi, r13
mov rax, qword [rdi]
test rax, rax
je 0x14003f757
mov rbx, qword [rbp + 0xf]
nop
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], 0xf
mov byte [rbp - 0x59], 0
lea rdx, [r13 + 2]
add rdx, rax
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14003f6b2
lea rcx, [rbp - 0x59]
call fcn.140003f70
mov qword [rbp - 0x39], rsi
cmp rbx, r12
je 0x14003f6ec
lea rdx, [rbp - 0x59]
mov rcx, rbx
call fcn.14003ffd0
mov rax, qword [rbp - 0x39]
mov qword [rbx + 0x20], rax
add rbx, 0x28
mov qword [rbp + 0xf], rbx
jmp 0x14003f704
lea r8, [rbp - 0x59]
mov rdx, rbx
lea rcx, [rbp + 7]
call fcn.14003fd60
mov r12, qword [rbp + 0x17]
mov rbx, qword [rbp + 0xf]
add rdi, 8
add rsi, 8
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x14003f747
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f742
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f7ee
call fcn.1400539ec
mov rax, qword [rdi]
test rax, rax
jne 0x14003f690
mov rbx, qword [rbp + 0x6f]
mov rdi, qword [rbp - 0x21]
lea r8, [rbp - 0x19]
mov rdx, r15
cmp r15, rdi
je 0x14003f776
call fcn.14003f830
add r15, 0x38
mov qword [rbp - 0x29], r15
jmp 0x14003f787
lea rcx, [rbp - 0x31]
call fcn.14003f920
mov r15, qword [rbp - 0x29]
mov rdi, qword [rbp - 0x21]
add rbx, 0x14
mov qword [rbp + 0x6f], rbx
lea rcx, [rbp + 7]
call fcn.14003f2e0
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14003f7cf
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f7ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f7f5
call fcn.1400539ec
cmp dword [rbx + 0x10], 0
jne 0x14003f610
mov rcx, qword [rbp + 0x67]
mov rax, qword [rbp - 0x31]
mov qword [rcx], rax
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], rdi
jmp 0x14003f80a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor r14d, r14d
mov qword [rcx + 0x10], r14
mov qword [rcx + 8], r14
mov qword [rcx], r14
mov rax, rcx
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret