Function at 0x1400c9a30
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 [0x14013e880]
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 0x1400c9d8a
movsxd rcx, dword [rdx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x1400c9d8a
mov edx, dword [rcx + rdx + 0x90]
test edx, edx
je 0x1400c9d8a
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 0x1400c9d78
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r8
mov qword [rbp - 9], reloc.WSOCK32.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
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x1400c9b00
lea rcx, [rbp - 0x49]
call fcn.14007af20
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 0x1400c9c25
mov rbx, qword [rbp + 7]
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], 0
mov qword [rbp - 0x31], reloc.WSOCK32.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 0x1400c9b80
lea rcx, [rbp - 0x49]
call fcn.1400a3fd0
mov qword [rbp - 0x29], rsi
cmp rbx, r14
je 0x1400c9bba
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.140091cc0
mov rax, qword [rbp - 0x29]
mov qword [rbx + 0x20], rax
add rbx, 0x28
mov qword [rbp + 7], rbx
jmp 0x1400c9bd2
lea r8, [rbp - 0x49]
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.1400c90d0
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 0x1400c9c15
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c9c10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c9d66
call fcn.140103e64
mov rax, qword [rdi]
test rax, rax
mov rcx, qword [rbp - 0x79]
jne 0x1400c9b50
cmp r15, qword [rbp - 0x61]
je 0x1400c9c41
lea rdx, [rbp - 0x21]
mov rcx, r15
call fcn.1400c98d0
add r15, 0x38
mov qword [rbp - 0x69], r15
jmp 0x1400c9c55
lea r8, [rbp - 0x21]
mov rdx, r15
lea rcx, [rbp - 0x71]
call fcn.1400c9320
mov r15, qword [rbp - 0x69]
add r12, 0x14
mov rdi, qword [rbp - 1]
test rdi, rdi
je 0x1400c9d1b
mov rbx, rdi
mov rsi, qword [rbp + 7]
cmp rdi, rsi
je 0x1400c9cc8
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400c9cac
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400c9ca7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400c9d6d
mov rcx, r8
call fcn.140103e64
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WSOCK32.dll_ntohs
mov byte [rbx], 0
add rbx, 0x28
cmp rbx, rsi
jne 0x1400c9c72
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 0x1400c9d13
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c9d6d
mov rcx, rdi
call fcn.140103e64
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x1400c9d52
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c9d4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c9d6d
call fcn.140103e64
cmp dword [r12 + 0x10], 0
je 0x1400c9d74
mov rax, qword [rbp - 0x79]
xor r8d, r8d
jmp 0x1400c9ac0
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 rcx, qword [rbp - 0x61]
mov rax, qword [rbp - 0x71]
mov qword [r13], rax
mov qword [r13 + 8], r15
mov qword [r13 + 0x10], rcx
jmp 0x1400c9d96
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.140104220
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret