joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4081da
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rsi
sub rsp, 0x50
mov r8, rdx
mov r10d, 0x27
mov r11d, 0x2710
mov si, 0x64
lea r9, [0x00450f0f]
cmp rcx, 0x270f
jbe 0x408236
mov rax, rcx
xor edx, edx
div r11
mov rcx, rax
mov eax, edx
xor edx, edx
div si
movzx eax, ax
movzx edx, dx
movzx eax, word [r9 + rax*2]
mov word [rsp + r10 + 0x25], ax
movzx eax, word [r9 + rdx*2]
mov word [rsp + r10 + 0x27], ax
add r10, 0xfffffffffffffffc
jmp 0x4081f9
cmp rcx, 0x63
jbe 0x40825e
mov r11w, 0x64
mov eax, ecx
xor edx, edx
div r11w
movzx edx, dx
movzx ecx, ax
movzx eax, word [r9 + rdx*2]
mov word [rsp + r10 + 0x27], ax
add r10, 0xfffffffffffffffe
cmp rcx, 0xa
jae 0x408271
add cl, 0x30
mov byte [rsp + r10 + 0x28], cl
dec r10
jmp 0x408280
movzx eax, word [r9 + rcx*2]
mov word [rsp + r10 + 0x27], ax
add r10, 0xfffffffffffffffe
lea r9, [rsp + r10]
add r9, 0x29
mov eax, 0x27
sub rax, r10
mov qword [rsp + 0x20], rax
lea rdx, str.expand_32_byte_kntdll.dllNtAllocateVirtualMemoryNtProtectVirtualMemoryymmxmmzmm
mov rcx, r8
xor r8d, r8d
call fcn.00407f87
nop
add rsp, 0x50
pop rsi
ret
sub rsp, 0xa8
mov eax, dword [rdx + 0x34]
test al, 0x10
jne 0x4085f7
test al, 0x20
jne 0x40863b
movzx ecx, byte [rcx]
add rsp, 0xa8
jmp 0x4081da
mov r8b, byte [rcx]
mov r9d, 0x81
mov ecx, 0x30
mov r10d, r8d
mov rax, r9
mov r9d, r8d
and r9b, 0xf
shr r10b, 4
cmp r9b, 0xa
mov r11d, 0x57
cmovb r11d, ecx
add r11b, r9b
mov byte [rsp + rax + 0x26], r11b
lea r9, [rax - 1]
cmp r8b, 0x10
mov r8d, r10d
jae 0x408608
jmp 0x40867d
mov r8b, byte [rcx]
mov r9d, 0x81
mov ecx, 0x30
mov r10d, r8d
mov rax, r9
mov r9d, r8d
and r9b, 0xf
shr r10b, 4
cmp r9b, 0xa
mov r11d, 0x37
cmovb r11d, ecx
add r11b, r9b
mov byte [rsp + rax + 0x26], r11b
lea r9, [rax - 1]
cmp r8b, 0x10
mov r8d, r10d
jae 0x40864c
add rax, 0xfffffffffffffffe
cmp rax, 0x81
jae 0x4086bf
mov ecx, 0x81
sub rcx, r9
lea r9, [rsp + rax]
add r9, 0x28
mov qword [rsp + 0x20], rcx
lea rax, [0x00450f0d]
mov r8d, 2
mov rcx, rdx
mov rdx, rax
call fcn.00407f87
nop
add rsp, 0xa8
ret
ud2
Function at 0x4085d6
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rsi
sub rsp, 0x50
mov r8, rdx
mov r10d, 0x27
mov r11d, 0x2710
mov si, 0x64
lea r9, [0x00450f0f]
cmp rcx, 0x270f
jbe 0x408236
mov rax, rcx
xor edx, edx
div r11
mov rcx, rax
mov eax, edx
xor edx, edx
div si
movzx eax, ax
movzx edx, dx
movzx eax, word [r9 + rax*2]
mov word [rsp + r10 + 0x25], ax
movzx eax, word [r9 + rdx*2]
mov word [rsp + r10 + 0x27], ax
add r10, 0xfffffffffffffffc
jmp 0x4081f9
cmp rcx, 0x63
jbe 0x40825e
mov r11w, 0x64
mov eax, ecx
xor edx, edx
div r11w
movzx edx, dx
movzx ecx, ax
movzx eax, word [r9 + rdx*2]
mov word [rsp + r10 + 0x27], ax
add r10, 0xfffffffffffffffe
cmp rcx, 0xa
jae 0x408271
add cl, 0x30
mov byte [rsp + r10 + 0x28], cl
dec r10
jmp 0x408280
movzx eax, word [r9 + rcx*2]
mov word [rsp + r10 + 0x27], ax
add r10, 0xfffffffffffffffe
lea r9, [rsp + r10]
add r9, 0x29
mov eax, 0x27
sub rax, r10
mov qword [rsp + 0x20], rax
lea rdx, str.expand_32_byte_kntdll.dllNtAllocateVirtualMemoryNtProtectVirtualMemoryymmxmmzmm
mov rcx, r8
xor r8d, r8d
call fcn.00407f87
nop
add rsp, 0x50
pop rsi
ret
sub rsp, 0xa8
mov eax, dword [rdx + 0x34]
test al, 0x10
jne 0x4085f7
test al, 0x20
jne 0x40863b
movzx ecx, byte [rcx]
add rsp, 0xa8
jmp 0x4081da
mov r8b, byte [rcx]
mov r9d, 0x81
mov ecx, 0x30
mov r10d, r8d
mov rax, r9
mov r9d, r8d
and r9b, 0xf
shr r10b, 4
cmp r9b, 0xa
mov r11d, 0x57
cmovb r11d, ecx
add r11b, r9b
mov byte [rsp + rax + 0x26], r11b
lea r9, [rax - 1]
cmp r8b, 0x10
mov r8d, r10d
jae 0x408608
jmp 0x40867d
mov r8b, byte [rcx]
mov r9d, 0x81
mov ecx, 0x30
mov r10d, r8d
mov rax, r9
mov r9d, r8d
and r9b, 0xf
shr r10b, 4
cmp r9b, 0xa
mov r11d, 0x37
cmovb r11d, ecx
add r11b, r9b
mov byte [rsp + rax + 0x26], r11b
lea r9, [rax - 1]
cmp r8b, 0x10
mov r8d, r10d
jae 0x40864c
add rax, 0xfffffffffffffffe
cmp rax, 0x81
jae 0x4086bf
mov ecx, 0x81
sub rcx, r9
lea r9, [rsp + rax]
add r9, 0x28
mov qword [rsp + 0x20], rcx
lea rax, [0x00450f0d]
mov r8d, 2
mov rcx, rdx
mov rdx, rax
call fcn.00407f87
nop
add rsp, 0xa8
ret
ud2
Function at 0x40d0c1
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.0040d120
mov ecx, eax
add rsp, 0x28
jmp sub.KERNEL32.dll_TlsGetValue

Function at 0x40d0f4
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
call fcn.0040d120
mov ecx, eax
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp sub.KERNEL32.dll_TlsSetValue

Function at 0x40d120
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov edi, dword [rcx + 0x18]
test edi, edi
je 0x40d13a
dec edi
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rsi, rcx
cmp qword [rcx], 0
je 0x40d1aa
lea r8, [rsp + 0x2c]
and dword [r8], 0
lea rbx, [rsi + 0x10]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
cmp eax, 1
jne 0x40d1f1
cmp dword [rsp + 0x2c], 0
je 0x40d1d9
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40d1e1
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x004550b0]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x004550b0], rsi
jne 0x40d185
mov byte [0x004550a8], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x40d130
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40d1f1
mov edi, eax
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
je 0x40d130
mov esi, eax
mov ecx, edi
call sub.KERNEL32.dll_TlsFree
dec esi
mov edi, esi
jmp 0x40d130
mov edi, dword [rsi + 0x18]
jmp 0x40d12e
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
ud2
Function at 0x4140e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov ecx, dword [0x004556e4]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x414200
mov rax, qword [0x004556e8]
xor ebx, ebx
add rax, 0x18
mov rdx, qword [rax]
cmp rsi, rdx
jb 0x41412c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rsi, rdx
jb 0x4141e6
add ebx, 1
add rax, 0x28
cmp ebx, ecx
jne 0x414110
mov rcx, rsi
call fcn.00414d20
test rax, rax
mov r12, rax
je 0x414238
movsxd rbx, ebx
lea rbx, [rbx + rbx*4]
shl rbx, 3
mov r13, rbx
add r13, qword [0x004556e8]
mov qword [r13 + 0x20], rax
mov dword [r13], 0
call fcn.00414e70
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 0x18], rax
mov rax, qword [0x004556e8]
mov rcx, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x41421b
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x4141df
sub eax, 0x40
and eax, 0xffffffbf
je 0x4141df
add rbx, qword [0x004556e8]
mov rcx, qword [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x414207
add dword [0x004556e4], 1
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sub.ntdll.dll_memcpy
xor ebx, ebx
jmp 0x414137
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00414070
mov rax, qword [0x004556e8]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.00414070
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call fcn.00414070
nop
nop dword [rax + rax]

Function at 0x414990
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x004559c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004559a0]
test rbx, rbx
je 0x4149e4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x4149db
test rsi, rsi
je 0x4149db
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4149c0
lea rcx, [0x004559c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x414d20
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x00451eb0]
xor edx, edx
mov r8, rcx
cmp word [r9], 0x5a4d
je 0x414d40
mov rax, rdx
add rsp, 0x28
ret
mov rcx, r9
call fcn.00414c00
test eax, eax
je 0x414d38
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add rax, r9
movzx edx, word [rax + 0x14]
lea rdx, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x414d9d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x414d94
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x414d38
add rdx, 0x28
cmp rdx, r9
jne 0x414d80
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x140003250
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x14013c800]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov eax, dword [rcx + 0x40]
mov edi, r8d
movzx esi, byte [rcx + 0xd8]
cmp r8d, eax
mov rbx, rcx
setge bpl
jge 0x14000329b
test sil, sil
je 0x140003380
movups xmm0, xmmword [r9]
add rcx, 8
cmp qword [rbx + 0x20], 0xf
movups xmmword [rsp + 0x48], xmm0
jbe 0x1400032b3
mov rcx, qword [rbx + 8]
movups xmm0, xmmword [rdx]
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x28], rcx
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x30], rax
movsd xmm0, qword [rdx + 0x10]
movsd qword [rsp + 0x20], xmm0
call fcn.1400a7390
movups xmm0, xmmword [rsp + 0x28]
mov qword [rsp + 0x78], rax
mov rax, qword gs:[0x58]
mov edx, recv
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], edi
mov rcx, qword [rax]
mov r8d, reloc.WS2_32.dll_recv
mov eax, dword [rdx + rcx]
test al, 1
jne 0x140003321
or eax, 1
lea rdi, [rcx + r8]
mov dword [rdx + rcx], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
mov qword [rdi], rax
jmp 0x140003325
lea rdi, [r8 + rcx]
movups xmm0, xmmword [rsp + 0x38]
mov rax, qword [rdi]
lea rdx, [rsp + 0x60]
movsd xmm1, qword [rsp + 0x20]
movzx r9d, sil
movups xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0x80], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x48]
movzx r8d, bpl
mov qword [rsp + 0x88], rax
mov rcx, rbx
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0xb0], xmm0
movsd qword [rsp + 0xa8], xmm1
call fcn.140004e00
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400c9120
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140017250
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1400173cb
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14000bd60
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140017394
mov qword [rsp + 0x58], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
movzx r9d, byte [rax + 0x10]
mov rcx, qword [rcx]
mov r11d, r9d
xor r11, rdi
imul r11, rbp
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x140017310
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140017383
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x140017349
mov r10, qword [rdx]
cmp r10, rax
je 0x140017343
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 0x140017383
cmp r8, rdx
je 0x14001735f
nop
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x1400173a5
cmp r8, rdx
jne 0x140017350
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
jne 0x1400172e1
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
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 0x140017383
lea rcx, str.invalid_hash_bucket_count
call fcn.1400a1448
int3
Function at 0x14001a510
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x14013c800]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx + 0x10]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14001a706
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.1400a7188
test eax, eax
jne 0x14001a733
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x14001a73e
xor r14d, r14d
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x30], r14
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x50]
call fcn.1400fa8b0
mov qword [rsp + 0x60], r14
lea r15, vtable.fmt::v10::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0xfa
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov rdx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
cmp byte [rdi + 0x20], r14b
je 0x14001a69a
mov r8, qword [rsi + 0x28]
cmp qword [rsi + 0x30], r8
jbe 0x14001a69a
test r8, r8
je 0x14001a5fa
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movsxd rax, dword [rsi + 0x10]
movzx ebp, word [rdi + rax*2 + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x14001a61b
lea ebp, [rax + 7]
jmp 0x14001a636
mov edx, dword [rsp + 0x40]
and edx, 0xfff0
or edx, ebp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movzx ebp, word [rsp + 0x40]
mov r8, qword [rsi + 0x30]
mov rcx, qword [rsi + 0x28]
cmp r8, rcx
jbe 0x14001a660
sub r8d, ecx
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movzx edx, bp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [rsi + 0x30]
mov r8, qword [rsp + 0x60]
cmp r8, rcx
jbe 0x14001a6be
sub r8d, ecx
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
jmp 0x14001a6be
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x14001a6fe
mov rdx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a6f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a72d
call fcn.1400c95b4
nop
mov rcx, rbx
call fcn.1400a7190
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400c9120
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400d944c
nop
mov ecx, 5
call fcn.1400a1220
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.1400a1220
int3
Function at 0x140022800
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10d, dword [0x140143140]
lea r11, [0x140143140]
mov r9d, 0x270
cmp r10d, r9d
jne 0x140022875
lea r8, [0x140143148]
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140022830
mov r10d, dword [0x140143140]
jmp 0x14002298f
cmp r10d, 0x4e0
jb 0x14002298f
mov qword [rsp + 0x10], rbx
xor r10d, r10d
mov qword [rsp + 0x18], rsi
lea rbx, [0x140143144]
mov qword [rsp], rdi
lea rsi, [0x140144138]
lea rdi, [0x140143b04]
mov r9d, r10d
mov r8d, 0x38c
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r9 + rdi]
xor edx, dword [r9 + r11 + 0x9c8]
btr edx, 0x1f
xor edx, dword [r9 + rdi]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + rsi]
xor ecx, edx
mov dword [r9 + rbx], ecx
add r9, 4
cmp r9, r8
jb 0x1400228c0
mov rdi, qword [rsp]
lea r9, [0x140143b08]
mov rsi, qword [rsp + 0x18]
nop word [rax + rax]
mov eax, dword [r8 + r11 + 0x9c4]
mov edx, eax
xor edx, dword [r8 + r9]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + r11 - 0x388]
xor ecx, edx
mov dword [r8 + rbx], ecx
add r8, 4
cmp r8, 0x9bc
jb 0x140022910
mov edx, dword [0x1401444c0]
xor edx, dword [0x140143144]
mov rbx, qword [rsp + 0x10]
btr edx, 0x1f
xor edx, dword [0x1401444c0]
mov eax, edx
mov dword [0x140143140], r10d
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [0x140143774]
mov dword [0x140143b00], ecx
mov eax, r10d
mov ecx, dword [r11 + rax*4 + 4]
inc eax
mov dword [0x140143140], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [0x1401444c4]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
add rsp, 8
ret
Function at 0x14002b730
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x14013c800]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov rcx, qword [0x1401410a8]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x14002b778
nop dword [rax]
cmp dword [rax + 0x20], 4
jge 0x14002b76c
mov rax, qword [rax + 0x10]
jmp 0x14002b772
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14002b760
cmp byte [rcx + 0x19], 0
jne 0x14002b854
cmp dword [rcx + 0x20], 4
jg 0x14002b854
lea r8, [rcx + 0x28]
mov r10, qword [r8 + 0x10]
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x14002b7a1
mov rdx, qword [r8]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x14002b7d3
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r11
inc rcx
cmp rcx, r10
jb 0x14002b7c0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14001a950
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14002b80e
cmp rcx, qword [rbx + 8]
je 0x14002b80e
cmp qword [rbx + 0x10], 1
jne 0x14002b812
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400c9120
add rsp, 0x80
pop rbx
ret
xor al, al
jmp 0x14002b7f8
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14002b880
nop
mov r8, rax
lea rdx, str.AcceptEncoding_does_not_accept_any_other_values_if_disabled_is_present._You_set_the_following_encodings:
lea rcx, [rsp + 0x58]
call fcn.140024ff0
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14002b6d0
lea rdx, [0x140139630]
lea rcx, [rsp + 0x20]
call fcn.1400cb1dc
nop
lea rcx, str.invalid_map_K__T__key
call fcn.1400a146c
int3
Function at 0x1400484b0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbx, rdx
mov edx, 0x2b
mov rsi, r8
mov rbp, rcx
test r8, r8
je 0x14004858b
xor r14d, r14d
nop dword [rax]
mov edi, 4
lea rdx, [rsp + 0x50]
cmp rsi, rdi
mov r8d, 4
mov rcx, rbp
cmovb rdi, rsi
call fcn.14004c060
cmp eax, 4
je 0x140048508
mov edx, eax
jmp 0x140048535
cmp byte [0x1401413c4], r14b
jne 0x14004853f
mov r9d, 2
mov dword [rsp + 0x50], r14d
lea rdx, [rsp + 0x50]
xor ecx, ecx
lea r8d, [r9 + 2]
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb edx, edx
and edx, 2
mov eax, edx
test eax, eax
jne 0x14004858d
mov eax, dword [rsp + 0x50]
jmp 0x14004855e
imul eax, dword [0x1401413c0], 0x41c64e6d
mov edx, r14d
add eax, 0x3039
mov dword [0x1401413c0], eax
ror eax, 0x10
mov dword [rsp + 0x50], eax
test rdi, rdi
je 0x140048582
sub rsi, rdi
nop word [rax + rax]
mov byte [rbx], al
inc rbx
shr eax, 8
sub rdi, 1
jne 0x140048570
mov dword [rsp + 0x50], eax
test rsi, rsi
jne 0x1400484e0
mov eax, edx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x1400485a0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
sub rdi, 1
je 0x140048643
xor ebp, ebp
lea r14, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
nop
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14004c060
cmp eax, 4
jne 0x14004860f
cmp byte [0x1401413c4], bpl
jne 0x14004865b
lea r9d, [rax - 2]
mov dword [rsp + 0x50], ebp
mov r8d, eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
test eax, eax
jne 0x140048648
mov ecx, dword [rsp + 0x50]
cmp ecx, 0xfffffffc
jae 0x1400485d0
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul eax, eax, 0x3e
sub ecx, eax
movzx eax, byte [rcx + r14]
mov byte [rsi], al
inc rsi
sub rdi, 1
jne 0x1400485d0
mov byte [rsi], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
imul ecx, dword [0x1401413c0], 0x41c64e6d
add ecx, 0x3039
mov dword [0x1401413c0], ecx
ror ecx, 0x10
mov dword [rsp + 0x50], ecx
jmp 0x140048617
Function at 0x14004e630
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14004e712
call fcn.140064b60
test al, al
jne 0x14004e712
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x14004e662
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.140065eb0
test rax, rax
je 0x14004e6a7
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.140065eb0
mov rsi, rax
test rax, rax
je 0x14004e6a7
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
cmp rbx, rsi
jae 0x14004e6db
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.140047f80
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x14004e6c0
mov rsi, qword [rsp + 0x30]
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret