joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008180
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x140088040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, qword gs:[0x30]
xor r14d, r14d
mov ebp, r14d
mov dword [rsp + 0x30], r14d
mov esi, r14d
mov rdi, qword [rax + 0x40]
nop word [rax + rax]
mov rax, qword gs:[0x30]
mov r8, rsi
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x30]
mov rsi, r14
test r8d, r8d
je 0x14000822e
lea ecx, [r8 + r8]
xor edx, edx
mov dword [rsp + 0x30], ecx
mov rax, qword gs:[0x30]
mov r8d, ecx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rsi, rax
test rax, rax
je 0x140008351
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rsi
mov ecx, 5
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x14000824c
cmp eax, 0xc0000004
je 0x1400081d0
test rsi, rsi
je 0x140008351
mov qword [rsp + 0xc0], rbx
mov rbx, rsi
cmp qword [rsi + 0x50], rdi
je 0x140008279
mov eax, dword [rbx]
test eax, eax
je 0x14000832d
add rbx, rax
cmp qword [rbx + 0x50], rdi
jne 0x140008266
xorps xmm1, xmm1
xorps xmm0, xmm0
mov edi, r14d
mov qword [rsp + 0x40], 0x30
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x58], r14
movups xmmword [rsp + 0x70], xmm1
mov qword [rsp + 0x48], r14
movups xmmword [rsp + 0x80], xmm1
mov qword [rsp + 0x50], r14
movups xmmword [rsp + 0x90], xmm1
cmp dword [rbx + 4], r14d
jbe 0x14000832d
nop dword [rax + rax]
mov eax, edi
lea r8, [rsp + 0x40]
mov edx, 0x40
lea rcx, [rsp + 0x38]
lea r9, [rax + rax*4]
shl r9, 4
add r9, 0x128
add r9, rbx
call qword [sym.imp.ntdll.dll_NtOpenThread]
test eax, eax
js 0x140008326
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x70]
mov r9d, 0x30
mov qword [rsp + 0x20], r14
xor edx, edx
call qword [sym.imp.ntdll.dll_NtQueryInformationThread]
test eax, eax
js 0x14000831b
mov rax, qword [rsp + 0x78]
cmp qword [rax + 0x58], r14
je 0x14000831b
inc ebp
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtClose]
inc edi
cmp edi, dword [rbx + 4]
jb 0x1400082c0
mov rax, qword gs:[0x30]
mov r8, rsi
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbx, qword [rsp + 0xc0]
mov eax, ebp
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140042de0
lea r11, [rsp + 0xb0]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1400088e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x20
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x58]
mov ebx, dword [rcx - 0x10]
call fcn.140008180
mov ebp, eax
mov r15d, 1
lea ecx, [rbp - 1]
lea edx, [rcx + rcx*2]
lea r12d, [rdx*8 + 0x28]
mov rdx, qword gs:[0x30]
lea r8d, [r12 + r12]
mov rcx, qword [rdx + 0x60]
lea edx, [r15 + 7]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r14, rax
test rax, rax
je 0x140008ac0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r13
xor r13d, r13d
mov dword [rax], r13d
mov edi, r13d
mov dword [rax + 4], r15d
mov rdx, qword gs:[0x30]
mov qword [rsp + 0x50], rsi
cmp rbx, qword [rdx + 0x48]
mov dword [rax + 8], ebp
cmove ebx, r13d
mov dword [rax + 0xc], ebx
test ebp, ebp
je 0x1400089c0
lea rsi, [rax + 0x18]
mov rbx, rsi
mov rax, qword gs:[0x30]
mov edx, 8
mov r8d, 0x818
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rbx], rax
test rax, rax
je 0x140008ad0
add rax, 0x10
inc edi
mov qword [rbx], rax
add rbx, 0x18
cmp edi, ebp
jb 0x140008981
lea rsi, [r12 + r14]
mov r8d, r12d
mov rcx, rsi
mov rdx, r14
call fcn.140065900
mov r9d, r12d
mov r8, r14
mov edx, 0x23
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtSetInformationProcess]
test eax, eax
js 0x140008a95
mov rax, qword [0x14008ac28]
mov rcx, qword [rax + 0x60]
add rcx, 0x28
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test ebp, ebp
je 0x140008a80
mov rdi, r14
lea rbx, [rsi + 0x18]
sub rdi, rsi
mov rsi, rbp
nop dword [rax + rax]
mov rax, qword gs:[0x30]
xor edx, edx
mov rcx, qword [rax + 0x60]
lea r8d, [rdx + 0x28]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, qword [rbx + rdi]
lea rbx, [rbx + 0x18]
mov qword [rax + 0x18], rcx
mov rcx, qword [rbx - 0x18]
mov qword [rax + 0x20], rcx
mov rcx, qword [rbx + rdi - 0x10]
mov qword [rax + 0x10], rcx
mov rcx, qword [0x14008ac28]
mov rdx, qword [rcx + 0x60]
mov rcx, qword [rdx + 0x58]
add rdx, 0x50
mov qword [rax], rdx
mov qword [rax + 8], rcx
mov qword [rcx], rax
mov qword [rdx + 8], rax
sub rsi, r15
jne 0x140008a20
mov rcx, qword [0x14008ac28]
mov rcx, qword [rcx + 0x60]
add rcx, 0x28
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword gs:[0x30]
mov r8, r14
xor edx, edx
mov rcx, qword [rcx + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r13, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov eax, r15d
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
test edi, edi
je 0x140008b09
mov ebx, edi
nop word [rax + rax]
mov rax, qword gs:[0x30]
xor edx, edx
mov r8, qword [rsi]
sub r8, 0x10
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea rsi, [rsi + 0x18]
sub rbx, r15
jne 0x140008ae0
mov r15d, r13d
jmp 0x140008a95
Function at 0x140008dc0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x50
mov rsi, r9
mov r14, r8
mov r15, rdx
movups xmm0, xmmword [rcx]
movups xmmword [rax - 0x38], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax - 0x28], xmm1
movsd xmm0, qword [rcx + 0x20]
movsd qword [rax - 0x18], xmm0
xor ecx, ecx
movq rax, xmm1
mov dword [rax], ecx
mov dword [r8], ecx
mov qword [r9], rcx
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov edx, 8
lea r8d, [rdx + 0x38]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
test rax, rax
jne 0x140008e3c
mov eax, 0xc0000017
jmp 0x140008efd
mov rax, qword [0x14008ac28]
mov rcx, qword [rax + 0x60]
add rcx, 0x10
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.ntdll.dll_RtlFindClearBitsAndSet]
mov edi, eax
cmp eax, 0xffffffff
jne 0x140008e82
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r8, rbx
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, 0xc000009a
jmp 0x140008efd
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx + 0x10], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x20], xmm1
movsd xmm0, qword [rsp + 0x40]
movsd qword [rbx + 0x30], xmm0
mov qword [rbx + 0x38], r15
mov rax, qword [rbx + 0x20]
mov dword [rax], edi
mov dword [rbx + 0x34], edi
mov rax, qword [0x14008ac28]
mov rcx, qword [rax + 0x60]
add rcx, 0x20
call qword [sym.imp.ntdll.dll_RtlAcquireSRWLockExclusive]
mov rax, qword [0x14008ac28]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 8]
mov qword [rbx], rcx
mov qword [rbx + 8], rax
mov qword [rax], rbx
mov qword [rcx + 8], rbx
mov rax, qword [0x14008ac28]
mov rcx, qword [rax + 0x60]
add rcx, 0x20
call qword [sym.imp.ntdll.dll_RtlReleaseSRWLockExclusive]
mov qword [rsi], rbx
mov dword [r14], edi
xor eax, eax
jmp 0x140008efd
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
add rsp, 0x50
pop r15
ret
Function at 0x140009c40
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x30
mov rax, qword [0x140088040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rcx, qword [0x14008ac68]
mov ebp, 0xffffffff
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [0x14008ac40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rsi, qword [0x14008ac38]
test rsi, rsi
je 0x140009e3b
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
nop dword [rax]
nop dword [rax + rax]
mov rbx, qword [rsi]
cmp rbx, qword [rsi + 8]
je 0x140009de8
nop dword [rax]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x20], 0x103
jne 0x140009cd8
mov rsi, qword [0x14008ac38]
add rbx, 0x18
jmp 0x140009dde
mov rax, qword [0x14008ac28]
mov rcx, qword [rax + 0x60]
add rcx, 0x20
call qword [sym.imp.ntdll.dll_RtlAcquireSRWLockExclusive]
mov rax, qword [0x14008ac28]
mov rsi, qword [rbx + 0x10]
mov rcx, qword [rax + 0x60]
mov rdi, qword [rcx]
cmp rdi, rcx
je 0x140009d42
nop dword [rax]
nop dword [rax + rax]
mov rax, qword gs:[0x30]
xor edx, edx
mov r8d, dword [rdi + 0x34]
mov rcx, qword [rax + 0x60]
mov r8, qword [rsi + r8*8 + 0x10]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, qword [0x14008ac28]
mov rdi, qword [rdi]
cmp rdi, qword [rax + 0x60]
jne 0x140009d10
mov rax, qword [rbx + 8]
xor edx, edx
mov r8, qword [rax + 0x18]
mov rax, qword gs:[0x30]
sub r8, 0x10
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, qword gs:[0x30]
xor edx, edx
mov r8, qword [rbx + 8]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, qword gs:[0x30]
xor edx, edx
mov r8, qword [rbx + 0x10]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, qword [0x14008ac28]
mov rcx, qword [rax + 0x60]
add rcx, 0x20
call qword [sym.imp.ntdll.dll_RtlReleaseSRWLockExclusive]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [0x14008ac38]
lea rdx, [rbx + 0x18]
mov rcx, rbx
mov r8, qword [rsi + 8]
sub r8, rdx
call fcn.140065900
add qword [rsi + 8], 0xffffffffffffffe8
cmp rbx, qword [rsi + 8]
jne 0x140009cb0
mov rdi, qword [rsi]
lea rcx, [0x14008ac40]
mov rbx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x14008ac68]
mov edx, 0x3e8
cmp rdi, rbx
cmove edx, ebp
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [0x14008ac40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rsi, qword [0x14008ac38]
test rsi, rsi
jne 0x140009ca0
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rcx, [0x14008ac40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140042de0
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x140012e30
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140012edc
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x140012e6a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x140012f00
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x140012eaa
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x20
call fcn.140042e44
mov rcx, rbx
test rbx, rbx
jne 0x140012e90
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.1400134e0
add rsp, 0x30
pop rdi
ret
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x140013004
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rax + 0x10], rbx
mov rbx, r14
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
mov qword [rax - 0x20], r13
mov r13, qword [r14 + 8]
mov qword [rax - 0x28], r15
movabs rax, 0xcbf29ce484222325
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x11]
imul rcx, r8
mov qword [rsp + 0x30], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x28], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x20
call fcn.140042e44
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x28]
je 0x140013010
cmp rbx, rbp
jne 0x140012fb0
cmp qword [rsp + 0x20], r14
jne 0x140012fdd
mov qword [r15], rbx
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x20], r14
jne 0x14001301f
mov qword [r15], r12
mov rax, r12
jmp 0x140013022
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x140012fdd
nop dword [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x20
call fcn.140042e44
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x1400130b6
cmp rbx, rbp
jne 0x140013090
jmp 0x140012fda
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x140013030
jmp 0x140012fdd
Function at 0x140012f00
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140012edc
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x140012e6a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x140012f00
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x140012eaa
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x20
call fcn.140042e44
mov rcx, rbx
test rbx, rbx
jne 0x140012e90
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.1400134e0
add rsp, 0x30
pop rdi
ret
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x140013004
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rax + 0x10], rbx
mov rbx, r14
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
mov qword [rax - 0x20], r13
mov r13, qword [r14 + 8]
mov qword [rax - 0x28], r15
movabs rax, 0xcbf29ce484222325
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x11]
imul rcx, r8
mov qword [rsp + 0x30], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x28], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x20
call fcn.140042e44
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x28]
je 0x140013010
cmp rbx, rbp
jne 0x140012fb0
cmp qword [rsp + 0x20], r14
jne 0x140012fdd
mov qword [r15], rbx
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x20], r14
jne 0x14001301f
mov qword [r15], r12
mov rax, r12
jmp 0x140013022
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x140012fdd
nop dword [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x20
call fcn.140042e44
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x1400130b6
cmp rbx, rbp
jne 0x140013090
jmp 0x140012fda
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x140013030
jmp 0x140012fdd
Function at 0x140013590
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14001373e
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x14008d068]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x14008d078]
lea rdx, [rdi + rdi]
call fcn.1400130d0
mov rax, qword [0x14008d068]
lea r9, [rdi - 1]
mov qword [0x14008d090], r9
mov qword [0x14008d098], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140013733
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x14008d078]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14001367f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400136f4
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400136bc
mov r10, qword [rdx]
cmp r10, rax
je 0x1400136b6
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400136f4
cmp r9, rdx
je 0x1400136d0
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140013708
cmp r9, rdx
jne 0x1400136c1
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x14001372e
mov r9, qword [0x14008d090]
jmp 0x140013630
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400136f4
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.140042d38
int3
Function at 0x140019cd0
Capabilities:
Hash data using sha1
Hash data using sha256
Hash data using sha384

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x90]
xor esi, esi
mov dword [rcx + 8], esi
mov rbx, rcx
test rax, rax
je 0x140019d01
mov rcx, qword [rcx + 0x88]
xor r8d, r8d
xor edx, edx
call rax
xor eax, eax
mov qword [rbx + 0xc], rsi
mov qword [rbx + 0x188], rsi
mov rcx, rbx
mov qword [rbx + 0x190], rax
mov dword [rbx + 0x198], eax
mov qword [rbx + 0x19c], rax
mov dword [rbx + 0x1a4], eax
mov dword [rbx + 0x180], esi
mov qword [rbx + 0xd0], rsi
call fcn.140019bd0
mov dword [rbx + 0xd8], esi
mov qword [rbx + 0xe0], rsi
mov qword [rbx + 0xf8], rsi
mov word [rbx + 0xf0], si
mov qword [rbx + 0x100], rsi
mov qword [rbx + 0x108], rsi
mov dword [rbx + 0x148], esi
mov qword [rbx + 0x150], rsi
mov qword [rbx + 0x158], rsi
cmp byte [rbx + 0x16a], sil
je 0x140019d8a
mov byte [rbx + 0x16a], sil
xor eax, eax
xor edx, edx
mov qword [rbx + 0x160], rax
mov r8d, 0x414d
mov rcx, qword [rbx + 0x118]
mov qword [rbx + 0x68], rsi
mov qword [rbx + 0x70], rsi
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x48], rsi
call fcn.140065540
mov rcx, qword [rbx + 0xa0]
xor edx, edx
mov r8d, 0x414d
mov qword [rbx + 0xe8], rsi
call fcn.140065540
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x140019ded
call fcn.14001aa70
mov rcx, qword [rbx + 0x78]
call fcn.14004f190
mov qword [rbx + 0x78], rsi
mov rdi, qword [rbx + 0x50]
test rdi, rdi
je 0x140019e37
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x140019e0d
call fcn.14001e8a0
mov rcx, qword [rdi + 0x68]
call fcn.14004f190
mov rcx, qword [rdi + 0x78]
call fcn.14004f190
mov rax, qword [fcn.140065540]
xor edx, edx
mov r8d, 0x98
mov rcx, rdi
call rax
mov rcx, qword [rbx + 0x50]
call fcn.14004f190
mov qword [rbx + 0x50], rsi
mov rcx, rbx
mov qword [rbx + 0x178], rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140019710
Function at 0x14001b650
Capabilities:
Hash data using sha1

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
mov rax, qword [0x140088040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, qword [rcx + 0x60]
xorps xmm1, xmm1
xorps xmm0, xmm0
mov qword [rsp + 0x20], r9
xor eax, eax
mov dword [rbp - 0x68], 0x67452301
mov esi, 0x40
mov qword [rbp - 0x80], rax
movups xmmword [rbp - 0x58], xmm0
mov dword [rbp - 0x78], eax
mov edi, esi
movups xmmword [rbp - 0x48], xmm0
mov dword [rbp - 0x6c], eax
add r14, 0x438
movups xmmword [rbp - 0x38], xmm0
mov dword [rbp - 0x70], esi
mov r12, r8
movups xmmword [rbp - 0x28], xmm0
mov r13, rdx
mov r15, rcx
movups xmmword [rsp + 0x30], xmm1
mov dword [rbp - 0x64], 0xefcdab89
movups xmmword [rsp + 0x40], xmm1
mov dword [rbp - 0x60], 0x98badcfe
movups xmmword [rsp + 0x50], xmm1
mov dword [rbp - 0x5c], 0x10325476
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm1
mov rdx, r14
lea rcx, [rbp - 0x70]
call fcn.140021e80
mov ebx, eax
test eax, eax
jne 0x14001b7ed
add r14, rsi
sub rdi, rsi
cmp rdi, rsi
jae 0x14001b6f1
test rdi, rdi
je 0x14001b726
mov r8, rdi
lea rcx, [rbp - 0x58]
mov rdx, r14
call fcn.140065900
mov r14, qword [rsp + 0x20]
lea rcx, [rbp - 0x70]
mov r8, r14
mov rdx, r12
call fcn.140022870
mov ebx, eax
test eax, eax
jne 0x14001b7ed
mov rdx, r13
lea rcx, [rbp - 0x70]
call fcn.140022950
mov ebx, eax
test eax, eax
jne 0x14001b7ed
mov rdi, qword [r15 + 0x60]
add rdi, 0x438
mov dword [rsp + 0x38], 0x67452301
mov dword [rsp + 0x3c], 0xefcdab89
mov dword [rsp + 0x40], 0x98badcfe
mov dword [rsp + 0x44], 0x10325476
mov dword [rsp + 0x48], 0xc3d2e1f0
mov dword [rsp + 0x30], esi
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14002c280
mov ebx, eax
test eax, eax
jne 0x14001b7ed
add rdi, 0x40
sub rsi, 0x40
cmp rsi, 0x40
jae 0x14001b791
test rsi, rsi
je 0x14001b7c7
mov r8, rsi
lea rcx, [rsp + 0x4c]
mov rdx, rdi
call fcn.140065900
mov r8, r14
lea rcx, [rsp + 0x30]
mov rdx, r12
call fcn.14002dad0
mov ebx, eax
test eax, eax
jne 0x14001b7ed
lea rdx, [r13 + 0x10]
lea rcx, [rsp + 0x30]
call fcn.14002dbb0
mov ebx, eax
mov rax, qword [fcn.140065540]
lea rcx, [rbp - 0x70]
xor edx, edx
lea r8d, [rdx + 0x58]
call rax
mov rax, qword [fcn.140065540]
lea rcx, [rsp + 0x30]
xor edx, edx
lea r8d, [rdx + 0x5c]
call rax
test ebx, ebx
je 0x14001b853
cmp qword [r15], 0
je 0x14001b853
mov rax, qword [r15 + 0x140]
mov dl, 1
mov dword [r15 + 0x148], reloc.WS2_32.dll_setsockopt
mov rcx, r15
mov qword [r15 + 0x150], 2
mov byte [rax], 2
mov rax, qword [r15 + 0x140]
mov byte [rax + 1], 0x50
call fcn.140016fe0
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140042de0
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret