joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012708
Capabilities:
Get file system object information

Disassembly:
push rbx
mov eax, 0x1300
call fcn.1400eeb60
sub rsp, rax
mov rax, qword [0x14013f2b0]
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, [0x14010d93c]
mov r9d, 0x2b8
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x14001278e
xor r8d, r8d
lea rcx, [rsp + 0x2f0]
mov edx, 0x800
call fcn.1400c5164
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.1400eebd0
add rsp, 0x1300
pop rbx
ret

Function at 0x14001381c
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.1400138bc
test al, al
jne 0x14001387e
cmp byte [rsp + 0x30], sil
jne 0x1400138aa
mov rdx, qword [rbx + 8]
lea rcx, [0x14017d200]
add rdx, 0xb442
call fcn.140063120
jmp 0x1400138aa
mov rdx, qword [rbx + 0x10]
mov rcx, rbx
mov rdx, qword [rdx + 8]
call fcn.140013560
mov rcx, rbx
call fcn.1400130fc
cmp byte [rbx + 0x40], sil
je 0x1400138aa
cmp word [rdi], si
je 0x1400138aa
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 0x140013a6c
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 0x140013aab
mov qword [rdx], rbx
cmp dword [rcx + 0x30], ebx
jbe 0x140013ae0
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 0x140013a90
jmp 0x140013ae0
mov rcx, qword [rcx + 0x10]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0xffffffff
jne 0x140013acf
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140013acf
xor al, al
jmp 0x140013ae2
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 0x14001481c
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.1400eeb60
sub rsp, rax
mov rax, qword [0x14013f2b0]
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 0x140014863
cmp rdi, 7
jbe 0x140014a4c
lea rcx, [rdx - 0xe]
lea rcx, [rcx + rdi*2]
lea rdx, str..7z.001
call fcn.1400f639c
test eax, eax
jne 0x140014a4c
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.14008e130
cmp rdi, 0x1000
jae 0x140014a9a
mov word [rsp + rdi + 0x40], r15w
lea rcx, [rsp + 0x40]
mov rax, r12
inc rax
cmp word [rcx + rax*2], r15w
jne 0x1400148d0
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 0x140014906
inc dword [rbx + 0x30]
inc esi
cmp esi, 0x3e8
jb 0x1400148a2
cmp dword [rbx + 0x30], 1
jbe 0x140014a4c
mov rcx, qword [rbx + 0x28]
call fcn.1400eec7c
mov ecx, dword [rbx + 0x30]
mov eax, 0x10
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.1400eec74
mov qword [rbx + 0x28], rax
mov esi, r15d
cmp dword [rbx + 0x30], r15d
jbe 0x140014a09
mov r12d, dword [rsp + 0x10c0]
mov r8d, 0x800
lea rcx, [rsp + 0x40]
mov rdx, rbp
call fcn.14008e130
cmp rdi, 0x1000
jae 0x140014a94
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 0x140014988
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.140013188
xor ecx, ecx
test al, al
je 0x140014a1c
mov rax, qword [rbx + 0x10]
lea rdx, [r14 + 8]
mov rcx, rbx
mov qword [r14], rax
call fcn.140013a6c
cmp r15d, dword [rbx + 0x30]
mov esi, r15d
mov r15d, 0
jb 0x140014953
mov rcx, qword [rbx + 0x28]
mov al, 1
mov rdx, qword [rcx]
mov qword [rbx + 0x10], rdx
mov byte [rbx + 0x20], 1
jmp 0x140014a70
test esi, esi
je 0x140014a3b
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 0x140014a23
mov rcx, qword [rbx + 0x28]
call fcn.1400eec7c
xor eax, eax
mov qword [rbx + 0x28], rax
jmp 0x140014a70
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.140013188
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400eebd0
add rsp, 0x1058
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1400ee934
int3
call fcn.1400ee934
int3
Function at 0x140015080
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 0x140015170
mov ecx, dword [rcx + 0x30]
mov edi, ebp
test ecx, ecx
je 0x1400150d5
mov r8, qword [rbx + 0x28]
mov r9, qword [rbx + 0x10]
mov eax, edi
add rax, rax
cmp r9, qword [r8 + rax*8]
je 0x1400150ce
inc edi
cmp edi, ecx
jb 0x1400150bd
mov eax, dword [rsp + 0x80]
cmp edi, ecx
jb 0x1400150e0
xor al, al
jmp 0x1400151d5
mov esi, edi
test eax, eax
je 0x140015162
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 0x140015116
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140015344
mov rdx, qword [rsp + 0x78]
mov r8d, dword [rsp + 0x80]
lea r9, [rsp + 0x70]
and dword [rsp + 0x70], 0
mov rcx, rbx
call fcn.140015080
mov byte [rbx + 0x20], 1
test al, al
je 0x1400150d9
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 0x1400150e2
mov rax, qword [rsp + 0x88]
mov dword [rax], ebp
mov al, 1
jmp 0x1400151d5
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov eax, dword [0x140140f20]
setne dil
add eax, dword [rsi]
mov dword [0x140140f20], eax
cmp eax, 0x186a0
jbe 0x1400151d2
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140013f24
mov r8, qword [rbx + 0x18]
mov rcx, qword [rsp + 0x70]
mov dword [0x140140f20], 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 0x1400155ec
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.140015344
test al, al
jne 0x140015616
xor al, al
jmp 0x14001562c
cmp qword [rsp + 0x40], rdi
jne 0x140015612
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 0x140015874
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 0x1400158c1
mov rcx, qword [rcx + 0x48]
cmp r10, rcx
jae 0x1400158c1
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 0x1400158cc
mov dword [r9], r8d
jmp 0x1400158e2
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.14001c678
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 0x1400163b8
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.1400efdf0
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, [0x14010d93c]
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 0x140016439
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 0x140016fac
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
mov eax, 0x1030
call fcn.1400eeb60
sub rsp, rax
mov rax, qword [0x14013f2b0]
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.14001c468
test al, al
jne 0x140017005
lea rdx, str.UnAceV2.Dll
lea rcx, [0x14017d200]
call fcn.140063120
xor al, al
jmp 0x1400170dd
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 0x2848], rax
test rax, rax
je 0x1400170d2
lea rdx, str.ACEInitDll
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140140f28], rax
test rax, rax
je 0x1400170c0
mov rcx, qword [rbx + 0x2848]
lea rdx, str.ACEReadArchiveData
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140140f30], rax
test rax, rax
je 0x1400170c0
mov rcx, qword [rbx + 0x2848]
lea rdx, str.ACEList
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140140f38], rax
test rax, rax
je 0x1400170c0
mov rcx, qword [rbx + 0x2848]
lea rdx, str.ACETest
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140140f40], rax
test rax, rax
je 0x1400170c0
mov rcx, qword [rbx + 0x2848]
lea rdx, str.ACEExtract
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140140f48], rax
test rax, rax
jne 0x1400170d2
mov rcx, qword [rbx + 0x2848]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140016ffe
cmp qword [rbx + 0x2848], 0
setne al
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400eebd0
add rsp, 0x1030
pop rbx
ret

Function at 0x140017284
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 0x1400172b9
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebp
cmp eax, esi
jae 0x1400172e9
cmp byte [rsp + 0x50], 0
je 0x1400172db
cmp dword [rdi], ebx
jne 0x1400172df
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 0x1400172c4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400172a9
xor al, al
jmp 0x1400172c6

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

Disassembly:
xor r9d, r9d
lea r10, [0x140141000]
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 0x14001a29f
mov dword [r10], r8d
inc r9d
add r10, 4
cmp r9d, 0x100
jl 0x14001a292
ret
Function at 0x14001b624
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 0x14001b658
cmp dword [rsp + 0x30], 1
jne 0x14001b67b
mov al, byte [rsp + 0x60]
mov byte [rbx], al
test al, al
je 0x14001b67b
dec edi
test edi, edi
jle 0x14001b67b
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 0x14001b63e
mov rsi, qword [rsp + 0x58]
mov byte [rbx], 0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14001b690
Capabilities:
Delete file

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

Function at 0x14001c468
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.140079330
xor ebp, ebp
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov word [rax], bp
call fcn.14008e0f8
mov rcx, rbx
call fcn.140068fe0
test al, al
je 0x14001c4bb
mov al, 1
jmp 0x14001c540
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 0x14001c51f
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.140079330
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov word [rax], bp
call fcn.14008e0f8
mov rcx, rbx
call fcn.140068fe0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140023570
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
lea rdx, [0x140145460]
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 0x140023589
mov qword [rdx], r9
inc r8
add rdx, 8
sub r10, 1
jne 0x140023580
ret

Function at 0x1400235c8
Capabilities:
Encode data using xor

Disassembly:
mov r9, r8
test r8, r8
je 0x1400235f8
movzx eax, byte [rdx]
lea r10, [0x140145460]
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 0x1400235d0
mov rax, rcx
ret

Function at 0x140027494
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 0x1400274ce
xor eax, eax
jmp 0x14002763b
add edi, 5
lea rsi, [rdx - 4]
or rbx, 0xffffffffffffffff
lea r14, [0x140000000]
add rsi, rbp
lea r8, [r11 + rbp]
jmp 0x1400274f5
mov al, byte [r8]
and al, 0xfe
cmp al, 0xe8
je 0x1400274fa
inc r8
cmp r8, rsi
jb 0x1400274e9
mov r11, r8
sub r11, rbp
mov rax, r11
cmp r8, rsi
jae 0x14002761b
sub rax, rbx
cmp rax, 3
jbe 0x140027560
mov r10d, r13d
mov al, byte [r8 + 4]
mov rbx, r11
dec al
cmp al, 0xfd
jbe 0x140027597
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 0x1400275aa
lea edx, [r11 + r9]
add edx, edi
jmp 0x1400275b2
lea ecx, [rax - 1]
shl r10d, cl
and r10d, 7
je 0x140027518
movzx eax, byte [r10 + r14 + 0x110220]
mov ecx, 4
sub ecx, eax
movsxd rax, ecx
mov cl, byte [rax + r8]
cmp byte [r10 + r14 + 0x110218], r13b
je 0x140027594
inc cl
test cl, 0xfe
jne 0x140027518
mov rbx, r11
and r10d, 3
add r10d, r10d
or r10d, 1
inc r11
jmp 0x1400274e3
mov edx, r9d
sub edx, r11d
sub edx, edi
test r10d, r10d
je 0x1400275ed
movzx r9d, byte [r15 + r14 + 0x110220]
mov eax, edx
shl r9d, 3
neg r9d
lea ecx, [r9 + 0x18]
shr eax, cl
inc al
test al, 0xfe
jne 0x1400275ed
lea ecx, [r9 + 0x20]
mov r9d, 1
shl r9d, cl
dec r9d
xor r9d, edx
jmp 0x140027551
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 0x1400274e3
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 0x14002e388
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r11, rcx
test r8, r8
je 0x14002e3be
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 0x14002e393
movzx eax, r10w
ret
Function at 0x14002f6fc
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea r10, [rcx + 0x1aa8]
mov r8d, r9d
mov r11d, 8
shl r8d, 8
lea ecx, [r8 + r8]
mov edx, r8d
mov eax, ecx
mov r8d, ecx
xor eax, 0x1021
and edx, 0x8000
cmovne r8d, eax
sub r11, 1
jne 0x14002f713
mov dword [r10], r8d
inc r9d
add r10, 4
cmp r9d, 0x100
jb 0x14002f706
ret

Function at 0x140037740
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x1030
call fcn.1400eeb60
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov r15d, edx
lea rdx, [0x140111c68]
call fcn.140069f38
mov rbp, rax
xor eax, eax
test rbp, rbp
jne 0x140037792
lea eax, [rbp + 0x32]
jmp 0x1400378e7
mov r14d, 0x1000
cmp r15d, 0x8000
jbe 0x14003789f
mov edx, r15d
xor r8d, r8d
shr edx, 3
mov rcx, rbp
add edx, r14d
call fcn.1400fa260
mov r12d, 1
lea rcx, [rsp + 0x20]
mov edx, r12d
mov r9, rbp
mov r8d, r14d
call fcn.1400f9f24
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400374d0
mov edx, r15d
xor r8d, r8d
shr edx, 2
mov rcx, rbp
add edx, r14d
mov esi, eax
call fcn.1400fa260
mov r9, rbp
lea rcx, [rsp + 0x20]
mov r8d, r14d
mov edx, r12d
call fcn.1400f9f24
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400374d0
lea edx, [r15 + r15]
xor r8d, r8d
shr edx, 2
mov rcx, rbp
add edx, r14d
mov edi, eax
call fcn.1400fa260
mov r9, rbp
lea rcx, [rsp + 0x20]
mov r8d, r14d
mov edx, r12d
call fcn.1400f9f24
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400374d0
lea edx, [r15 + r15*2]
xor r8d, r8d
shr edx, 2
mov rcx, rbp
add edx, r14d
mov ebx, eax
call fcn.1400fa260
mov r9, rbp
lea rcx, [rsp + 0x20]
mov r8d, r14d
mov edx, r12d
call fcn.1400f9f24
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400374d0
add eax, ebx
mov rcx, rbp
add eax, edi
add eax, esi
cdq
and edx, 3
lea ebx, [rdx + rax]
sar ebx, 2
call fcn.1400f5f4c
mov eax, ebx
jmp 0x1400378e7
cmp r15d, r14d
jbe 0x1400378ad
mov rax, r15
sub rax, r14
shr rax, 1
xor r8d, r8d
mov edx, eax
mov rcx, rbp
call fcn.1400fa260
mov r9, rbp
lea rcx, [rsp + 0x20]
mov r8, r14
mov edx, 1
call fcn.1400f9f24
mov rcx, rbp
mov rbx, rax
call fcn.1400f5f4c
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400374d0
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400eebd0
lea r11, [rsp + 0x1030]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14003b090
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push rbx
mov eax, 0x1080
call fcn.1400eeb60
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14003b0da
xor al, al
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.1400eebd0
add rsp, 0x1080
pop rbx
ret
mov r8d, 0x800
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.14008e130
or rax, 0xffffffffffffffff
lea rcx, [rsp + 0x60]
xor ebx, ebx
inc rax
cmp word [rcx + rax*2], bx
jne 0x14003b0f8
lea rax, [rax*2 + 2]
cmp rax, 0x1002
jae 0x14003b157
xor edx, edx
mov word [rsp + rax + 0x60], bx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x38]
call fcn.1400efdf0
mov eax, 0x14
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
jmp 0x14003b0c1
call fcn.1400ee934
int3

Function at 0x14003b160
Capabilities:
Get common file path

Disassembly:
mov edx, 0x10
jmp fcn.14003b1c0

Function at 0x14003b1c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov ebx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
xor ecx, ecx
test eax, eax
sete bl
test bl, bl
je 0x14003b225
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x58]
cmp eax, 1
mov rdx, qword [rsp + 0x50]
sete bl
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x14003b228
mov word [rdi], cx
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret