joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e170
Capabilities:
Reference wmi statements

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x30], 0
mov r15, qword [rdx + 0x10]
test r15, r15
je 0x14000e247
lea rcx, [0x1400497fe]
call sub.OLEAUT32.dll_SysReAllocString
mov rbx, rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.OLEAUT32.dll_SysReAllocString
mov r14, rax
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov rdx, rbx
mov r8, r14
mov r9d, 0x30
call qword [rax + 0xa0]
mov ebp, eax
mov rcx, rbx
call sub.OLEAUT32.dll_SysStringLen
mov rcx, r14
call sub.OLEAUT32.dll_SysStringLen
test ebp, ebp
js 0x14000e247
mov rbx, qword [rsp + 0x30]
cmp qword [rsi + 0x20], 0
je 0x14000e213
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x14000e213
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi + 0x20], 1
mov qword [rsi + 0x28], rbx
mov rax, qword [rsi + 0x30]
mov qword [rdi + 0x30], rax
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rax, qword [rsi + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [rsi + 0x28]
mov qword [rdi + 0x28], rax
jmp 0x14000e2af
mov qword [rdi], 2
mov rcx, qword [rsi + 0x28]
cmp qword [rsi + 0x20], 0
mov qword [rsi + 0x20], 0
je 0x14000e26c
test rcx, rcx
je 0x14000e26c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x18]
mov qword [rsi + 0x10], 0
test r15, r15
je 0x14000e288
test rcx, rcx
je 0x14000e288
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 8]
cmp qword [rsi], 0
mov qword [rsi], 0
je 0x14000e2a4
test rcx, rcx
je 0x14000e2a4
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp byte [rsi + 0x30], 0
je 0x14000e2af
call fcn.14003ff22
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14000fc40
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov rax, rdx
mov rsi, rcx
lea rdx, [rbp + 4]
mov rcx, rax
call sub.SHELL32.dll_CommandLineToArgvW
test rax, rax
je 0x14000fd9c
mov rdi, rax
mov qword [rbp - 0x40], rsi
movsxd rsi, dword [rbp + 4]
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 8
mov qword [rbp - 8], 0
test rsi, rsi
je 0x14000fd7f
shl rsi, 3
xor r15d, r15d
lea rbx, [rbp - 0x58]
lea r14, [rbp - 0x38]
jmp 0x14000fcf2
mov rax, qword [rbp - 0x10]
lea rcx, [r12 + r12*2]
mov rdx, qword [rbp + 8]
mov qword [rax + rcx*8], rdx
mov rdx, qword [rbp - 0x20]
mov qword [rax + rcx*8 + 8], rdx
mov qword [rax + rcx*8 + 0x10], r13
inc r12
mov qword [rbp - 8], r12
add r15, 8
cmp rsi, r15
je 0x14000fd7f
mov r12, qword [rdi + r15]
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov r13, rax
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 0
shr rax, 1
mov r8d, r13d
and r8d, 1
add r8, rax
je 0x14000fd32
mov rcx, r14
xor edx, edx
call fcn.140040c90
lea rax, [r12 + r13*2]
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], rax
mov word [rbp - 0x48], 0
mov rcx, rbx
mov rdx, r14
call fcn.140016aa0
mov rax, qword [rbp - 0x38]
mov qword [rbp + 8], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x20], rax
mov r13, qword [rbp - 0x28]
mov r12, qword [rbp - 8]
cmp r12, qword [rbp - 0x18]
jne 0x14000fcc0
lea rcx, [rbp - 0x18]
call fcn.140015790
jmp 0x14000fcc0
mov rcx, rdi
call sub.KERNEL32.dll_LocalFree
movups xmm0, xmmword [rbp - 0x18]
mov rcx, qword [rbp - 0x40]
movups xmmword [rcx], xmm0
mov rax, qword [rbp - 8]
mov qword [rcx + 0x10], rax
jmp 0x14000fdb3
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14001ff20
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov r14, rdx
mov rsi, rcx
movups xmm0, xmmword [rdx + 0x38]
movups xmm1, xmmword [rdx + 0x48]
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x40], xmm0
mov rax, qword [rdx + 0x28]
movzx ebx, byte [rdx + 0x30]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x48], bl
movzx eax, byte [0x14005f181]
mov ecx, 0x5f0
mov edx, 8
call fcn.140008400
test rax, rax
mov qword [rbp - 8], r14
je 0x140020190
mov rdi, rax
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, qword [r14 + 0x60]
mov qword [rbp - 0x18], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xa60c596fc19fead0
movabs r9, 0xded7d4e2d7dedfc6
movabs r10, 0xe414a674f0de7325
movabs r11, 0x800000000000000
mov r13d, 1
lock xadd qword [0x14005f188], r13
mov r14, r13
xor r14, rcx
mov rax, r14
rol rax, 0x10
lea r15, [r14 + rdx]
xor rax, r15
add r14, r8
lea r15, [rax + r9]
mov r12, r14
xor r12, r10
rol rax, 0x15
rol r14, 0x20
xor r13, r15
xor r15, r11
xor r15, rax
add r13, r12
rol r12, 0xd
add r14, r15
xor r12, r13
rol r15, 0x10
xor r15, r14
rol r13, 0x20
add r14, r12
add r13, r15
rol r12, 0x11
xor r12, r14
rol r15, 0x15
rol r14, 0x20
xor r15, r13
xor r13, r11
xor r14, 0xff
add r13, r12
add r14, r15
rol r12, 0xd
xor r12, r13
rol r15, 0x10
rol r13, 0x20
xor r15, r14
add r14, r12
rol r12, 0x11
add r13, r15
xor r12, r14
rol r15, 0x15
xor r15, r13
rol r14, 0x20
add r13, r12
add r14, r15
rol r12, 0xd
xor r12, r13
rol r15, 0x10
rol r13, 0x20
xor r15, r14
add r14, r12
rol r12, 0x11
add r13, r15
xor r12, r14
rol r15, 0x15
xor r15, r13
rol r14, 0x20
add r13, r12
add r14, r15
rol r12, 0xd
xor r12, r13
rol r15, 0x10
xor r15, r14
add r14, r12
rol r12, 0x11
rol r15, 0x15
mov r13, r14
rol r13, 0x20
xor r13, r12
xor r13, r15
xor r13, r14
je 0x14001ffe0
mov rcx, qword [rbp - 8]
mov rax, qword [rcx + 0x58]
movaps xmm0, xmmword [rbp - 0x40]
movaps xmm1, xmmword [rbp - 0x30]
movups xmmword [rsi + 0x128], xmm1
movups xmmword [rsi + 0x118], xmm0
mov rdx, qword [rbp - 0x10]
mov qword [rsi + 0x138], rdx
mov byte [rsi + 0x140], bl
mov qword [rsi], 0
mov qword [rsi + 8], rdi
mov qword [rsi + 0x80], 0
mov qword [rsi + 0x88], rdi
mov rdx, qword [rbp - 0x18]
mov qword [rsi + 0x100], rdx
mov qword [rsi + 0x108], r13
mov qword [rsi + 0x110], rax
mov rdx, qword [rcx + 0x10]
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x14002017c
test rdx, rdx
je 0x14002017c
mov rcx, qword [rcx + 0x18]
mov r8d, 1
call fcn.140008410
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov ecx, 8
mov edx, 0x5f0
call fcn.1400464a0
ud2
Function at 0x140029510
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rbp - 0x10]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
cmovne rdx, rcx
add rsp, 0x50
pop rbp
ret

Function at 0x140029550
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x1400295f0
jmp 0x1400295df
jae 0x1400296af
cmp r8, 0x201
jae 0x1400295f0
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x140029647
sub r8, rbx
sub rdi, rbx
cmp r8, rdi
jbe 0x14002961f
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.140045340
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x140029670
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14002971b
mov r8d, r13d
cmp r12, r8
jne 0x1400295d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14002974f
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1400295df
jmp 0x1400295f0
cmp r14, r8
jb 0x140029769
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.14002c1c0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x140029704
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.140008410
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x1400296ef
jmp 0x140029704
lea rcx, str.internal_error:_entered_unreachable_code_rustc_eeb90cda1969383f56a2637cbd3037bdf598841clibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.140046650
jmp 0x14002977e
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.140046a00
ud2
Function at 0x1400309a0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x14004da48]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x1400309d8
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140030a36
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x140030a63
test eax, eax
js 0x140030a42
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x140030a59
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.14002be60
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1400277a0
mov ecx, 7
int 0x29
ud2

Function at 0x1400314a0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rsi
push rdi
push rbx
sub rsp, 0x50
in al, dx
push rax
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
Function at 0x14003e9c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x14003ea4a
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14003ea40
cmp r10, r11
jb 0x14003eac6
cmp r10, rdx
ja 0x14003ead8
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x14003ea42
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14003ea20
jmp 0x14003eaa7
ja 0x14003ea4a
mov r11, r10
cmp rax, r8
jne 0x14003e9e7
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x14003eaab
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14003ea80
mov r8, r10
sub ecx, r9d
jns 0x14003ea9e
jmp 0x14003eaad
cmp r10, rdx
je 0x14003eaba
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14003eaad
xor al, 1
cmp r8, rdx
jne 0x14003ea60
jmp 0x14003eaad
xor eax, eax
jmp 0x14003eaad
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140046530
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140046a70
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140046a00
int3

Function at 0x140040758
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400407a2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400407a2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400407a2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400407a2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400407a2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400407a4
xor al, al
add rsp, 0x28
ret
Function at 0x18000a140
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rsi, r8
mov rbx, rdx
mov r14, rcx
xor ebp, ebp
mov edi, ebp
mov qword [rsp + 0x78], rbp
test rdx, rdx
je 0x18000a19a
mov rax, qword [rdx]
lea r8, [rsp + 0x78]
lea rdx, [0x180166e48]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x18000a195
mov rax, qword [rbx]
lea r8, [rsp + 0x78]
lea rdx, [0x180166f50]
mov rcx, rbx
call qword [rax]
mov rdi, qword [rsp + 0x78]
mov qword [rsp + 0x88], rdi
test rdi, rdi
je 0x18000a398
test rsi, rsi
je 0x18000a398
lea rbx, [r14 + 0x10]
mov qword [rsp + 0x20], rbx
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov qword [rsp + 0x78], rsi
mov r14, qword [r14 + 0x40]
mov rax, rdi
shr rax, 0xc
movzx ecx, al
shl rcx, 6
add r14, rcx
movzx edx, dil
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs r8, 0x100000001b3
imul rdx, r8
mov rax, rdi
sar rax, 8
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov rax, rdi
sar rax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov rax, rdi
sar rax, 0x18
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov rax, rdi
sar rax, 0x20
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov rax, rdi
sar rax, 0x28
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov rax, rdi
sar rax, 0x30
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov rax, rdi
sar rax, 0x38
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov rcx, qword [r14 + 0x30]
and rcx, rdx
shl rcx, 4
add rcx, qword [r14 + 0x18]
mov rax, qword [rcx + 8]
mov rdx, qword [r14 + 8]
cmp rax, rdx
je 0x18000a2b1
mov rcx, qword [rcx]
cmp rdi, qword [rax + 0x10]
je 0x18000a2b4
nop dword [rax]
cmp rax, rcx
je 0x18000a2b1
mov rax, qword [rax + 8]
cmp rdi, qword [rax + 0x10]
jne 0x18000a2a0
jmp 0x18000a2b4
mov rax, rbp
test rax, rax
cmove rax, rdx
cmp rax, rdx
jne 0x18000a369
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbp
lea r8, [rsp + 0x78]
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.180009370
mov qword [rsp + 0x78], rdi
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.18000be80
mov rcx, qword [rax]
add rcx, 0x18
lea rax, [rsp + 0x38]
mov rsi, qword [rsp + 0x38]
cmp rcx, rax
je 0x18000a325
mov r8, qword [rsp + 0x40]
sub r8, rsi
sar r8, 3
mov rdx, rsi
call fcn.18000c180
nop
test rsi, rsi
je 0x18000a38c
mov rax, qword [rsp + 0x48]
sub rax, rsi
sar rax, 3
lea rdx, [rax*8]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18000a35f
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a3c4
mov rcx, rsi
call fcn.1800b63c0
jmp 0x18000a38c
lea rcx, [rax + 0x18]
mov rdx, qword [rax + 0x20]
cmp rdx, qword [rax + 0x28]
je 0x18000a381
mov qword [rdx], rsi
add qword [rax + 0x20], 8
jmp 0x18000a38c
lea r8, [rsp + 0x78]
call fcn.180009370
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
jmp 0x18000a39d
mov ebp, 1
test rdi, rdi
je 0x18000a3ac
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x10]
nop
mov eax, ebp
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
call fcn.1800e1598
nop
int3
Function at 0x18000bd70
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov r9, rcx
movzx r8d, byte [r8 + 0x10]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
mov rsi, rdx
xor r8, rax
movzx eax, byte [rbx + 0x11]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
movzx eax, byte [rbx + 0x12]
imul r8, rcx
xor r8, rax
movzx eax, byte [rbx + 0x13]
imul r8, rcx
xor r8, rax
movzx eax, byte [rbx + 0x14]
imul r8, rcx
xor r8, rax
movzx eax, byte [rbx + 0x15]
imul r8, rcx
xor r8, rax
movzx eax, byte [rbx + 0x16]
imul r8, rcx
xor r8, rax
movzx eax, byte [rbx + 0x17]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x18000be29
cmp rax, rbx
jne 0x18000be1f
mov rax, qword [r9 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x18000be34
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x18000be34
cmp rax, rbx
jne 0x18000be34
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdi, qword [rbx]
lea rcx, [rbx + 0x10]
dec qword [r9 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rax, qword [rbx + 8]
mov qword [rdi + 8], rax
call fcn.18000c9a0
mov edx, 0x30
mov rcx, rbx
call fcn.1800b63c0
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18000c790
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18000c96f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18000bbf0
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 0x18000c934
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18000c8ac
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18000c923
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x18000c8e9
mov r10, qword [rdx]
cmp r10, rax
je 0x18000c8e3
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 0x18000c923
cmp r9, rdx
je 0x18000c8ff
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x18000c949
cmp r9, rdx
jne 0x18000c8f0
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 0x18000c830
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
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 0x18000c923
lea rcx, str.invalid_hash_bucket_count
call fcn.1800b73d8
int3
Function at 0x180019660
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x60]
xor r12d, r12d
mov r10, qword [rsp + 0x78]
mov r13, rdx
mov r11, qword [rsp + 0x68]
mov r15, qword [rsp + 0x70]
mov qword [r14], r8
mov qword [r10], r11
mov rax, qword [r14]
cmp rax, r9
je 0x180019838
cmp r11, r15
je 0x180019838
mov r8d, 1
movzx edx, word [r13]
xor bpl, bpl
movzx ecx, word [rax]
mov r9d, 0x3ff
mov r11d, 0x2400
mov ebx, 0x2800
cmp r8w, dx
jae 0x1800196f9
lea eax, [r11 + rcx]
cmp ax, r9w
ja 0x180019858
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x18001970f
mov eax, ecx
add cx, bx
cmp cx, r9w
ja 0x18001970f
shl eax, 0xa
mov bpl, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x180019722
movzx r9d, al
mov r11d, r12d
mov ebx, r12d
jmp 0x18001976d
mov r9d, eax
cmp eax, 0x800
jae 0x18001973c
shr r9d, 6
mov r11d, r8d
or r9b, 0xc0
mov ebx, r8d
jmp 0x18001976d
cmp eax, 0x10000
jae 0x180019756
shr r9d, 0xc
mov r11d, 2
or r9b, 0xe0
mov ebx, r11d
jmp 0x18001976d
shr r9d, 0x12
mov r11d, 3
movzx ebx, bpl
or r9b, 0xf0
xor ebx, 1
add ebx, ebx
mov rsi, qword [r10]
lea r8d, [rbx + 1]
mov rdi, r15
mov ecx, r8d
sub rdi, rsi
cmp rdi, rcx
jl 0x180019838
test dx, dx
jne 0x1800197bb
mov rcx, qword [rsp + 0x40]
test byte [rcx + 0x14], 2
je 0x1800197bb
lea edx, [r8 + 3]
cmp rdi, rdx
jl 0x180019838
mov byte [rsi], 0xef
inc qword [r10]
mov rcx, qword [r10]
mov byte [rcx], 0xbb
inc qword [r10]
mov rcx, qword [r10]
mov byte [rcx], 0xbf
inc qword [r10]
add qword [r14], 2
test bpl, bpl
jne 0x1800197ca
cmp r11d, 3
jae 0x1800197d6
mov rcx, qword [r10]
mov r8d, ebx
mov byte [rcx], r9b
inc qword [r10]
mov r9, qword [r10]
test r8d, r8d
jle 0x18001980e
lea ecx, [r11 + r11*2]
add ecx, ecx
nop dword [rax]
nop dword [rax + rax]
sub ecx, 6
mov edx, eax
shr edx, cl
dec r8d
and dl, 0x3f
or dl, 0x80
mov byte [r9], dl
inc qword [r10]
mov r9, qword [r10]
test r8d, r8d
jg 0x1800197f0
shr eax, 0xa
mov r8d, 1
test bpl, bpl
mov ecx, r8d
cmovne ecx, eax
mov word [r13], cx
mov rax, qword [r14]
cmp rax, qword [rsp + 0x58]
je 0x180019838
cmp qword [r10], r15
jne 0x1800196ba
mov rax, qword [rsp + 0x50]
cmp rax, qword [r14]
sete r12b
mov eax, r12d
mov rbx, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x48]
mov eax, 2
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret