Function at 0x1400651c0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x1400fe080]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r15, rdx
mov r12, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
lea r9, [rbp + 0x5f]
movabs rax, 0xff0f0ff0f0ff00f
mov qword [rbp - 0x71], rax
mov qword [rbp - 0x69], r9
mov rdx, qword [r9]
mov r13, rdx
xor r13, rax
mov qword [rbp - 0x79], r13
mov qword [r9], rbx
mov eax, 0x5a4d
cmp word [r15], ax
jne 0x140065500
movsxd rcx, dword [r15 + 0x3c]
cmp dword [rcx + r15], 0x4550
jne 0x140065500
mov r8d, dword [rcx + r15 + 0x90]
test r8d, r8d
je 0x140065500
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
mov edx, ebx
mov qword [rbp - 0x29], rbx
lea r14, [r15 + r8]
cmp dword [r14 + 0x10], ebx
je 0x1400654a9
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x21], 0
movdqu xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rbx
mov edx, dword [r14 + 0xc]
add rdx, r15
movups xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], rbx
mov qword [rbp - 0x49], rbx
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400652b0
lea rcx, [rbp - 0x61]
call fcn.14000aa40
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x1400652fe
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400652f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400654eb
call fcn.1400cc0a0
movups xmm0, xmmword [rbp - 0x61]
movups xmmword [rbp - 0x21], xmm0
movups xmm1, xmmword [rbp - 0x51]
movups xmmword [rbp - 0x11], xmm1
mov esi, dword [r14 + 0x10]
add rsi, r15
mov edi, dword [r14]
add rdi, r15
mov rax, qword [rdi]
test rax, rax
je 0x140065414
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], rbx
mov qword [rbp - 0x49], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x61], 0
lea r9, [r15 + 2]
add r9, rax
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r9 + rbx], 0
jne 0x140065355
lea rcx, [rbp - 0x61]
cmp rbx, 0xf
ja 0x14006537f
mov qword [rbp - 0x51], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx - 0x61], 0
jmp 0x140065387
mov rdx, rbx
call fcn.140063450
mov qword [rbp - 0x41], rsi
mov rbx, qword [rbp + 7]
cmp rbx, qword [rbp + 0xf]
je 0x1400653b0
lea rdx, [rbp - 0x61]
mov rcx, rbx
call fcn.1400500e0
mov rax, qword [rbp - 0x41]
mov qword [rbx + 0x20], rax
add qword [rbp + 7], 0x28
jmp 0x1400653c0
lea r8, [rbp - 0x61]
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.140065be0
add rdi, 8
add rsi, 8
mov rdx, qword [rbp - 0x49]
cmp rdx, 0xf
jbe 0x140065403
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400653fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400654f2
call fcn.1400cc0a0
mov rax, qword [rdi]
test rax, rax
mov ebx, 0
jne 0x140065330
mov rbx, qword [rbp - 0x31]
cmp rbx, qword [rbp - 0x29]
je 0x140065445
mov qword [rsp + 0x28], rbx
lea rdx, [rbp - 0x21]
mov rcx, rbx
call fcn.1400500e0
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp - 1]
call fcn.140065f80
nop
add qword [rbp - 0x31], 0x38
jmp 0x140065455
lea r8, [rbp - 0x21]
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.1400655d0
add r14, 0x14
lea rcx, [rbp - 1]
call fcn.140064eb0
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x140065499
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140065494
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400654f9
call fcn.1400cc0a0
xor ebx, ebx
cmp dword [r14 + 0x10], ebx
jne 0x140065272
mov rdx, qword [rbp - 0x29]
mov qword [rbp - 0x29], rbx
mov rcx, qword [rbp - 0x31]
mov qword [rbp - 0x31], rbx
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x39], rbx
mov qword [r12], rax
mov qword [r12 + 8], rcx
mov qword [r12 + 0x10], rdx
lea rcx, [rbp - 0x39]
call fcn.140064870
nop
movabs rax, 0xff0f0ff0f0ff00f
xor r13, rax
lea rax, [rbp + 0x5f]
mov qword [rax], r13
jmp 0x140065511
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
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
mov qword [r12 + 0x10], rbx
mov qword [r12 + 8], rbx
mov qword [r12], rbx
mov qword [r9], rdx
mov rax, r12
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400cc080
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret