joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400074a5
Capabilities:
Copy file
Delete file
Move file

Disassembly:
sub rsp, 0xf8
mov qword [rsp + 0x100], rcx
mov rax, qword [rsp + 0x100]
mov r10, qword [rax]
movabs r11, 2
add r10, r11
mov qword [rsp + 0x50], r10
mov rcx, qword [0x1400d153f]
mov rdx, qword [rsp + 0x50]
call fcn.14008c5ad
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x100]
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0x100]
mov r8, qword [rax]
call fcn.14005c56b
mov rax, qword [rsp + 0x100]
mov r10, qword [rax]
movabs r11, 0
add r10, r11
mov qword [rsp + 0x60], r10
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x60]
mov r10, qword [rsp + 0x68]
mov byte [r10 + rax], 0
mov rax, qword [rsp + 0x100]
mov r10, qword [rax]
movabs r11, 1
add r10, r11
mov qword [rsp + 0x70], r10
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
mov r10, qword [rsp + 0x78]
mov byte [r10 + rax], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x88], 3
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 0
movabs rax, 0x10
movabs r10, 0x400
or rax, r10
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
movabs r10, 4
or rax, r10
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov word [rsp + 0xa0], ax
lea rax, [rsp + 0x80]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call sub.SHELL32.dll_SHFileOperationA
mov dword [rsp + 0xd8], eax
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0xc8], eax
mov eax, dword [rsp + 0xc8]
cmp eax, 0
jne 0x14000769c
nop
mov byte [rsp + 0xe0], 1
jmp 0x1400076a6
nop
mov byte [rsp + 0xe0], 0
nop
mov al, byte [rsp + 0xe0]
mov byte [rsp + 0x40], al
mov rcx, qword [0x1400d153f]
mov rdx, qword [rsp + 0x48]
call fcn.14009f95c
mov al, byte [rsp + 0x40]
add rsp, 0xf8
ret

Function at 0x140018154
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x78
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x58], 0
mov word [rsp + 0x5c], 0
mov word [rsp + 0x5e], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x58]
mov r10d, dword [rsp + 0x68]
cmp eax, r10d
jbe 0x14001821c
nop
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x68], eax
nop
xor rax, rax
mov eax, dword [rsp + 0x68]
add rsp, 0x78
ret

Function at 0x14002dae0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x80], rcx
mov ecx, 0xfffffff5
call sub.KERNEL32.dll_GetStdHandle
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x80]
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0x80]
mov r8d, dword [rax]
movabs r9, 0
mov qword [rsp + 0x20], 0
call sub.KERNEL32.dll_WriteFile
mov dword [rsp + 0x60], eax
add rsp, 0x78
ret
Function at 0x140035aaf
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub rsp, 0x118
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rdx
mov ecx, 1
call sub.USER32.dll_IsClipboardFormatAvailable
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
cmp eax, 0
je 0x140035afb
nop
mov dword [rsp + 0x70], 0
jmp 0x140035b07
nop
mov dword [rsp + 0x70], 1
nop
mov eax, dword [rsp + 0x70]
cmp eax, 0
je 0x140035b4d
nop
mov r10, qword [rsp + 0x120]
mov qword [r10], 0
mov qword [r10 + 8], 0
mov rax, qword [rsp + 0x120]
mov cl, 0
add rsp, 0x118
ret
nop
movabs rcx, 0
call sub.USER32.dll_OpenClipboard
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
cmp eax, 0
je 0x140035b88
nop
mov dword [rsp + 0x80], 0
jmp 0x140035b94
nop
mov dword [rsp + 0x80], 1
nop
mov eax, dword [rsp + 0x80]
cmp eax, 0
je 0x140035c7f
nop
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0xa0], eax
mov qword [rsp + 0x88], 7
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xa8], 1
lea rax, [rsp + 0x88]
mov qword [rsp + 0xb0], rax
mov rax, qword [0x1400d4fea]
mov qword [rsp + 0x10], rax
mov rax, qword [str.Failed_to_open_clipboard_for_querying_clipboard_data:___n_t]
mov qword [rsp + 0x18], rax
lea rcx, [rsp + 0x10]
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
call fcn.1400028ee
mov r10, qword [rsp + 0x120]
mov qword [r10], 0
mov qword [r10 + 8], 0
mov rax, qword [rsp + 0x120]
mov cl, 0
add rsp, 0x118
ret
nop
mov ecx, 1
call sub.USER32.dll_GetClipboardData
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call sub.KERNEL32.dll_GlobalLock
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.1400020c3
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0xe8]
mov rdx, qword [rsp + 0x128]
mov r8, qword [rsp + 0xd8]
call fcn.1400983fd
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xd8]
call fcn.14005c56b
mov rcx, qword [rsp + 0xb8]
call sub.KERNEL32.dll_GlobalUnlock
mov dword [rsp + 0xf8], eax
call sub.USER32.dll_CloseClipboard
mov dword [rsp + 0x100], eax
mov byte [rsp + 0x60], 1
mov r10, qword [rsp + 0x120]
mov r11, qword [rsp + 0x50]
mov qword [r10], r11
mov r11, qword [rsp + 0x58]
mov qword [r10 + 8], r11
mov rax, qword [rsp + 0x120]
mov cl, byte [rsp + 0x60]
add rsp, 0x118
ret
Function at 0x140036473
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0xf8
mov qword [rsp + 0x100], rcx
mov qword [rsp + 0x108], rdx
mov qword [rsp + 0x110], r8
mov rcx, qword [0x1400d153f]
mov rax, qword [rsp + 0x100]
mov r10, qword [rax]
mov qword [rsp + 0x10], r10
mov r10, qword [rax + 8]
mov qword [rsp + 0x18], r10
lea rdx, [rsp + 0x10]
call fcn.14004de91
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], 0x40000000
movabs rax, 1
movabs r10, 2
or rax, r10
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
movabs r10, 4
or rax, r10
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x90], 0x80
mov qword [rsp + 0x98], 2
mov al, byte [rsp + 0x110]
cmp al, 0
je 0x140036573
nop
mov qword [rsp + 0x98], 4
nop
mov rcx, qword [rsp + 0x60]
mov edx, dword [rsp + 0x70]
mov r8d, dword [rsp + 0x78]
movabs r9, 0
mov rax, qword [rsp + 0x98]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x90]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x30], 0
call sub.KERNEL32.dll_CreateFileA
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
cmp rax, 0xffffffffffffffff
jne 0x140036611
nop
mov rcx, qword [0x1400d153f]
mov rdx, qword [rsp + 0x60]
call fcn.140049a57
mov al, 0
add rsp, 0xf8
ret
nop
mov dword [rsp + 0xb0], 0
mov al, byte [rsp + 0x110]
cmp al, 0
je 0x140036667
nop
mov rcx, qword [rsp + 0xa0]
mov edx, 0
movabs r8, 0
mov r9d, 2
call sub.KERNEL32.dll_SetFilePointer
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0xb0], eax
nop
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x108]
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0x108]
mov r8d, dword [rax]
mov r9, qword [rsp + 0xc0]
mov qword [rsp + 0x20], 0
call sub.KERNEL32.dll_WriteFile
mov dword [rsp + 0xc8], eax
mov eax, dword [rsp + 0xc8]
cmp eax, 0
je 0x1400366e2
nop
mov dword [rsp + 0xd0], 0
jmp 0x1400366ee
nop
mov dword [rsp + 0xd0], 1
nop
mov eax, dword [rsp + 0xd0]
cmp eax, 0
je 0x140036722
nop
mov rcx, qword [0x1400d153f]
mov rdx, qword [rsp + 0x60]
call fcn.140049a57
mov al, 0
add rsp, 0xf8
ret
nop
mov rcx, qword [rsp + 0xa0]
call sub.KERNEL32.dll_CloseHandle
mov dword [rsp + 0xd8], eax
mov rax, qword [rsp + 0xa0]
cmp rax, 0
je 0x14003675b
nop
mov byte [rsp + 0xe0], 1
jmp 0x140036765
nop
mov byte [rsp + 0xe0], 0
nop
mov rcx, qword [0x1400d153f]
mov rdx, qword [rsp + 0x60]
call fcn.140049a57
mov al, byte [rsp + 0xe0]
add rsp, 0xf8
ret
Function at 0x1400399a2
Capabilities:
Set current directory

Disassembly:
sub rsp, 0xa8
mov qword [rsp + 0xb0], rcx
mov rcx, qword [0x1400d153f]
mov rax, qword [rsp + 0xb0]
mov r10, qword [rax]
mov qword [rsp + 0x10], r10
mov r10, qword [rax + 8]
mov qword [rsp + 0x18], r10
lea rdx, [rsp + 0x10]
call fcn.14004de91
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x60], 1
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SetCurrentDirectoryA
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
cmp eax, 0
jne 0x140039ae2
nop
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x88], eax
mov qword [rsp + 0x70], 7
lea rax, [rsp + 0x88]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x90], 1
lea rax, [rsp + 0x70]
mov qword [rsp + 0x98], rax
mov rax, qword [0x1400d51d0]
mov qword [rsp + 0x10], rax
mov rax, qword [str.SetCurrentDirectoryA_failed_with___in_set_working_folder._nV]
mov qword [rsp + 0x18], rax
lea rcx, [rsp + 0x10]
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
call fcn.1400028ee
mov byte [rsp + 0x60], 0
nop
mov rcx, qword [0x1400d153f]
mov rdx, qword [rsp + 0x50]
call fcn.140049a57
mov al, byte [rsp + 0x60]
add rsp, 0xa8
ret

Function at 0x14003e912
Capabilities:
Copy file

Disassembly:
sub rsp, 0x98
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0xa8], rdx
mov qword [rsp + 0xb0], r8
mov rcx, qword [0x1400d153f]
mov rax, qword [rsp + 0xa0]
mov r10, qword [rax]
mov qword [rsp + 0x10], r10
mov r10, qword [rax + 8]
mov qword [rsp + 0x18], r10
lea rdx, [rsp + 0x10]
call fcn.14004de91
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov rcx, qword [0x1400d153f]
mov rax, qword [rsp + 0xa8]
mov r10, qword [rax]
mov qword [rsp + 0x10], r10
mov r10, qword [rax + 8]
mov qword [rsp + 0x18], r10
lea rdx, [rsp + 0x10]
call fcn.14004de91
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x60], 0
mov al, byte [rsp + 0xb0]
cmp al, 0
je 0x14003e9ff
nop
mov byte [rsp + 0x70], 0
jmp 0x14003ea09
nop
mov byte [rsp + 0x70], 1
nop
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x40]
movsx r8d, byte [rsp + 0x70]
call sub.KERNEL32.dll_CopyFileA
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
cmp eax, 0
je 0x14003ea5f
nop
mov byte [rsp + 0x80], 1
jmp 0x14003ea69
nop
mov byte [rsp + 0x80], 0
nop
mov al, byte [rsp + 0x80]
mov byte [rsp + 0x60], al
mov rcx, qword [0x1400d153f]
mov rdx, qword [rsp + 0x40]
call fcn.140049a57
mov rcx, qword [0x1400d153f]
mov rdx, qword [rsp + 0x50]
call fcn.140049a57
mov al, byte [rsp + 0x60]
add rsp, 0x98
ret
Function at 0x14004af4c
Capabilities:
Create directory

Disassembly:
sub rsp, 0xb8
mov qword [rsp + 0xc0], rcx
mov rax, qword [rsp + 0xc0]
mov r10, qword [rax]
mov qword [rsp + 8], r10
mov r10, qword [rax + 8]
mov qword [rsp + 0x10], r10
lea rcx, [rsp + 8]
call fcn.140041b9c
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x68], cl
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov al, byte [rsp + 0x68]
mov byte [rsp + 0x58], al
mov al, byte [rsp + 0x58]
cmp al, 0
je 0x14004b073
nop
lea rcx, [rsp + 0x80]
mov rax, qword [rsp + 0xc0]
mov r10, qword [rax]
mov qword [rsp + 0x20], r10
mov r10, qword [rax + 8]
mov qword [rsp + 0x28], r10
lea rdx, [rsp + 0x20]
movabs r8, 0
mov r9, qword [rsp + 0x50]
call fcn.140017aca
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x10], rax
lea rcx, [rsp + 8]
call fcn.14004af4c
mov byte [rsp + 0x90], al
nop
mov rcx, qword [0x1400d153f]
mov rax, qword [rsp + 0xc0]
mov r10, qword [rax]
mov qword [rsp + 0x10], r10
mov r10, qword [rax + 8]
mov qword [rsp + 0x18], r10
lea rdx, [rsp + 0x10]
call fcn.14004de91
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
movabs rdx, 0
call sub.KERNEL32.dll_CreateDirectoryA
mov dword [rsp + 0xa8], eax
mov rcx, qword [0x1400d153f]
mov rdx, qword [rsp + 0x98]
call fcn.140049a57
mov al, byte [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x140057fee
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x80], rcx
mov rcx, qword [0x1400d153f]
mov rax, qword [rsp + 0x80]
mov r10, qword [rax]
mov qword [rsp + 0x10], r10
mov r10, qword [rax + 8]
mov qword [rsp + 0x18], r10
lea rdx, [rsp + 0x10]
call fcn.14004de91
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_GetFileAttributesA
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
cmp eax, 0xffffffff
je 0x1400580bd
xor rax, rax
mov eax, dword [rsp + 0x50]
movabs r10, 0x10
and rax, r10
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
cmp rax, 0
jne 0x1400580bd
jmp 0x1400580dd
nop
mov rcx, qword [0x1400d153f]
mov rdx, qword [rsp + 0x40]
call fcn.140049a57
mov al, 0
add rsp, 0x78
ret
nop
mov rcx, qword [0x1400d153f]
mov rdx, qword [rsp + 0x40]
call fcn.140049a57
mov al, 1
add rsp, 0x78
ret

Function at 0x140071bd9
Capabilities:
Delete file

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x70], rcx
mov rcx, qword [0x1400d153f]
mov rax, qword [rsp + 0x70]
mov r10, qword [rax]
mov qword [rsp + 0x10], r10
mov r10, qword [rax + 8]
mov qword [rsp + 0x18], r10
lea rdx, [rsp + 0x10]
call fcn.14004de91
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call sub.KERNEL32.dll_DeleteFileA
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov byte [rsp + 0x40], al
mov rcx, qword [0x1400d153f]
mov rdx, qword [rsp + 0x48]
call fcn.140049a57
mov al, byte [rsp + 0x40]
add rsp, 0x68
ret
Function at 0x140095c77
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x88
mov qword [rsp + 0x90], rcx
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
lea r10, [rax]
mov qword [rsp + 0x60], r10
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x108]
mov rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
mov r8d, dword [rax + 0x100]
movabs r9, 0
mov qword [rsp + 0x20], 0
call sub.KERNEL32.dll_WriteFile
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rax + 0x100], 0
add rsp, 0x88
ret
Function at 0x140098d48
Capabilities:
Register raw input devices

Disassembly:
sub rsp, 0xc8
mov qword [rsp + 0xd0], rcx
mov word [rsp + 0x50], 1
mov word [rsp + 0x52], 2
mov dword [rsp + 0x54], pe_nt_image_headers64
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov r10, qword [rax]
mov qword [rsp + 0x58], r10
lea rax, [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
mov edx, 1
mov r8d, 0x10
call sub.USER32.dll_RegisterRawInputDevices
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
cmp eax, 0
je 0x140098dfe
nop
mov dword [rsp + 0x80], 0
jmp 0x140098e0a
nop
mov dword [rsp + 0x80], 1
nop
mov eax, dword [rsp + 0x80]
cmp eax, 0
je 0x140098ec4
nop
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0xa0], eax
mov qword [rsp + 0x88], 7
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xa8], 1
lea rax, [rsp + 0x88]
mov qword [rsp + 0xb0], rax
mov rax, qword [0x1400d792f]
mov qword [rsp + 0x10], rax
mov rax, qword [str._y_r_]
mov qword [rsp + 0x18], rax
lea rcx, [rsp + 0x10]
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
call fcn.1400028ee
nop
mov al, byte [rsp + 0x68]
add rsp, 0xc8
ret
Function at 0x140099af5
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rdx
mov qword [rsp], 0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
mov r10d, dword [rax + 0x118]
mov dword [rsp + 8], r10d
nop
mov rax, qword [rsp]
cmp rax, 0
jne 0x140099c08
mov eax, dword [rsp + 8]
cmp eax, 0
jbe 0x140099c08
jmp 0x140099b6d
nop
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x18], rax
mov eax, dword [rsp + 8]
mov r10d, 1
sub eax, r10d
mov dword [rsp + 0x20], eax
xor rax, rax
mov eax, dword [rsp + 0x20]
movabs r10, 0x10
cmp rax, r10
jb 0x140099bb3
int3
xor rax, rax
mov eax, dword [rsp + 0x20]
mov r10, qword [rsp + 0x18]
mov r11, qword [r10 + rax*8 + 0x98]
mov qword [rsp + 0x28], r11
mov rax, qword [rsp + 0x28]
mov r10, qword [rax + 0x30]
mov qword [rsp], r10
mov eax, dword [rsp + 8]
mov r10d, 1
sub eax, r10d
mov dword [rsp + 8], eax
jmp 0x140099b3f
nop
movabs rax, 0x100000001b3
mov qword [rsp + 0x30], rax
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov r10, qword [rsp]
add rax, r10
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], 0
nop
mov rax, qword [rsp + 0x50]
mov r10, qword [rsp + 0x88]
mov r11, qword [r10]
cmp rax, r11
jge 0x140099d49
nop
mov rax, qword [rsp + 0x88]
mov r10, qword [rax + 8]
mov qword [rsp + 0x58], r10
mov rax, qword [rsp + 0x50]
mov r10, qword [rsp + 0x88]
mov r11, qword [r10]
cmp rax, r11
jb 0x140099cbe
int3
mov rax, qword [rsp + 0x40]
mov r10, qword [rsp + 0x50]
mov r11, qword [rsp + 0x58]
movzx rcx, byte [r11 + r10]
xor rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov r10, qword [rsp + 0x30]
imul rax, r10
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
nop
mov rax, qword [rsp + 0x50]
movabs r10, 1
add rax, r10
mov qword [rsp + 0x50], rax
jmp 0x140099c64
nop
mov rax, qword [rsp + 0x40]
add rsp, 0x78
ret
Function at 0x140002d90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x140002db8
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp], rax
jae 0x140002e15
xor edx, edx
mov rax, qword [rsp]
mov ecx, 8
div rcx
mov rax, rdx
shl rax, 3
movzx ecx, al
mov rax, qword [rsp + 0x30]
shr rax, cl
and rax, 0xff
movsx eax, al
mov rcx, qword [rsp]
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
movsx ecx, byte [rcx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp]
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
jmp 0x140002dad
add rsp, 0x18
ret

Function at 0x14000742c
Capabilities:
Read 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 r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14000745a
xor eax, eax
jmp 0x140007540
cmp qword [rcx + 0x68], 0
je 0x14000746b
call fcn.14000755c
jmp 0x140007540
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140007482
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140007484
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400074b6
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1400232d0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14000753a
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1400074ed
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140007516
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140010424
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14000753a
cmp rsi, rbx
ja 0x1400074f4
test rsi, rsi
je 0x14000753a
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140010424
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400094ac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400094f6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400094f6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400094f6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400094f6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400094f6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400094f8
xor al, al
add rsp, 0x28
ret

Function at 0x1400130bc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140012eb8
Function at 0x1400182f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140008d70
sub rsp, rax
mov rax, qword [0x140034040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140016ed0
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14001833f
mov rax, rbp
jmp 0x140018447
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x365a0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140019410
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x365a0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140018443
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140018443
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140019410
test rax, rax
js 0x140018443
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140018443
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140018435
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140018435
cmp byte [rcx], 0xd
jne 0x14001841b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14001842a
cmp byte [rcx + 1], 0xa
jne 0x14001842a
inc rcx
jmp 0x14001842a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x34470]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400183fd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140018447
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400085e0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140018668
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001867e
mov al, 1
jmp 0x1400186de
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001868f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400186dc
mov ecx, dword [rcx + 0x18]
nop
call fcn.14001d730
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400186dc
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400186dc
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400186dc
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400186de
xor al, al
add rsp, 0x20
pop rbx
ret