joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400398d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 7
jbe 0x1400398de
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret

Function at 0x1400398f0
Capabilities:
Check if file exists

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 7
jbe 0x1400398fe
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne cl
and eax, 0x10
shr eax, 4
and al, cl
add rsp, 0x28
ret

Function at 0x140039920
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x290
mov rsi, rcx
mov rax, qword [0x140191d78]
xor rax, rsp
mov qword [rsp + 0x288], rax
lea rdi, [rsp + 0x70]
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x102
jbe 0x140039960
xor esi, esi
jmp 0x1400399b2
mov qword [rsp + 0x20], rdi
mov rcx, rdi
call fcn.1400f4120
mov qword [rsp + 0x28], rax
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400128d0
lea rbx, [rsp + 0x50]
mov rcx, rdi
mov rdx, rbx
call fcn.140014850
mov rcx, rsi
mov rdx, rbx
call fcn.1400129f0
mov rcx, rbx
call fcn.1400138f0
mov rcx, rdi
call fcn.1400138f0
mov sil, 1
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.1400edc60
mov eax, esi
add rsp, 0x290
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400399d0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x288
mov rsi, rcx
mov rax, qword [0x140191d78]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rdi, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140039a3a
movzx eax, word [rsp + 0x70]
test ax, ax
je 0x140039a3a
mov qword [rsp + 0x40], rdi
mov rcx, rdi
call fcn.1400f4120
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400128d0
jmp 0x140039a8e
lea rdi, [rsp + 0x50]
mov rcx, rdi
call fcn.140012850
mov rcx, rdi
call fcn.140039920
test al, al
je 0x140039a62
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140012890
jmp 0x140039a84
lea rax, [0x140156862]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 3
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400128d0
lea rcx, [rsp + 0x50]
call fcn.1400138f0
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400edc60
mov rax, rsi
add rsp, 0x288
pop rdi
pop rsi
ret
Function at 0x14003a620
Capabilities:
Check if file exists
Create directory

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x140191d78]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rdi + 0x18], 7
mov r15, rdi
jbe 0x14003a64d
mov r15, qword [rdi]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003a678
mov bl, 1
test al, 0x10
jne 0x14003a74b
test r14, r14
je 0x14003a671
mov dword [r14], 0xfffffff7
xor ebx, ebx
jmp 0x14003a74b
lea rsi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.140013550
mov rax, qword [rdi + 0x10]
cmp qword [rsp + 0x38], rax
jne 0x14003a6e1
test rax, rax
je 0x14003a6d3
cmp qword [rdi + 0x18], 7
mov rcx, rdi
jbe 0x14003a6a5
mov rcx, qword [rdi]
cmp qword [rsp + 0x40], 7
jbe 0x14003a6b2
mov rsi, qword [rsp + 0x28]
xor edx, edx
nop word cs:[rax + rax]
movzx ebx, word [rsi + rdx*2]
cmp bx, word [rcx + rdx*2]
jne 0x14003a6e1
add rdx, 1
cmp rax, rdx
jne 0x14003a6c0
test r14, r14
je 0x14003a73f
mov dword [r14], 0xfffffffc
jmp 0x14003a73f
lea rcx, [rsp + 0x28]
mov rdx, r14
call fcn.14003a620
test al, al
je 0x14003a73f
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x14003a741
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
jne 0x14003a730
cmp qword [rdi + 0x18], 7
jbe 0x14003a71d
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003a730
and eax, 0x10
jne 0x14003a741
test r14, r14
je 0x14003a73f
mov ecx, esi
call fcn.140022010
mov dword [r14], eax
xor ebx, ebx
lea rcx, [rsp + 0x28]
call fcn.1400138f0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400edc60
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14003a770
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x2a0
mov rsi, rcx
mov rax, qword [0x140191d78]
xor rax, rsp
mov qword [rsp + 0x298], rax
mov word [rsp + 0x90], 0
lea rdx, [rsp + 0x90]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xffffffff
cmp eax, 0x103
jbe 0x14003a7bd
xor esi, esi
jmp 0x14003a8e0
mov eax, 7
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rsp + 0x80], xmm0
mov word [rsp + 0x70], 0
lea rcx, [rsp + 0x90]
call fcn.1400f4120
mov rdi, rax
cmp rdi, 7
jbe 0x14003a809
lea rcx, [rsp + 0x70]
lea r9, [rsp + 0x90]
mov rdx, rdi
call fcn.140001920
jmp 0x14003a830
mov qword [rsp + 0x80], rdi
mov r8, rdi
add r8, r8
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x90]
call fcn.1400f0ce0
mov word [rsp + rdi*2 + 0x70], 0
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x88], 7
jbe 0x14003a84a
mov rcx, qword [rsp + 0x70]
jmp 0x14003a84f
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400128d0
lea rbx, [rsp + 0x50]
mov rcx, rdi
mov rdx, rbx
call fcn.140014850
mov rcx, rsi
mov rdx, rbx
call fcn.1400129f0
mov rcx, rbx
call fcn.1400138f0
mov rcx, rdi
call fcn.1400138f0
mov rax, qword [rsp + 0x88]
cmp rax, 8
jb 0x14003a8dd
add rax, 1
js 0x14003a8fd
mov rcx, qword [rsp + 0x70]
add rax, rax
cmp rax, 0x1000
jb 0x14003a8d8
test cl, 0x1f
jne 0x14003a8fd
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14003a8fd
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
mov rcx, rax
jae 0x14003a8fd
call fcn.1400edcd0
mov sil, 1
mov rcx, qword [rsp + 0x298]
xor rcx, rsp
call fcn.1400edc60
mov eax, esi
add rsp, 0x2a0
pop rbx
pop rdi
pop rsi
ret
call fcn.1400f4650
ud2
Function at 0x14003af50
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov r14, r8
mov r13, rdx
mov rsi, rcx
test r13, r13
je 0x14003af87
cmp qword [r13 + 0x18], 0x10
mov rax, r13
jb 0x14003af7c
mov rax, qword [r13]
mov qword [r13 + 0x10], 0
mov byte [rax], 0
mov rcx, rsi
call fcn.140014930
test al, al
jne 0x14003b0aa
lea rdx, [0x1401556d4]
mov rcx, rsi
call fcn.14003a010
mov r15, rax
test r15, r15
je 0x14003b0aa
mov ecx, 0x10000
call fcn.1400edce0
mov r12, rax
mov edx, 1
mov r8d, 0x10000
mov rcx, r12
mov r9, r15
call fcn.1400fc850
mov rbx, rax
test rbx, rbx
je 0x14003b09a
xor esi, esi
mov qword [rsp + 0x30], r15
nop dword [rax + rax]
mov rdi, r14
sub rdi, rsi
test r13, r13
je 0x14003b02b
cmp rdi, rbx
mov r8, rbx
cmovb r8, rdi
mov rcx, qword [r13 + 0x10]
mov rax, qword [r13 + 0x18]
mov rdx, rax
sub rdx, rcx
cmp rdx, r8
jae 0x14003b040
mov qword [rsp + 0x20], r8
mov rcx, r13
mov rdx, r8
mov r9, r12
call fcn.140002530
cmp rdi, rbx
jae 0x14003b075
jmp 0x14003b0ae
mov r15, r14
lea rbp, [rcx + r8]
mov qword [r13 + 0x10], rbp
mov r14, r13
cmp rax, 0x10
jb 0x14003b058
mov r14, qword [r13]
add rcx, r14
mov rdx, r12
call fcn.1400f0ce0
mov byte [r14 + rbp], 0
mov r14, r15
mov r15, qword [rsp + 0x30]
cmp rdi, rbx
jb 0x14003b0ae
add rsi, rbx
mov edx, 1
mov r8d, 0x10000
mov rcx, r12
mov r9, r15
call fcn.1400fc850
mov rbx, rax
test rbx, rbx
jne 0x14003aff0
mov rcx, r15
call fcn.1400fc920
test eax, eax
sete dil
jmp 0x14003b0b0
xor edi, edi
jmp 0x14003b0c0
xor edi, edi
mov rcx, r15
call fcn.1400f48f0
mov rcx, r12
call fcn.1400edcf0
mov eax, edi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r8, 0xffffffffffffffff
jmp 0x14003af50
Function at 0x14003b0e0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov r14, r8
mov r13, rdx
mov rsi, rcx
test r13, r13
je 0x14003af87
cmp qword [r13 + 0x18], 0x10
mov rax, r13
jb 0x14003af7c
mov rax, qword [r13]
mov qword [r13 + 0x10], 0
mov byte [rax], 0
mov rcx, rsi
call fcn.140014930
test al, al
jne 0x14003b0aa
lea rdx, [0x1401556d4]
mov rcx, rsi
call fcn.14003a010
mov r15, rax
test r15, r15
je 0x14003b0aa
mov ecx, 0x10000
call fcn.1400edce0
mov r12, rax
mov edx, 1
mov r8d, 0x10000
mov rcx, r12
mov r9, r15
call fcn.1400fc850
mov rbx, rax
test rbx, rbx
je 0x14003b09a
xor esi, esi
mov qword [rsp + 0x30], r15
nop dword [rax + rax]
mov rdi, r14
sub rdi, rsi
test r13, r13
je 0x14003b02b
cmp rdi, rbx
mov r8, rbx
cmovb r8, rdi
mov rcx, qword [r13 + 0x10]
mov rax, qword [r13 + 0x18]
mov rdx, rax
sub rdx, rcx
cmp rdx, r8
jae 0x14003b040
mov qword [rsp + 0x20], r8
mov rcx, r13
mov rdx, r8
mov r9, r12
call fcn.140002530
cmp rdi, rbx
jae 0x14003b075
jmp 0x14003b0ae
mov r15, r14
lea rbp, [rcx + r8]
mov qword [r13 + 0x10], rbp
mov r14, r13
cmp rax, 0x10
jb 0x14003b058
mov r14, qword [r13]
add rcx, r14
mov rdx, r12
call fcn.1400f0ce0
mov byte [r14 + rbp], 0
mov r14, r15
mov r15, qword [rsp + 0x30]
cmp rdi, rbx
jb 0x14003b0ae
add rsi, rbx
mov edx, 1
mov r8d, 0x10000
mov rcx, r12
mov r9, r15
call fcn.1400fc850
mov rbx, rax
test rbx, rbx
jne 0x14003aff0
mov rcx, r15
call fcn.1400fc920
test eax, eax
sete dil
jmp 0x14003b0b0
xor edi, edi
jmp 0x14003b0c0
xor edi, edi
mov rcx, r15
call fcn.1400f48f0
mov rcx, r12
call fcn.1400edcf0
mov eax, edi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r8, 0xffffffffffffffff
jmp 0x14003af50
Function at 0x14003c360
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x140
mov r14, rdx
mov r15, rcx
mov rax, qword [0x140191d78]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov ecx, dword [0x140191058]
cmp ecx, 0xffffffff
je 0x14003c39c
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x14003c3a1
call fcn.14003c580
mov eax, 0xffffffff
mov qword [r15 + 4], rax
mov eax, dword [0x140194ab8]
mov ecx, dword [0x140195c08]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 8]
jg 0x14003c533
mov rbx, qword [0x140194ab0]
mov rcx, rbx
call fcn.1400387d0
mov rcx, qword [0x1401932a8]
add rcx, 1
xor edx, edx
lea rax, [0x1401932b0]
nop word cs:[rax + rax]
movzx edi, cl
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x14003c431
lea edi, [rcx + 1]
movzx edi, dil
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x14003c431
add rdx, 2
add rcx, 2
cmp rdx, 0x100
jb 0x14003c400
jmp 0x14003c457
lea rcx, [rax + rsi*8]
mov dword [rcx], 1
lea rcx, [rdi + rdi*2]
mov qword [rax + rcx*8 + 8], r14
mov qword [0x1401932a8], rdi
mov dword [r15 + 4], edi
mov eax, dword [rax + rcx*8 + 0x10]
mov dword [r15 + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [r15 + 4]
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x2c], eax
cmp eax, 0xffffffff
jne 0x14003c4b5
lea r8, str.slot____kInvalidSlotValue
lea rcx, [rsp + 0x2c]
lea rdx, [rsp + 0x30]
call fcn.140030fd0
test rax, rax
je 0x14003c4b5
lea rdx, str..._.._base_threading_thread_local_storage.cc
lea rdi, [rsp + 0x30]
mov r8d, 0x11d
mov rcx, rdi
mov r9, rax
call fcn.140016280
mov rcx, rdi
call fcn.140015290
mov eax, dword [r15 + 4]
mov dword [rsp + 0x30], 0x100
mov dword [rsp + 0x2c], eax
cmp eax, 0xff
jle 0x14003c50c
lea r8, str.slot____kThreadLocalStorageSize
lea rcx, [rsp + 0x2c]
lea rdx, [rsp + 0x30]
call fcn.140030fd0
test rax, rax
je 0x14003c50c
lea rdx, str..._.._base_threading_thread_local_storage.cc
lea rdi, [rsp + 0x30]
mov r8d, 0x11e
mov rcx, rdi
mov r9, rax
call fcn.140016280
mov rcx, rdi
call fcn.140015290
mov dword [r15], 1
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.1400edc60
nop
add rsp, 0x140
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [0x140194ab8]
call fcn.1400ee1f0
mov eax, dword [0x140194ab8]
cmp eax, 0xffffffff
jne 0x14003c3cf
mov ecx, 8
call fcn.1400edc90
mov rbx, rax
mov rcx, rbx
call fcn.14004fec0
mov qword [0x140194ab0], rbx
lea rcx, [0x140194ab8]
call fcn.1400ee190
jmp 0x14003c3cf
Function at 0x14003c580
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.1400edd10
sub rsp, rax
mov rax, qword [0x140191d78]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov ecx, dword [0x140191058]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
jne 0x14003c662
lea rcx, [rsp + 0x2c]
call fcn.14005d900
test al, al
jne 0x14003c5eb
lea rdx, str..._.._base_threading_thread_local_storage.cc
lea r9, str.PlatformThreadLocalStorage::AllocTLS_key_
lea rsi, [rsp + 0x30]
mov r8d, 0x73
mov rcx, rsi
call fcn.140015120
mov rcx, rsi
call fcn.140015290
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
jne 0x14003c640
lea rcx, [rsp + 0x2c]
call fcn.14005d900
test al, al
je 0x14003c609
cmp dword [rsp + 0x2c], 0xffffffff
jne 0x14003c632
lea rdx, str..._.._base_threading_thread_local_storage.cc
lea r9, str.PlatformThreadLocalStorage::AllocTLS_key___key___PlatformThreadLocalStorage::TLS_KEY_OUT_OF_INDEXES
lea rsi, [rsp + 0x30]
mov r8d, 0x7d
mov rcx, rsi
call fcn.140015120
mov rcx, rsi
call fcn.140015290
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
mov eax, 0xffffffff
lock cmpxchg dword [0x140191058], ecx
mov ecx, dword [rsp + 0x2c]
je 0x14003c662
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x140191058]
mov dword [rsp + 0x2c], ecx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003c696
lea rdx, str..._.._base_threading_thread_local_storage.cc
lea r9, str._PlatformThreadLocalStorage::GetTLSValue_key_
lea rsi, [rsp + 0x30]
mov r8d, 0x8f
mov rcx, rsi
call fcn.140015120
mov rcx, rsi
call fcn.140015290
lea rsi, [rsp + 0x30]
xor edx, edx
mov r8d, 0x1000
mov rcx, rsi
call fcn.1400f0b20
mov ecx, dword [rsp + 0x2c]
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.1400edce0
mov rdi, rax
mov r8d, 0x1000
mov rcx, rdi
mov rdx, rsi
call fcn.1400f0ce0
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400edc60
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret

Function at 0x14003c7d0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140191058]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x14003c7f2
call fcn.14003c580
movsxd rcx, dword [rsi + 4]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 8]
movsxd rdx, dword [rsi + 4]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x14003c850
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x140191058]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x14003c86e
call fcn.14003c580
movsxd rcx, dword [rsi + 4]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x14003c885
mov rax, qword [rax + rcx]
jmp 0x14003c887
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x140046370
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x130
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140191d78]
xor rax, rsp
mov qword [rsp + 0x128], rax
test rsi, rsi
je 0x1400463fe
mov r13d, 0xffffffff
lea r14, str..._.._base_rand_util_win.cc
lea r15, str.success
lea r12, [rsp + 0x20]
nop dword [rax + rax]
cmp rsi, r13
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x1400463f6
mov r8d, 0x20
mov rcx, r12
mov rdx, r14
mov r9, r15
call fcn.140015120
mov rcx, r12
call fcn.140015290
add rdi, rbx
sub rsi, rbx
jne 0x1400463c0
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.1400edc60
nop
add rsp, 0x130
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400468f0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov eax, dword [0x140195478]
mov ecx, dword [0x140195c08]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 8]
jg 0x140046927
mov rcx, qword [0x140195470]
add rsp, 0x20
pop rsi
jmp fcn.14003c850
lea rcx, [0x140195478]
call fcn.1400ee1f0
mov eax, dword [0x140195478]
cmp eax, 0xffffffff
jne 0x140046916
mov ecx, 0xc
call fcn.1400edc90
mov rsi, rax
mov dword [rsi + 8], 0
mov qword [rsi], 0
xor edx, edx
mov rcx, rsi
call fcn.14003c820
mov qword [0x140195470], rsi
lea rcx, [0x140195478]
call fcn.1400ee190
jmp 0x140046916
Function at 0x14004faa0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, r8
mov r15, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
mov qword [rsp + 0x20], rdx
jbe 0x14004fac6
mov rdi, qword [rdi]
movabs rsi, 0xcbf29ce484222325
test r15, r15
je 0x14004faf3
movabs rax, 0x100000001b3
lea rbp, [r15 - 1]
mov edx, r15d
and edx, 3
cmp rbp, 3
jae 0x14004faf8
xor ebp, ebp
jmp 0x14004fb38
mov rbx, rsi
jmp 0x14004fb68
mov r8, r15
sub r8, rdx
xor ebp, ebp
movzx ebx, byte [rdi + rbp]
xor rbx, rsi
imul rbx, rax
movzx esi, byte [rdi + rbp + 1]
xor rsi, rbx
imul rsi, rax
movzx ebx, byte [rdi + rbp + 2]
xor rbx, rsi
imul rbx, rax
movzx esi, byte [rdi + rbp + 3]
xor rsi, rbx
imul rsi, rax
add rbp, 4
cmp r8, rbp
jne 0x14004fb00
mov rbx, rsi
test rdx, rdx
je 0x14004fb68
add rbp, rdi
neg rdx
nop word cs:[rax + rax]
movzx ebx, byte [rbp]
xor rbx, rsi
imul rbx, rax
add rbp, 1
mov rsi, rbx
add rdx, 1
jne 0x14004fb50
and rbx, qword [rcx + 0x30]
mov rsi, qword [rcx + 8]
mov r12, qword [rcx + 0x18]
mov rax, rbx
shl rax, 4
mov r13, qword [r12 + rax]
lea rbp, [rbx + rbx]
add rbp, 1
mov rbx, r13
cmp r13, rsi
jne 0x14004fba8
jmp 0x14004fbd0
mov rbx, qword [rbx]
cmp r13, rsi
je 0x14004fbd0
mov rax, qword [r12 + rbp*8]
mov rax, qword [rax]
cmp rax, rbx
je 0x14004fc5d
cmp qword [rbx + 0x20], r15
jne 0x14004fba0
cmp qword [rbx + 0x28], 0xf
jbe 0x14004fbe0
mov rcx, qword [rbx + 0x10]
jmp 0x14004fbe4
mov rax, rsi
cmp rax, rbx
jne 0x14004fbb8
jmp 0x14004fc5d
lea rcx, [rbx + 0x10]
mov rdx, rdi
mov r8, r15
call fcn.1400f1140
test eax, eax
jne 0x14004fba0
mov r14, rbx
cmp r13, rsi
jne 0x14004fc08
jmp 0x14004fc50
mov r14, qword [r14]
cmp r13, rsi
je 0x14004fc50
mov rax, qword [r12 + rbp*8]
mov rax, qword [rax]
cmp rax, r14
je 0x14004fc58
cmp r15, qword [r14 + 0x20]
jne 0x14004fc58
cmp qword [r14 + 0x28], 0xf
jbe 0x14004fc30
mov rdx, qword [r14 + 0x10]
jmp 0x14004fc34
lea rdx, [r14 + 0x10]
mov rcx, rdi
mov r8, r15
call fcn.1400f1140
test eax, eax
je 0x14004fc00
jmp 0x14004fc58
mov rax, rsi
cmp rax, r14
jne 0x14004fc14
cmp rbx, r14
jne 0x14004fc63
mov rbx, rsi
mov r14, rsi
mov rax, qword [rsp + 0x20]
mov qword [rax], rbx
mov qword [rax + 8], r14
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140053820
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r12, r8
mov rbx, qword [r12 + 0x10]
cmp qword [r12 + 0x18], 0xf
jbe 0x140053844
mov r12, qword [r12]
movabs rdi, 0xcbf29ce484222325
test rbx, rbx
mov qword [rsp + 0x20], rdx
je 0x140053878
movabs rax, 0x100000001b3
lea rbp, [rbx - 1]
mov edx, ebx
and edx, 3
cmp rbp, 3
jae 0x140053880
mov r8, rbx
xor esi, esi
jmp 0x1400538cc
mov r8, rbx
mov rbx, rdi
jmp 0x1400538f7
mov r8, rbx
mov rbp, rbx
sub rbp, rdx
xor esi, esi
nop dword [rax + rax]
movzx ebx, byte [r12 + rsi]
xor rbx, rdi
imul rbx, rax
movzx edi, byte [r12 + rsi + 1]
xor rdi, rbx
imul rdi, rax
movzx ebx, byte [r12 + rsi + 2]
xor rbx, rdi
imul rbx, rax
movzx edi, byte [r12 + rsi + 3]
xor rdi, rbx
imul rdi, rax
add rsi, 4
cmp rbp, rsi
jne 0x140053890
mov rbx, rdi
test rdx, rdx
je 0x1400538f7
add rsi, r12
neg rdx
nop word [rax + rax]
movzx ebx, byte [rsi]
xor rbx, rdi
imul rbx, rax
add rsi, 1
mov rdi, rbx
add rdx, 1
jne 0x1400538e0
and rbx, qword [rcx + 0x30]
mov r15, qword [rcx + 8]
mov r13, qword [rcx + 0x18]
mov rax, rbx
shl rax, 4
mov rbp, qword [r13 + rax]
lea r14, [rbx + rbx]
add r14, 1
mov rdi, rbp
mov rbx, r8
cmp rbp, r15
jne 0x140053938
jmp 0x140053960
mov rdi, qword [rdi]
cmp rbp, r15
je 0x140053960
mov rax, qword [r13 + r14*8]
mov rax, qword [rax]
cmp rax, rdi
je 0x140053998
cmp qword [rdi + 0x20], rbx
jne 0x140053930
cmp qword [rdi + 0x28], 0xf
jbe 0x140053970
mov rsi, qword [rdi + 0x10]
jmp 0x140053974
mov rax, r15
cmp rax, rdi
jne 0x140053945
jmp 0x140053998
lea rsi, [rdi + 0x10]
mov rcx, rsi
mov rdx, r12
mov r8, rbx
call fcn.1400f1140
test eax, eax
jne 0x140053930
mov rcx, r12
mov rdx, rsi
mov r8, rbx
call fcn.1400f1140
test eax, eax
je 0x1400539b1
mov rax, qword [rsp + 0x20]
mov qword [rax], r15
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x20]
mov qword [rax], rdi
jmp 0x1400539a0

Function at 0x140058d60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
mov r8, qword [rcx]
mov rax, qword [rcx + 8]
sub rax, r8
mov r9, rax
sar r9, 2
test rax, rax
je 0x140058de1
xor r11d, r11d
lea r10, [0x140157da0]
mov edx, r9d
nop word cs:[rax + rax]
mov eax, dword [r8 + r11*4]
mov esi, eax
xor esi, edx
movzx esi, sil
shr edx, 8
xor edx, dword [r10 + rsi*4]
mov esi, eax
shr esi, 8
xor esi, edx
movzx esi, sil
shr edx, 8
xor edx, dword [r10 + rsi*4]
mov esi, eax
shr esi, 0x10
xor esi, edx
movzx esi, sil
shr edx, 8
xor edx, dword [r10 + rsi*4]
movzx esi, dl
shr eax, 0x18
xor eax, esi
shr edx, 8
xor edx, dword [r10 + rax*4]
add r11, 1
cmp r11, r9
jb 0x140058d90
jmp 0x140058de4
mov edx, r9d
cmp edx, dword [rcx + 0x18]
sete al
pop rsi
ret
Function at 0x140058df0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
mov r8, qword [rcx]
mov rax, qword [rcx + 8]
sub rax, r8
mov r9, rax
sar r9, 2
test rax, rax
je 0x140058e71
xor r11d, r11d
lea r10, [0x140157da0]
mov edx, r9d
nop word cs:[rax + rax]
mov eax, dword [r8 + r11*4]
mov esi, eax
xor esi, edx
movzx esi, sil
shr edx, 8
xor edx, dword [r10 + rsi*4]
mov esi, eax
shr esi, 8
xor esi, edx
movzx esi, sil
shr edx, 8
xor edx, dword [r10 + rsi*4]
mov esi, eax
shr esi, 0x10
xor esi, edx
movzx esi, sil
shr edx, 8
xor edx, dword [r10 + rsi*4]
movzx esi, dl
shr eax, 0x18
xor eax, esi
shr edx, 8
xor edx, dword [r10 + rax*4]
add r11, 1
cmp r11, r9
jb 0x140058e20
jmp 0x140058e74
mov edx, r9d
mov dword [rcx + 0x18], edx
pop rsi
ret