Function at 0x14006c9c0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov r13, rdx
mov rdx, rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [r13], ax
jne 0x14006cc61
movsxd rax, dword [r13 + 0x3c]
add rax, r13
cmp dword [rax], 0x4550
jne 0x14006cc61
test rax, rax
je 0x14006cc61
mov ecx, dword [rax + 0x90]
test ecx, ecx
jne 0x14006ca38
mov qword [rdx], r8
mov qword [rdx + 8], r8
mov qword [rdx + 0x10], r8
jmp 0x14006cc6c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
mov rbx, r8
mov qword [rbp - 0x11], rbx
lea r12, [rcx + r13]
mov r14, qword [rbp - 0x19]
cmp dword [r12 + 0x10], 0
je 0x14006cc50
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r8
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
mov byte [rbp - 9], 0
movdqu xmmword [rbp + 0x17], xmm0
mov r15, r8
mov qword [rbp + 0x27], r8
mov edx, dword [r12 + 0xc]
add rdx, r13
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r8
mov qword [rbp - 0x31], r8
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x14006caa0
lea rcx, [rbp - 0x49]
call fcn.140008100
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rbp - 0x39]
movups xmmword [rbp + 7], xmm1
mov esi, dword [r12 + 0x10]
add rsi, r13
mov edi, dword [r12]
add rdi, r13
mov rax, qword [rdi]
test rax, rax
je 0x14006cbc5
mov rbx, qword [rbp + 0x1f]
nop dword [rax]
nop word [rax + 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, [r13 + 2]
add rdx, rax
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14006cb20
lea rcx, [rbp - 0x49]
call fcn.14001ae70
mov qword [rbp - 0x29], rsi
cmp rbx, r15
je 0x14006cb5a
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.140007460
mov rax, qword [rbp - 0x29]
mov qword [rbx + 0x20], rax
add rbx, 0x28
mov qword [rbp + 0x1f], rbx
jmp 0x14006cb72
lea r8, [rbp - 0x49]
mov rdx, rbx
lea rcx, [rbp + 0x17]
call fcn.14006d270
mov r15, qword [rbp + 0x27]
mov rbx, qword [rbp + 0x1f]
add rdi, 8
add rsi, 8
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x14006cbb5
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cbb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cc96
call fcn.14015d5e8
mov rax, qword [rdi]
test rax, rax
jne 0x14006caf0
mov rbx, qword [rbp - 0x11]
cmp r14, rbx
je 0x14006cbe0
lea rdx, [rbp - 9]
mov rcx, r14
call fcn.14006d5f0
add r14, 0x38
mov qword [rbp - 0x19], r14
jmp 0x14006cbf8
lea r8, [rbp - 9]
mov rdx, r14
lea rcx, [rbp - 0x21]
call fcn.14006cca0
mov r14, qword [rbp - 0x19]
mov rbx, qword [rbp - 0x11]
add r12, 0x14
lea rcx, [rbp + 0x17]
call fcn.14006c720
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x14006cc3c
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cc37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cc90
call fcn.14015d5e8
cmp dword [r12 + 0x10], 0
je 0x14006cc4c
xor r8d, r8d
jmp 0x14006ca60
mov rdx, qword [rbp + 0x67]
mov rax, qword [rbp - 0x21]
mov qword [rdx], rax
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], rbx
jmp 0x14006cc6c
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140170074
nop
call fcn.140170074
int3