Function at 0x14006ca20
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 [0x140217900]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rax, rdx
mov qword [rbp - 0x79], rdx
mov r13, rcx
mov qword [rbp - 0x51], rcx
xor r8d, r8d
mov ecx, 0x5a4d
cmp word [rdx], cx
jne 0x14006cd6e
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x14006cd6e
test rcx, rcx
je 0x14006cd6e
mov edx, dword [rcx + 0x90]
test edx, edx
je 0x14006cd6e
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x71], xmm0
mov ecx, r8d
mov qword [rbp - 0x61], rcx
lea r12, [rax + rdx]
mov r15, qword [rbp - 0x69]
cmp dword [r12 + 0x10], r8d
je 0x14006cd5c
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r8
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x21], 0
movdqu xmmword [rbp - 1], xmm0
mov r14, r8
mov qword [rbp + 0xf], r8
mov edx, dword [r12 + 0xc]
add rdx, rax
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r8
mov qword [rbp - 0x31], r8
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14006caf3
lea rcx, [rbp - 0x49]
call fcn.1400639f0
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rbp - 0x21], xmm0
movups xmm1, xmmword [rbp - 0x39]
movups xmmword [rbp - 0x11], xmm1
mov esi, dword [r12 + 0x10]
mov rcx, qword [rbp - 0x79]
add rsi, rcx
mov edi, dword [r12]
add rdi, rcx
mov rax, qword [rdi]
test rax, rax
je 0x14006cc15
mov rbx, qword [rbp + 7]
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], 0
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x49], 0
lea rdx, [rcx + 2]
add rdx, rax
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14006cb70
lea rcx, [rbp - 0x49]
call fcn.14006cfc0
mov qword [rbp - 0x29], rsi
cmp rbx, r14
je 0x14006cbaa
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.14006c7f0
mov rax, qword [rbp - 0x29]
mov qword [rbx + 0x20], rax
add rbx, 0x28
mov qword [rbp + 7], rbx
jmp 0x14006cbc2
lea r8, [rbp - 0x49]
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.14006bed0
mov r14, qword [rbp + 0xf]
mov rbx, qword [rbp + 7]
add rdi, 8
add rsi, 8
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x14006cc05
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cc00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cdaa
call fcn.14015b6cc
mov rax, qword [rdi]
test rax, rax
mov rcx, qword [rbp - 0x79]
jne 0x14006cb40
lea r8, [rbp - 0x21]
mov rdx, r15
lea rcx, [rbp - 0x71]
cmp r15, qword [rbp - 0x61]
je 0x14006cc35
call fcn.14006c6a0
add r15, 0x38
mov qword [rbp - 0x69], r15
jmp 0x14006cc3e
call fcn.14006c120
mov r15, qword [rbp - 0x69]
add r12, 0x14
mov rdi, qword [rbp - 1]
test rdi, rdi
je 0x14006cd0d
mov rbx, rdi
mov rsi, qword [rbp + 7]
cmp rdi, rsi
je 0x14006ccb6
nop dword [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14006cc9a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14006cc95
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006cda4
mov rcx, r8
call fcn.14015b6cc
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
add rbx, 0x28
cmp rbx, rsi
jne 0x14006cc60
mov rcx, qword [rbp + 0xf]
sub rcx, rdi
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 3
mov rax, rdi
cmp rdx, 0x1000
jb 0x14006cd05
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cda4
mov rcx, rdi
call fcn.14015b6cc
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x14006cd44
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cd3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cda4
call fcn.14015b6cc
cmp dword [r12 + 0x10], 0
je 0x14006cd58
mov rax, qword [rbp - 0x79]
xor r8d, r8d
jmp 0x14006cab5
mov rcx, qword [rbp - 0x61]
mov rax, qword [rbp - 0x71]
mov qword [r13], rax
mov qword [r13 + 8], r15
mov qword [r13 + 0x10], rcx
jmp 0x14006cd7a
mov qword [r13 + 0x10], r8
mov qword [r13 + 8], r8
mov qword [r13], r8
mov rax, r13
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14015b7e0
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14017ad3c
nop
call fcn.14017ad3c
int3