joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e710
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rsi, rdx
mov bpl, cl
cmp dword [0x140143d5c], 0
jne 0x14000e8af
lea r8, str.WinRAR_DragDrop
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rdi, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14000e77f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x5b9
call fcn.1400868b8
mov rcx, rax
call fcn.1400cf438
jmp 0x14000e8af
mov ebx, 0x10
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [0x14013be0a], al
mov ecx, ebx
call fcn.1400ebe4c
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14000e7be
lea rax, [0x14010b648]
mov qword [rbx], rax
mov dword [rbx + 8], 1
jmp 0x14000e7c0
xor ebx, ebx
mov ecx, 0xd828
call fcn.1400ebe4c
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14000e7ea
xor r9d, r9d
mov r8, rsi
mov dl, bpl
mov rcx, rax
call fcn.14000d9e8
mov rsi, rax
jmp 0x14000e7ec
xor esi, esi
mov byte [0x14013be09], 0
mov byte [0x14013be08], 1
mov byte [0x14013be0b], 0
lea r9, [rsp + 0x60]
mov r8d, 3
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ole32.dll_DoDragDrop]
mov ebp, eax
mov byte [0x14013be08], 0
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x10]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
cmp byte [0x14013be0a], 0
je 0x14000e85e
cmp byte [0x140142c44], 0
je 0x14000e85e
cmp ebp, 0x40100
jne 0x14000e85e
call fcn.1400ce328
lea rcx, [0x140168030]
call fcn.140043a04
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [rbp - 0x40100]
cmp eax, 1
jbe 0x14000e8af
cmp byte [0x14013be0b], 0
jne 0x14000e8af
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
je 0x14000e8af
mov ecx, 0x53c
call fcn.1400868b8
mov rcx, rax
call fcn.1400cf438
lea rcx, [0x140179130]
call fcn.140062d54
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000f6d0
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.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rbp + 0x2f50], rax
mov sil, dl
mov rdi, rcx
call fcn.14006bbc0
cmp eax, 0x600
jb 0x14000f883
mov rcx, rdi
call fcn.1400c2c30
xor ebx, ebx
test al, al
jne 0x14000f883
mov r14d, 0x800
lea r8, [rsp + 0x50]
mov r9d, r14d
lea rcx, [0x140168030]
mov rdx, rdi
call fcn.140040320
mov r8d, r14d
lea rdx, [rbp + 0xf50]
lea rcx, [rsp + 0x50]
call fcn.1400781ec
lea rcx, [rbp + 0xf50]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x14000f883
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 0x14000f7b6
mov eax, dword [rsp + 0x40]
and eax, 0x80008
cmp eax, 8
jne 0x14000f883
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000f7e9
test al, 0x10
jne 0x14000f7e9
lea rcx, [rsp + 0x50]
call fcn.14000f520
and eax, 6
cmp al, 6
jne 0x14000f87f
lea rcx, [rsp + 0x50]
call fcn.140078dd0
lea rcx, [rsp + 0x50]
mov dil, bl
call fcn.140068a84
test al, al
jne 0x14000f850
mov dil, 1
mov r8, r14
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1f50]
call fcn.14008c7ec
lea rcx, [rsp + 0x50]
call fcn.140078dd0
lea rax, [rsp + 0x50]
lea r8, [rbp + 0x1f50]
sub r8, rax
movzx ecx, word [rax]
movzx edx, word [rax + r8]
sub ecx, edx
jne 0x14000f83e
add rax, 2
test edx, edx
jne 0x14000f82a
test ecx, ecx
je 0x14000f850
lea rcx, [rsp + 0x50]
call fcn.140068a84
test al, al
je 0x14000f7fd
lea rcx, [rsp + 0x50]
call fcn.14000f520
mov ecx, eax
shr eax, 2
shr ecx, 1
and cl, 1
test al, 1
je 0x14000f876
test dil, dil
je 0x14000f872
test sil, sil
je 0x14000f87b
test cl, cl
jne 0x14000f87b
mov ebx, 1
mov al, bl
jmp 0x14000f885
mov al, 1
jmp 0x14000f885
xor al, al
mov rcx, qword [rbp + 0x2f50]
xor rcx, rsp
call fcn.1400ec220
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 0x140010a94
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.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
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 0x140010bd9
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 0x140010bd9
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140010bd9
mov rcx, qword [rcx + 0x10]
lea rdx, [rbp - 0x70]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x140010bd9
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.14008c7ec
lea rax, [rbp + 0xf90]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], si
jne 0x140010b6f
lea rcx, [rcx*2 + 2]
cmp rcx, 0x1002
jae 0x140010c01
xor edx, edx
mov word [rbp + rcx + 0xf90], si
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x38]
call fcn.1400ed430
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.14001277c
mov rcx, qword [rbp + 0x1fa0]
xor rcx, rsp
call fcn.1400ec220
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.1400ebf90
int3
Function at 0x140011440
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x300
mov rax, qword [0x14013b1d0]
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.1400ec220
mov rbx, qword [rsp + 0x310]
add rsp, 0x300
pop rdi
ret
Function at 0x140012524
Capabilities:
Get file system object information

Disassembly:
push rbx
mov eax, 0x1300
call fcn.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
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, [0x14010a890]
mov r9d, 0x2b8
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x1400125aa
xor r8d, r8d
lea rcx, [rsp + 0x2f0]
mov edx, 0x800
call fcn.1400c2a30
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.1400ec220
add rsp, 0x1300
pop rbx
ret

Function at 0x1400136e8
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.140013788
test al, al
jne 0x14001374a
cmp byte [rsp + 0x30], sil
jne 0x140013776
mov rdx, qword [rbx + 8]
lea rcx, [0x140179130]
add rdx, 0xb442
call fcn.140062c44
jmp 0x140013776
mov rdx, qword [rbx + 0x10]
mov rcx, rbx
mov rdx, qword [rdx + 8]
call fcn.14001342c
mov rcx, rbx
call fcn.140013058
cmp byte [rbx + 0x40], sil
je 0x140013776
cmp word [rdi], si
je 0x140013776
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 0x140013938
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 0x140013977
mov qword [rdx], rbx
cmp dword [rcx + 0x30], ebx
jbe 0x1400139ac
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 0x14001395c
jmp 0x1400139ac
mov rcx, qword [rcx + 0x10]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0xffffffff
jne 0x14001399b
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14001399b
xor al, al
jmp 0x1400139ae
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 0x1400146d8
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.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
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 0x14001471f
cmp rdi, 7
jbe 0x140014908
lea rcx, [rdx - 0xe]
lea rcx, [rcx + rdi*2]
lea rdx, str..7z.001
call fcn.1400f39bc
test eax, eax
jne 0x140014908
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.14008c7ec
cmp rdi, 0x1000
jae 0x140014956
mov word [rsp + rdi + 0x40], r15w
lea rcx, [rsp + 0x40]
mov rax, r12
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14001478c
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 0x1400147c2
inc dword [rbx + 0x30]
inc esi
cmp esi, 0x3e8
jb 0x14001475e
cmp dword [rbx + 0x30], 1
jbe 0x140014908
mov rcx, qword [rbx + 0x28]
call fcn.1400ec2cc
mov ecx, dword [rbx + 0x30]
mov eax, 0x10
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.1400ec2c4
mov qword [rbx + 0x28], rax
mov esi, r15d
cmp dword [rbx + 0x30], r15d
jbe 0x1400148c5
mov r12d, dword [rsp + 0x10c0]
mov r8d, 0x800
lea rcx, [rsp + 0x40]
mov rdx, rbp
call fcn.14008c7ec
cmp rdi, 0x1000
jae 0x140014950
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 0x140014844
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.1400130e4
xor ecx, ecx
test al, al
je 0x1400148d8
mov rax, qword [rbx + 0x10]
lea rdx, [r14 + 8]
mov rcx, rbx
mov qword [r14], rax
call fcn.140013938
cmp r15d, dword [rbx + 0x30]
mov esi, r15d
mov r15d, 0
jb 0x14001480f
mov rcx, qword [rbx + 0x28]
mov al, 1
mov rdx, qword [rcx]
mov qword [rbx + 0x10], rdx
mov byte [rbx + 0x20], 1
jmp 0x14001492c
test esi, esi
je 0x1400148f7
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 0x1400148df
mov rcx, qword [rbx + 0x28]
call fcn.1400ec2cc
xor eax, eax
mov qword [rbx + 0x28], rax
jmp 0x14001492c
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.1400130e4
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400ec220
add rsp, 0x1058
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1400ebf90
int3
call fcn.1400ebf90
int3
Function at 0x140014f3c
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 0x14001502c
mov ecx, dword [rcx + 0x30]
mov edi, ebp
test ecx, ecx
je 0x140014f91
mov r8, qword [rbx + 0x28]
mov r9, qword [rbx + 0x10]
mov eax, edi
add rax, rax
cmp r9, qword [r8 + rax*8]
je 0x140014f8a
inc edi
cmp edi, ecx
jb 0x140014f79
mov eax, dword [rsp + 0x80]
cmp edi, ecx
jb 0x140014f9c
xor al, al
jmp 0x140015091
mov esi, edi
test eax, eax
je 0x14001501e
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 0x140014fd2
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14001520c
mov rdx, qword [rsp + 0x78]
mov r8d, dword [rsp + 0x80]
lea r9, [rsp + 0x70]
and dword [rsp + 0x70], 0
mov rcx, rbx
call fcn.140014f3c
mov byte [rbx + 0x20], 1
test al, al
je 0x140014f95
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 0x140014f9e
mov rax, qword [rsp + 0x88]
mov dword [rax], ebp
mov al, 1
jmp 0x140015091
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov eax, dword [0x14013ce40]
setne dil
add eax, dword [rsi]
mov dword [0x14013ce40], eax
cmp eax, 0x186a0
jbe 0x14001508e
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140013df0
mov r8, qword [rbx + 0x18]
mov rcx, qword [rsp + 0x70]
mov dword [0x14013ce40], 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 0x1400154b4
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.14001520c
test al, al
jne 0x1400154de
xor al, al
jmp 0x1400154f4
cmp qword [rsp + 0x40], rdi
jne 0x1400154da
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 0x14001573c
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 0x140015789
mov rcx, qword [rcx + 0x48]
cmp r10, rcx
jae 0x140015789
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 0x140015794
mov dword [r9], r8d
jmp 0x1400157aa
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.14001c474
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 0x140016254
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.1400ed430
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, [0x14010a890]
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 0x1400162d5
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 0x140016e28
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
mov eax, 0x1030
call fcn.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
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.14001c264
test al, al
jne 0x140016e81
lea rdx, str.UnAceV2.Dll
lea rcx, [0x140179130]
call fcn.140062c44
xor al, al
jmp 0x140016f59
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 0x2848], rax
test rax, rax
je 0x140016f4e
lea rdx, str.ACEInitDll
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14013ce48], rax
test rax, rax
je 0x140016f3c
mov rcx, qword [rbx + 0x2848]
lea rdx, str.ACEReadArchiveData
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14013ce50], rax
test rax, rax
je 0x140016f3c
mov rcx, qword [rbx + 0x2848]
lea rdx, str.ACEList
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14013ce58], rax
test rax, rax
je 0x140016f3c
mov rcx, qword [rbx + 0x2848]
lea rdx, str.ACETest
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14013ce60], rax
test rax, rax
je 0x140016f3c
mov rcx, qword [rbx + 0x2848]
lea rdx, str.ACEExtract
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14013ce68], rax
test rax, rax
jne 0x140016f4e
mov rcx, qword [rbx + 0x2848]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140016e7a
cmp qword [rbx + 0x2848], 0
setne al
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400ec220
add rsp, 0x1030
pop rbx
ret

Function at 0x140017100
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 0x140017135
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebp
cmp eax, esi
jae 0x140017165
cmp byte [rsp + 0x50], 0
je 0x140017157
cmp dword [rdi], ebx
jne 0x14001715b
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 0x140017140
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140017125
xor al, al
jmp 0x140017142

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

Disassembly:
xor r9d, r9d
lea r10, [0x14013cf20]
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 0x14001a117
mov dword [r10], r8d
inc r9d
add r10, 4
cmp r9d, 0x100
jl 0x14001a10a
ret
Function at 0x14001b494
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 0x14001b4c8
cmp dword [rsp + 0x30], 1
jne 0x14001b4eb
mov al, byte [rsp + 0x60]
mov byte [rbx], al
test al, al
je 0x14001b4eb
dec edi
test edi, edi
jle 0x14001b4eb
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 0x14001b4ae
mov rsi, qword [rsp + 0x58]
mov byte [rbx], 0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14001b500
Capabilities:
Delete file

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

Function at 0x14001c264
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.140078d7c
xor ebp, ebp
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov word [rax], bp
call fcn.14008c7b4
mov rcx, rbx
call fcn.140068a84
test al, al
je 0x14001c2b7
mov al, 1
jmp 0x14001c33c
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 0x14001c31b
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.140078d7c
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov word [rax], bp
call fcn.14008c7b4
mov rcx, rbx
call fcn.140068a84
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret