joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001afa0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6178], 0
lea rbx, [rcx + 0x6180]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001b047
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001affa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001d920
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140004de0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6178]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6188]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400456e8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001b04f
mov rcx, rbx
call fcn.140004de0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001b370
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x1400456f0]
xor ebp, ebp
cmp byte [rbx + 0x60c8], bpl
jne 0x14001b44f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001b448
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140004760
mov rsi, rax
test rax, rax
je 0x14001b448
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001b3d4
mov rcx, rax
call fcn.14001b5a0
mov r8, qword [0x1400456f0]
test r8, r8
je 0x14001b43f
movsx rdx, word [r8 + 0x6258]
lea rcx, [r8 + 0x625c]
mov r9d, dword [r8 + 0x3fe8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001b434
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6258], cx
movsx rax, cx
lea rcx, [r8 + 0x625c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x6254]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x60c8], 1
movss xmm0, dword [rbx + 0x60cc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001b4de
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x60cc], xmm0
jb 0x14001b4de
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14001b4d1
mov rax, qword [0x1400456f0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x60cc], ebp
call fcn.14001b800
lea rdx, [0x14003a584]
mov rcx, rdi
mov rsi, rax
call fcn.1400045b0
mov rdi, rax
test rax, rax
je 0x14001b4d8
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001b4d8
mov byte [rbx + 0xb4], 1
mov dword [rbx + 0x60cc], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001b500
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400456f0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001b563
mov qword [rsp], rbx
lea rbx, [0x14003aaa0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001b543
cmp byte [r8], r9b
jne 0x14001b543
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001b530
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x60e0]
not eax
mov r8, qword [r10 + 0x60e8]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001b58f
cmp dword [r8 + 8], eax
je 0x14001b596
add r8, 0x48
cmp r8, rcx
jne 0x14001b580
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14002ff60
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140045040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1400456f0]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003017f
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003017f
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x1400456f0]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x140030034
movsx rdx, word [r8 + 0x6258]
lea rax, [r8 + 0x625c]
mov r9d, dword [r8 + 0x3fe8]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x140030029
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6258], cx
movsx rax, cx
lea rax, [rax*8 + 0x625c]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6250]
test rdi, rdi
je 0x140030051
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x140030054
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rsi + 0x88], rax
mov qword [rsi + 0x98], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x140030097
mov rsi, qword [r8 + 0x98]
jmp 0x14003009a
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1400300c5
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1400456f0]
mov rcx, qword [rax + 0x4bc8]
mov rax, qword [rdi]
mov rdx, qword [rcx]
mov qword [rdx + 0x30], rax
mov qword [rdx + 0x28], rax
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14003013f
inc rbx
cmp rbx, 5
jl 0x140030121
jmp 0x14003016b
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x140030181
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140036cf0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x140036570
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x140045040]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov edx, dword [0x140045798]
mov rdi, rcx
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400365c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_create_module_snapshot._Error:__lu_n
call fcn.140001010
jmp 0x140036631
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x140036619
nop dword [rax]
lea rax, [rsp + 0x50]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140036603
inc rax
test ecx, ecx
jne 0x1400365f0
mov rcx, rbx
test edx, edx
je 0x140036654
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x1400365e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, rdi
lea rcx, str.Module_not_found:__s_n
call fcn.140001010
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140036cf0
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x38]
jmp 0x140036633
Function at 0x14003765c
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 8
xor eax, eax
movq xmm2, r8
punpcklqdq xmm2, xmm2
mov r9, rdx
mov r10, rcx
test rdx, rdx
je 0x180001c2b
cmp rdx, 8
jb 0x180001c10
cmp dword [0x180182290], 5
jl 0x180001c10
movdqa xmm3, xmmword [0x180164b70]
mov r11, rdx
movdqa xmm4, xmmword [0x180164be0]
lea rdx, [rcx + 4]
movdqa xmm5, xmmword [0x180164c10]
and r11, 0xfffffffffffffff8
mov qword [rsp + 0x10], rbx
mov rbx, 0xfffffffffffffffe
mov qword [rsp], rdi
sub rbx, rcx
mov edi, 2
sub rdi, rcx
movzx ecx, word [rdx - 4]
movq xmm0, rax
punpcklqdq xmm0, xmm0
add rax, 8
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rbx + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, r10
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp rax, r11
jb 0x180001b13
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp rax, r9
jae 0x180001c2b
nop word [rax + rax]
movzx ecx, al
mov rdx, r8
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r10 + rax], dl
inc rax
cmp rax, r9
jb 0x180001c10
add rsp, 8
ret

Function at 0x180001c30
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor r9d, r9d
mov r10, rdx
mov r11, rcx
test rdx, rdx
je 0x180001c8e
mov qword [rsp], rbx
movabs rbx, 0x2492492492492493
mov rax, rbx
mul r9
mov rax, r9
sub rax, rdx
shr rax, 1
add rax, rdx
mov rdx, r8
shr rax, 2
movzx eax, al
imul ecx, eax, 7
movzx eax, r9b
sub al, cl
shl al, 3
movzx ecx, al
shr rdx, cl
xor byte [r11 + r9], dl
inc r9
cmp r9, r10
jb 0x180001c50
mov rbx, qword [rsp]
add rsp, 8
ret

Function at 0x180001ca0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor r9d, r9d
mov r10, rdx
mov r11, rcx
test rdx, rdx
je 0x180001cf2
mov qword [rsp], rbx
movabs rbx, 0xaaaaaaaaaaaaaaab
movzx ecx, r9b
mov rax, rbx
mul r9
shr rdx, 2
movzx eax, dl
add al, al
add dl, al
add dl, dl
sub cl, dl
mov rdx, r8
shl cl, 3
shr rdx, cl
xor byte [r11 + r9], dl
inc r9
cmp r9, r10
jb 0x180001cc0
mov rbx, qword [rsp]
add rsp, 8
ret

Function at 0x180001d00
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub rsp, 8
xor r9d, r9d
mov r10, rdx
mov r11, rcx
test rdx, rdx
je 0x180001d51
mov qword [rsp], rbx
movabs rbx, 0xcccccccccccccccd
movzx ecx, r9b
mov rax, rbx
mul r9
shr rdx, 2
movzx eax, dl
shl al, 2
add dl, al
sub cl, dl
mov rdx, r8
shl cl, 3
shr rdx, cl
xor byte [r11 + r9], dl
inc r9
cmp r9, r10
jb 0x180001d20
mov rbx, qword [rsp]
add rsp, 8
ret
Function at 0x180001d60
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor eax, eax
movq xmm2, r8
punpcklqdq xmm2, xmm2
mov r9, rdx
mov r10, rcx
test rdx, rdx
je 0x180001eeb
cmp rdx, 8
jb 0x180001ed0
cmp dword [0x180182290], 5
jl 0x180001ed0
movdqa xmm3, xmmword [0x180164b70]
mov r11, rdx
movdqa xmm4, xmmword [0x180164bb0]
lea rdx, [rcx + 4]
movdqa xmm5, xmmword [0x180164c10]
and r11, 0xfffffffffffffff8
mov qword [rsp + 0x10], rbx
mov rbx, 0xfffffffffffffffe
mov qword [rsp], rdi
sub rbx, rcx
mov edi, 2
sub rdi, rcx
movzx ecx, word [rdx - 4]
movq xmm0, rax
punpcklqdq xmm0, xmm0
add rax, 8
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rbx + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, r10
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp rax, r11
jb 0x180001dd3
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp rax, r9
jae 0x180001eeb
nop word [rax + rax]
movzx ecx, al
mov rdx, r8
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [r10 + rax], dl
inc rax
cmp rax, r9
jb 0x180001ed0
add rsp, 8
ret

Function at 0x180001ef0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor r9d, r9d
mov r10, rdx
mov r11, rcx
test rdx, rdx
je 0x180001f3f
mov qword [rsp], rbx
movabs rbx, 0xaaaaaaaaaaaaaaab
movzx ecx, r9b
mov rax, rbx
mul r9
shr rdx, 1
movzx eax, dl
add al, al
add dl, al
sub cl, dl
mov rdx, r8
shl cl, 3
shr rdx, cl
xor byte [r11 + r9], dl
inc r9
cmp r9, r10
jb 0x180001f10
mov rbx, qword [rsp]
add rsp, 8
ret
Function at 0x180001f50
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor eax, eax
movq xmm2, r8
punpcklqdq xmm2, xmm2
mov r9, rdx
mov r10, rcx
test rdx, rdx
je 0x1800020db
cmp rdx, 8
jb 0x1800020c0
cmp dword [0x180182290], 5
jl 0x1800020c0
movdqa xmm3, xmmword [0x180164b70]
mov r11, rdx
movdqa xmm4, xmmword [0x180164b80]
lea rdx, [rcx + 4]
movdqa xmm5, xmmword [0x180164c10]
and r11, 0xfffffffffffffff8
mov qword [rsp + 0x10], rbx
mov rbx, 0xfffffffffffffffe
mov qword [rsp], rdi
sub rbx, rcx
mov edi, 2
sub rdi, rcx
movzx ecx, word [rdx - 4]
movq xmm0, rax
punpcklqdq xmm0, xmm0
add rax, 8
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rbx + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, r10
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp rax, r11
jb 0x180001fc3
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp rax, r9
jae 0x1800020db
nop word [rax + rax]
movzx ecx, al
mov rdx, r8
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [r10 + rax], dl
inc rax
cmp rax, r9
jb 0x1800020c0
add rsp, 8
ret
Function at 0x18000f000
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x180182240]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [0x1801aaa68]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
lea rcx, str.ALGEA__Beta_
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x18015cd1c]
lea rdx, str.CONOUT_
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdi, rax
mov edx, 0xc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edx, dword [0x1801aa71c]
mov rcx, qword gs:[0x58]
mov r8, qword [rcx + rdx*8]
mov eax, 0xd6c
mov ecx, dword [rax + r8]
mov edx, 0x888
test cl, 1
jne 0x18000f0e0
or ecx, 1
mov dword [rax + r8], ecx
lea rbx, [r8 + rdx]
mov word [rbx + 9], 0x1c5
mov dword [rbx], 0xd0aa4b65
mov dword [rbx + 4], 0x4d71b1a4
mov byte [rbx + 8], 0x5f
lea rcx, [0x180150d90]
call fcn.180143d60
nop
jmp 0x18000f0e4
lea rbx, [r8 + rdx]
mov rcx, rbx
call fcn.180047b70
mov rcx, rbx
call fcn.1800017a0
mov edx, 0xa
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
call fcn.18000f190
mov rbx, rax
mov rcx, rax
call fcn.180044320
mov rcx, rbx
call fcn.1800017a0
mov edx, 0xc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
call fcn.18000f2c0
mov rbx, rax
mov rcx, rax
call fcn.1800431c0
mov rcx, rbx
call fcn.1800017a0
mov edx, 0xe
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
call fcn.18000f400
mov rbx, rax
mov rcx, rax
call fcn.18003ec30
mov rcx, rbx
call fcn.1800017a0
lea rcx, [0x1801aa928]
call fcn.18000f4d0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1801436c0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1800f4470
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1800f44cd
lea rbx, [0x18015f840]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800f44b4
cmp r10, 2
jb 0x1800f44b4
cmp byte [r9], r8b
jne 0x1800f44b4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1800f4490
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800f450f
lea rbx, [0x18015f840]
cmp r8b, 0x23
jne 0x1800f44f3
cmp byte [r9], r8b
jne 0x1800f44f3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1800f44e0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1800f4650
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1800f466a
mov qword [r8], 0
lea rdx, [0x180163b7c]
call fcn.1800f4520
mov rbx, rax
test rax, rax
jne 0x1800f468a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1800f4763
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800f4763
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800f4763
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800f4763
cmp rdi, 0xffffffffffffffff
je 0x1800f4763
mov rax, qword [0x1801aaa58]
test rax, rax
je 0x1800f4700
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1800f4763
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x1800f4750
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1801aaa58]
test rax, rax
je 0x1800f4745
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800f476c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1800f475e
mov qword [r14], rdi
mov rax, rsi
jmp 0x1800f476e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1800f68e0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xd0]
lea r8, [0x18015f840]
movsxd rcx, dword [rcx + 0xc8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov rax, qword [0x1801aaa58]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
shr ebx, 8
xor rcx, r11
xor ebx, dword [r8 + rcx*4]
not ebx
cmp dword [rax + 0x1c6c], ebx
jne 0x1800f696c
mov dword [rax + 0x1c70], ebx
cmp dword [rax + 0x1ca8], ebx
jne 0x1800f697b
mov byte [rax + 0x1cac], 1
cmp dword [rax + 0x1c54], ebx
jne 0x1800f6992
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.1801089a0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1800f69a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0xe8]
lea r10, [0x18015f840]
mov rax, qword [rcx + 0xd0]
movss xmm1, dword [rcx + 0xec]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xc8]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
mov rax, qword [0x1801aaa58]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
not r9d
cmp dword [rax + 0x1c6c], r9d
jne 0x1800f6ba0
mov dword [rax + 0x1c70], r9d
cmp dword [rax + 0x1ca8], r9d
jne 0x1800f6bb0
mov byte [rax + 0x1cac], 1
mov eax, r9d
add rsp, 0x18
ret