joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002fd0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x140008120]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140008100]
test rbx, rbx
je 0x140003024
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x14000301b
test r12, r12
je 0x14000301b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003000
lea rcx, [0x140008120]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140003250
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
jne 0x140003260
jmp sym._ValidateImageBase.part.0
xor eax, eax
ret

Function at 0x140003270
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x1400032b5
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x1400032ac
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x1400032b7
add rax, 0x28
cmp rax, r9
jne 0x140003298
xor eax, eax
ret

Function at 0x140003360
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x1400055f0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x1400033d9
mov rcx, r10
call sym._ValidateImageBase.part.0
test eax, eax
je 0x1400033d9
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x1400033d6
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x1400033cd
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x1400033d9
add r8, 0x28
cmp r8, r9
jne 0x1400033b8
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x1400034c0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1400055f0]
xor eax, eax
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14000352f
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x14000352f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
movzx edx, word [r9 + 6]
lea rax, [r9 + rax + 0x18]
test edx, edx
je 0x14000352d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003524
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003538
add rax, 0x28
cmp rax, r9
jne 0x140003510
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x140003550
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x1400055f0]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x1400035c8
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x1400035c8
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x1400035c8
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x1400035c8
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x1400035bc
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x1400035d0
add rdx, 0x28
cmp rdx, r10
jne 0x1400035a8
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jmp 0x1400035e0
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x1400035ee
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400035c5
test r8d, r8d
jg 0x1400035d8
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x140005894
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x250
mov rax, qword [0x14004ba88]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r15d, r15d
lea rax, [rsp + 0x30]
mov qword [r8], r15
lea rdx, [rsp + 0x30]
sub rcx, rax
mov r14, r8
mov r9d, 0x104
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x140005905
movzx eax, word [rcx + rdx]
test ax, ax
je 0x140005905
mov word [rdx], ax
add rdx, 2
sub r9, 1
jne 0x1400058e3
test r9, r9
lea rax, [rdx - 2]
lea r8, [0x14003bd78]
cmovne rax, rdx
lea rcx, [rsp + 0x30]
mov word [rax], r15w
call fcn.14000383c
mov ebx, 0x1f0003
lea r8, [rsp + 0x30]
mov ecx, ebx
xor edx, edx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x14000597b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x140005a44
mov edx, 0xc9
mov rcx, qword [rbp + 0x168]
lea r8, [0x14003bc9c]
call fcn.1400051a8
mov esi, eax
jmp 0x140005a47
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], r15d
mov rcx, rdi
mov dword [rsp + 0x20], r15d
call fcn.140005700
mov esi, eax
test eax, eax
jns 0x1400059b8
mov rcx, qword [rbp + 0x168]
lea r8, [0x14003bc9c]
mov r9d, eax
mov edx, 0xcf
call fcn.140005170
jmp 0x140005a47
lea r8, [0x14003bd80]
lea rcx, [rsp + 0x30]
call fcn.14000383c
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x1400059f0
mov edx, 0xd5
jmp 0x140005961
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140005700
mov esi, eax
test eax, eax
jns 0x140005a28
mov rcx, qword [rbp + 0x168]
lea r8, [0x14003bc9c]
mov r9d, eax
mov edx, 0xd7
call fcn.140005170
mov rcx, rbx
call fcn.140005248
jmp 0x140005a47
mov rcx, rbx
call fcn.140005248
movsxd rcx, dword [rsp + 0x20]
movsxd rax, dword [rsp + 0x24]
shl rcx, 0x1f
or rax, rcx
mov qword [r14], rax
mov esi, r15d
test rdi, rdi
je 0x140005a54
mov rcx, rdi
call fcn.140005248
mov eax, esi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400342a0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140012fe8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x14004ba88]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
mov dword [rbp - 0x29], 0x1001001
lea rax, [rbp - 0x39]
mov dword [rbp - 0x25], 0x5b04b14
mov qword [rsp + 0x40], rax
lea rdx, str.SYSTEMCurrentControlSetControlWMISecurity
lea rax, [rbp - 0x31]
mov dword [rbp - 0x21], 0x50
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], 1
mov dword [rbp - 0x1d], 0x5000000
mov dword [rbp - 0x19], 0xc05c
mov dword [rbp - 0x15], 0x1000000
mov dword [rbp - 0x11], 0x4014
mov dword [rbp - 0xd], 0x3000000
mov qword [rbp - 9], 0x4034
mov dword [rbp - 1], 0x2002002
mov dword [rbp + 3], 0x20
mov dword [rbp + 7], 0x1001
mov dword [rbp + 0xb], 0x1000000
mov dword [rbp + 0xf], 0x1004014
mov dword [rbp + 0x13], 0x8018
mov dword [rbp + 0x17], 0xd00d
mov dword [rbp + 0x1b], 0x2002
mov qword [rbp + 0x1f], 0x20021001
mov dword [rbp + 0x27], ebx
mov dword [rbp + 0x2b], 0x30130100
mov qword [rbp + 0x2f], 0x40040000
mov qword [rbp + 0x37], 0x200200
mov dword [rbp - 0x39], ebx
mov qword [rbp - 0x31], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x140013107
mov dword [rsp + 0x20], 0x167
lea rdx, str._dropAccessPermissionsToTraceProvider:_Failed_to_create_key
jmp 0x14001314b
mov rcx, qword [rbp - 0x31]
lea rax, [rbp - 0x29]
mov dword [rsp + 0x28], 0x68
lea rdx, str.c688cf83_9945_5ff6_0e1e_1ff1f8a2ec9a
mov r9d, 3
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
je 0x14001316b
mov dword [rsp + 0x20], 0x175
lea rdx, str._dropAccessPermissionsToTraceProvider:_Failed_to_set_value
movzx ecx, ax
lea r9, str.OctBrokerSvc::_dropAccessPermissionsToTraceProvider
or ecx, 0x80070000
mov r8d, 1
test eax, eax
cmovle ecx, eax
call fcn.140013c88
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140013180
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400342a0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rbp
ret
Function at 0x140016738
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rdx
mov rbp, rcx
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx eax, byte [r9 + rdx]
xor r8, rax
movabs rcx, 0x100000001b3
imul r8, rcx
inc r9
cmp r9, 8
jb 0x140016764
mov rdx, qword [rbp + 0x30]
and rdx, r8
add rdx, rdx
mov r8, qword [rbp + 0x18]
mov rax, qword [r8 + rdx*8]
lea rsi, [rbp + 8]
mov rbx, qword [rsi]
cmp qword [r8 + rdx*8], rbx
jne 0x1400167a7
mov rcx, rbx
jmp 0x1400167af
mov rcx, qword [r8 + rdx*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1400167c7
mov rcx, qword [r14]
cmp qword [rax + 0x10], rcx
je 0x1400167c2
mov rax, qword [rax]
jmp 0x14001679c
mov rcx, rax
jmp 0x1400167cd
mov rax, rbx
mov rcx, rbx
cmp rcx, rbx
jne 0x140016851
mov rbx, qword [rbx]
movabs rax, 0x666666666666666
cmp qword [rsi + 8], rax
jne 0x1400167f9
lea rcx, str.list_T__too_long
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop dword [rax + rax]
int3
mov rdi, qword [rbx + 8]
mov qword [rsp + 0x20], rsi
and qword [rsp + 0x28], 0
mov ecx, 0x28
call fcn.140034480
mov rcx, qword [r14]
mov qword [rax + 0x10], rcx
and qword [rax + 0x18], 0
and qword [rax + 0x20], 0
mov qword [rax], rbx
mov qword [rax + 8], rdi
inc qword [rsi + 8]
mov qword [rbx + 8], rax
mov qword [rdi], rax
mov rax, qword [rsi]
mov r9, qword [rax]
lea r8, [r9 + 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140017af8
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140016a74
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov r9, rcx
mov rbx, rdx
movabs rcx, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r8 + r10 + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r10
imul rcx, rdx
cmp r10, 8
jb 0x140016a8d
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x140016ae5
cmp qword [rcx + rdx*8], r8
jne 0x140016ada
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x140016ade
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140016af2
cmp qword [rcx + rdx*8], r8
jne 0x140016af2
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
lea rcx, [r9 + 8]
mov rdx, rbx
call fcn.14001704c
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140017af8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, r9
mov r11, r8
mov rsi, rdx
mov r9, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r11]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x140017b27
mov r8, qword [r9 + 0x30]
and r8, rcx
mov r10, r8
add r10, r10
mov rcx, qword [r9 + 0x18]
mov rdi, qword [r9 + 8]
cmp rdi, qword [rcx + r10*8]
je 0x140017b9c
mov rdi, qword [rcx + r10*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [rcx + r10*8]
je 0x140017b9c
mov rdi, qword [rdi + 8]
mov rax, qword [rdi + 0x10]
cmp qword [r11], rax
jne 0x140017b69
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [r9 + 8]
call fcn.14001704c
mov qword [rsi], rdi
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x140017c33
mov rax, qword [rbx]
cmp rdi, rax
je 0x140017bd1
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r10*8]
add r8, r8
cmp rax, qword [r9 + 8]
jne 0x140017bf1
mov qword [rdx + r8*8], rbx
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x140017c20
cmp rax, rdi
jne 0x140017bfc
mov qword [rdx + r8*8], rbx
jmp 0x140017c20
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x140017c20
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r10*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r10*8 + 8], rcx
mov rcx, r9
call fcn.140017c48
nop
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140027e50
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
push r15
cmp qword [r8 + 0x18], 8
mov r14, rdx
mov r11, qword [r8 + 0x10]
mov r10, r8
jb 0x140027e7b
mov r10, qword [r8]
lea rdx, [r11 + r11]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rdx, rdx
je 0x140027eae
movzx eax, byte [rcx + r10]
movabs rbx, 0x100000001b3
xor r9, rax
inc rcx
imul r9, rbx
cmp rcx, rdx
jb 0x140027e90
and r9, qword [0x14004c6e0]
mov r15, qword [0x14004c6c8]
add r9, r9
mov r10, qword [0x14004c6b8]
mov rax, qword [r15 + r9*8]
cmp qword [r15 + r9*8], r10
jne 0x140027ed5
mov rcx, r10
jmp 0x140027edd
mov rcx, qword [r15 + r9*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x140027f97
cmp qword [r8 + 0x18], 8
lea rcx, [rax + 0x10]
mov rdx, r8
jb 0x140027ef7
mov rdx, qword [r8]
mov rbp, qword [rcx + 0x18]
mov rbx, qword [rcx + 0x10]
cmp rbp, 8
jb 0x140027f08
mov rcx, qword [rcx]
cmp rbx, r11
jne 0x140027f3e
test rbx, rbx
je 0x140027f43
movzx edi, word [rcx]
movzx esi, word [rdx]
cmp di, si
jb 0x140027f3e
sub rcx, rdx
cmp di, si
ja 0x140027f3e
cmp rbx, 1
je 0x140027f43
add rdx, 2
dec rbx
movzx edi, word [rdx + rcx]
movzx esi, word [rdx]
cmp di, si
jae 0x140027f23
mov rax, qword [rax]
jmp 0x140027eca
lea rcx, [rax + 0x10]
cmp rbp, 8
jb 0x140027f50
mov rcx, qword [rcx]
cmp qword [r8 + 0x18], 8
jb 0x140027f5a
mov r8, qword [r8]
test r11, r11
je 0x140027f94
movzx edx, word [r8]
movzx r9d, word [rcx]
cmp dx, r9w
jb 0x140027f97
sub r8, rcx
cmp dx, r9w
ja 0x140027f97
cmp r11, 1
je 0x140027f94
add rcx, 2
dec r11
movzx edx, word [rcx + r8]
movzx r9d, word [rcx]
cmp dx, r9w
jae 0x140027f74
jmp 0x140027f97
mov r10, rax
mov rbx, qword [rsp + 0x18]
mov rax, r14
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov qword [r14], r10
pop r15
pop r14
ret
Function at 0x140028ccc
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, r9
mov r10, r8
mov r14, rdx
lea rax, [0x14004c6b0]
mov qword [rsp + 0x70], rax
mov r12, qword [r8 + 0x10]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x140028d0b
mov rdx, qword [r8]
movabs r9, 0xcbf29ce484222325
lea r8, [r12 + r12]
xor ecx, ecx
test r8, r8
je 0x140028d3d
movzx eax, byte [rcx + rdx]
xor r9, rax
movabs r11, 0x100000001b3
imul r9, r11
inc rcx
cmp rcx, r8
jb 0x140028d20
and r9, qword [0x14004c6e0]
mov r11, r9
add r11, r11
mov r8, qword [0x14004c6c8]
mov r13, qword [0x14004c6b8]
cmp qword [r8 + r11*8], r13
jne 0x140028d63
mov rdi, r13
jmp 0x140028d6b
mov rdi, qword [r8 + r11*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [r8 + r11*8]
je 0x140028e1e
mov rdi, qword [rdi + 8]
lea rax, [rdi + 0x10]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140028d8b
mov rax, qword [rax]
mov rsi, r10
cmp qword [r10 + 0x18], 8
jb 0x140028d98
mov rsi, qword [r10]
cmp r12, rcx
jne 0x140028d6b
mov r15, r12
test r12, r12
je 0x140028dd3
movzx ecx, word [rsi]
movzx edx, word [rax]
cmp cx, dx
jb 0x140028d6b
sub rsi, rax
cmp cx, dx
ja 0x140028d6b
cmp r15, 1
je 0x140028dd3
dec r15
add rax, 2
movzx ecx, word [rsi + rax]
movzx edx, word [rax]
cmp cx, dx
jae 0x140028db6
jmp 0x140028d6b
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [0x14004c6c0]
lea rcx, [rbx + 0x30]
call fcn.140006420
lea rcx, [rbx + 0x10]
call fcn.140006420
mov edx, 0x50
mov rcx, rbx
call fcn.140034780
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x140028ecd
mov rax, qword [rbx]
cmp rdi, rax
je 0x140028e61
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov r8, qword [0x14004c6c8]
mov r13, qword [0x14004c6b8]
mov rcx, r9
add rcx, rcx
add r9, r9
cmp qword [r8 + r11*8], r13
jne 0x140028e82
mov qword [r8 + r9*8], rbx
mov rax, qword [0x14004c6c8]
mov qword [rax + rcx*8 + 8], rbx
jmp 0x140028eb5
cmp qword [r8 + r11*8], rdi
jne 0x140028e8e
mov qword [r8 + rcx*8], rbx
jmp 0x140028eb5
mov rax, qword [r8 + rcx*8 + 8]
mov rdx, qword [rax]
mov qword [r8 + rcx*8 + 8], rdx
cmp rdx, rbx
je 0x140028eb5
mov r8, qword [0x14004c6c8]
mov rax, qword [r8 + r11*8 + 8]
mov rdx, qword [rax + 8]
mov qword [r8 + r11*8 + 8], rdx
lea rcx, [0x14004c6b0]
call fcn.140028ee4
nop
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140029330
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov r8, rcx
lea rsi, [rdi + 0x10]
cmp qword [rsi + 0x18], 8
mov r9, rsi
mov r10, qword [rsi + 0x10]
jb 0x140029363
mov r9, qword [rsi]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r10, r10
je 0x140029392
movzx eax, byte [rdx + r9]
movabs r11, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r11
cmp rdx, r10
jb 0x140029374
mov rdx, qword [r8 + 0x30]
and rdx, rcx
mov rcx, qword [r8 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x1400293ca
cmp qword [rcx + rdx*8], rdi
jne 0x1400293bf
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x1400293c3
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400293d7
cmp qword [rcx + rdx*8], rdi
jne 0x1400293d7
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
lea rcx, [rsi + 0x20]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r8 + 0x10]
call fcn.140006420
mov rcx, rsi
call fcn.140006420
mov edx, 0x50
mov rcx, rdi
call fcn.140034780
mov rsi, qword [rsp + 0x38]
mov rax, r14
mov rdi, qword [rsp + 0x40]
mov qword [r14], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret
Function at 0x140029434
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, r9
mov r10, r8
mov r14, rdx
mov r9, rcx
mov r13, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x140029467
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
lea r11, [r13*2]
xor ecx, ecx
test r11, r11
je 0x14002949e
movzx eax, byte [rcx + r8]
xor rdx, rax
movabs rdi, 0x100000001b3
imul rdx, rdi
inc rcx
cmp rcx, r11
jb 0x140029480
mov r8, qword [r9 + 0x30]
and r8, rdx
mov rsi, r8
add rsi, rsi
mov r12, qword [r9 + 0x18]
mov rdi, qword [r9 + 8]
cmp rdi, qword [r12 + rsi*8]
je 0x140029577
mov rdi, qword [r12 + rsi*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [r12 + rsi*8]
je 0x140029577
mov rdi, qword [rdi + 8]
lea rax, [rdi + 0x10]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400294e5
mov rax, qword [rax]
mov r11, r10
cmp qword [r10 + 0x18], 8
jb 0x1400294f2
mov r11, qword [r10]
cmp r13, rcx
jne 0x1400294c5
mov r15, r13
test r13, r13
je 0x14002952f
movzx ecx, word [r11]
movzx edx, word [rax]
cmp cx, dx
jb 0x1400294c5
sub r11, rax
cmp cx, dx
ja 0x1400294c5
cmp r15, 1
je 0x14002952f
dec r15
add rax, 2
movzx ecx, word [r11 + rax]
movzx edx, word [rax]
cmp cx, dx
jae 0x140029511
jmp 0x1400294c5
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
lea rcx, [rbx + 0x30]
call fcn.140006420
lea rcx, [rbx + 0x10]
call fcn.140006420
mov edx, 0x50
mov rcx, rbx
call fcn.140034780
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x14002960f
mov rax, qword [rbx]
cmp rdi, rax
je 0x1400295ac
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + rsi*8]
add r8, r8
cmp rax, qword [r9 + 8]
jne 0x1400295cc
mov qword [rdx + r8*8], rbx
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x1400295fb
cmp rax, rdi
jne 0x1400295d7
mov qword [rdx + r8*8], rbx
jmp 0x1400295fb
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x1400295fb
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + rsi*8 + 8], rcx
mov rcx, r9
call fcn.140028ee4
nop
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret