Function at 0x14013e5f0
Capabilities:
Parse pe header

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbp
push r13
push r14
lea rbp, [r11 - 0x5f]
sub rsp, 0xb0
mov eax, 0x5a4d
mov r13, rdx
cmp word [rdx], ax
jne 0x14013e994
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14013e994
mov r8d, dword [rax + rdx + 0x90]
xor r14d, r14d
test r8d, r8d
je 0x14013e997
mov qword [r11 + 0x10], rbx
xorps xmm0, xmm0
mov qword [r11 + 0x18], rsi
mov esi, r14d
mov qword [r11 + 0x20], rdi
mov qword [r11 - 0x20], r12
lea r12, [r8 + rdx]
mov qword [r11 - 0x28], r15
movdqu xmmword [rbp + 0x17], xmm0
mov r15, qword [rbp + 0x1f]
mov qword [rbp + 0x27], r14
cmp dword [r12 + 0x10], esi
je 0x14013e946
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r12 + 0xc]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x49], r14b
add rdx, r13
mov qword [rbp - 0x39], r14
mov r8, 0xffffffffffffffff
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
movdqu xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r14
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r14
mov qword [rbp + 7], r14
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x14013e6c0
lea rcx, [rbp - 0x11]
call fcn.14013c7a0
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x14013e70d
mov rcx, qword [rbp - 0x49]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013e708
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013e98d
call fcn.1401c7f18
mov edi, dword [r12]
movups xmm0, xmmword [rbp - 0x11]
mov esi, dword [r12 + 0x10]
add rdi, r13
movups xmm1, xmmword [rbp - 1]
add rsi, r13
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm1
mov rax, qword [rdi]
test rax, rax
je 0x14013e7ff
nop dword [rax + rax]
xorps xmm0, xmm0
mov qword [rbp - 1], r14
lea rdx, [r13 + 2]
mov qword [rbp + 7], reloc.WS2_32.dll_ntohs
movups xmmword [rbp - 0x11], xmm0
mov byte [rbp - 0x11], r14b
add rdx, rax
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x14013e765
lea rcx, [rbp - 0x11]
call fcn.140135a30
mov rbx, qword [rbp - 0x21]
mov qword [rbp + 0xf], rsi
cmp rbx, qword [rbp - 0x19]
je 0x14013e7a0
lea rdx, [rbp - 0x11]
mov rcx, rbx
call fcn.140135510
mov rax, qword [rbp + 0xf]
mov qword [rbx + 0x20], rax
add qword [rbp - 0x21], 0x28
jmp 0x14013e7b0
lea r8, [rbp - 0x11]
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.14013ee30
mov rdx, qword [rbp + 7]
add rdi, 8
add rsi, 8
cmp rdx, 0xf
jbe 0x14013e7f3
mov rcx, qword [rbp - 0x11]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013e7ee
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013e98d
call fcn.1401c7f18
mov rax, qword [rdi]
test rax, rax
jne 0x14013e740
mov rsi, qword [rbp + 0x27]
lea r8, [rbp - 0x49]
mov rdx, r15
cmp r15, rsi
je 0x14013e81e
call fcn.14013f240
add r15, 0x38
mov qword [rbp + 0x1f], r15
jmp 0x14013e82f
lea rcx, [rbp + 0x17]
call fcn.14013e9e0
mov r15, qword [rbp + 0x1f]
mov rsi, qword [rbp + 0x27]
mov rbx, qword [rbp - 0x29]
add r12, 0x14
test rbx, rbx
je 0x14013e900
mov rdi, qword [rbp - 0x21]
cmp rbx, rdi
je 0x14013e8a6
nop dword [rax]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14013e88a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14013e885
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14013e98d
mov rcx, r8
call fcn.1401c7f18
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r14b
add rbx, 0x28
cmp rbx, rdi
jne 0x14013e850
mov rbx, qword [rbp - 0x29]
mov rax, qword [rbp - 0x19]
movabs rcx, 0xcccccccccccccccd
sub rax, rbx
sar rax, 3
imul rax, rcx
lea rdx, [rax + rax*4]
mov rax, rbx
shl rdx, 3
cmp rdx, 0x1000
jb 0x14013e8ec
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013e98d
mov rcx, rbx
call fcn.1401c7f18
xorps xmm0, xmm0
mov qword [rbp - 0x19], r14
movdqu xmmword [rbp - 0x29], xmm0
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x14013e937
mov rcx, qword [rbp - 0x49]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013e932
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013e98d
call fcn.1401c7f18
cmp dword [r12 + 0x10], r14d
jne 0x14013e680
mov rcx, qword [rbp + 0x67]
mov rax, qword [rbp + 0x17]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xd8]
mov qword [rcx], rax
mov rax, rcx
mov qword [rcx + 8], r15
mov r15, qword [rsp + 0xa0]
mov qword [rcx + 0x10], rsi
mov rsi, qword [rsp + 0xe0]
add rsp, 0xb0
pop r14
pop r13
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor r14d, r14d
mov qword [rcx], r14
mov rax, rcx
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
add rsp, 0xb0
pop r14
pop r13
pop rbp
ret