joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002780
Capabilities:
Create process memory minidump
Delete file
Terminate process

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rsi, rcx
call fcn.1400024a0
mov rdi, rax
lea rdx, [rax - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x14000284f
mov qword [rsp + 0x60], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x44], rsi
mov dword [rsp + 0x4c], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
mov r9d, 0x1120
mov qword [rsp + 0x30], rcx
mov r8, rdi
mov qword [rsp + 0x28], rcx
mov edx, ebx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call sub.dbghelp.dll_MiniDumpWriteDump
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x140002824
lea rcx, [0x140157820]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rcx, qword [rsi]
mov ebx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rbx, qword [rsp + 0x60]
mov eax, 1
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rsi, qword [rsp + 0x68]
xor eax, eax
add rsp, 0x50
pop rdi
ret

Function at 0x140009a60
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x20
mov eax, r9d
mov rbx, r8
test rcx, rcx
je 0x140009ac3
test rdx, rdx
je 0x140009ac3
cmp byte [rdx], 0
je 0x140009ac3
test rbx, rbx
je 0x140009ac3
cmp qword [rcx + 0x10], 0
je 0x140009ac3
cmp qword [rcx + 0x30], 0
je 0x140009ac3
mov dword [r8], 0
mov r9, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x140009aa2
mov r9, qword [rcx]
add rcx, 0x20
cmp qword [rcx + 0x18], 0x10
jb 0x140009ab0
mov rcx, qword [rcx]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [rbx], eax
mov al, 1
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140009ad0
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0x38
mov r10, r9
test rcx, rcx
je 0x140009b60
test rdx, rdx
je 0x140009b60
cmp byte [rdx], 0
je 0x140009b60
cmp qword [rcx + 0x10], 0
je 0x140009b60
cmp qword [rcx + 0x30], 0
je 0x140009b60
xorps xmm0, xmm0
mov rax, rcx
movups xmmword [r8], xmm0
movups xmmword [r8 + 0x10], xmm0
movups xmmword [r8 + 0x20], xmm0
movups xmmword [r8 + 0x30], xmm0
movups xmmword [r8 + 0x40], xmm0
movups xmmword [r8 + 0x50], xmm0
movups xmmword [r8 + 0x60], xmm0
movups xmmword [r8 + 0x70], xmm0
cmp qword [rcx + 0x18], 0x10
jb 0x140009b2f
mov rax, qword [rcx]
add rcx, 0x20
cmp qword [rcx + 0x18], 0x10
jb 0x140009b3d
mov rcx, qword [rcx]
mov r9, r8
mov qword [rsp + 0x28], rax
mov r8, r10
mov dword [rsp + 0x20], 0x7f
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
setg al
add rsp, 0x38
ret
xor al, al
add rsp, 0x38
ret
Function at 0x14000a340
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x890
mov rax, qword [0x140156808]
xor rax, rsp
mov qword [rsp + 0x880], rax
cmp qword [0x140157a70], 0
mov rdi, rcx
je 0x14000a447
test rcx, rcx
je 0x14000a447
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x8a8], rbx
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x801
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [rsp + 0x6e]
movzx edx, word [rsp + 0x6c]
movzx r8d, word [rsp + 0x6a]
movzx r10d, word [rsp + 0x68]
movzx r11d, word [rsp + 0x66]
movzx ebx, word [rsp + 0x62]
movzx r9d, word [rsp + 0x60]
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ecx
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x40], edx
mov edx, 0x800
mov dword [rsp + 0x38], r8d
lea r8, str.__04d__02d__02d__02d__02d__02d._03d___d_:__s_n
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
call fcn.14000a6b0
mov rbx, qword [rsp + 0x8a8]
lea rax, [rsp + 0x70]
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], 0
jne 0x14000a415
mov r9, qword [0x140157a70]
lea rcx, [rsp + 0x70]
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [0x140157a70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov al, 1
jmp 0x14000a449
xor al, al
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.14004ac10
add rsp, 0x890
pop rdi
ret
Function at 0x14000a470
Capabilities:
Write file on windows

Disassembly:
mov rdx, rcx
lea rcx, [0x140157a70]
jmp 0x14000a480
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x140156808]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov r14, rcx
cmp qword [rcx], 0
je 0x14000a67e
test rdx, rdx
je 0x14000a67e
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], al
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], ax
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14000a500
lea rcx, [rbp - 0x70]
call fcn.14000a210
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.14000a840
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14000a567
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a562
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a562
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004a8a8
cmp qword [rbp - 0x80], 0
jne 0x14000a575
xor bl, bl
jmp 0x14000a63a
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edx, edx
mov r8d, 0x801
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdi, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdi, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [rsp + 0x6e]
movzx edx, word [rsp + 0x6c]
movzx r8d, word [rsp + 0x6a]
movzx r10d, word [rsp + 0x68]
movzx r11d, word [rsp + 0x66]
movzx ebx, word [rsp + 0x62]
movzx r9d, word [rsp + 0x60]
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
lea r8, str.__04d__02d__02d__02d__02d__02d._03d___d_:__s_n
mov edx, 0x800
lea rcx, [rbp - 0x50]
call fcn.14000a6b0
lea rax, [rbp - 0x50]
nop dword [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x14000a610
mov r9, qword [r14]
mov r8d, 1
mov rdx, rsi
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [r14]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov bl, 1
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14000a679
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a674
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a674
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004a8a8
movzx eax, bl
jmp 0x14000a680
xor al, al
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.14004ac10
lea r11, [rsp + 0x8d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14000a480
Capabilities:
Write file on windows

Disassembly:
mov rdx, rcx
lea rcx, [0x140157a70]
jmp 0x14000a480
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x140156808]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov r14, rcx
cmp qword [rcx], 0
je 0x14000a67e
test rdx, rdx
je 0x14000a67e
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], al
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], ax
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14000a500
lea rcx, [rbp - 0x70]
call fcn.14000a210
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.14000a840
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14000a567
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a562
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a562
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004a8a8
cmp qword [rbp - 0x80], 0
jne 0x14000a575
xor bl, bl
jmp 0x14000a63a
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edx, edx
mov r8d, 0x801
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdi, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdi, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [rsp + 0x6e]
movzx edx, word [rsp + 0x6c]
movzx r8d, word [rsp + 0x6a]
movzx r10d, word [rsp + 0x68]
movzx r11d, word [rsp + 0x66]
movzx ebx, word [rsp + 0x62]
movzx r9d, word [rsp + 0x60]
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
lea r8, str.__04d__02d__02d__02d__02d__02d._03d___d_:__s_n
mov edx, 0x800
lea rcx, [rbp - 0x50]
call fcn.14000a6b0
lea rax, [rbp - 0x50]
nop dword [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x14000a610
mov r9, qword [r14]
mov r8d, 1
mov rdx, rsi
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [r14]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov bl, 1
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14000a679
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a674
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a674
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004a8a8
movzx eax, bl
jmp 0x14000a680
xor al, al
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.14004ac10
lea r11, [rsp + 0x8d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400153a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
sub rsp, 0x468
mov rax, qword [0x140156808]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x401
call sub.VCRUNTIME140.dll_memset
lea rdi, [rsp + 0x488]
call fcn.140002a00
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], 0
mov r8d, 0x401
mov qword [rsp + 0x20], rbx
mov rbx, 0xffffffffffffffff
mov rcx, qword [rax]
mov r9, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsnprintf_s]
test eax, eax
cmovs eax, ebx
cmp eax, ebx
je 0x140015440
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x40]
call fcn.14000a340
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14004ac10
add rsp, 0x468
pop rdi
pop rbx
ret

Function at 0x140015460
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
sub rsp, 0x868
mov rax, qword [0x140156808]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x802
call sub.VCRUNTIME140.dll_memset
lea rdi, [rsp + 0x888]
call fcn.140002a00
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], 0
mov r8d, 0x401
mov qword [rsp + 0x20], rbx
mov rbx, 0xffffffffffffffff
mov rcx, qword [rax]
mov r9, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsnwprintf_s]
test eax, eax
cmovs eax, ebx
cmp eax, ebx
je 0x140015500
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x40]
call fcn.14000a470
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.14004ac10
add rsp, 0x868
pop rdi
pop rbx
ret
Function at 0x140017730
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [r8 + 0x18], 0x10
mov rbx, rdx
mov r11, qword [r8 + 0x10]
mov rdx, r8
mov rdi, rcx
jb 0x140017751
mov rdx, qword [r8]
xor r10d, r10d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x140017784
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r10 + rdx]
inc r10
xor r9, rax
imul r9, rcx
cmp r10, r11
jb 0x140017770
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14000a940
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400177ab
mov qword [rbx], rcx
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rax, qword [rdi + 8]
mov qword [rbx], rax
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140019330
Capabilities:
Encode data using xor

Disassembly:
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 0x140019355
cvtsi2ss xmm0, rdx
jmp 0x14001936a
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x1400569f4]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x140019398
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140019398
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 0x1400193ca
cmp rbx, 0x200
jae 0x1400193c7
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x1400193ca
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400190b0
Function at 0x1400212b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub rsp, 0x38
cmp qword [rdx + 0x18], 0x10
mov r10, rdx
mov r11, qword [rdx + 0x10]
jb 0x1400212c5
mov r10, qword [rdx]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x140021309
mov qword [rsp + 0x30], rbx
movabs rbx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rbx
cmp r8, r11
jb 0x1400212f0
mov rbx, qword [rsp + 0x30]
mov r8, rdx
lea rdx, [rsp + 0x20]
call fcn.14000a940
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140021329
add rax, 0x30
add rsp, 0x38
ret
lea rcx, str.invalid_unordered_map_K__T__key
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3
Function at 0x140021700
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140156808]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r8
mov r13, rcx
mov rdi, qword [rdx]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1400218e2
lea rbp, [rcx + 0x2a8]
movabs r15, 0x100000001b3
lea r12, [rbx + 0x10]
mov rdx, r12
lea rcx, [rsp + 0x50]
call fcn.140022cf0
nop
lea rdx, [rsp + 0x50]
mov rsi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x68]
cmp r14, 0x10
cmovae rdx, rsi
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x1400217a5
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r15
inc rcx
cmp rcx, r8
jb 0x140021792
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.14000a940
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x1400217c4
mov rcx, qword [rbp + 8]
cmp rcx, qword [r13 + 0x2b0]
jne 0x14002180d
cmp r14, 0x10
jb 0x1400218d6
lea rdx, [r14 + 1]
cmp rdx, 0x1000
mov rax, rsi
jb 0x140021800
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021975
mov rcx, rsi
call fcn.14004a8a8
jmp 0x1400218d6
lea r8, [rcx + 0x30]
mov rdx, qword [r8 + 0x10]
test rdx, rdx
je 0x1400217cd
mov r10, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140021827
mov r10, qword [r8]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rdx, rdx
je 0x140021864
movabs r11, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r10]
xor r9, rax
imul r9, r11
inc rcx
cmp rcx, rdx
jb 0x140021850
lea rdx, [rsp + 0x40]
lea rcx, [r13 + 0x268]
call fcn.14000a940
mov rbp, qword [rax + 8]
test rbp, rbp
jne 0x140021885
mov rbp, qword [r13 + 0x270]
cmp rbp, qword [r13 + 0x270]
jne 0x14002190c
cmp r14, 0x10
jb 0x1400218c5
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400218bd
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021975
mov rcx, rsi
call fcn.14004a8a8
movabs r15, 0x100000001b3
lea rbp, [r13 + 0x2a8]
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140021753
xor al, al
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14004ac10
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0x20]
cmp rax, r12
je 0x140021932
mov r8, qword [r12 + 0x10]
cmp qword [r12 + 0x18], 0x10
jb 0x140021927
mov r12, qword [r12]
mov rdx, r12
mov rcx, rax
call fcn.1400062b0
lea rdx, [rbp + 0x30]
mov rcx, qword [rsp + 0x28]
call fcn.140018ce0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140021981
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002197c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002197c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004a8a8
mov al, 1
jmp 0x1400218e4
Function at 0x140021e80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140156808]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r12, r8
mov r15, rcx
lea rcx, [rsp + 0x40]
call fcn.140022cf0
nop
lea rdx, [rsp + 0x40]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x58]
cmp rbp, 0x10
cmovae rdx, rsi
movabs rbx, 0xcbf29ce484222325
mov r9, rbx
xor edi, edi
mov ecx, edi
movabs r13, 0x100000001b3
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x140021f03
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r13
inc rcx
cmp rcx, r8
jb 0x140021ef0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [r15 + 0x2a8]
call fcn.14000a940
mov r8, qword [rax + 8]
test r8, r8
jne 0x140021f29
mov r8, qword [r15 + 0x2b0]
cmp r8, qword [r15 + 0x2b0]
je 0x140021fab
add r8, 0x30
mov rcx, qword [r8 + 0x10]
test rcx, rcx
je 0x140021fab
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140021f4c
mov rdx, qword [r8]
test rcx, rcx
je 0x140021f64
movzx eax, byte [rdi + rdx]
xor rbx, rax
imul rbx, r13
inc rdi
cmp rdi, rcx
jb 0x140021f51
mov r9, rbx
lea rdx, [rsp + 0x30]
lea rcx, [r15 + 0x268]
call fcn.14000a940
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x140021f88
mov rdx, qword [r15 + 0x270]
cmp rdx, qword [r15 + 0x270]
je 0x140021fab
add rdx, 0x30
mov rcx, r12
call fcn.140018ce0
mov bl, 1
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x40]
jmp 0x140021fad
xor bl, bl
cmp rbp, 0x10
jb 0x140021fe7
lea rdx, [rbp + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140021fdf
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021fdf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14004a8a8
movzx eax, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14004ac10
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140022010
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140156808]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, r8
mov r15, rcx
mov rax, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140022046
mov rax, qword [r8]
xor ebx, ebx
mov qword [r8 + 0x10], rbx
mov byte [rax], bl
cmp qword [rdx + 0x10], rbx
je 0x1400221e3
cmp qword [rcx + 0x110], rbx
jne 0x14002206e
cmp qword [rcx + 0x1e8], rbx
je 0x1400221e3
lea rcx, [rsp + 0x30]
call fcn.140022cf0
nop
lea rdx, [rsp + 0x30]
mov rbp, qword [rsp + 0x30]
mov r13, qword [rsp + 0x48]
cmp r13, 0x10
cmovae rdx, rbp
movabs rdi, 0xcbf29ce484222325
mov r9, rdi
mov rcx, rbx
movabs r8, 0x100000001b3
mov r14, qword [rsp + 0x40]
test r14, r14
je 0x1400220d3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r8
inc rcx
cmp rcx, r14
jb 0x1400220c0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [r15 + 0x1d8]
call fcn.14000a940
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x1400220f9
mov rdx, qword [r15 + 0x1e0]
cmp rdx, qword [r15 + 0x1e0]
je 0x140022108
mov rdx, qword [rdx + 0x30]
jmp 0x140022175
lea rcx, [rsp + 0x30]
cmp r13, 0x10
cmovae rcx, rbp
test r14, r14
je 0x140022143
movabs rdx, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
xor rdi, rax
imul rdi, rdx
inc rbx
cmp rbx, r14
jb 0x140022130
mov r9, rdi
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [r15 + 0x100]
call fcn.14000a940
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x14002216c
mov rdx, qword [r15 + 0x108]
cmp rdx, qword [r15 + 0x108]
je 0x1400221a2
add rdx, 0x50
cmp rsi, rdx
je 0x14002219e
cmp qword [rdx + 0x18], 0x10
mov r8, qword [rdx + 0x10]
jb 0x14002218c
mov rdx, qword [rdx]
mov rcx, rsi
call fcn.1400062b0
mov rbp, qword [rsp + 0x30]
mov r13, qword [rsp + 0x48]
mov bl, 1
jmp 0x1400221a4
xor bl, bl
cmp r13, 0x10
jb 0x1400221de
lea rdx, [r13 + 1]
mov rax, rbp
cmp rdx, 0x1000
jb 0x1400221d6
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400221d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbp
call fcn.14004a8a8
movzx eax, bl
jmp 0x1400221e5
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14004ac10
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret