joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000fa04
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x2f60]
mov eax, 0x3060
call fcn.1400f1270
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0x2f50], rax
mov sil, dl
mov rdi, rcx
call fcn.14006c514
cmp eax, 0x600
jb 0x14000fbb7
mov rcx, rdi
call fcn.1400c55dc
xor ebx, ebx
test al, al
jne 0x14000fbb7
mov r14d, 0x800
lea r8, [rsp + 0x50]
mov r9d, r14d
lea rcx, [0x14016e120]
mov rdx, rdi
call fcn.14004091c
mov r8d, r14d
lea rdx, [rbp + 0xf50]
lea rcx, [rsp + 0x50]
call fcn.140078b44
lea rcx, [rbp + 0xf50]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x14000fbb7
mov dword [rsp + 0x38], ebx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rbx
lea rcx, [rbp + 0xf50]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x14000faea
mov eax, dword [rsp + 0x40]
and eax, 0x80008
cmp eax, 8
jne 0x14000fbb7
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000fb1d
test al, 0x10
jne 0x14000fb1d
lea rcx, [rsp + 0x50]
call fcn.14000f854
and eax, 6
cmp al, 6
jne 0x14000fbb3
lea rcx, [rsp + 0x50]
call fcn.140079738
lea rcx, [rsp + 0x50]
mov dil, bl
call fcn.140069390
test al, al
jne 0x14000fb84
mov dil, 1
mov r8, r14
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1f50]
call fcn.14008e2e4
lea rcx, [rsp + 0x50]
call fcn.140079738
lea rax, [rsp + 0x50]
lea r8, [rbp + 0x1f50]
sub r8, rax
movzx ecx, word [rax]
movzx edx, word [rax + r8]
sub ecx, edx
jne 0x14000fb72
add rax, 2
test edx, edx
jne 0x14000fb5e
test ecx, ecx
je 0x14000fb84
lea rcx, [rsp + 0x50]
call fcn.140069390
test al, al
je 0x14000fb31
lea rcx, [rsp + 0x50]
call fcn.14000f854
mov ecx, eax
shr eax, 2
shr ecx, 1
and cl, 1
test al, 1
je 0x14000fbaa
test dil, dil
je 0x14000fba6
test sil, sil
je 0x14000fbaf
test cl, cl
jne 0x14000fbaf
mov ebx, 1
mov al, bl
jmp 0x14000fbb9
mov al, 1
jmp 0x14000fbb9
xor al, al
mov rcx, qword [rbp + 0x2f50]
xor rcx, rsp
call fcn.1400f12e0
lea r11, [rsp + 0x3060]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140010e04
Capabilities:
Delete file
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x1fb8]
mov eax, 0x20b0
call fcn.1400f1270
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0x1fa0], rax
xor r9d, r9d
mov rdi, rcx
mov rcx, qword [rcx]
mov edx, 0x110a
lea r8d, [r9 + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
test rax, rax
je 0x140010f49
mov rcx, qword [rdi]
lea r9, [rsp + 0x58]
xor r8d, r8d
mov dword [rsp + 0x58], 4
mov edx, 0x113e
mov qword [rsp + 0x60], rax
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140010f49
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140010f49
mov rcx, qword [rcx + 0x10]
lea rdx, [rbp - 0x70]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x140010f49
lea ecx, [rsi + 0x10]
call qword [sym.imp.USER32.dll_GetKeyState]
mov r8d, 0x800
lea rdx, [rbp - 0x70]
movzx ebx, ax
lea rcx, [rbp + 0xf90]
shr ebx, 0xf
not bl
and bl, 1
call fcn.14008e2e4
lea rax, [rbp + 0xf90]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], si
jne 0x140010edf
lea rcx, [rcx*2 + 2]
cmp rcx, 0x1002
jae 0x140010f71
xor edx, edx
mov word [rbp + rcx + 0xf90], si
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x38]
call fcn.1400f24e0
neg bl
mov dword [rsp + 0x28], 3
lea rcx, [rsp + 0x20]
sbb ax, ax
and ax, 0x40
mov word [rsp + 0x40], ax
lea rax, [rbp + 0xf90]
mov qword [rsp + 0x30], rax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dl, byte [rdi + 0x10]
mov rcx, rdi
call fcn.140012af4
mov rcx, qword [rbp + 0x1fa0]
xor rcx, rsp
call fcn.1400f12e0
lea r11, [rsp + 0x20b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400f104c
int3
Function at 0x1400117b0
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x300
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rbx, rdx
mov dword [rsp + 0x20], 0x4009
mov rdi, r8
mov rcx, rbx
mov r9d, 0x2b8
lea r8, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rsp + 0x38]
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
mov dword [rdi + 0x24], eax
xor edx, edx
mov dword [rsp + 0x20], 0x400b
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rsp + 0x38]
mov dword [rdi + 0x28], eax
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400f12e0
mov rbx, qword [rsp + 0x310]
add rsp, 0x300
pop rdi
ret
Function at 0x14001289c
Capabilities:
Get file system object information

Disassembly:
push rbx
mov eax, 0x1300
call fcn.1400f1270
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x12f0], rax
mov qword [rcx], rdx
lea r8, [rsp + 0x30]
mov rbx, rcx
mov dword [rsp + 0x20], 0x4001
xor edx, edx
lea rcx, [0x14010f95c]
mov r9d, 0x2b8
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x140012922
xor r8d, r8d
lea rcx, [rsp + 0x2f0]
mov edx, 0x800
call fcn.1400c53e0
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x4001
lea r8, [rsp + 0x30]
xor edx, edx
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, qword [rbx]
mov r9, rax
xor r8d, r8d
mov edx, 0x1109
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x12f0]
xor rcx, rsp
call fcn.1400f12e0
add rsp, 0x1300
pop rbx
ret

Function at 0x1400139a4
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
lea rdi, [rcx + 0x1042]
mov byte [rcx + 0x40], sil
lea r9, [rsp + 0x30]
mov word [rdi], si
mov rbx, rcx
mov rdx, qword [rcx + 8]
lea r8, [rdx + 0x5030]
add rdx, 0xb442
call fcn.140013a44
test al, al
jne 0x140013a06
cmp byte [rsp + 0x30], sil
jne 0x140013a32
mov rdx, qword [rbx + 8]
lea rcx, [0x14017f200]
add rdx, 0xb442
call fcn.14006344c
jmp 0x140013a32
mov rdx, qword [rbx + 0x10]
mov rcx, rbx
mov rdx, qword [rdx + 8]
call fcn.1400136e8
mov rcx, rbx
call fcn.140013284
cmp byte [rbx + 0x40], sil
je 0x140013a32
cmp word [rdi], si
je 0x140013a32
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140013bf4
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rdx
mov r8, rcx
cmp byte [rcx + 0x20], bl
je 0x140013c33
mov qword [rdx], rbx
cmp dword [rcx + 0x30], ebx
jbe 0x140013c68
mov rcx, qword [r8 + 0x28]
mov edx, ebx
inc ebx
add rdx, rdx
mov rdx, qword [rcx + rdx*8 + 8]
add qword [rdi], rdx
cmp ebx, dword [r8 + 0x30]
jb 0x140013c18
jmp 0x140013c68
mov rcx, qword [rcx + 0x10]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0xffffffff
jne 0x140013c57
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140013c57
xor al, al
jmp 0x140013c6a
mov ecx, dword [rsp + 0x30]
mov rax, rsi
shl rcx, 0x20
add rcx, rsi
mov qword [rdi], rcx
mov al, 1
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400149a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1058
call fcn.1400f1270
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
or r12, 0xffffffffffffffff
mov dword [rsp + 0x30], r9d
mov rdi, r12
xor r15d, r15d
mov r14d, r9d
mov r13d, r8d
mov rbp, rdx
mov rbx, rcx
inc rdi
cmp word [rdx + rdi*2], r15w
jne 0x1400149e7
cmp rdi, 7
jbe 0x140014bd0
lea rcx, [rdx - 0xe]
lea rcx, [rcx + rdi*2]
lea rdx, str..7z.001
call fcn.1400f8abc
test eax, eax
jne 0x140014bd0
mov dword [rbx + 0x30], r15d
lea esi, [rax + 1]
lea rdi, [rdi*2 - 6]
mov r8d, 0x800
lea rcx, [rsp + 0x40]
mov rdx, rbp
call fcn.14008e2e4
cmp rdi, 0x1000
jae 0x140014c1e
mov word [rsp + rdi + 0x40], r15w
lea rcx, [rsp + 0x40]
mov rax, r12
inc rax
cmp word [rcx + rax*2], r15w
jne 0x140014a54
lea rcx, [rsp + 0x40]
mov r8d, esi
lea rcx, [rcx + rax*2]
lea rdx, str._03d
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140014a8a
inc dword [rbx + 0x30]
inc esi
cmp esi, 0x3e8
jb 0x140014a26
cmp dword [rbx + 0x30], 1
jbe 0x140014bd0
mov rcx, qword [rbx + 0x28]
call fcn.1400f0f3c
mov ecx, dword [rbx + 0x30]
mov eax, 0x10
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.1400f1384
mov qword [rbx + 0x28], rax
mov esi, r15d
cmp dword [rbx + 0x30], r15d
jbe 0x140014b8d
mov r12d, dword [rsp + 0x10c0]
mov r8d, 0x800
lea rcx, [rsp + 0x40]
mov rdx, rbp
call fcn.14008e2e4
cmp rdi, 0x1000
jae 0x140014c18
or rax, 0xffffffffffffffff
mov word [rsp + rdi + 0x40], r15w
xor ecx, ecx
lea r15d, [rsi + 1]
lea rdx, [rsp + 0x40]
inc rax
cmp word [rdx + rax*2], cx
jne 0x140014b0c
lea rcx, [rsp + 0x40]
mov r8d, r15d
lea rcx, [rcx + rax*2]
lea rdx, str._03d
call qword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
mov r14d, esi
mov byte [rbx + 8], al
lea rdx, [rsp + 0x40]
mov eax, dword [rsp + 0x30]
mov r9d, r13d
shl r14, 4
mov r8d, 0x80000000
add r14, qword [rbx + 0x28]
mov rcx, rbx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], eax
call fcn.140013310
xor ecx, ecx
test al, al
je 0x140014ba0
mov rax, qword [rbx + 0x10]
lea rdx, [r14 + 8]
mov rcx, rbx
mov qword [r14], rax
call fcn.140013bf4
cmp r15d, dword [rbx + 0x30]
mov esi, r15d
mov r15d, 0
jb 0x140014ad7
mov rcx, qword [rbx + 0x28]
mov al, 1
mov rdx, qword [rcx]
mov qword [rbx + 0x10], rdx
mov byte [rbx + 0x20], 1
jmp 0x140014bf4
test esi, esi
je 0x140014bbf
mov rdi, rcx
mov rcx, qword [rbx + 0x28]
mov rcx, qword [rcx + rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdi, [rdi + 0x10]
sub rsi, 1
jne 0x140014ba7
mov rcx, qword [rbx + 0x28]
call fcn.1400f0f3c
xor eax, eax
mov qword [rbx + 0x28], rax
jmp 0x140014bf4
mov eax, dword [rsp + 0x10c0]
mov r9d, r13d
mov dword [rsp + 0x28], eax
mov r8d, 0x80000000
mov rdx, rbp
mov dword [rsp + 0x20], r14d
mov rcx, rbx
call fcn.140013310
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400f12e0
add rsp, 0x1058
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1400f104c
int3
call fcn.1400f104c
int3
Function at 0x1400151d4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x48
xor ebp, ebp
mov rsi, r9
mov eax, r8d
mov rbx, rcx
cmp byte [rcx + 0x20], bpl
je 0x1400152c4
mov ecx, dword [rcx + 0x30]
mov edi, ebp
test ecx, ecx
je 0x140015229
mov r8, qword [rbx + 0x28]
mov r9, qword [rbx + 0x10]
mov eax, edi
add rax, rax
cmp r9, qword [r8 + rax*8]
je 0x140015222
inc edi
cmp edi, ecx
jb 0x140015211
mov eax, dword [rsp + 0x80]
cmp edi, ecx
jb 0x140015234
xor al, al
jmp 0x140015329
mov esi, edi
test eax, eax
je 0x1400152b6
mov rax, qword [rbx + 0x28]
mov ecx, esi
add rcx, rcx
mov rcx, qword [rax + rcx*8]
mov qword [rbx + 0x10], rcx
mov byte [rbx + 0x20], 0
cmp esi, edi
jbe 0x14001526a
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400154a0
mov rdx, qword [rsp + 0x78]
mov r8d, dword [rsp + 0x80]
lea r9, [rsp + 0x70]
and dword [rsp + 0x70], 0
mov rcx, rbx
call fcn.1400151d4
mov byte [rbx + 0x20], 1
test al, al
je 0x14001522d
mov ecx, dword [rsp + 0x70]
inc esi
mov rdx, qword [rsp + 0x78]
add ebp, ecx
mov eax, dword [rsp + 0x80]
add rdx, rcx
sub eax, ecx
mov qword [rsp + 0x78], rdx
mov dword [rsp + 0x80], eax
cmp esi, dword [rbx + 0x30]
jb 0x140015236
mov rax, qword [rsp + 0x88]
mov dword [rax], ebp
mov al, 1
jmp 0x140015329
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov eax, dword [0x140142f20]
setne dil
add eax, dword [rsi]
mov dword [0x140142f20], eax
cmp eax, 0x186a0
jbe 0x140015326
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400140ac
mov r8, qword [rbx + 0x18]
mov rcx, qword [rsp + 0x70]
mov dword [0x140142f20], ebp
mov rdx, qword [r8 + 0x2048]
mov qword [r8 + 0x30], rdx
mov qword [r8 + 0x18], rbp
mov qword [r8 + 0x20], rbp
mov qword [r8 + 0x28], rcx
mov byte [r8 + 0x38], 1
mov al, dil
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140015748
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdi, rdx
mov rsi, rcx
call fcn.1400154a0
test al, al
jne 0x140015772
xor al, al
jmp 0x140015788
cmp qword [rsp + 0x40], rdi
jne 0x14001576e
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400159d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebp, r8d
mov rsi, rdx
add qword [rcx + 0x40], rbp
mov rbx, rcx
mov r10, qword [rcx + 0x40]
mov dil, 1
je 0x140015a1d
mov rcx, qword [rcx + 0x48]
cmp r10, rcx
jae 0x140015a1d
mov rax, qword [rbx + 0x18]
and qword [rax + 0x28], 0
and qword [rax + 0x30], 0
mov qword [rax + 0x18], r10
mov qword [rax + 0x20], rcx
mov byte [rax + 0x38], dil
cmp byte [rbx + 9], 0
je 0x140015a28
mov dword [r9], r8d
jmp 0x140015a3e
mov rcx, qword [rbx + 0x10]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne dil
mov rcx, qword [rbx + 0x18]
mov r8, rbp
mov rdx, rsi
mov rcx, qword [rcx + 8]
call fcn.14001c7e4
mov rbx, qword [rsp + 0x40]
mov al, dil
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14001650c
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xe0
mov rbx, rdx
lea rcx, [rsp + 0x70]
xor edx, edx
lea r8d, [rdx + 0x68]
call fcn.1400f24e0
lea rax, [rsp + 0x50]
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rdx, rbx
lea rax, [0x14010f95c]
xor ecx, ecx
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14001658d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0xe0
pop rbx
ret
Function at 0x140017100
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
mov eax, 0x1030
call fcn.1400f1270
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rcx
lea rdx, [rsp + 0x20]
lea rcx, str.UnAceV2.Dll
mov r8d, 0x800
call fcn.14001c5d4
test al, al
jne 0x140017159
lea rdx, str.UnAceV2.Dll
lea rcx, [0x14017f200]
call fcn.14006344c
xor al, al
jmp 0x140017231
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 0x3070], rax
test rax, rax
je 0x140017226
lea rdx, str.ACEInitDll
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140142f28], rax
test rax, rax
je 0x140017214
mov rcx, qword [rbx + 0x3070]
lea rdx, str.ACEReadArchiveData
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140142f30], rax
test rax, rax
je 0x140017214
mov rcx, qword [rbx + 0x3070]
lea rdx, str.ACEList
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140142f38], rax
test rax, rax
je 0x140017214
mov rcx, qword [rbx + 0x3070]
lea rdx, str.ACETest
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140142f40], rax
test rax, rax
je 0x140017214
mov rcx, qword [rbx + 0x3070]
lea rdx, str.ACEExtract
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140142f48], rax
test rax, rax
jne 0x140017226
mov rcx, qword [rbx + 0x3070]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140017152
cmp qword [rbx + 0x3070], 0
setne al
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400f12e0
add rsp, 0x1030
pop rbx
ret

Function at 0x1400173d8
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, r9d
mov ebx, r8d
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, eax
test esi, esi
je 0x14001740d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebp
cmp eax, esi
jae 0x14001743d
cmp byte [rsp + 0x50], 0
je 0x14001742f
cmp dword [rdi], ebx
jne 0x140017433
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
cmp dword [rdi], ebx
jne 0x140017418
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400173fd
xor al, al
jmp 0x14001741a

Function at 0x14001a3f0
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
xor r9d, r9d
lea r10, [0x140143000]
mov r8d, r9d
mov r11d, 8
shl r8d, 0x18
lea eax, [r8 + r8]
mov ecx, r8d
mov edx, eax
mov r8d, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovs r8d, edx
dec r11d
test r11d, r11d
jg 0x14001a407
mov dword [r10], r8d
inc r9d
add r10, 4
cmp r9d, 0x100
jl 0x14001a3fa
ret
Function at 0x14001b78c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov edi, r9d
mov rbx, r8
mov rsi, rdx
jmp 0x14001b7c0
cmp dword [rsp + 0x30], 1
jne 0x14001b7e3
mov al, byte [rsp + 0x60]
mov byte [rbx], al
test al, al
je 0x14001b7e3
dec edi
test edi, edi
jle 0x14001b7e3
inc rbx
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, 1
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14001b7a6
mov rsi, qword [rsp + 0x58]
mov byte [rbx], 0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14001b7f8
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx ecx, cx
call fcn.1400ff240
xor edi, edi
mov ebx, eax
cmp word [0x140144440], di
je 0x14001b82b
lea rcx, [0x140144440]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov word [0x140144440], di
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14001c5d4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
mov rdi, r8
xor ecx, ecx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rbx
call fcn.1400796e4
xor ebp, ebp
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov word [rax], bp
call fcn.14008e2ac
mov rcx, rbx
call fcn.140069390
test al, al
je 0x14001c627
mov al, 1
jmp 0x14001c6ac
lea rax, [rsp + 0x38]
mov word [rbx], bp
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Pathswinrar.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001c68b
mov rcx, qword [rsp + 0x38]
lea eax, [rdi + rdi]
mov dword [rsp + 0x68], eax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call fcn.1400796e4
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov word [rax], bp
call fcn.14008e2ac
mov rcx, rbx
call fcn.140069390
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140023714
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
lea rdx, [0x140147460]
mov r10d, 0x100
mov r9, r8
mov r11d, 8
mov rcx, r9
movabs rax, 0xc96c5795d7870f42
and ecx, 1
dec rcx
not rcx
and rcx, rax
mov rax, r9
shr rax, 1
mov r9, rcx
xor r9, rax
sub r11, 1
jne 0x14002372d
mov qword [rdx], r9
inc r8
add rdx, 8
sub r10, 1
jne 0x140023724
ret

Function at 0x14002376c
Capabilities:
Encode data using xor

Disassembly:
mov r9, r8
test r8, r8
je 0x14002379c
movzx eax, byte [rdx]
lea r10, [0x140147460]
xor rax, rcx
inc rdx
movzx r8d, al
mov rax, rcx
shr rax, 8
mov rcx, qword [r10 + r8*8]
xor rcx, rax
sub r9, 1
jne 0x140023774
mov rax, rcx
ret

Function at 0x140027638
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r9
push rdi
push r13
push r14
push r15
mov r10d, dword [r9]
xor r13d, r13d
and r10d, 7
mov edi, r8d
mov rbp, rcx
mov r11d, r13d
cmp rdx, 5
jae 0x140027672
xor eax, eax
jmp 0x1400277df
add edi, 5
lea rsi, [rdx - 4]
or rbx, 0xffffffffffffffff
lea r14, [0x140000000]
add rsi, rbp
lea r8, [r11 + rbp]
jmp 0x140027699
mov al, byte [r8]
and al, 0xfe
cmp al, 0xe8
je 0x14002769e
inc r8
cmp r8, rsi
jb 0x14002768d
mov r11, r8
sub r11, rbp
mov rax, r11
cmp r8, rsi
jae 0x1400277bf
sub rax, rbx
cmp rax, 3
jbe 0x140027704
mov r10d, r13d
mov al, byte [r8 + 4]
mov rbx, r11
dec al
cmp al, 0xfd
jbe 0x14002773b
movzx eax, byte [r8 + 3]
movzx r9d, byte [r8 + 4]
shl r9d, 8
or r9d, eax
mov r15d, r10d
movzx eax, byte [r8 + 2]
shl r9d, 8
or r9d, eax
movzx eax, byte [r8 + 1]
shl r9d, 8
or r9d, eax
cmp dword [rsp + 0x48], r13d
je 0x14002774e
lea edx, [r11 + r9]
add edx, edi
jmp 0x140027756
lea ecx, [rax - 1]
shl r10d, cl
and r10d, 7
je 0x1400276bc
movzx eax, byte [r10 + r14 + 0x112240]
mov ecx, 4
sub ecx, eax
movsxd rax, ecx
mov cl, byte [rax + r8]
cmp byte [r10 + r14 + 0x112238], r13b
je 0x140027738
inc cl
test cl, 0xfe
jne 0x1400276bc
mov rbx, r11
and r10d, 3
add r10d, r10d
or r10d, 1
inc r11
jmp 0x140027687
mov edx, r9d
sub edx, r11d
sub edx, edi
test r10d, r10d
je 0x140027791
movzx r9d, byte [r15 + r14 + 0x112240]
mov eax, edx
shl r9d, 3
neg r9d
lea ecx, [r9 + 0x18]
shr eax, cl
inc al
test al, 0xfe
jne 0x140027791
lea ecx, [r9 + 0x20]
mov r9d, 1
shl r9d, cl
dec r9d
xor r9d, edx
jmp 0x1400276f5
mov eax, edx
mov byte [r8 + 1], dl
shr eax, 0x18
and al, 1
dec al
not al
mov byte [r8 + 4], al
mov eax, edx
shr eax, 0x10
mov byte [r8 + 3], al
mov eax, edx
shr eax, 8
mov byte [r8 + 2], al
add r11, 5
jmp 0x140027687
mov r14, qword [rsp + 0x40]
mov rdx, r11
sub rdx, rbx
lea ecx, [rdx - 1]
shl r10d, cl
and r10d, 7
cmp rdx, 3
cmova r10d, r13d
mov dword [r14], r10d
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
pop r15
pop r14
pop r13
pop rdi
ret

Function at 0x14002e54c
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r11, rcx
test r8, r8
je 0x14002e582
movzx eax, byte [rdx]
mov r9d, r10d
mov ecx, r10d
shr r9, 8
xor r9, rax
shl ecx, 8
movzx eax, r9b
inc rdx
mov r10d, dword [r11 + rax*4 + 0x1aa8]
xor r10d, ecx
sub r8, 1
jne 0x14002e557
movzx eax, r10w
ret