joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180110f00
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
mov eax, 0x1505
xor edx, edx
mov r8d, dword [rcx + 8]
test r8d, r8d
jle 0x180110f2d
mov r9d, eax
shl r9d, 5
add eax, r9d
mov r9d, edx
movzx r9d, word [rcx + r9*2 + 0xc]
xor eax, r9d
inc edx
cmp r8d, edx
jg 0x180110f10
ret

Function at 0x1801475d0
Capabilities:
Copy file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rsi, r8
mov rdi, r9
mov rbx, qword [rbp + 0x30]
test rcx, rcx
je 0x18014760d
add rcx, 0xc
jmp 0x18014760f
xor ecx, ecx
mov qword [rbp - 0x40], rcx
mov r14, rcx
test rdx, rdx
je 0x180147624
add rdx, 0xc
mov r15, rdx
jmp 0x180147627
xor r15d, r15d
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x50], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov qword [rsp + 0x20], rbx
mov ebx, dword [rbp + 0x38]
mov dword [rsp + 0x28], ebx
mov rcx, r14
mov qword [rbp - 0x58], rcx
mov rdx, r15
mov qword [rbp - 0x60], rdx
mov r8, rsi
mov qword [rbp - 0x68], r8
mov r9, rdi
mov qword [rbp - 0x70], r9
lea rcx, [rbp - 0x98]
call fcn.180004a70
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov r9, qword [rbp - 0x70]
call sub.KERNEL32.dll_CopyFileExW
mov esi, eax
lea rcx, [rbp - 0x98]
call fcn.180004ac0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
test esi, esi
setne sil
movzx esi, sil
call fcn.180002be1
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1801476d0
Capabilities:
Create directory

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rsi, rdx
test rcx, rcx
je 0x1801476ff
add rcx, 0xc
mov rdi, rcx
jmp 0x180147701
xor edi, edi
mov qword [rbp - 0x40], rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x48], rcx
mov rdx, rsi
mov qword [rbp - 0x50], rdx
lea rcx, [rbp - 0x78]
call fcn.180004a70
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x50]
call sub.KERNEL32.dll_CreateDirectoryW
mov esi, eax
lea rcx, [rbp - 0x78]
call fcn.180004ac0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
test esi, esi
setne sil
movzx esi, sil
call fcn.180002be1
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1801478e0
Capabilities:
Delete file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x90]
xor eax, eax
mov qword [rbp - 0x40], rax
test rcx, rcx
je 0x18014790c
add rcx, 0xc
mov rsi, rcx
jmp 0x18014790e
xor esi, esi
mov qword [rbp - 0x40], rsi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x70]
call fcn.180004a70
mov rcx, qword [rbp - 0x48]
call sub.KERNEL32.dll_DeleteFileW
mov esi, eax
lea rcx, [rbp - 0x70]
call fcn.180004ac0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
test esi, esi
setne sil
movzx esi, sil
call fcn.180002be1
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1801483a0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov esi, edx
mov qword [rbp - 0x40], rcx
mov rdi, rcx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x4c], rcx
mov edx, esi
mov dword [rbp - 0x44], edx
lea rcx, [rbp - 0x78]
call fcn.180004a70
mov rcx, qword [rbp - 0x4c]
mov edx, dword [rbp - 0x44]
call sub.KERNEL32.dll_GetSystemDirectoryW
mov esi, eax
lea rcx, [rbp - 0x78]
call fcn.180004ac0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.180002be1
mov dword [rax + 8], edi
mov eax, esi
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x180148530
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
mov qword [rbp + 0x10], rcx
mov rsi, rdx
mov edi, r8d
mov rbx, r9
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1801246f0
mov rcx, qword [rbp + 0x10]
mov r14, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x4c], rcx
mov rdx, rsi
mov qword [rbp - 0x54], rdx
mov r8d, edi
mov dword [rbp - 0x44], r8d
mov r9, rbx
mov qword [rbp - 0x5c], r9
lea rcx, [rbp - 0x88]
call fcn.180004a70
mov rcx, qword [rbp - 0x4c]
mov rdx, qword [rbp - 0x54]
mov r8d, dword [rbp - 0x44]
mov r9, qword [rbp - 0x5c]
call sub.KERNEL32.dll_ReadFile
mov esi, eax
lea rcx, [rbp - 0x88]
call fcn.180004ac0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
cmp byte [rbp - 0x40], 0
je 0x1801485e0
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.180124780
call fcn.180002be1
mov dword [rax + 8], edi
mov eax, esi
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x180148630
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp + 0x10], rcx
mov rdi, rdx
mov ebx, r8d
mov rsi, r9
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1801246f0
mov rcx, qword [rbp + 0x10]
mov r14, qword [rcx + 8]
mov qword [rbp - 0x48], rsi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x54], rcx
mov rdx, rdi
mov qword [rbp - 0x5c], rdx
mov r8d, ebx
mov dword [rbp - 0x4c], r8d
mov r9, rsi
mov qword [rbp - 0x64], r9
lea rcx, [rbp - 0x90]
call fcn.180004a70
mov rcx, qword [rbp - 0x54]
mov rdx, qword [rbp - 0x5c]
mov r8d, dword [rbp - 0x4c]
mov r9, qword [rbp - 0x64]
call sub.KERNEL32.dll_ReadFile
mov esi, eax
lea rcx, [rbp - 0x90]
call fcn.180004ac0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor ecx, ecx
mov qword [rbp - 0x48], rcx
cmp byte [rbp - 0x40], 0
je 0x1801486f3
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.180124780
call fcn.180002be1
mov dword [rax + 8], edi
mov eax, esi
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x180148cd0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rsi, rcx
mov rdi, rdx
mov ebx, r8d
mov qword [rbp - 0x40], r9
mov r14, r9
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov qword [rbp - 0x4c], rcx
mov rdx, rdi
mov qword [rbp - 0x54], rdx
mov r8d, ebx
mov dword [rbp - 0x44], r8d
mov r9, r14
mov qword [rbp - 0x5c], r9
lea rcx, [rbp - 0x88]
call fcn.180004a70
mov rcx, qword [rbp - 0x4c]
mov rdx, qword [rbp - 0x54]
mov r8d, dword [rbp - 0x44]
mov r9, qword [rbp - 0x5c]
call sub.KERNEL32.dll_WriteFile
mov esi, eax
lea rcx, [rbp - 0x88]
call fcn.180004ac0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.180002be1
mov dword [rax + 8], edi
mov eax, esi
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x180149060
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov esi, r8d
test rcx, rcx
je 0x180149093
add rcx, 0xc
mov rdi, rcx
jmp 0x180149095
xor edi, edi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x48], rdx
mov rbx, rdx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x54], rcx
mov rdx, rbx
mov qword [rbp - 0x5c], rdx
mov r8d, esi
mov dword [rbp - 0x4c], r8d
lea rcx, [rbp - 0x88]
call fcn.180004a70
mov rcx, qword [rbp - 0x54]
mov rdx, qword [rbp - 0x5c]
mov r8d, dword [rbp - 0x4c]
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov esi, eax
lea rcx, [rbp - 0x88]
call fcn.180004ac0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
call fcn.180002be1
mov dword [rax + 8], edi
mov eax, esi
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x180149e40
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x100]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x70], xmm4
movaps xmmword [rbp - 0x60], xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp + 0x10], rcx
mov ebx, edx
mov rdi, r8
mov rsi, r9
mov r14, qword [rbp + 0x30]
mov r15, qword [rbp + 0x38]
mov r12, qword [rbp + 0x40]
mov r13, qword [rbp + 0x48]
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1801246f0
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rcx + 8]
test rdi, rdi
jne 0x180149ea8
xor r8d, r8d
jmp 0x180149eac
lea r8, [rdi + 0x10]
mov qword [rbp - 0x48], r8
mov qword [rbp - 0x50], rsi
mov r9, rsi
test r14, r14
jne 0x180149ec0
xor eax, eax
jmp 0x180149ec4
lea rax, [r14 + 0x10]
mov qword [rbp - 0x58], rax
test r15, r15
jne 0x180149ed2
xor r10d, r10d
jmp 0x180149ed6
lea r10, [r15 + 0x10]
mov qword [rbp - 0x60], r10
test r12, r12
jne 0x180149ee4
xor r11d, r11d
jmp 0x180149ee9
lea r11, [r12 + 0x10]
mov qword [rbp - 0x68], r11
test r13, r13
jne 0x180149ef6
xor esi, esi
jmp 0x180149efa
lea rsi, [r13 + 0x10]
mov qword [rbp - 0x70], rsi
mov rcx, rdx
mov qword [rbp - 0x7c], rcx
mov edx, ebx
mov dword [rbp - 0x74], edx
mov qword [rbp - 0x84], r8
mov qword [rbp - 0x8c], r9
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x38], rsi
lea rcx, [rbp - 0xb8]
call fcn.180004a70
mov rcx, qword [rbp - 0x7c]
mov edx, dword [rbp - 0x74]
mov r8, qword [rbp - 0x84]
mov r9, qword [rbp - 0x8c]
call sub.ADVAPI32.dll_RegEnumKeyExW
mov esi, eax
lea rcx, [rbp - 0xb8]
call fcn.180004ac0
nop
xor ecx, ecx
mov qword [rbp - 0x70], rcx
xor ecx, ecx
mov qword [rbp - 0x68], rcx
xor ecx, ecx
mov qword [rbp - 0x60], rcx
xor ecx, ecx
mov qword [rbp - 0x58], rcx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
xor ecx, ecx
mov qword [rbp - 0x48], rcx
cmp byte [rbp - 0x40], 0
je 0x180149f96
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.180124780
mov eax, esi
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x18014a0d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0xf0]
xor eax, eax
mov qword [rbp - 0x68], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x60], xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp + 0x10], rcx
mov ebx, edx
mov rdi, r8
mov rsi, r9
mov r14, qword [rbp + 0x38]
mov r15, qword [rbp + 0x40]
mov r12, qword [rbp + 0x48]
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1801246f0
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rcx + 8]
test rdi, rdi
jne 0x18014a136
xor r8d, r8d
jmp 0x18014a13a
lea r8, [rdi + 0x10]
mov qword [rbp - 0x48], r8
mov qword [rbp - 0x50], rsi
mov r9, rsi
test r14, r14
jne 0x18014a14e
xor eax, eax
jmp 0x18014a152
lea rax, [r14 + 0x10]
mov qword [rbp - 0x58], rax
test r15, r15
jne 0x18014a160
xor r10d, r10d
jmp 0x18014a164
lea r10, [r15 + 0x10]
mov qword [rbp - 0x60], r10
test r12, r12
jne 0x18014a172
xor r11d, r11d
jmp 0x18014a177
lea r11, [r12 + 0x10]
mov qword [rbp - 0x68], r11
mov rsi, qword [rbp + 0x30]
mov rcx, rdx
mov qword [rbp - 0x74], rcx
mov edx, ebx
mov dword [rbp - 0x6c], edx
mov qword [rbp - 0x7c], r8
mov qword [rbp - 0x84], r9
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x38], r11
lea rcx, [rbp - 0xb0]
call fcn.180004a70
mov rcx, qword [rbp - 0x74]
mov edx, dword [rbp - 0x6c]
mov r8, qword [rbp - 0x7c]
mov r9, qword [rbp - 0x84]
call sub.ADVAPI32.dll_RegEnumValueW
mov esi, eax
lea rcx, [rbp - 0xb0]
call fcn.180004ac0
nop
xor ecx, ecx
mov qword [rbp - 0x68], rcx
xor ecx, ecx
mov qword [rbp - 0x60], rcx
xor ecx, ecx
mov qword [rbp - 0x58], rcx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
xor ecx, ecx
mov qword [rbp - 0x48], rcx
cmp byte [rbp - 0x40], 0
je 0x18014a20b
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.180124780
mov eax, esi
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x18014a4d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp + 0x10], rcx
mov rsi, rdx
mov rdi, r8
mov rbx, r9
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1801246f0
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rcx + 8]
test rsi, rsi
je 0x18014a521
add rsi, 0xc
jmp 0x18014a523
xor esi, esi
mov qword [rbp - 0x48], rsi
mov r14, qword [rbp + 0x30]
mov qword [rsp + 0x20], r14
mov r14, qword [rbp + 0x38]
mov qword [rsp + 0x28], r14
mov rcx, rdx
mov qword [rbp - 0x50], rcx
mov rdx, rsi
mov qword [rbp - 0x58], rdx
mov r8, rdi
mov qword [rbp - 0x60], r8
mov r9, rbx
mov qword [rbp - 0x68], r9
lea rcx, [rbp - 0x90]
call fcn.180004a70
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x60]
mov r9, qword [rbp - 0x68]
call sub.ADVAPI32.dll_RegQueryValueExW
mov esi, eax
lea rcx, [rbp - 0x90]
call fcn.180004ac0
nop
xor ecx, ecx
mov qword [rbp - 0x48], rcx
cmp byte [rbp - 0x40], 0
je 0x18014a59c
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.180124780
mov eax, esi
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x18014d260
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov r9, qword [rcx + 0x20]
lea r10, [rdx + rdx*4]
rol r10, 7
lea r10, [r10 + r10*8]
mov r11, rdx
shl r11, 0x11
xor r8, rax
xor r9, rdx
xor rdx, r8
xor rax, r9
xor r8, r11
rol r9, 0x2d
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r8
mov qword [rcx + 0x20], r9
mov rax, r10
shr rax, 0x21
cmp rax, 0x7fffffff
je fcn.18014d260
ret

Function at 0x180189720
Capabilities:
Hash data using murmur3

Disassembly:
xor eax, eax
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x18018975e
mov r9d, eax
lea r9, [rdx + r9*8 + 0x10]
mov r9, qword [r9]
mov r10, r9
test r10, r10
jne 0x180189743
xor r10d, r10d
jmp 0x180189747
mov r10d, dword [r9 + 0x14]
mov r9d, ecx
rol r9d, 0xd
add r9d, ecx
mov ecx, r9d
xor ecx, r10d
inc eax
cmp r8d, eax
jg 0x18018972b
mov eax, ecx
rol eax, 0xf
add eax, ecx
ret

Function at 0x18018c030
Capabilities:
Hash data using murmur3

Disassembly:
push rdi
push rsi
sub rsp, 0x28
mov esi, ecx
mov edi, edx
call fcn.1800011c9
mov eax, dword [rax]
add eax, 0x165667b1
add eax, 8
imul edx, esi, 0xc2b2ae3d
add edx, eax
rol edx, 0x11
imul eax, edx, 0x27d4eb2f
imul edx, edi, 0xc2b2ae3d
add edx, eax
rol edx, 0x11
imul eax, edx, 0x27d4eb2f
mov edx, eax
shr edx, 0xf
xor eax, edx
imul eax, eax, 0x85ebca77
mov edx, eax
shr edx, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae3d
mov edx, eax
shr edx, 0x10
xor eax, edx
add rsp, 0x28
pop rsi
pop rdi
ret
Function at 0x18018c0a0
Capabilities:
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
mov edi, edx
mov ebx, r8d
call fcn.1800011c9
mov eax, dword [rax]
add eax, 0x165667b1
add eax, 0xc
imul edx, esi, 0xc2b2ae3d
add edx, eax
rol edx, 0x11
imul eax, edx, 0x27d4eb2f
imul edx, edi, 0xc2b2ae3d
add edx, eax
rol edx, 0x11
imul eax, edx, 0x27d4eb2f
imul edx, ebx, 0xc2b2ae3d
add edx, eax
rol edx, 0x11
imul eax, edx, 0x27d4eb2f
mov edx, eax
shr edx, 0xf
xor eax, edx
imul eax, eax, 0x85ebca77
mov edx, eax
shr edx, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae3d
mov edx, eax
shr edx, 0x10
xor eax, edx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x18018d990
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov edi, edx
xor ebx, ebx
mov ebp, dword [rsi + 8]
test ebp, ebp
jle 0x18018d9c4
mov ecx, ebx
mov rcx, qword [rsi + rcx*8 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov edx, edi
rol edx, 0xd
add edx, edi
mov edi, eax
xor edi, edx
inc ebx
cmp ebp, ebx
jg 0x18018d9a6
mov eax, edi
rol eax, 0xf
add eax, edi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret

Function at 0x18018d9e0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov edi, edx
xor ebx, ebx
mov ebp, dword [rsi + 8]
test ebp, ebp
jle 0x18018da14
mov ecx, ebx
mov rcx, qword [rsi + rcx*8 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov edx, edi
rol edx, 0xd
add edx, edi
mov edi, eax
xor edi, edx
inc ebx
cmp ebp, ebx
jg 0x18018d9f6
mov eax, edi
rol eax, 0xf
add eax, edi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
Function at 0x140001140
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x40
cmp qword [rcx + 0x38], 0xffffffffffffffff
mov rbx, rcx
je 0x140001158
mov al, 1
add rsp, 0x40
pop rbx
ret
mov rcx, qword [rcx + 0x30]
test rcx, rcx
jne 0x140001169
xor al, al
add rsp, 0x40
pop rbx
ret
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 0x38], rax
cmp rax, 0xffffffffffffffff
jne 0x1400011dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400011dc
mov rcx, qword [rbx + 0x30]
lea r8d, [rax + 1]
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 0x38], rax
mov rax, qword [rbx + 0x38]
cmp rax, 0xffffffffffffffff
je 0x140001202
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rax, qword [rbx + 0x38]
cmp rax, 0xffffffffffffffff
setne al
add rsp, 0x40
pop rbx
ret

Function at 0x140001210
Capabilities:
Print debug messages
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004a020]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rcx
mov rbx, rdx
mov rcx, qword [rcx + 0x38]
cmp rcx, 0xffffffffffffffff
je 0x140001260
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400109f0
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140001700
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r12
push r13
push r15
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x14004a020]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x1c0]
xor edx, edx
mov r8d, 0x208
call fcn.140013690
mov r8, qword [rbx + 0x40]
lea rcx, [rbp + 0x1c0]
mov edx, 0x104
call fcn.1400172fc
lea r8, str.spt_
mov edx, 0x104
lea rcx, [rbp + 0x1c0]
call fcn.140017364
lea r8, str..log
mov edx, 0x104
lea rcx, [rbp + 0x1c0]
call fcn.140017364
xor ebx, ebx
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x1c0]
mov qword [rsp + 0x60], rbx
mov r12d, ebx
mov qword [rsp + 0x48], rbx
mov r15d, ebx
mov qword [rsp + 0x50], rbx
mov esi, ebx
mov qword [rsp + 0x58], rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x140001961
mov qword [rsp + 0x520], r14
lea r14, [rbx - 1]
mov qword [rsp + 0x518], rdi
nop
test byte [rsp + 0x70], 0x10
jne 0x14000185f
mov ecx, dword [rsp + 0x78]
inc r12d
cmp ecx, r15d
jb 0x1400017f8
test r15d, r15d
jne 0x14000185f
cmp word [rbp - 0x64], 0
mov r15d, ecx
je 0x14000184e
lea rax, [rbp - 0x64]
mov rbx, r14
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140001810
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.140003510
mov rsi, qword [rsp + 0x48]
lea r8, [rbp - 0x64]
movsxd rdi, ebx
mov rcx, rsi
mov r9, rdi
movsxd rdx, eax
call fcn.14001e498
xor eax, eax
mov dword [rsp + 0x50], ebx
mov word [rsi + rdi*2], ax
xor ebx, ebx
jmp 0x14000185f
test rsi, rsi
je 0x14000185f
mov word [rsi], bx
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x70]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400017e0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdi, qword [rsp + 0x518]
cmp r12d, 9
jle 0x14000193d
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
mov r8d, r14d
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 0
mov rdx, qword [rdx + 0x40]
mov qword [rsp + 0x38], rbx
call fcn.140003330
test rsi, rsi
je 0x140001901
cmp word [rsi], 0
je 0x140001901
nop dword [rax]
inc r14
cmp word [rsi + r14*2], 0
jne 0x1400018d0
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x28]
add edx, r14d
call fcn.140003510
mov rbx, qword [rsp + 0x28]
mov r8, rsi
mov rcx, rbx
movsxd rdx, eax
call fcn.140017364
jmp 0x140001906
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x140001914
cmp word [rbx], 0
mov rcx, rbx
jne 0x14000191b
lea rcx, [0x140044cf4]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test rbx, rbx
je 0x14000192e
mov rcx, rbx
call fcn.14001dd40
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000193d
call fcn.14001dd40
mov r14, qword [rsp + 0x520]
test rsi, rsi
je 0x140001952
mov rcx, rsi
call fcn.14001dd40
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140001961
call fcn.14001dd40
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.1400109f0
mov rbx, qword [rsp + 0x528]
add rsp, 0x4e0
pop r15
pop r13
pop r12
pop rsi
pop rbp
ret