Function at 0x140094590
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 0x1400948ba
movsxd rax, dword [r13 + 0x3c]
cmp dword [rax + r13], 0x4550
jne 0x1400948ba
mov ecx, dword [rax + r13 + 0x90]
test ecx, ecx
jne 0x140094600
mov qword [rdx], r8
mov qword [rdx + 8], r8
mov qword [rdx + 0x10], r8
jmp 0x1400948c5
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r8
lea r12, [rcx + r13]
mov r15, qword [rbp - 0x19]
cmp dword [r12 + 0x10], 0
je 0x1400948a5
mov qword [rbp - 9], r8
mov qword [rbp + 7], r8
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
mov byte [rbp - 9], 0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
mov r14, r8
mov qword [rbp + 0x27], r8
mov edx, dword [r12 + 0xc]
add rdx, r13
mov qword [rbp - 0x49], r8
mov qword [rbp - 0x39], r8
mov qword [rbp - 0x31], r8
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140094660
lea rcx, [rbp - 0x49]
call fcn.1400063f0
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 0x140094766
mov rbx, qword [rbp + 0x1f]
xor ecx, ecx
mov qword [rbp - 0x49], rcx
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x49], cl
lea rdx, [r13 + 2]
add rdx, rax
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1400946c5
lea rcx, [rbp - 0x49]
call fcn.1400056f0
mov qword [rbp - 0x29], rsi
cmp rbx, r14
je 0x1400946ff
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.1400050c0
mov rax, qword [rbp - 0x29]
mov qword [rbx + 0x20], rax
add rbx, 0x28
mov qword [rbp + 0x1f], rbx
jmp 0x140094717
lea r8, [rbp - 0x49]
mov rdx, rbx
lea rcx, [rbp + 0x17]
call fcn.140015f80
mov r14, qword [rbp + 0x27]
mov rbx, qword [rbp + 0x1f]
add rdi, 8
add rsi, 8
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x14009475a
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140094755
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140094893
call fcn.14007e124
mov rax, qword [rdi]
test rax, rax
jne 0x1400946a2
lea r8, [rbp - 9]
mov rdx, r15
cmp r15, qword [rbp - 0x11]
je 0x140094782
call fcn.1400161b0
add r15, 0x38
mov qword [rbp - 0x19], r15
jmp 0x14009478f
lea rcx, [rbp - 0x21]
call fcn.140015b60
mov r15, qword [rbp - 0x19]
add r12, 0x14
mov rdi, qword [rbp + 0x17]
test rdi, rdi
je 0x14009484c
mov rbx, rdi
mov rsi, qword [rbp + 0x1f]
cmp rdi, rsi
je 0x140094802
xor r14d, r14d
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400947ea
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400947e5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14009489a
mov rcx, r8
call fcn.14007e124
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r14b
add rbx, 0x28
cmp rbx, rsi
jne 0x1400947b0
mov rax, qword [rbp + 0x27]
sub rax, rdi
sar rax, 3
movabs rcx, 0xcccccccccccccccd
imul rax, rcx
lea rdx, [rax + rax*4]
shl rdx, 3
mov rax, rdi
cmp rdx, 0x1000
jb 0x140094844
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009489a
mov rcx, rdi
call fcn.14007e124
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x140094883
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009487e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009489a
call fcn.14007e124
cmp dword [r12 + 0x10], 0
je 0x1400948a1
xor r8d, r8d
jmp 0x140094620
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 rdx, qword [rbp + 0x67]
mov rax, qword [rbp - 0x21]
mov qword [rdx], rax
mov qword [rdx + 8], r15
mov rax, qword [rbp - 0x11]
mov qword [rdx + 0x10], rax
jmp 0x1400948c5
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