Function at 0x140009250
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 [0x1400df080]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r13, rdx
mov r8, rcx
mov qword [rbp - 0x59], rcx
mov qword [rbp - 0x51], rcx
xor r9d, r9d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x1400094e8
movsxd rcx, dword [rdx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x1400094e8
mov edx, dword [rcx + rdx + 0x90]
test edx, edx
je 0x1400094e8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x79], xmm0
mov ebx, r9d
mov qword [rbp - 0x69], rbx
lea r12, [rdx + r13]
mov r14, qword [rbp - 0x71]
cmp dword [r12 + 0x10], r9d
je 0x1400094d7
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r9
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x21], 0
movdqu xmmword [rbp - 1], xmm0
mov r15, r9
mov qword [rbp + 0xf], r9
mov edx, dword [r12 + 0xc]
add rdx, r13
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r9
mov qword [rbp - 0x31], r9
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140009320
lea rcx, [rbp - 0x49]
call fcn.140007740
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]
add rsi, r13
mov edi, dword [r12]
add rdi, r13
mov rax, qword [rdi]
test rax, rax
je 0x140009445
mov rbx, qword [rbp + 7]
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 0x1400093a0
lea rcx, [rbp - 0x49]
call fcn.1400095b0
mov qword [rbp - 0x29], rsi
cmp rbx, r15
je 0x1400093da
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.14000a220
mov rax, qword [rbp - 0x29]
mov qword [rbx + 0x20], rax
add rbx, 0x28
mov qword [rbp + 7], rbx
jmp 0x1400093f2
lea r8, [rbp - 0x49]
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.140009d50
mov r15, qword [rbp + 0xf]
mov rbx, qword [rbp + 7]
add rdi, 8
add rsi, 8
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x140009435
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009430
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400094c5
call fcn.1400ac3f0
mov rax, qword [rdi]
test rax, rax
jne 0x140009370
mov rbx, qword [rbp - 0x69]
lea r8, [rbp - 0x21]
mov rdx, r14
cmp r14, rbx
je 0x140009460
call fcn.14000a100
add r14, 0x38
mov qword [rbp - 0x71], r14
jmp 0x140009471
lea rcx, [rbp - 0x79]
call fcn.140009720
mov r14, qword [rbp - 0x71]
mov rbx, qword [rbp - 0x69]
add r12, 0x14
lea rcx, [rbp - 1]
call fcn.140008fb0
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x1400094b5
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400094b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400094cc
call fcn.1400ac3f0
cmp dword [r12 + 0x10], 0
je 0x1400094d3
xor r9d, r9d
jmp 0x1400092e0
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 r8, qword [rbp - 0x59]
mov rax, qword [rbp - 0x79]
mov qword [r8], rax
mov qword [r8 + 8], r14
mov qword [r8 + 0x10], rbx
jmp 0x1400094f3
mov qword [r8 + 0x10], r9
mov qword [r8 + 8], r9
mov qword [r8], r9
mov rax, r8
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400ac3d0
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret