Function at 0x1400cb310
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 [0x140140940]
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 0x1400cb66a
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1400cb66a
test rcx, rcx
je 0x1400cb66a
mov edx, dword [rcx + 0x90]
test edx, edx
je 0x1400cb66a
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 0x1400cb658
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
inc r8
cmp byte [rdx + r8], 0
jne 0x1400cb3e3
lea rcx, [rbp - 0x49]
call fcn.14007b610
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 0x1400cb505
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.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 0x1400cb460
lea rcx, [rbp - 0x49]
call fcn.1400a5da0
mov qword [rbp - 0x29], rsi
cmp rbx, r14
je 0x1400cb49a
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.140093210
mov rax, qword [rbp - 0x29]
mov qword [rbx + 0x20], rax
add rbx, 0x28
mov qword [rbp + 7], rbx
jmp 0x1400cb4b2
lea r8, [rbp - 0x49]
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.1400ca9e0
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 0x1400cb4f5
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cb4f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cb646
call fcn.140105724
mov rax, qword [rdi]
test rax, rax
mov rcx, qword [rbp - 0x79]
jne 0x1400cb430
cmp r15, qword [rbp - 0x61]
je 0x1400cb521
lea rdx, [rbp - 0x21]
mov rcx, r15
call fcn.1400cb1b0
add r15, 0x38
mov qword [rbp - 0x69], r15
jmp 0x1400cb535
lea r8, [rbp - 0x21]
mov rdx, r15
lea rcx, [rbp - 0x71]
call fcn.1400cac30
mov r15, qword [rbp - 0x69]
add r12, 0x14
mov rdi, qword [rbp - 1]
test rdi, rdi
je 0x1400cb5fb
mov rbx, rdi
mov rsi, qword [rbp + 7]
cmp rdi, rsi
je 0x1400cb5a8
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400cb58c
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400cb587
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400cb64d
mov rcx, r8
call fcn.140105724
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WSOCK32.dll_ntohs
mov byte [rbx], 0
add rbx, 0x28
cmp rbx, rsi
jne 0x1400cb552
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 0x1400cb5f3
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cb64d
mov rcx, rdi
call fcn.140105724
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x1400cb632
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cb62d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cb64d
call fcn.140105724
cmp dword [r12 + 0x10], 0
je 0x1400cb654
mov rax, qword [rbp - 0x79]
xor r8d, r8d
jmp 0x1400cb3a5
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 0x1400cb676
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.140105ae0
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret