joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800069f0
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x370
mov rax, qword [0x1800971d8]
xor rax, rsp
mov qword [rsp + 0x360], rax
test byte [rcx + 0x54], 1
mov rbx, rcx
je 0x180006b27
xor edi, edi
mov dword [rsp + 0x30], 0x11c
xor edx, edx
mov qword [rsp + 0x38], rdi
mov r8d, 0xfe
mov dword [rsp + 0x40], edi
lea rcx, [rsp + 0x46]
mov word [rsp + 0x44], di
call fcn.18004a7e0
xor eax, eax
mov word [rsp + 0x144], di
mov r8b, 1
mov dword [rsp + 0x146], eax
lea edx, [rdi + 2]
mov word [rsp + 0x14a], ax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea edx, [rdi + 2]
mov dword [rsp + 0x34], 5
mov r8, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x180006b27
lea rcx, [0x1800737e0]
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x180073870]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x180006ad2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rax, rdi
call qword [0x18007a3c0]
test eax, eax
je 0x180006b0d
cmp dword [rsp + 0x20], 0
je 0x180006b0d
lea rcx, [0x1800737e0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x180073880]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180006b20
lea rcx, [rbx + 0x48]
call qword [0x18007a3c0]
test eax, eax
je 0x180006b20
or dword [rbx + 0x50], 0x40
lea rcx, [rbx + 0x58]
mov edx, 0x400
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x180006b79
mov eax, 8
jmp 0x180006b86
mov r8d, 0x104
lea rdx, [rsp + 0x150]
lea rcx, [0x180073850]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x180006b81
lea r9, [rsp + 0x150]
mov edx, 0x400
lea r8, [0x180073800]
lea rcx, [rbx + 0x58]
call fcn.180007a80
test eax, eax
js 0x180006b81
lfence
lea rcx, [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180006b81
or dword [rbx + 0x50], 0x20
xor eax, eax
jmp 0x180006b86
mov eax, 1
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.180022280
mov rbx, qword [rsp + 0x388]
add rsp, 0x370
pop rdi
ret
Function at 0x180006bb0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x850
mov rax, qword [0x1800971d8]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x802
call fcn.18004a7e0
xor ebx, ebx
lea rcx, [0x1800737e0]
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x180073870]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x180006d68
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rax, rsi
call qword [0x18007a3c0]
test eax, eax
jne 0x180006d68
mov esi, ebx
mov edx, 0x400
mov qword [rsp + 0x868], rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x180006c9f
lea r8, [0x1800738d0]
mov edx, 0x400
lea rcx, [rsp + 0x30]
call fcn.18004fb70
lea r9, [rsp + 0x30]
mov edx, 0x400
lea r8, [0x180073800]
lea rcx, [rdi + 0x58]
call fcn.180007a80
test eax, eax
js 0x180006c9f
lfence
lea rcx, [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x180006db4
lea rcx, [0x1800735f0]
test esi, esi
jne 0x180006cb1
lea rcx, [0x1800735d0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180006d1b
mov r8d, 0x104
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x180006d1b
mov edx, 0x5c
lea rcx, [rsp + 0x30]
call fcn.180049d34
lea r9, [rsp + 0x30]
mov edx, 0x400
lea r8, [0x180073840]
lea rcx, [rdi + 0x58]
mov word [rax], bx
call fcn.180007a80
test eax, eax
js 0x180006d1b
lfence
lea rcx, [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180006d1b
mov ebx, 1
test ebx, ebx
jne 0x180006db4
lea rcx, [rsp + 0x30]
call fcn.180006260
test eax, eax
jne 0x180006d61
lea r9, [rsp + 0x30]
mov edx, 0x400
lea r8, [0x180073840]
lea rcx, [rdi + 0x58]
call fcn.180007a80
test eax, eax
js 0x180006d61
lfence
lea rcx, [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x180006db4
mov eax, 1
jmp 0x180006dba
mov esi, dword [rsp + 0x20]
test esi, esi
je 0x180006c39
lea rcx, [0x1800737e0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x180073880]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180006dad
lea rcx, [rdi + 0x48]
call qword [0x18007a3c0]
test eax, eax
je 0x180006dad
or dword [rdi + 0x50], 0x40
jmp 0x180006c39
mov eax, 8
jmp 0x180006dc2
or dword [rdi + 0x50], 0x20
xor eax, eax
mov rbp, qword [rsp + 0x868]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.180022280
lea r11, [rsp + 0x850]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180006e40
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r15d, edx
mov rdi, r9
xor edx, edx
mov esi, r8d
mov r14, rcx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
test eax, eax
je 0x180006f0b
mov r12d, 1
mov edx, ebp
mov ecx, r12d
call fcn.180053578
mov rbx, rax
test rax, rax
je 0x180006f0b
mov r9, rax
mov r8d, ebp
xor edx, edx
mov rcx, r14
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x180006f03
lea r9, [rsp + 0x20]
mov rcx, rbx
lea r8, [rsp + 0x28]
lea rdx, [0x180073620]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x180006f03
mov rax, qword [rsp + 0x28]
movzx edx, word [rax + 0xa]
mov dword [rdi], 0
cmp edx, r15d
jb 0x180006ef6
test esi, esi
jne 0x180006eec
mov rcx, rbx
mov dword [rdi], r12d
call fcn.180053580
mov eax, r12d
jmp 0x180006f0d
mov ecx, dword [rdi]
cmp edx, esi
cmovbe ecx, r12d
mov dword [rdi], ecx
mov rcx, rbx
call fcn.180053580
mov eax, r12d
jmp 0x180006f0d
mov rcx, rbx
call fcn.180053580
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x180006f40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1060
call fcn.180022b70
sub rsp, rax
mov rax, qword [0x1800971d8]
xor rax, rsp
mov qword [rsp + 0x1050], rax
test byte [rcx + 0x50], 0x20
mov rdi, rcx
jne 0x180006f80
call fcn.1800069f0
test eax, eax
jne 0x1800070ba
lea rax, [0x180073930]
mov edx, 0x400
lea rbx, [rdi + 0x58]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [0x180073950]
lea rcx, [rsp + 0x50]
call fcn.180007a80
lea rcx, [rsp + 0x50]
call fcn.180006020
test eax, eax
jne 0x180006ff9
xor esi, esi
lea r8d, [rax + 3]
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
jne 0x180007003
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call fcn.180006940
mov eax, 8
jmp 0x1800070ba
or dword [rdi + 0x50], 0x10
lea r9, [rsp + 0x44]
mov r8d, 1
mov qword [rdi + 0x20], rax
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800070b5
cmp dword [rsp + 0x44], 1
jne 0x1800070b5
movzx eax, byte [rsp + 0x40]
lea r8, [0x180073960]
mov r9, rbx
mov dword [rsp + 0x20], eax
mov edx, 0x400
lea rcx, [rsp + 0x850]
call fcn.180007a80
lea rcx, [rsp + 0x850]
call fcn.180006020
test eax, eax
jne 0x180006ff9
lea rdx, [rsp + 0x850]
mov rcx, rdi
call fcn.1800070e0
test eax, eax
jne 0x1800070ba
test rbx, rbx
je 0x1800070b1
lea rdx, [0x180073910]
mov ecx, esi
sub rdx, rbx
cmp ecx, 0x3ff
jae 0x1800070ae
movzx eax, word [rdx + rbx]
inc ecx
mov word [rbx], ax
add rbx, 2
cmp word [rdx + rbx], si
jne 0x180007093
mov word [rbx], si
xor eax, eax
jmp 0x1800070ba
mov eax, 0xf
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.180022280
lea r11, [rsp + 0x1060]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1800070e0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
mov rbx, rdx
mov edi, ebp
mov rsi, rcx
nop
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, rbx
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
jne 0x18000717e
call qword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 1
jbe 0x18000715c
cmp edi, 0xbb8
jae 0x18000715c
mov ecx, 0x3c
call qword [sym.imp.KERNEL32.dll_Sleep]
add edi, 0x3c
cmp edi, 0xbb8
jb 0x180007100
mov rcx, rsi
call fcn.180006940
mov eax, 8
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
or dword [rsi + 0x50], 8
lea rdx, [rsp + 0x60]
mov rcx, rax
mov qword [rsi + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18000715c
cmp dword [rsp + 0x64], ebp
jne 0x18000715c
mov rcx, qword [rsi + 0x28]
xor r9d, r9d
mov edi, dword [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test rax, rax
je 0x18000715c
or dword [rsi + 0x50], 4
xor r9d, r9d
mov qword [rsp + 0x28], rbp
xor r8d, r8d
mov rcx, rax
mov qword [rsi + 0x30], rax
mov qword [rsp + 0x20], rdi
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov qword [rsi], rax
test rax, rax
je 0x18000715c
mov rcx, qword [rsp + 0x60]
mov qword [rsi + 0x10], rax
lea rax, [rsi + 0x58]
mov dword [rsi + 8], ecx
mov dword [rsi + 0xc], ecx
test rax, rax
je 0x18000723e
test rbx, rbx
je 0x18000723e
mov edx, ebp
cmp word [rbx], dx
je 0x18000723b
sub rbx, rax
nop dword [rax + rax]
cmp edx, 0x3ff
jae 0x18000723b
movzx ecx, word [rbx + rax]
inc edx
mov word [rax], cx
add rax, 2
cmp word [rbx + rax], bp
jne 0x180007220
mov word [rax], bp
xor eax, eax
jmp 0x180007169
Function at 0x180007320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov rsi, qword [rsp + 0x40]
xor r12d, r12d
mov word [rcx + 0x7fe], r12w
mov edi, r8d
mov dword [r9], r12d
mov r15, r9
mov r14, rcx
mov ebx, r12d
mov dword [rsi], r12d
mov r10, rcx
mov r11d, r12d
mov rdx, rcx
mov r8d, r12d
cmp word [rcx], r12w
je 0x180007398
nop
cmp r8d, 0x400
jae 0x180007398
movzx ecx, word [rdx]
lea eax, [rcx - 0x41]
cmp ax, 0x19
ja 0x18000738c
add cx, 0x20
mov word [rdx], cx
add rdx, 2
inc r8d
cmp word [rdx], bx
jne 0x180007370
movzx eax, word [r14]
mov ebp, 0x2f
test ax, ax
je 0x1800073c8
cmp ax, 0x5c
jne 0x1800073b6
mov word [r10], bp
mov dword [rsi], 1
movzx eax, word [r10 + 2]
add r10, 2
test ax, ax
jne 0x1800073a6
movzx eax, word [r14]
mov rcx, r14
test ax, ax
je 0x180007406
cmp ax, 0x22
jne 0x1800073ea
xor r11d, 1
lea rax, [rcx + 2]
test rbx, rbx
cmovne rax, rbx
mov rbx, rax
jmp 0x1800073f9
cmp ax, 0x20
jne 0x1800073f9
test r11d, r11d
jne 0x1800073f9
test edi, edi
jne 0x180007406
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x1800073d0
test rbx, rbx
mov r9, rbx
cmove r9, r14
cmp rcx, r9
jbe 0x180007437
mov edx, 0xffdd
nop word [rax + rax]
movzx eax, word [rcx]
test dx, ax
jne 0x180007458
cmp ax, 2
je 0x180007458
sub rcx, 2
cmp rcx, r9
ja 0x180007420
mov word [r9], r12w
xor eax, eax
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
lfence
lea rax, [r9 + 6]
cmp rcx, rax
jb 0x180007483
cmp word [rcx - 6], 0x2e
jne 0x180007483
cmp word [rcx - 4], 0x65
jne 0x180007483
cmp word [rcx - 2], 0x78
jne 0x180007483
cmp word [rcx], 0x65
je 0x180007535
lea r10, [rcx + 0xa]
lea rax, [r14 + 0x800]
cmp r10, rax
jae 0x180007535
test rbx, rbx
jne 0x1800074e3
movzx r8d, word [rcx]
mov rdx, rcx
test r8w, r8w
je 0x1800074e3
mov r11d, 0x4c5c
nop
cmp r8w, 0x2e
je 0x18000750c
cmp r8w, 0x22
je 0x1800074e3
cmp r8w, 0x5c
mov eax, r12d
sete al
or dword [rsi], eax
cmp word [rdx], r11w
jne 0x1800074d4
mov word [rdx], bp
movzx r8d, word [rdx + 2]
add rdx, 2
test r8w, r8w
jne 0x1800074b0
cmp dword [r15], r12d
jne 0x180007541
test byte [r14 + 0x818], 2
je 0x180007541
mov dword [rcx + 2], 0x65002e
mov rax, r9
mov dword [rcx + 6], 0x650078
mov word [r10], r12w
jmp 0x18000743d
cmp word [rdx + 2], 0x65
jne 0x1800074e3
cmp word [rdx + 4], 0x78
jne 0x1800074e3
cmp word [rdx + 6], 0x65
jne 0x1800074e3
mov word [rdx + 8], r12w
mov rax, r9
mov dword [r15], 1
jmp 0x18000743d
mov word [rcx + 2], r12w
mov dword [r15], 1
mov rax, r9
jmp 0x18000743d
Function at 0x18000bef0
Capabilities:
Create directory

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x240
mov rax, qword [0x1800971d8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, qword [rcx]
mov r14, rcx
mov rcx, rdx
mov rsi, rdx
mov rax, qword [rbx]
mov rax, qword [rax]
call qword [0x18007a3c0]
test eax, eax
jne 0x18000c08c
mov rax, qword [rbx + 8]
mov rcx, rsi
mov rax, qword [rax]
call qword [0x18007a3c0]
test eax, eax
jne 0x18000c08c
mov rax, qword [rbx + 0x10]
mov rcx, rsi
mov rax, qword [rax]
call qword [0x18007a3c0]
test eax, eax
jne 0x18000c08c
mov qword [rsp + 0x270], rbp
lea rcx, [rsp + 0x20]
xor edx, edx
mov qword [rsp + 0x278], rdi
mov r8d, 0x208
call fcn.18004a7e0
mov edx, 0x5c
mov rcx, rsi
call fcn.18004b644
mov edx, 0x2f
mov rcx, rsi
mov rbx, rax
call fcn.18004b644
cmp rbx, rax
mov rcx, rax
mov rdi, rax
mov bpl, 1
cmovb rcx, rbx
cmovae rdi, rbx
test rcx, rcx
cmovne rdi, rcx
test rdi, rdi
je 0x18000c076
mov r9, rdi
lea rcx, [rsp + 0x20]
sub r9, rsi
mov r8, rsi
sar r9, 1
mov edx, 0x104
inc r9
call fcn.180053848
mov rbx, qword [r14]
lea rcx, [rsp + 0x20]
mov rax, qword [rbx]
mov rax, qword [rax]
call qword [0x18007a3c0]
test eax, eax
jne 0x18000c034
mov rax, qword [rbx + 8]
lea rcx, [rsp + 0x20]
mov rax, qword [rax]
call qword [0x18007a3c0]
test eax, eax
jne 0x18000c034
mov rax, qword [rbx + 0x10]
lea rcx, [rsp + 0x20]
mov rax, qword [rax]
call qword [0x18007a3c0]
test eax, eax
jne 0x18000c034
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x18000c073
mov edx, 0x5c
lea rcx, [rdi + 2]
call fcn.18004b644
mov edx, 0x2f
lea rcx, [rdi + 2]
mov rbx, rax
call fcn.18004b644
cmp rbx, rax
mov rdi, rax
cmovb rax, rbx
cmovae rdi, rbx
test rax, rax
cmovne rdi, rax
test rdi, rdi
jne 0x18000bfc1
jmp 0x18000c076
xor bpl, bpl
mov rdi, qword [rsp + 0x278]
movzx eax, bpl
mov rbp, qword [rsp + 0x270]
jmp 0x18000c08e
mov al, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180022280
add rsp, 0x240
pop r14
pop rsi
pop rbx
ret
Function at 0x1800147d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x1800230bc
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
xor r8d, r8d
movabs r9, 0x180097715
add dword [rax], eax
add byte [rax], al
mov dword [rax + 8], 0x62756373
mov r9, qword [r9]
mov byte [rax + 0xc], r8b
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [rax + r9 + 0x88]
test ecx, ecx
je 0x18002316d
lea rax, [r9 + rcx]
mov r10d, r8d
mov esi, dword [rax + 0x18]
test esi, esi
jle 0x18002316d
mov r11d, dword [rax + 0x20]
mov ebx, dword [rax + 0x24]
mov r14d, dword [rax + 0x1c]
add r11, r9
add rbx, r9
movzx eax, word [rbx]
lea rdi, [rsp + 0x40]
lea rcx, [r14 + rax*4]
mov eax, dword [r11]
mov ebp, dword [rcx + r9]
add rax, r9
jmp 0x18002313b
cmp cl, byte [rdi]
jne 0x180023141
inc rax
inc rdi
mov cl, byte [rax]
test cl, cl
jne 0x180023131
mov cl, byte [rax]
mov edx, r8d
mov eax, r8d
cmp cl, byte [rdi]
seta dl
cmp byte [rdi], cl
seta al
cmp edx, eax
je 0x180023169
inc r10d
add rbx, 2
add r11, 4
cmp r10d, esi
jl 0x180023119
jmp 0x18002316d
lea r8, [r9 + rbp]
call r8
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x180016630
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rdi, r8
mov r14, rdx
mov rbp, rcx
mov r9, qword [r8 + 0x10]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x180016668
mov rdx, qword [r8]
movabs rbx, 0xcbf29ce484222325
xor r8d, r8d
add r9, r9
je 0x1800166a4
movabs rcx, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r8 + rdx]
xor rbx, rax
imul rbx, rcx
inc r8
cmp r8, r9
jb 0x180016690
mov r9, rbx
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.180015dd0
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1800166ce
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x18001687b
movabs rax, 0x555555555555555
cmp qword [rbp + 0x10], rax
je 0x18001689d
lea r12, [rbp + 8]
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x28], 0
lfence
mov ecx, 0x30
call fcn.180022bc0
mov rsi, rax
mov qword [rsp + 0x28], rax
mov rdx, rdi
lea rcx, [rax + 0x10]
call fcn.180016940
nop
mov r9, qword [rbp + 0x10]
lea rcx, [r9 + 1]
movss xmm3, dword [rbp]
xorps xmm0, xmm0
test rcx, rcx
js 0x18001673b
cvtsi2ss xmm0, rcx
jmp 0x180016750
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rdi, qword [rbp + 0x38]
xorps xmm2, xmm2
test rdi, rdi
js 0x180016763
cvtsi2ss xmm2, rdi
jmp 0x18001677b
mov rcx, rdi
shr rcx, 1
mov rax, rdi
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm0
divss xmm1, xmm2
comiss xmm1, xmm3
jbe 0x180016816
divss xmm0, xmm3
call fcn.180055960
xor ecx, ecx
movss xmm1, dword [0x18007aa14]
comiss xmm0, xmm1
jb 0x1800167b9
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1800167b9
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdi, rcx
jae 0x1800167eb
cmp rdi, 0x200
jae 0x1800167e8
lea rdi, [rdi*8]
cmp rdi, rcx
jae 0x1800167eb
mov rdi, rcx
mov rdx, rdi
mov rcx, rbp
call fcn.18001be80
mov r9, rbx
lea r8, [rsi + 0x10]
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.180015dd0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
mov r9, qword [rbp + 0x10]
mov qword [rsp + 0x28], 0
mov rdx, qword [rsp + 0x30]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rbp + 0x10], rax
mov qword [rsi], rdx
mov qword [rsi + 8], r8
mov qword [r8], rsi
mov qword [rdx + 8], rsi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, rbx
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x18001685c
mov qword [rcx + rax*8], rsi
jmp 0x18001686e
cmp r9, rdx
jne 0x180016867
mov qword [rcx + rax*8], rsi
jmp 0x180016873
cmp qword [rcx + rax*8 + 8], r8
jne 0x180016873
mov qword [rcx + rax*8 + 8], rsi
mov qword [r14], rsi
mov byte [r14 + 8], 1
mov rax, r14
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
lea rcx, [0x180074f00]
call fcn.180023980
int3
Function at 0x18001bcc0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18001be73
lea rax, [rdx - 1]
or rax, rdi
bsr rcx, rax
inc ecx
shl rdi, cl
mov rbx, qword [rsi + 8]
lea rdx, [rdi + rdi]
mov r8, rbx
lea rcx, [rsi + 0x18]
call fcn.18001bbc0
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov qword [rsp + 0x48], rsi
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x18001be31
movabs rbp, 0xcbf29ce484222325
movabs rdi, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rdx]
movzx r9d, byte [rcx + 0x10]
xor r9, rbp
imul r9, rdi
movzx eax, byte [rcx + 0x11]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x12]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x13]
xor r9, rax
imul r9, rdi
mov r11, qword [rsi + 0x30]
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18001bdb0
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x18001be25
mov rax, qword [r11 + 8]
mov r8d, dword [rcx + 0x10]
cmp r8d, dword [rax + 0x10]
jne 0x18001bded
mov r8, qword [rax]
cmp r8, rcx
je 0x18001bde7
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x18001be25
cmp r9, rax
je 0x18001be01
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
je 0x18001be4d
cmp r9, rax
jne 0x18001bdf2
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x18001bd60
mov qword [rsp + 0x48], 0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rax, qword [rax]
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
jmp 0x18001be25
lea rcx, [0x180074f20]
call fcn.180023980
int3
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x18001c3e5
cvtsi2ss xmm0, rdx
jmp 0x18001c3fa
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.180055960
movss xmm1, dword [0x18007aa14]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x18001c428
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x18001c428
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x18001c45a
cmp rbx, 0x200
jae 0x18001c457
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x18001c45a
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x18001bcc0