joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140046360
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14004651c
push rbp
mov rbp, rsp
sub rsp, 0x10
mov edx, dword [rax + 0x188]
mov esi, dword [rax + 0x18c]
mov rdi, qword [rax + 0x990]
mov r8d, dword [rax + 0x18c]
cmp r8d, esi
jne 0x140046372
cmp esi, edx
jne 0x14004650a
nop dword [rax]
test rdi, rdi
jne 0x14004650a
test rbx, rbx
jne 0x1400463d4
mov qword [rsp + 0x20], rax
nop
call dbg.runtime.nanotime1
xorps xmm15, xmm15
mov r14, qword [0x140261b00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x20]
mov edx, dword [rax + 0x22a8]
test edx, edx
jne 0x140046431
mov ecx, dword [rax]
mov edx, ecx
sar edx, 0x1f
shr edx, 0x1b
add edx, ecx
mov esi, edx
and edx, 0xffffffe0
sub ecx, edx
test ecx, ecx
jl 0x140046505
mov rdx, qword [0x14021c708]
sar esi, 5
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and r8d, edi
cmp rdx, rsi
jbe 0x1400464f9
mov rdx, qword [0x14021c700]
lea rdx, [rdx + rsi*4]
not r8d
lock and dword [rdx], r8d
mov ecx, dword [rax]
mov edx, ecx
sar edx, 0x1f
shr edx, 0x1b
add edx, ecx
mov esi, edx
and edx, 0xffffffe0
sub ecx, edx
test ecx, ecx
jl 0x1400464f4
mov rdx, qword [0x14021c6e8]
sar esi, 5
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and r8d, edi
cmp rdx, rsi
jbe 0x1400464e9
mov rcx, qword [0x14021c6e0]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], r8d
mov rcx, qword [0x14021e150]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x14021e150], rax
nop
mov edx, 1
lea rsi, [0x14021e158]
lock xadd dword [rsi], edx
nop
mov rdx, qword [rcx + 0x1230]
shr rdx, 0x3d
test dl, dl
jne 0x1400464d8
movabs rdx, 0x1fffffffffffffff
and rdx, rbx
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1230], rdx
mov rax, rbx
add rsp, 0x10
pop rbp
ret
lea rax, [0x14014b18c]
mov ebx, 0x28
call dbg.runtime.throw
mov rax, rsi
mov rcx, rdx
call dbg.runtime.panicIndex
call dbg.runtime.panicshift
mov rax, rsi
mov rcx, rdx
nop
call dbg.runtime.panicIndex
call dbg.runtime.panicshift
lea rax, [0x14014a132]
mov ebx, 0x23
call dbg.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp dbg.runtime.pidleput
Function at 0x14004aa00
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rcx, r14
test rcx, rcx
je 0x14004aa48
mov rcx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x90]
nop dword [rax + rax]
test rcx, rcx
je 0x14004aa48
mov qword [rsp + 0x68], rcx
nop
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
jmp 0x14004aa58
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rax, qword [rsp + 0x60]
mov rcx, qword [sym.RtlLookupFunctionEntry]
lea rdx, [rsp + 0x58]
mov rbx, qword [rax + 0xf8]
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0
call dbg.runtime.stdcall3
xorps xmm15, xmm15
mov r14, qword [0x140261b00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
nop
test rax, rax
je 0x14004ab31
mov rcx, qword [rsp + 0x58]
mov rdx, qword [sym.RtlVirtualUnwind]
mov rbx, qword [rsp + 0x60]
mov rsi, rbx
lea rdi, [rsp + 0x50]
mov r8, qword [rsi + 0xf8]
mov qword [rsp], rdx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0
call dbg.runtime.stdcall8
xorps xmm15, xmm15
mov r14, qword [0x140261b00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
cmp qword [rcx], rax
ja 0x14004ab31
cmp qword [rcx + 8], rax
ja 0x14004aa53
mov eax, 1
add rsp, 0x70
pop rbp
ret
Function at 0x14005dda0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14005de43
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call dbg.runtime.(*traceMap).put
nop
test bl, bl
je 0x14005de3d
mov qword [rsp + 0x18], rax
lea rcx, [dbg.runtime.(*traceStringTable).put.func1]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call dbg.runtime.systemstack
xorps xmm15, xmm15
mov r14, qword [0x140261b00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp dbg.runtime.(*traceStringTable).put
Function at 0x140067d20
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x78
mov qword [rsp + 0x30], r14
mov rax, qword [r14 + 0x30]
inc dword [rax + 0xd8]
mov byte [r14 + 0xbf], 1
mov qword [r14 + 0x10], 0xfffffffffffffade
mov rax, qword [r14 + 0x30]
mov rcx, qword [rax + 0xa0]
mov ecx, dword [rcx + 0x14]
mov dword [rax + 0x2b4], ecx
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
inc dword [rax + 0x14]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x18], rax
call dbg.runtime.getcallerfp
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x18]
mov rcx, rax
mov rax, qword [rsp + 0x80]
call dbg.runtime.save
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
mov qword [rax + 0x70], rcx
mov rdx, qword [rax + 0x40]
mov qword [rax + 0x78], rdx
mov rdx, qword [rax + 0x68]
mov qword [rax + 0x80], rdx
cmp qword [rax], rcx
ja 0x140067dc6
nop word [rax + rax]
cmp qword [rax + 8], rcx
jae 0x140067e14
mov rdx, qword [rax + 0x38]
lea rbx, [dbg.runtime.entersyscallblock.func1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsp + 0x18]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x50]
mov qword [rsp], rcx
call dbg.runtime.systemstack
xorps xmm15, xmm15
mov r14, qword [0x140261b00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x30]
mov ebx, 2
mov ecx, 3
nop
call dbg.runtime.casgstatus
mov rdx, qword [rsp + 0x30]
mov rsi, qword [rdx + 0x70]
cmp qword [rdx], rsi
ja 0x140067e39
cmp qword [rdx + 8], rsi
jae 0x140067e7c
lea rax, [dbg.runtime.entersyscallblock.func2]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x38]
mov qword [rsp], rax
nop dword [rax]
call dbg.runtime.systemstack
xorps xmm15, xmm15
mov r14, qword [0x140261b00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rdx + 0x80]
test rax, rax
je 0x140067e8d
cmp qword [rdx], rax
ja 0x140067e93
cmp qword [rdx + 8], rax
jae 0x140067ece
lea rax, [dbg.runtime.entersyscallblock.func3]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x38]
mov qword [rsp], rax
call dbg.runtime.systemstack
xorps xmm15, xmm15
mov r14, qword [0x140261b00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, dbg.runtime.entersyscallblock_handoff
mov qword [rsp], rax
call dbg.runtime.systemstack
xorps xmm15, xmm15
mov r14, qword [0x140261b00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
nop dword [rax]
call dbg.runtime.getcallerfp
mov rbx, qword [rsp + 0x28]
mov rcx, rax
mov rax, qword [rsp + 0x80]
call dbg.runtime.save
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
dec dword [rax + 0xd8]
add rsp, 0x78
pop rbp
ret
Function at 0x14006a160
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x14006a2d7
movzx edx, byte [rax]
test edx, edx
jne 0x14006a194
nop dword [rax]
test r8b, r8b
jne 0x14006a194
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x14006a1a7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x14006a297
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x14006a285
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x14006a277
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x14006a1fd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x14006a240
mov eax, 1
cmp rax, rbx
ja 0x14006a22b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call dbg.runtime.panicSliceB
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x14006a26f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x14006a233
mov rcx, r11
mov eax, r12d
jmp 0x14006a202
mov rcx, rbx
call dbg.runtime.panicIndex
xor eax, eax
mov rcx, rax
nop dword [rax]
call dbg.runtime.panicIndex
mov eax, r8d
mov rcx, rbx
call dbg.runtime.panicSliceB
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x14006a2cd
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x14006a290
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x14006a1ad
mov eax, edx
mov rcx, rbx
call dbg.runtime.panicIndex
xor eax, eax
mov rcx, rax
nop dword [rax]
call dbg.runtime.panicIndex
nop
int3

Function at 0x14006b7e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14006b88f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [dbg.runtime.callers.func1]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call dbg.runtime.systemstack
xorps xmm15, xmm15
mov r14, qword [0x140261b00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp dbg.runtime.callers
Function at 0x14006ece0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x1402618aa], 0
je 0x14006ecee
jmp dbg.aeshashbody
jmp dbg.runtime.memhashFallback

Function at 0x14006ed00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x1402618aa], 0
je 0x14006ed15
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp dbg.aeshashbody
jmp dbg.runtime.strhashFallback

Function at 0x14006ed20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x1402618aa], 0
je 0x14006ed55
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x140261f40]
aesenc xmm0, xmmword [0x140261f50]
aesenc xmm0, xmmword [0x140261f60]
movq rax, xmm0
ret
jmp dbg.runtime.memhash32Fallback

Function at 0x14006ed60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x1402618aa], 0
je 0x14006ed96
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x140261f40]
aesenc xmm0, xmmword [0x140261f50]
aesenc xmm0, xmmword [0x140261f60]
movq rax, xmm0
ret
jmp dbg.runtime.memhash64Fallback

Function at 0x140070400
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
xorps xmm15, xmm15
xor r14, r14
mov rax, qword [0x140261b00]
mov rax, qword gs:[rax]
cmp rax, 0
je 0x14007049b
mov r14, qword [rax]
sub rsp, 0x10
mov rax, rcx
mov rbx, rdx
call dbg.runtime.sigtrampgo
add rsp, 0x10
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
pop rbp
ret
Function at 0x1400706c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x28
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
mov rax, qword [0x140261b00]
mov rax, qword gs:[rax]
cmp rax, 0
jne 0x140070757
int 3
mov r14, qword [rax]
sub rsp, 0x28
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], r9
call dbg.runtime.sehhandler
mov eax, dword [rsp + 0x20]
add rsp, 0x28
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
add rsp, 0x28
pop rbp
ret
Function at 0x14008c720
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14008ce5f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x14008c74d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x14008c9d1
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x14008c9fd
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x1401732e0]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x14011df00]
lea rbx, [0x140170bb0]
call dbg.runtime.gopanic
inc rax
cmp rax, r8
jge 0x14008ca22
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x14008ca57
lea rdi, [0x14011df80]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x14008c743
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x14008ca3b
jmp 0x14008ca10
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp dbg.internal/bisect.Hash

Function at 0x14008d000
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x14008d017
inc rax
cmp rax, 4
jge 0x14008d02f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x14008d014
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x14008d040
inc rax
cmp rax, 4
jge 0x14008d04e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x14008d077
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x14008d05b
jmp 0x14008d03d

Function at 0x140090c60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140090d2a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call dbg.internal/bytealg.IndexByteString
xorps xmm15, xmm15
mov r14, qword [0x140261b00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x140090d0f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x14011e000]
xor ebx, ebx
mov rcx, rdx
call dbg.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call dbg.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x140090cfe
mov edi, 1
lea rsi, [0x14011e000]
call dbg.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x140170e18]
lea rsi, [0x140170280]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp dbg.syscall.UTF16FromString
Function at 0x1400b7980
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400b7a7b
push rbp
mov rbp, rsp
sub rsp, 0x48
movq qword [rsp + 0x40], xmm15
mov qword [rsp + 0x60], rcx
mov byte [rsp + 0x17], 0
movups xmmword [rsp + 0x18], xmm15
mov word [rsp], ax
mov word [rsp + 2], bx
call dbg.github.com/sstallion/go-hid._Cfunc_hid_enumerate
xorps xmm15, xmm15
mov r14, qword [0x140261b00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
nop
lea rcx, [dbg.github.com/sstallion/go-hid.Enumerate.Enumerate.func1.func2]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x40], rcx
mov byte [rsp + 0x17], 1
jmp 0x1400b79fa
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x1400b7a41
mov qword [rsp + 0x28], rax
call dbg.github.com/sstallion/go-hid.newDeviceInfo
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rdx]
call rcx
test rax, rax
je 0x1400b79f1
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rbx
mov byte [rsp + 0x17], 0
mov rdx, qword [rsp + 0x40]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
add rsp, 0x48
pop rbp
ret
movups xmmword [rsp + 0x18], xmm15
mov byte [rsp + 0x17], 0
mov rdx, qword [rsp + 0x40]
mov rax, qword [rdx]
call rax
mov rbx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov word [rsp + 8], ax
mov word [rsp + 0xa], bx
mov qword [rsp + 0x10], rcx
call dbg.runtime.morestack_noctxt
movzx eax, word [rsp + 8]
movzx ebx, word [rsp + 0xa]
mov rcx, qword [rsp + 0x10]
nop
jmp dbg.github.com/sstallion/go-hid.Enumerate
Function at 0x1400dd200
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rcx, str.hid.dll
call rbx
mov qword [0x140265378], rax
test rax, rax
je 0x1400dd4a2
lea rcx, str.cfgmgr32.dll
call rbx
mov rcx, qword [0x140265378]
mov qword [0x140265370], rax
test rax, rax
je 0x1400dd497
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.HidD_GetHidGuid
call rbx
mov rcx, qword [0x140265378]
mov qword [0x140265400], rax
test rax, rax
je 0x1400dd497
lea rdx, str.HidD_GetAttributes
call rbx
mov rcx, qword [0x140265378]
mov qword [0x1402653f8], rax
test rax, rax
je 0x1400dd497
lea rdx, str.HidD_GetSerialNumberString
call rbx
mov rcx, qword [0x140265378]
mov qword [0x1402653f0], rax
test rax, rax
je 0x1400dd497
lea rdx, str.HidD_GetManufacturerString
call rbx
mov rcx, qword [0x140265378]
mov qword [0x1402653e8], rax
test rax, rax
je 0x1400dd497
lea rdx, str.HidD_GetProductString
call rbx
mov rcx, qword [0x140265378]
mov qword [0x1402653e0], rax
test rax, rax
je 0x1400dd497
lea rdx, [0x140211139]
call rbx
mov rcx, qword [0x140265378]
mov qword [0x1402653d8], rax
test rax, rax
je 0x1400dd497
lea rdx, str.HidD_GetFeature
call rbx
mov rcx, qword [0x140265378]
test rax, rax
je 0x1400dd497
lea rdx, str.HidD_GetInputReport
call rbx
mov rcx, qword [0x140265378]
test rax, rax
je 0x1400dd497
lea rdx, [0x14021116d]
call rbx
mov rcx, qword [0x140265378]
mov qword [0x1402653d0], rax
test rax, rax
je 0x1400dd497
lea rdx, [0x140211183]
call rbx
mov rcx, qword [0x140265378]
mov qword [0x1402653c8], rax
test rax, rax
je 0x1400dd497
lea rdx, str.HidD_FreePreparsedData
call rbx
mov rcx, qword [0x140265378]
mov qword [0x1402653c0], rax
test rax, rax
je 0x1400dd497
lea rdx, [0x1402111b0]
call rbx
mov rcx, qword [0x140265378]
mov qword [0x1402653b8], rax
test rax, rax
je 0x1400dd497
lea rdx, str.HidD_SetNumInputBuffers
call rbx
mov qword [0x1402653b0], rax
test rax, rax
je 0x1400dd490
mov rcx, qword [0x140265370]
lea rdx, str.CM_Locate_DevNodeW
call rbx
mov qword [0x1402653a8], rax
test rax, rax
je 0x1400dd490
mov rcx, qword [0x140265370]
lea rdx, str.CM_Get_Parent
call rbx
mov qword [0x1402653a0], rax
test rax, rax
je 0x1400dd490
mov rcx, qword [0x140265370]
lea rdx, str.CM_Get_DevNode_PropertyW
call rbx
mov qword [0x140265398], rax
test rax, rax
je 0x1400dd490
mov rcx, qword [0x140265370]
lea rdx, str.CM_Get_Device_Interface_PropertyW
call rbx
mov qword [0x140265390], rax
test rax, rax
je 0x1400dd490
mov rcx, qword [0x140265370]
lea rdx, str.CM_Get_Device_Interface_List_SizeW
call rbx
mov qword [0x140265388], rax
test rax, rax
je 0x1400dd490
mov rcx, qword [0x140265370]
lea rdx, str.CM_Get_Device_Interface_ListW
call rbx
mov qword [0x140265380], rax
test rax, rax
je 0x1400dd490
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rcx, qword [0x140265378]
test rcx, rcx
je 0x1400dd4a2
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [0x140265370]
mov qword [0x140265378], 0
test rcx, rcx
je 0x1400dd4bf
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x140265370], 0
mov eax, 0xffffffff
add rsp, 0x20
pop rbx
ret