joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008a2c
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, r9
mov rdi, rcx
xor ebx, ebx
call fcn.14000884c
cmp eax, ebx
je 0x140008a71
mov rcx, qword [rdi]
lea rdx, str.LookupPrivilegeValueA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, rbx
je 0x140008a71
lea rdx, str.SeDebugPrivilege
mov r8, rsi
xor ecx, ecx
call rax
mov ebx, eax
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140008bec
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x70]
mov r8d, 0x28
mov rcx, rbx
mov rdx, rax
call fcn.140008b6c
test eax, eax
jne 0x140008c1d
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140008c7e
lea r9, [rsp + 0x44]
lea r8, str.SeDebugPrivilege
xor edx, edx
mov rcx, rbx
call fcn.140008a2c
and qword [rsp + 0x30], 0
mov rdx, qword [rsp + 0x70]
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
call fcn.1400089ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x70]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
add rsp, 0x50
pop rbx
ret

Function at 0x140009d70
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x28
and qword [rsp + 0x30], 0
lea rdx, str.SeDebugPrivilege
lea rcx, [rsp + 0x30]
call fcn.140008bec
lea rcx, [rsp + 0x30]
call fcn.1400087fc
add rsp, 0x28
ret

Function at 0x14000adb0
Capabilities:
Delete file
Open clipboard

Disassembly:
push rbx
sub rsp, 0x140
mov rbx, rcx
lea rdx, [0x1400190b8]
lea rcx, [rsp + 0x30]
call fcn.140011744
mov r9d, 1
lea rdx, [rsp + 0x30]
lea r8d, [r9 + 1]
mov rcx, rbx
mov dword [rsp + 0x20], r9d
call fcn.14000a780
test eax, eax
je 0x14000ae2d
mov rcx, qword [rbx + 0x110]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000ae0a
lea rcx, [rsp + 0x30]
call fcn.1400125a4
jmp 0x14000ae10
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14000ae22
mov rcx, qword [rbx + 0x110]
mov edx, eax
call fcn.140012684
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
add rsp, 0x140
pop rbx
ret

Function at 0x14000c780
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
xor ebx, ebx
mov r12, r8
mov rdi, rdx
cmp dword [rcx + 0x40], ebx
mov rsi, rcx
jle 0x14000c7ea
mov rbp, rbx
mov rax, qword [rsi + 0x48]
mov r9, qword [r12]
mov r8, qword [rsi + 0x80]
mov edx, dword [rax + rbp]
mov rcx, r12
call qword [r9]
mov rcx, rdi
mov rdx, rax
call fcn.140011c64
lea rdx, [0x140018d5c]
mov rcx, rdi
call fcn.140011c64
add ebx, 1
add rbp, 4
cmp ebx, dword [rsi + 0x40]
jl 0x14000c7ac
lea rdx, [0x140018d60]
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
jmp fcn.140011c64
Function at 0x14000d660
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x130
mov rdi, rdx
mov rsi, rcx
lea rdx, str._item__r_n
mov rcx, rdi
mov r13, r8
call fcn.140011c64
xor r12d, r12d
cmp dword [rsi + 0x40], r12d
jle 0x14000d746
xor ebp, ebp
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0xfe
mov byte [rsp + 0x30], 0
call sub.msvcrt.dll_memset
mov r11, qword [rsi + 0x48]
movsxd rbx, dword [r11 + rbp]
mov rax, qword [r13]
mov r8, qword [rsi + 0x80]
mov edx, ebx
mov rcx, r13
call qword [rax]
mov rcx, qword [rsi + 0x88]
mov rdx, rax
call fcn.1400014f0
mov r8, qword [rsi + 0x60]
lea rax, [rbx + rbx*2]
mov r8, qword [r8 + rax*8 + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14000c8a0
mov r9, qword [rsi + 0x88]
mov rcx, qword [rsi + 0x90]
lea r11, [rsp + 0x30]
lea r8, [rsp + 0x30]
lea rdx, str.__s__s___s__r_n
mov qword [rsp + 0x20], r11
call sub.msvcrt.dll_sprintf
mov rdx, qword [rsi + 0x90]
mov rcx, rdi
call fcn.140011c64
add r12d, 1
add rbp, 4
cmp r12d, dword [rsi + 0x40]
jl 0x14000d6a2
lea rdx, str.__item__r_n
mov rcx, rdi
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
jmp fcn.140011c64

Function at 0x14000dd90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x40
xor edi, edi
mov r13, r8
mov rsi, rdx
cmp dword [rcx + 0x40], edi
mov rbp, rcx
jle 0x14000dedf
xor r12d, r12d
mov rax, qword [rbp + 0x48]
mov r9, qword [r13]
mov r8, qword [rbp + 0x80]
mov edx, dword [r12 + rax]
mov rcx, r13
call qword [r9]
mov edx, 0x2c
mov rcx, rax
mov rbx, rax
call sub.msvcrt.dll_strchr
test rax, rax
jne 0x14000de05
lea edx, [rax + 0x22]
mov rcx, rbx
call sub.msvcrt.dll_strchr
test rax, rax
jne 0x14000de05
mov rdx, rbx
mov rcx, rsi
call fcn.140011c64
jmp 0x14000deb6
and qword [rsp + 0x20], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x2c], 0
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x20]
or r8d, 0xffffffff
mov dword [rsp + 0x34], 0x100
mov dword [rsp + 0x30], 1
mov word [rsp + 0x88], 0x22
call fcn.140010798
jmp 0x14000de6e
cmp r11b, 0x22
jne 0x14000de5a
or r8d, 0xffffffff
lea rdx, [0x140018e9c]
jmp 0x14000de65
mov r8d, 1
lea rdx, [rsp + 0x70]
call fcn.140010798
add rbx, 1
mov r11b, byte [rbx]
lea rcx, [rsp + 0x20]
test r11b, r11b
mov byte [rsp + 0x70], r11b
jne 0x14000de47
lea rdx, [rsp + 0x88]
or r8d, 0xffffffff
call fcn.140010798
mov rax, qword [rsp + 0x20]
lea rdx, [0x1400187ca]
test rax, rax
mov rcx, rsi
cmovne rdx, rax
call fcn.140011c64
lea rcx, [rsp + 0x20]
call fcn.1400102c8
mov eax, dword [rbp + 0x40]
sub eax, 1
cmp edi, eax
jge 0x14000decf
lea rdx, [0x140018ea0]
mov rcx, rsi
call fcn.140011c64
add edi, 1
add r12, 4
cmp edi, dword [rbp + 0x40]
jl 0x14000ddb7
lea rdx, [0x140018d60]
mov rcx, rsi
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.140011c64
Function at 0x14000ea60
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
mov eax, 0x1040
call fcn.1400172d0
sub rsp, rax
mov rbx, rcx
mov rdi, rdx
lea r8d, [rax - 0x40]
lea rcx, [rsp + 0x31]
xor edx, edx
mov byte [rsp + 0x30], 0
call sub.msvcrt.dll_memset
lea rbp, [0x14001e460]
lea r9, [rsp + 0x30]
lea r8, [0x1400187ca]
lea rcx, [0x14001e570]
mov rdx, rbx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0x1000
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [rsp + 0x30], 0
jne 0x14000eae2
lea rcx, [0x14001e570]
mov r9, rbp
mov r8, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x14000eae4
xor eax, eax
lea r11, [rsp + 0x1040]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14000eb00
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1040
call fcn.1400172d0
sub rsp, rax
mov rbx, rcx
mov rdi, rdx
lea r8d, [rax - 0x40]
lea rcx, [rsp + 0x31]
xor edx, edx
mov byte [rsp + 0x30], 0
call sub.msvcrt.dll_memset
lea r11, [0x14001e460]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], r11
lea r8, [0x1400187ca]
lea rcx, [0x14001e570]
mov rdx, rbx
mov dword [rsp + 0x20], 0x1000
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [rsp + 0x30], 0
je 0x14000eb86
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x30]
sub rdi, rax
mov cl, byte [rdx]
mov byte [rdi + rdx], cl
add rdx, 1
test cl, cl
jne 0x14000eb72
mov eax, 1
jmp 0x14000eb88
xor eax, eax
mov rbx, qword [rsp + 0x1050]
add rsp, 0x1040
pop rdi
ret

Function at 0x14000eba0
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [0x14001e460]
mov rbx, rdx
mov byte [rdx], 0
mov r9, rdx
mov qword [rsp + 0x28], rax
mov rdx, rcx
mov dword [rsp + 0x20], r8d
lea r8, [0x1400187ca]
lea rcx, [0x14001e570]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rax, rbx
add rsp, 0x30
pop rbx
ret
push rbx
sub rsp, 0x20
lea r9, [0x14001e460]
mov rdx, r9
sub rdx, rcx
xor ebx, ebx
mov al, byte [rcx]
mov byte [rdx + rcx], al
add rcx, 1
cmp al, bl
jne 0x14000ef65
movabs rax, 0x6c6172656e6567
lea rdx, [0x140018d24]
lea rcx, [0x14001e570]
xor r8d, r8d
mov qword [0x14001e570], rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea rdx, [0x14001e5c0]
lea rcx, str.charset
cmp eax, 1
sete bl
mov dword [0x14001e3ac], ebx
mov ebx, 0x3f
mov r8d, ebx
call 0x14000eba0
lea rdx, [0x14001e600]
lea rcx, str.TranslatorName
mov r8d, ebx
call 0x14000eba0
lea rdx, [0x14001e640]
lea rcx, str.TranslatorURL
mov r8d, 0xff
add rsp, 0x20
pop rbx
jmp 0x14000eba0
Function at 0x14000ef50
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [0x14001e460]
mov rbx, rdx
mov byte [rdx], 0
mov r9, rdx
mov qword [rsp + 0x28], rax
mov rdx, rcx
mov dword [rsp + 0x20], r8d
lea r8, [0x1400187ca]
lea rcx, [0x14001e570]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rax, rbx
add rsp, 0x30
pop rbx
ret
push rbx
sub rsp, 0x20
lea r9, [0x14001e460]
mov rdx, r9
sub rdx, rcx
xor ebx, ebx
mov al, byte [rcx]
mov byte [rdx + rcx], al
add rcx, 1
cmp al, bl
jne 0x14000ef65
movabs rax, 0x6c6172656e6567
lea rdx, [0x140018d24]
lea rcx, [0x14001e570]
xor r8d, r8d
mov qword [0x14001e570], rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea rdx, [0x14001e5c0]
lea rcx, str.charset
cmp eax, 1
sete bl
mov dword [0x14001e3ac], ebx
mov ebx, 0x3f
mov r8d, ebx
call 0x14000eba0
lea rdx, [0x14001e600]
lea rcx, str.TranslatorName
mov r8d, ebx
call 0x14000eba0
lea rdx, [0x14001e640]
lea rcx, str.TranslatorURL
mov r8d, 0xff
add rsp, 0x20
pop rbx
jmp 0x14000eba0

Function at 0x14000f5a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x138
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x104
mov byte [rsp + 0x20], 0
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x20]
call fcn.14000f550
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000f5e2
lea rcx, [rsp + 0x20]
call fcn.14000ef50
add rsp, 0x138
ret

Function at 0x140010518
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx], 0xffffffffffffffff
mov rdi, rcx
lea rdx, [rcx + 0x14c]
jne 0x14001054a
add rcx, 8
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ebx, ebx
cmp rax, 0xffffffffffffffff
mov qword [rdi], rax
setne bl
jmp 0x140010561
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
mov ebx, eax
jne 0x140010565
mov rcx, rdi
call fcn.14000ff48
test ebx, ebx
je 0x1400105b2
or rcx, 0xffffffffffffffff
lea r10, [rdi + 0x3d0]
lea r8, [rdi + 0x28c]
lea rdx, [rdi + 0x178]
xor eax, eax
mov rdi, r10
repne scasb al, byte [rdi]
mov rdi, rdx
not rcx
lea r9, [rcx - 1]
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
not rcx
lea rax, [r9 + rcx]
cmp rax, 0x143
jae 0x1400105ae
mov rcx, r10
call fcn.140012184
jmp 0x1400105b2
mov byte [r8], 0
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140010a44
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [rcx]
xor r10d, r10d
mov r9, rcx
test al, al
lea r11, [0x14001f0d0]
je 0x140010a82
movsxd r8, edx
shl r8, 0xc
mov cl, r10b
add r9, 1
and cl, 0x3f
sub cl, 0x56
xor cl, al
movsxd rax, r10d
add r10d, 1
add rax, r8
mov byte [rax + r11], cl
mov al, byte [r9]
test al, al
jne 0x140010a5e
movsxd rcx, edx
movsxd rax, r10d
shl rcx, 0xc
add rax, rcx
mov byte [rax + r11], 0
lea rax, [rcx + r11]
ret
Function at 0x140011004
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
lea r9, [0x1400187ca]
mov r8, rdx
lea rdx, str.open
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], r9
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
xor ecx, ecx
cmp rax, 0x20
seta cl
mov eax, ecx
add rsp, 0x38
ret

Function at 0x140011374
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [0x14001ea20], 0
mov rdi, rcx
lea rbx, [0x14001ea20]
jne 0x1400113aa
mov edx, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r11d, eax
mov dword [0x14001eb28], eax
jmp 0x1400113b1
mov r11d, dword [0x14001eb28]
sub rdi, rbx
mov al, byte [rbx]
mov byte [rdi + rbx], al
add rbx, 1
test al, al
jne 0x1400113b4
mov eax, r11d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400113e4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [0x14001e910], 0
mov rdi, rcx
lea rbx, [0x14001e910]
jne 0x14001141a
mov edx, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov r11d, eax
mov dword [0x14001ea18], eax
jmp 0x140011421
mov r11d, dword [0x14001ea18]
sub rdi, rbx
mov al, byte [rbx]
mov byte [rdi + rbx], al
add rbx, 1
test al, al
jne 0x140011424
mov eax, r11d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140011744
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x130
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x140011774
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rdx, [0x1400190b8]
lea rcx, [rsp + 0x20]
mov r9, rbx
xor r8d, r8d
mov byte [rbx], 0
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov rax, rbx
add rsp, 0x130
pop rbx
ret

Function at 0x140011944
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
xor ebx, ebx
call qword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, ebx
je 0x1400119d1
call qword [sym.imp.USER32.dll_EmptyClipboard]
cmp rsi, rbx
je 0x1400119cb
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
movsxd rbp, ecx
mov ecx, 0x2000
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp rax, rbx
mov rdi, rax
je 0x1400119cb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rbp
mov rdx, rsi
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [rbx + 1]
mov rdx, rdi
call qword [sym.imp.USER32.dll_SetClipboardData]
cmp rax, rbx
setne bl
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140011c64
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x30
mov r10, rcx
or rcx, 0xffffffffffffffff
xor eax, eax
and qword [rsp + 0x20], rax
mov rdi, rdx
lea r9, [rsp + 0x50]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_WriteFile]
add rsp, 0x30
pop rdi
ret

Function at 0x1400125a4
Capabilities:
Get file size
Read file on windows
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov rbx, rcx
xor edi, edi
call qword [sym.imp.USER32.dll_EmptyClipboard]
xor edx, edx
mov rcx, rbx
call fcn.140011ce4
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x14001264f
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, 0x2000
mov ebp, eax
lea edx, [rbp + 1]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp rax, rdi
mov rsi, rax
je 0x14001263c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r9, [rsp + 0x58]
mov r8d, ebp
mov rcx, rbx
mov rdx, rax
mov qword [rsp + 0x20], rdi
mov r12, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
je 0x14001263c
mov rcx, rsi
mov byte [rbp + r12], dil
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [rdi + 1]
mov rdx, rsi
call qword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x140012644
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140012657
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov eax, edi
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret

Function at 0x140012704
Capabilities:
Get common file path
Get file attributes

Disassembly:
sub rsp, 0x28
cmp byte [0x14001eb30], 0
jne 0x140012740
lea rcx, [0x14001eb30]
call fcn.140012414
lea rcx, [0x14001eb30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x140012740
lea rdx, [0x14001eb30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rax, [0x14001eb30]
add rsp, 0x28
ret
Function at 0x140013be8
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
jne 0x140013cd2
lea rcx, str.advapi32.dll
call fcn.140011e74
lea rdx, str.CryptAcquireContextA
mov rcx, rax
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.CryptReleaseContext
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.CryptCreateHash
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.CryptGetHashParam
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.CryptHashData
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.CryptDestroyHash
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.CryptDecrypt
mov qword [rbx + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.CryptDeriveKey
mov qword [rbx + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.CryptImportKey
mov qword [rbx + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.CryptDestroyKey
mov qword [rbx + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x50], rax
add rsp, 0x20
pop rbx
ret
Function at 0x1800028b0
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 0x18000290d
lea rbx, [0x180047cb0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800028f4
cmp r10, 2
jb 0x1800028f4
cmp byte [r9], r8b
jne 0x1800028f4
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 0x1800028d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000294f
lea rbx, [0x180047cb0]
cmp r8b, 0x23
jne 0x180002933
cmp byte [r9], r8b
jne 0x180002933
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 0x180002920
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180002a90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180002aaa
mov qword [r8], 0
lea rdx, [0x180047aac]
call fcn.180002960
mov rbx, rax
test rax, rax
jne 0x180002aca
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 qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180002ba1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180002ba1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180002ba1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180002ba1
cmp rdi, 0xffffffffffffffff
je 0x180002ba1
mov rax, qword [0x1800573a0]
test rax, rax
je 0x180002b3e
inc dword [rax + 0x3b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180002ba1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x180002b8e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800573a0]
test rax, rax
je 0x180002b83
dec dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180002baa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180002b9c
mov qword [r14], rdi
mov rax, rsi
jmp 0x180002bac
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
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 0x18000e180
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [0x1800573a0]
lea rdx, [0x180047cb0]
mov r8, rcx
mov rbx, qword [rax + 0x1ae0]
add rbx, 0xc8
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 9]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xa]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xb]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xc]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xd]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xe]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xf]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x18000e281
lea ecx, [r9 + 1]
test r8d, r8d
je 0x18000e26d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18000e272
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180015c00
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18000e2a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x1800573a0]
lea rdx, [0x180047cb0]
mov r8d, ecx
mov rbx, qword [rax + 0x1ae0]
add rbx, 0xc8
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x18000e357
lea ecx, [r9 + 1]
test r8d, r8d
je 0x18000e343
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18000e348
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180015c00
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret