Function at 0x14008e9a0
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 [0x1401661c0]
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 0x14008ec9b
movsxd rcx, dword [rdx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x14008ec9b
mov edx, dword [rcx + rdx + 0x90]
test edx, edx
je 0x14008ec9b
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x31], xmm1
mov qword [rbp - 0x21], r15
lea r12, [rdi + rdx]
cmp dword [r12 + 0x10], r15d
je 0x14008ec85
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 0x14008ea70
lea rcx, [rbp - 0x59]
call fcn.1400048b0
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x14008eabe
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008eab9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008ec6c
call fcn.140106df4
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 0x14008ebd7
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 0x14008eb15
lea rcx, [rbp - 0x59]
cmp rdi, 0xf
ja 0x14008eb3f
mov qword [rbp - 0x49], rdi
mov r8, rdi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rdi - 0x59], 0
jmp 0x14008eb4b
movzx r8d, bl
mov rdx, rdi
call fcn.140003a40
mov qword [rbp - 0x39], r14
mov rdi, qword [rbp + 0xf]
cmp rdi, qword [rbp + 0x17]
je 0x14008eb74
lea rdx, [rbp - 0x59]
mov rcx, rdi
call fcn.140004740
mov rax, qword [rbp - 0x39]
mov qword [rdi + 0x20], rax
add qword [rbp + 0xf], 0x28
jmp 0x14008eb84
lea r8, [rbp - 0x59]
mov rdx, rdi
lea rcx, [rbp + 7]
call fcn.14008f0d0
add rsi, 8
add r14, 8
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x14008ebc7
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ebc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008ec73
call fcn.140106df4
mov rax, qword [rsi]
test rax, rax
mov rdi, qword [rbp - 0x71]
jne 0x14008eaf0
mov rdi, qword [rbp - 0x29]
cmp rdi, qword [rbp - 0x21]
je 0x14008ec07
mov qword [rbp - 0x61], rdi
lea rdx, [rbp - 0x19]
mov rcx, rdi
call fcn.140004740
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 7]
call fcn.14008f470
nop
add qword [rbp - 0x29], 0x38
jmp 0x14008ec17
lea r8, [rbp - 0x19]
mov rdx, rdi
lea rcx, [rbp - 0x31]
call fcn.14008ece0
add r12, 0x14
lea rcx, [rbp + 7]
call fcn.14008e880
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x14008ec5b
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ec56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008ec7a
call fcn.140106df4
cmp dword [r12 + 0x10], 0
je 0x14008ec81
mov rdi, qword [rbp - 0x71]
jmp 0x14008ea30
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 0x14008eca7
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.140106d90
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret