Function at 0x14059bd00
Capabilities:
Enumerate pe sections

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov r10d, dword [rsp + 0x90]
mov eax, dword [rsp + 0x98]
cmp eax, 8
jge 0x14059be8c
xor r11d, r11d
cmp eax, 4
jge 0x14059bd80
test eax, eax
jle 0x14059c0ed
movsx rdi, dx
dec eax
movsx rsi, word [rcx + r11*2]
cmp esi, edi
je 0x14059c100
movsx rdx, r8w
cmp esi, edx
je 0x14059c100
movsx rdx, r9w
cmp esi, edx
je 0x14059c100
movsx rdx, r10w
cmp esi, edx
sete dl
movzx edx, dl
test dl, dl
jne 0x14059c100
inc r11
test eax, eax
jg 0x14059bd39
jmp 0x14059c0ed
add eax, 0xfffffffc
lea rbx, [rcx + r11*2]
movsx rsi, word [rbx]
movsx rdi, dx
cmp esi, edi
je 0x14059c100
movsx rbp, r8w
cmp esi, ebp
je 0x14059c100
movsx rbp, r9w
cmp esi, ebp
je 0x14059c100
movsx rbp, r10w
cmp esi, ebp
sete sil
movzx esi, sil
test sil, sil
jne 0x14059c100
movsx rsi, word [rbx + 2]
cmp esi, edi
je 0x14059c111
movsx rbp, r8w
cmp esi, ebp
je 0x14059c111
movsx rbp, r9w
cmp esi, ebp
je 0x14059c111
movsx rbp, r10w
cmp esi, ebp
sete sil
movzx esi, sil
test sil, sil
jne 0x14059c111
movsx rsi, word [rbx + 4]
cmp esi, edi
je 0x14059c10b
movsx rbp, r8w
cmp esi, ebp
je 0x14059c10b
movsx rbp, r9w
cmp esi, ebp
je 0x14059c10b
movsx rbp, r10w
cmp esi, ebp
sete sil
movzx esi, sil
test sil, sil
jne 0x14059c10b
movsx rsi, word [rbx + 6]
cmp esi, edi
je 0x14059c105
movsx rdi, r8w
cmp esi, edi
je 0x14059c105
movsx rbx, r9w
cmp esi, ebx
je 0x14059c105
movsx rbx, r10w
cmp esi, ebx
sete sil
movzx esi, sil
test sil, sil
jne 0x14059c105
add r11, 4
cmp eax, 4
jge 0x14059bd80
jmp 0x14059bd2d
movsx rdi, dx
movd xmm0, edi
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
movsx rdx, r8w
movd xmm1, edx
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
movsx r8, r9w
movd xmm2, r8d
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
movsx r10, r10w
movd xmm3, r10d
punpcklwd xmm3, xmm3
pshufd xmm3, xmm3, 0
mov r9, rcx
lea r11d, [rax - 8]
movsxd rdx, r11d
lea rdx, [r9 + rdx*2]
movups xmm4, xmmword [r9]
movaps xmm5, xmm0
pcmpeqw xmm5, xmm4
movaps xmm6, xmm1
pcmpeqw xmm6, xmm4
por xmm5, xmm6
movaps xmm6, xmm2
pcmpeqw xmm6, xmm4
por xmm5, xmm6
pcmpeqw xmm4, xmm3
por xmm4, xmm5
movaps xmmword [rsp + 0x20], xmm4
xorps xmm5, xmm5
pcmpeqw xmm4, xmm5
pmovmskb r8d, xmm4
cmp r8d, 0xffff
jne 0x14059c023
add r9, 0x10
cmp r9, rdx
jbe 0x14059bee0
mov r9d, eax
test r9b, 7
je 0x14059c0ed
movups xmm4, xmmword [rdx]
pcmpeqw xmm0, xmm4
pcmpeqw xmm1, xmm4
por xmm0, xmm1
pcmpeqw xmm2, xmm4
por xmm0, xmm2
pcmpeqw xmm3, xmm4
por xmm0, xmm3
movaps xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x14059c0ed
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
movzx eax, word [rsp + 8]
shr eax, 0xf
movzx r8d, word [rsp + 0xa]
shr r8d, 0xf
add r8d, r8d
or eax, r8d
movzx r8d, word [rsp + 0xc]
shr r8d, 0xf
shl r8d, 2
or r8d, eax
mov eax, r8d
movzx r8d, word [rsp + 0xe]
shr r8d, 0xf
shl r8d, 3
or r8d, eax
mov eax, r8d
mov r8, qword [rsp + 0x28]
mov qword [rsp], r8
movzx r8d, word [rsp]
shr r8d, 0xf
movzx r10d, word [rsp + 2]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx r10d, word [rsp + 4]
shr r10d, 0xf
shl r10d, 2
or r10d, r8d
mov r8d, r10d
movzx r10d, word [rsp + 6]
shr r10d, 0xf
shl r10d, 3
or r10d, r8d
mov r8d, r10d
shl r8d, 4
or eax, r8d
jne 0x14059c0d1
mov r8d, 0x20
jmp 0x14059c0d5
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x18], rax
movzx r8d, word [rsp + 0x18]
shr r8d, 0xf
movzx edx, word [rsp + 0x1a]
shr edx, 0xf
add edx, edx
or r8d, edx
movzx eax, word [rsp + 0x1c]
shr eax, 0xf
shl eax, 2
or eax, r8d
mov r8d, eax
movzx eax, word [rsp + 0x1e]
shr eax, 0xf
shl eax, 3
or eax, r8d
mov r8d, eax
mov eax, r8d
mov rdx, qword [rsp + 0x28]
mov qword [rsp + 0x10], rdx
movzx edx, word [rsp + 0x10]
shr edx, 0xf
movzx r8d, word [rsp + 0x12]
shr r8d, 0xf
add r8d, r8d
or edx, r8d
movzx r8d, word [rsp + 0x14]
shr r8d, 0xf
shl r8d, 2
or r8d, edx
mov edx, r8d
movzx r8d, word [rsp + 0x16]
shr r8d, 0xf
shl r8d, 3
or r8d, edx
mov edx, r8d
shl edx, 4
or eax, edx
jne 0x14059c0c1
mov edx, 0x20
jmp 0x14059c0c4
bsf edx, eax
mov rax, r9
sub rax, rcx
shr rax, 1
add eax, edx
jmp 0x14059c0df
bsf r8d, eax
sub rdx, rcx
shr rdx, 1
lea eax, [rdx + r8]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rsi
pop rdi
ret
mov eax, 0xffffffff
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rsi
pop rdi
ret
mov eax, r11d
jmp 0x14059c0df
lea eax, [r11 + 3]
jmp 0x14059c0df
lea eax, [r11 + 2]
jmp 0x14059c0df
lea eax, [r11 + 1]
jmp 0x14059c0df