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

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140004a90
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140004a90
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140003060
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400090a4]
mov rbx, rcx
test esi, esi
jle 0x140003190
mov rax, qword [0x1400090a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400030ab
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140003135
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140003090
mov rcx, rbx
call fcn.140003ab0
mov rdi, rax
test rax, rax
je 0x1400031b2
mov rax, qword [0x1400090a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003bf0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400090a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140003197
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000312e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140003140
add dword [0x1400090a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400090a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000312e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002ff0
nop dword [rax]
xor esi, esi
jmp 0x1400030b8
mov rax, qword [0x1400090a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002ff0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002ff0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003720
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400090e0]
test rbx, rbx
je 0x14000377c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140003773
test rsi, rsi
je 0x140003773
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003758
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140003ab0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140006640]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003ad0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003ad8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003ad0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140003b2d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003b24
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003ad0
add rax, 0x28
cmp rax, r9
jne 0x140003b10
xor eax, eax
ret

Function at 0x140003b30
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006640]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140003b4f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003b58
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140003b4f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140003bf0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006640]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140003c0f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003c18
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001f20
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001f6a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001f6a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001f6a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001f6a
cmp dword [rcx + 0x84], 0xe
jbe 0x140001f6a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001f6c
xor al, al
add rsp, 0x28
ret
Function at 0x18001c250
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x18001c2c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x18001c2c8
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x18001c2b5
nop
cmp rbx, rcx
jae 0x18001c2c8
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x18001c2a0
cmp rbx, rcx
jae 0x18001c2c8
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x18001c2ca
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18001c650
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1801ae098]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [0x1801e5cbc], 0
jne 0x18001c6bf
lea rcx, [rsp + 0x20]
mov byte [0x1801e5cbc], 1
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2ss xmm0, qword [rsp + 0x28]
cvtsi2ss xmm1, qword [rsp + 0x20]
movss dword [0x1801e5e7c], xmm0
movss dword [0x1801e5ddc], xmm1
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rsp + 0x20]
subss xmm0, dword [0x1801e5ddc]
divss xmm0, dword [0x1801e5e7c]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800b7df0
add rsp, 0x48
ret
Function at 0x18001dae0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x1801ae098]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
movdqa xmm1, xmmword [0x18018ffd0]
movdqu xmmword [rbp + 0x2f], xmm1
mov byte [rbp + 0x1f], 0
movups xmmword [rbp - 1], xmm0
movdqu xmmword [rbp + 0xf], xmm1
mov byte [rbp - 1], 0
lea r12, [0x1801e6c40]
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x18001dcb4
mov rbx, qword [0x1801e6598]
mov rdi, qword [0x1801e65a0]
cmp rbx, rdi
je 0x18001db90
mov rcx, rbx
call fcn.180005690
add rbx, 0x20
cmp rbx, rdi
jne 0x18001db71
mov rax, qword [0x1801e6598]
mov qword [0x1801e65a0], rax
mov byte [rbp - 0x59], 0x78
mov al, 0x24
mov cl, 0xd
mov dl, 0x16
mov r8b, 0x13
movzx r9d, dl
mov r10b, 0x17
mov r11b, 0xf
movzx ebx, dl
movzx edi, dl
movzx esi, al
mov r14b, 0x52
xor r15d, r15d
xor al, 0x78
mov byte [rbp - 0x58], al
xor cl, 0x78
mov byte [rbp - 0x57], cl
xor dl, 0x78
mov byte [rbp - 0x56], dl
xor r8b, 0x78
mov byte [rbp - 0x55], r8b
xor r9b, 0x78
mov byte [rbp - 0x54], r9b
xor r10b, 0x78
mov byte [rbp - 0x53], r10b
xor r11b, 0x78
mov byte [rbp - 0x52], r11b
xor bl, 0x78
mov byte [rbp - 0x51], bl
xor dil, 0x78
mov byte [rbp - 0x50], dil
xor sil, 0x78
mov byte [rbp - 0x4f], sil
xor r14b, 0x78
mov byte [rbp - 0x4e], r14b
mov byte [rbp - 0x4d], r15b
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x31], xmm1
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [r12 + r8], r15b
jne 0x18001dc22
mov rdx, r12
lea rcx, [rbp - 0x41]
call fcn.180005880
nop
lea rax, [rbp - 0x58]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18001dc40
mov r8, rbx
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x41]
call fcn.180008760
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x21], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x11], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x41]
call fcn.180005690
lea rcx, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae rcx, qword [rbp - 0x21]
xor r8d, r8d
call fcn.18001d710
nop
lea rcx, [rbp - 0x21]
call fcn.180005690
nop
lea rcx, [rbp - 1]
call fcn.180005690
nop
lea rcx, [rbp + 0x1f]
call fcn.180005690
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1800b7df0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x180025b90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
not r8d
test edx, edx
je 0x180025bbf
mov r9d, edx
lea r10, [0x1801880e0]
movsx edx, byte [rcx]
lea rcx, [rcx + 1]
mov eax, r8d
shr r8d, 8
xor rdx, rax
movzx eax, dl
xor r8d, dword [r10 + rax*4]
sub r9, 1
jne 0x180025ba1
not r8d
mov eax, r8d
ret
Function at 0x180042180
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], rcx
lea rcx, [0x1801e5e30]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rcx, qword [0x1801e5e30]
mov edx, dword [0x1801e5e34]
test ax, ax
je 0x180042230
movss xmm3, dword [0x1801dc870]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x180042230
movss xmm4, dword [0x1801dc874]
movd xmm2, edx
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm4
jbe 0x180042230
movss xmm0, dword [rsp + 0x20]
addss xmm0, xmm3
comiss xmm0, xmm1
jbe 0x180042230
movss xmm0, dword [rsp + 0x24]
addss xmm0, xmm4
comiss xmm0, xmm2
jbe 0x180042230
cmp byte [0x1801e5dfa], 0
mov byte [0x1801e5df9], 1
jne 0x180042239
subss xmm1, xmm3
mov byte [0x1801e5dfa], 1
subss xmm2, xmm4
cvttss2si eax, xmm1
cvttss2si r8d, xmm2
mov dword [0x1801e5e28], eax
mov dword [0x1801e5e2c], r8d
jmp 0x180042246
cmp byte [0x1801e5df9], 0
je 0x180042269
mov r8d, dword [0x1801e5e2c]
mov eax, dword [0x1801e5e28]
sub ecx, eax
sub edx, r8d
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [0x1801dc870], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [0x1801dc874], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180042285
mov byte [0x1801e5df9], al
mov byte [0x1801e5dfa], al
add rsp, 0x38
ret
Function at 0x18004a640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbp
push rdi
sub rsp, 0x70
movaps xmmword [rax - 0x28], xmm7
mov rbp, rdx
mov qword [rax + 8], rbx
movaps xmm7, xmm2
mov qword [rax + 0x10], rsi
mov rdi, rcx
mov rax, qword [rcx]
mov dword [rax], 0x7f7fffff
mov dword [rax + 4], 0x800000
mov dword [rax + 8], 0x7f7fffff
mov dword [rax + 0xc], 0x800000
mov rbx, qword [rcx + 8]
lea rsi, [rbx + 0x280]
cmp rbx, rsi
je 0x18004a787
movaps xmmword [rsp + 0x60], xmm6
add rbx, 0x14
movss xmm6, dword [0x18018fc74]
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rdi + 0x10]
movsx edx, byte [rbx - 8]
mov rcx, qword [rax]
call fcn.180036980
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.18002d420
cmp byte [rbx - 8], 0x30
movsd xmm0, qword [rax]
movsd qword [rbx - 4], xmm0
mov eax, dword [rax + 8]
mov dword [rbx + 4], eax
jne 0x18004a6ee
movss xmm0, dword [rbx]
addss xmm0, xmm6
movss dword [rbx], xmm0
movsd xmm0, qword [rbx - 4]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x3c]
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
call fcn.18003de00
movsd xmm0, qword [rax]
movsd qword [rbx - 0x14], xmm0
mov eax, dword [rax + 8]
mov dword [rbx - 0xc], eax
mov rax, qword [rdi]
movss xmm1, dword [rbx - 0x14]
movss xmm0, dword [rax]
comiss xmm0, xmm1
jbe 0x18004a730
movss dword [rax], xmm1
mov rax, qword [rdi]
movss xmm0, dword [rbx - 0x14]
comiss xmm0, dword [rax + 4]
jbe 0x18004a743
movss dword [rax + 4], xmm0
mov rax, qword [rdi]
movss xmm1, dword [rbx - 0x10]
movss xmm0, dword [rax + 8]
comiss xmm0, xmm1
jbe 0x18004a75a
movss dword [rax + 8], xmm1
mov rax, qword [rdi]
movss xmm0, dword [rbx - 0x10]
comiss xmm0, dword [rax + 0xc]
jbe 0x18004a76d
movss dword [rax + 0xc], xmm0
mov byte [rbx - 7], 1
add rbx, 0x20
lea rax, [rbx - 0x14]
cmp rax, rsi
jne 0x18004a6b0
movaps xmm6, xmmword [rsp + 0x60]
mov rax, qword [rdi]
movss xmm2, dword [0x18018ff14]
mov rsi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
movss xmm1, dword [rax]
ucomiss xmm1, xmm2
jp 0x18004a7ad
je 0x18004a7d9
movss xmm0, dword [rax + 4]
movss xmm3, dword [0x18018fc24]
ucomiss xmm0, xmm3
jp 0x18004a7c1
je 0x18004a7d9
movss xmm0, dword [rax + 8]
ucomiss xmm0, xmm2
jp 0x18004a7cd
je 0x18004a7d9
movss xmm0, dword [rax + 0xc]
ucomiss xmm0, xmm3
jp 0x18004a7ee
jne 0x18004a7ee
xor al, al
mov rbp, qword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x70
pop rdi
ret
movaps xmm0, xmm7
subss xmm1, xmm7
movss dword [rax], xmm1
mov rax, qword [rdi]
addss xmm0, dword [rax + 4]
movss dword [rax + 4], xmm0
mov rax, qword [rdi]
movss xmm0, dword [rax + 8]
subss xmm0, xmm7
movss dword [rax + 8], xmm0
mov rax, qword [rdi]
addss xmm7, dword [rax + 0xc]
movss dword [rax + 0xc], xmm7
mov rax, qword [rdi]
movaps xmm7, xmmword [rsp + 0x50]
movups xmm0, xmmword [rax]
mov al, 1
movups xmmword [rbp], xmm0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x1800570d0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180057106
xor eax, eax
lea r8, [0x1800570a0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180057106
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x38
ret

Function at 0x180057d90
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x180057db2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x180057e2c
mov rdi, r14
mov rcx, rbx
call fcn.1800086d0
test rax, rax
jle 0x180057e04
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.180124170
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x180057e1c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x180057e24
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x180057dc6
sub r14, rdi
jmp 0x180057f0f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x180057e43
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180057e45
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180057e77
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.180124170
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x180057f0c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x180057eb2
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x180057eed
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1801351bc
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x180057f0c
cmp rbp, rax
ja 0x180057ec0
test rbp, rbp
je 0x180057f0c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1801351bc
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x18005ad50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, qword [0x1801e71f8]
mov rdi, rcx
call rsi
add rax, 0x14
je 0x18005adef
test rdi, rdi
je 0x18005adef
test rsi, rsi
je 0x18005adef
mov rcx, rdi
mov qword [rsp + 0x30], rbx
call rsi
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2 + 0x14], 0
jne 0x18005ad90
mov rcx, rdi
call rsi
lea r8, [rax + 0x14]
mov eax, 0xffffffff
test ebx, ebx
je 0x18005addd
mov r9d, ebx
lea r10, [0x1801880e0]
nop word [rax + rax]
movzx edx, word [r8]
lea r8, [r8 + 2]
mov ecx, eax
shr eax, 8
xor rdx, rcx
movzx ecx, dl
xor eax, dword [r10 + rcx*4]
sub r9, 1
jne 0x18005adc0
mov rbx, qword [rsp + 0x30]
not eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x180061410
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 0x18006146d
lea rbx, [0x180188780]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180061454
cmp r10, 2
jb 0x180061454
cmp byte [r9], r8b
jne 0x180061454
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 0x180061430
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800614af
lea rbx, [0x180188780]
cmp r8b, 0x23
jne 0x180061493
cmp byte [r9], r8b
jne 0x180061493
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 0x180061480
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x1800615f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18006160a
mov qword [r8], 0
lea rdx, [0x18018ef84]
call fcn.1800614c0
mov rbx, rax
test rax, rax
jne 0x18006162a
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 fcn.180136040
mov esi, eax
cmp eax, 0xffffffff
je 0x1800616f8
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.18013556c
test eax, eax
jne 0x1800616f8
mov rcx, rbx
call fcn.180136040
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800616f8
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.18013556c
test eax, eax
jne 0x1800616f8
cmp rdi, 0xffffffffffffffff
je 0x1800616f8
mov rax, qword [0x1801e5eb0]
test rax, rax
je 0x18006169a
inc dword [rax + 0xf4]
mov rcx, rdi
call fcn.180133b44
mov rsi, rax
test rax, rax
je 0x1800616f8
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1801351bc
mov rcx, rbx
cmp rax, rdi
je 0x1800616e6
call fcn.180134454
mov rax, qword [0x1801e5eb0]
test rax, rax
je 0x1800616dc
dec dword [rax + 0xf4]
mov rcx, rsi
call fcn.18012d730
jmp 0x180061700
call fcn.180134454
test r14, r14
je 0x1800616f3
mov qword [r14], rdi
mov rax, rsi
jmp 0x180061702
mov rcx, rbx
call fcn.180134454
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 0x180064570
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x180188780]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x180064606
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.180076e00
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1800680c0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180068110
lea r11, [0x180188780]
nop dword [rax]
cmp r9b, 0x23
jne 0x1800680f3
cmp byte [r8], r9b
jne 0x1800680f3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1800680e0
mov rcx, qword [0x1801e5eb0]
not eax
movsxd rdx, dword [rcx + 0x3eb0]
mov r9, qword [rcx + 0x3eb8]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180068171
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180068169
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18006816c
mov rdx, r8
test rdx, rdx
jne 0x180068140
cmp r9, r10
je 0x180068180
cmp dword [r9], eax
jne 0x180068180
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x180075d30
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1801e5eb0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180075d93
mov qword [rsp], rbx
lea rbx, [0x180188780]
nop dword [rax]
cmp r9b, 0x23
jne 0x180075d73
cmp byte [r8], r9b
jne 0x180075d73
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 0x180075d60
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bf8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180075dc7
mov r10, qword [r10 + 0x5c00]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x180075dce
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180075db4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret