Function at 0x14001d070
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, 0xc0
mov rax, qword [0x1400e80c0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rdi, rdx
mov qword [rbp - 0x71], rdx
mov r13, rcx
mov qword [rbp - 0x61], rcx
xor r15d, r15d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14001d36b
movsxd rcx, dword [rdx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x14001d36b
mov edx, dword [rcx + rdx + 0x90]
test edx, edx
je 0x14001d36b
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x31], xmm1
mov qword [rbp - 0x21], r15
lea r12, [rdi + rdx]
cmp dword [r12 + 0x10], r15d
je 0x14001d355
movzx ebx, byte [rbp - 0x79]
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r15
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x19], 0
movdqu xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r15
mov edx, dword [r12 + 0xc]
add rdx, rdi
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], r15
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14001d140
lea rcx, [rbp - 0x59]
call fcn.1400188d0
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x14001d18e
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d189
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d33c
call fcn.140082e8c
movups xmm0, xmmword [rbp - 0x59]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rbp - 0x49]
movups xmmword [rbp - 9], xmm1
mov r14d, dword [r12 + 0x10]
add r14, rdi
mov esi, dword [r12]
add rsi, rdi
mov rax, qword [rsi]
test rax, rax
je 0x14001d2a7
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x59], 0
lea r9, [rdi + 2]
add r9, rax
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [r9 + rdi], 0
jne 0x14001d1e5
lea rcx, [rbp - 0x59]
cmp rdi, 0xf
ja 0x14001d20f
mov qword [rbp - 0x49], rdi
mov r8, rdi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rdi - 0x59], 0
jmp 0x14001d21b
movzx r8d, bl
mov rdx, rdi
call fcn.140018d20
mov qword [rbp - 0x39], r14
mov rdi, qword [rbp + 0xf]
cmp rdi, qword [rbp + 0x17]
je 0x14001d244
lea rdx, [rbp - 0x59]
mov rcx, rdi
call fcn.140017920
mov rax, qword [rbp - 0x39]
mov qword [rdi + 0x20], rax
add qword [rbp + 0xf], 0x28
jmp 0x14001d254
lea r8, [rbp - 0x59]
mov rdx, rdi
lea rcx, [rbp + 7]
call fcn.14001dc60
add rsi, 8
add r14, 8
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x14001d297
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d292
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d343
call fcn.140082e8c
mov rax, qword [rsi]
test rax, rax
mov rdi, qword [rbp - 0x71]
jne 0x14001d1c0
mov rdi, qword [rbp - 0x29]
cmp rdi, qword [rbp - 0x21]
je 0x14001d2d7
mov qword [rbp - 0x61], rdi
lea rdx, [rbp - 0x19]
mov rcx, rdi
call fcn.140017920
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 7]
call fcn.14001e0e0
nop
add qword [rbp - 0x29], 0x38
jmp 0x14001d2e7
lea r8, [rbp - 0x19]
mov rdx, rdi
lea rcx, [rbp - 0x31]
call fcn.14001d810
add r12, 0x14
lea rcx, [rbp + 7]
call fcn.14001d5c0
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x14001d32b
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d326
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d34a
call fcn.140082e8c
cmp dword [r12 + 0x10], 0
je 0x14001d351
mov rdi, qword [rbp - 0x71]
jmp 0x14001d100
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]
int3
mov r15, qword [rbp - 0x21]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rbp - 0x31]
mov qword [r13], rax
mov qword [r13 + 8], rcx
mov qword [r13 + 0x10], r15
jmp 0x14001d377
mov qword [r13 + 0x10], r15
mov qword [r13 + 8], r15
mov qword [r13], r15
mov rax, r13
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140082bf0
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret