joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10000c680
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionAppletsStickyNotes
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10000c70a
and dword [rsp + 0x58], eax
mov rbx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x68]
lea rdx, str.Upgrade
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100015f57
test rbx, rbx
je 0x10000c70a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
add rsp, 0x40
pop rbx
ret
cmp dword [rsp + 0x68], 4
jne 0x10000c6fc
test eax, eax
jne 0x10000c6fc
cmp dword [rsp + 0x58], eax
je 0x10000c6fc
test rbx, rbx
je 0x100015f82
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x10000c70c

Function at 0x10000c718
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
push rbx
push rbp
push rdi
sub rsp, 0x60
and qword [r11 - 0x38], 0
and qword [r11 - 0x30], 0
and qword [r11 - 0x28], 0
and qword [r11 + 0x10], 0
lea rax, [r11 + 0x10]
mov rdi, rcx
mov ebx, 0x2001f
mov rbp, 0xffffffff80000001
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionAppletsStickyNotes
xor r8d, r8d
mov r9d, ebx
mov rcx, rbp
mov qword [r11 - 0x58], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10001605f
mov rbx, qword [rsp + 0x88]
jmp 0x10000c775
lea rax, [rsp + 0x88]
lea r9, [rsp + 0x90]
lea rdx, str.PROMPT_ON_DELETE
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x98]
mov ebp, 4
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x88], ebp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10001609d
cmp dword [rsp + 0x90], ebp
jne 0x10001609d
test eax, eax
jne 0x10001609d
cmp dword [rsp + 0x98], 1
sete al
mov byte [rdi + 0xf0], al
jmp 0x10000c7e6
test rbx, rbx
je 0x10000c7f4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x60
pop rdi
pop rbp
pop rbx
ret
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionAppletsStickyNotes
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov rdx, rbp
mov dword [rsp + 0x28], ebx
and dword [rsp + 0x20], 0
call fcn.10000faa0
mov rbx, qword [rsp + 0x40]
test eax, eax
je 0x10000c775
jmp 0x10000c7e6
lea rax, [rsp + 0x88]
lea rdx, str.PROMPT_ON_DELETE
mov r9d, ebp
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x88], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [rdi + 0xf0], 1
jmp 0x10000c7e6
Function at 0x10000c804
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
push rbx
push rbp
push rdi
sub rsp, 0x60
and qword [r11 - 0x38], 0
and qword [r11 - 0x30], 0
and qword [r11 - 0x28], 0
and qword [r11 + 0x10], 0
lea rax, [r11 + 0x10]
mov rdi, rcx
mov ebx, 0x2001f
mov rbp, 0xffffffff80000001
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionAppletsStickyNotes
xor r8d, r8d
mov r9d, ebx
mov rcx, rbp
mov qword [r11 - 0x58], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000160db
mov rbx, qword [rsp + 0x88]
jmp 0x10000c861
lea rax, [rsp + 0x88]
lea r9, [rsp + 0x90]
lea rdx, str.FirstRun
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x98]
mov ebp, 4
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x88], ebp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100016119
cmp dword [rsp + 0x90], ebp
jne 0x100016119
test eax, eax
jne 0x100016119
mov byte [rdi + 0xf1], al
jmp 0x10000c8c7
test rbx, rbx
je 0x10000c8d5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x60
pop rdi
pop rbp
pop rbx
ret
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionAppletsStickyNotes
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov rdx, rbp
mov dword [rsp + 0x28], ebx
and dword [rsp + 0x20], 0
call fcn.10000faa0
mov rbx, qword [rsp + 0x40]
test eax, eax
je 0x10000c861
jmp 0x10000c8c7
lea rax, [rsp + 0x88]
lea rdx, str.FirstRun
mov r9d, ebp
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x88], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [rdi + 0xf1], 1
jmp 0x10000c8c7
Function at 0x140027cb4
Capabilities:
Clear file content

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
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001babc
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001babc
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027e04
cmp rax, 0xffffffffffffffff
je 0x140027e04
xor edi, edi
test rbp, rbp
jle 0x140027daf
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001e0e0
mov rbx, rax
test rax, rax
jne 0x140027d3c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027da5
mov edx, 0x8000
mov ecx, r14d
call fcn.140015690
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001c7bc
cmp eax, 0xffffffff
je 0x140027d85
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027d4c
mov edx, r15d
mov ecx, r14d
call fcn.140015690
jmp 0x140027da5
cmp byte [rsi + 0x38], dil
je 0x140027d9c
cmp dword [rsi + 0x34], 5
jne 0x140027d9c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027da5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a168
jmp 0x140027e18
jns 0x140027e18
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001babc
cmp rax, 0xffffffffffffffff
jne 0x140027dd0
cmp byte [rsi + 0x30], dil
je 0x140027e18
mov edi, dword [rsi + 0x2c]
jmp 0x140027e18
mov ecx, r14d
call fcn.140016c88
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027e18
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027e18
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027e11
mov eax, dword [rsi + 0x2c]
jmp 0x140027e16
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001babc
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140c4fb1c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140c4fb26
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140c4fb4f
pop rbp
sub rbp, 0x33
sub rbp, 0xc4fb1c
sub rsp, 0x20
jmp 0x140c4fb6e
invalid
mov rax, 0xc4fb1c
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0x1fe0273f
xor byte [rax], dl
inc rax
dec rcx
jne 0x140c4fb8d
jmp 0x140c4fba4
ja 0x140c4fb5c
invalid
Function at 0x1400292ec
Capabilities:
Clear file content

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
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c9b4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c9b4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002943c
cmp rax, 0xffffffffffffffff
je 0x14002943c
xor edi, edi
test rbp, rbp
jle 0x1400293e7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f2e0
mov rbx, rax
test rax, rax
jne 0x140029374
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400293dd
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a2e8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d690
cmp eax, 0xffffffff
je 0x1400293bd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029384
mov edx, r15d
mov ecx, r14d
call fcn.14001a2e8
jmp 0x1400293dd
cmp byte [rsi + 0x38], dil
je 0x1400293d4
cmp dword [rsi + 0x34], 5
jne 0x1400293d4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400293dd
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b07c
jmp 0x140029450
jns 0x140029450
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c9b4
cmp rax, 0xffffffffffffffff
jne 0x140029408
cmp byte [rsi + 0x30], dil
je 0x140029450
mov edi, dword [rsi + 0x2c]
jmp 0x140029450
mov ecx, r14d
call fcn.1400187a4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029450
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029450
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029449
mov eax, dword [rsi + 0x2c]
jmp 0x14002944e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c9b4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x180024200
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180024228
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180024228
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x18002a830
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
test edx, edx
je 0x18002a84d
mov eax, 1
cmp edx, eax
jne 0x18002a8a2
mov qword [0x180075668], rcx
add rsp, 0x28
ret
cmp qword [0x180060a70], 0
je 0x18002a89d
cmp qword [0x180060a78], 8
mov qword [rsp + 0x20], rbx
lea rbx, [0x180060a60]
mov rcx, rbx
cmovae rcx, qword [0x180060a60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp qword [0x180060a78], 8
cmovae rbx, qword [0x180060a60]
xor eax, eax
mov qword [0x180060a70], rax
mov word [rbx], ax
mov rbx, qword [rsp + 0x20]
mov eax, 1
add rsp, 0x28
ret
Function at 0x180002cbc
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
cmp dword [rcx + 0xc], ebx
jbe 0x180002d08
mov rax, qword [rdi]
xor edx, edx
mov r8d, dword [rax + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180002d01
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x180002cd5
mov r8, qword [rdi]
mov rcx, qword [0x18001ba40]
xor edx, edx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_HeapFree]

Function at 0x180002d2c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov ebx, ecx
mov esi, edx
mov ebp, 5
imul rbx, rbx, 0x38
add rbx, qword [0x18001cd00]
test byte [rbx + 0x20], 1
mov rdi, qword [rbx]
je 0x180002d65
sub rdi, rbp
mov ebp, 7
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180002d8a
mov eax, 0xa
jmp 0x180002e16
test esi, esi
je 0x180002dac
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180002dcd
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180002dcd
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180002dc7
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180002dcd
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
mov al, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180003688
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
mov r15, qword [rbp - 0x50]
cmp rdi, 0x40000000
jbe 0x1800036d6
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x18001ccf0]
lea rax, [rdi + 0x40000000]
cmp r15, rax
cmova r15, rax
sub r15, 0xfff
test rbx, rbx
je 0x180003711
cmp rbx, r14
jb 0x18000370c
cmp rbx, r15
jae 0x18000370c
cmp qword [rbx + 8], 0
jne 0x180003867
mov rbx, qword [rbx]
jmp 0x1800036f2
mov rsi, rdi
cmp rdi, r14
jb 0x18000378e
mov r12d, dword [rbp - 0x38]
xor edx, edx
mov rax, rsi
div r12
sub rsi, rdx
jmp 0x180003754
lea rdx, [rbp - 0x30]
mov r8d, 0x30
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18000375c
cmp dword [rbp - 0x10], 0x10000
je 0x18000375e
mov rsi, qword [rbp - 0x28]
cmp rsi, r12
jb 0x18000375c
sub rsi, r12
cmp rsi, r14
jae 0x18000372a
xor esi, esi
test rsi, rsi
je 0x18000378e
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180003827
cmp rsi, r14
jae 0x180003719
test rbx, rbx
jmp 0x18000381a
mov r14d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
div r14
mov eax, r14d
mov esi, r14d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1800037f3
lea rdx, [rbp - 0x30]
mov r8d, 0x30
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800037f3
cmp dword [rbp - 0x10], 0x10000
je 0x1800037f5
xor edx, edx
lea edi, [r14 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div rsi
sub rdi, rdx
cmp rdi, r15
jbe 0x1800037b6
xor edi, edi
test rdi, rdi
je 0x180003867
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180003827
cmp rdi, r15
jbe 0x180003796
jmp 0x180003867
and qword [rbx + 8], 0
and dword [rbx + 0x10], 0
lea rcx, [rbx + 0x40]
mov rdx, rcx
sub rdx, rbx
mov rax, qword [rbx + 8]
add rdx, 0x40
mov qword [rcx], rax
mov qword [rbx + 8], rcx
add rcx, 0x40
cmp rdx, 0xfc0
jbe 0x18000383a
mov rax, qword [0x18001ccf0]
mov qword [0x18001ccf0], rbx
mov qword [rbx], rax
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x18000e308
Capabilities:
Get common file path
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
xor eax, eax
mov rdi, rcx
xor ebx, ebx
lea rcx, [rsp + 0x50]
mov edx, 0x104
mov byte [rbp + 0x80], bl
mov dword [rbp + 0x81], eax
mov word [rbp + 0x85], ax
mov byte [rbp + 0x87], al
mov dword [rbp + 0x78], ebx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
movzx edx, byte [rsp + 0x50]
mov dword [rsp + 0x38], ebx
lea ecx, [rbx + 0x43]
test eax, eax
cmove edx, ecx
mov qword [rsp + 0x30], rbx
lea r9, [rbp + 0x78]
mov byte [rsp + 0x50], dl
mov byte [rbp + 0x80], dl
lea rcx, [rbp + 0x80]
xor edx, edx
xor r8d, r8d
mov qword [rsp + 0x28], rbx
mov word [rbp + 0x81], 0x5c3a
mov byte [rbp + 0x83], bl
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [rbp + 0x78]
mov ecx, 0x381e515f
imul eax, eax, 0x14a30b
add eax, ecx
mov dword [rsp + 0x40], eax
imul eax, eax, 0x14a30b
add eax, ecx
imul eax, eax, 0x14a30b
add eax, ecx
mov word [rsp + 0x46], ax
imul eax, eax, 0x14a30b
inc rbx
add eax, ecx
mov byte [rsp + rbx + 0x47], al
cmp rbx, 8
jl 0x18000e3ca
movzx r9d, word [rsp + 0x46]
mov r8d, dword [rsp + 0x40]
mov dword [rbp + 0x78], eax
mov eax, dword [rsp + 0x4a]
lea rdx, str._08lX_04lX_lu
mov rcx, rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_wsprintfA]
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x18000e818
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
xor ecx, ecx
mov esi, r9d
mov ebp, r8d
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.USER32.dll_GetDC]
mov r8d, esi
mov rcx, rax
mov edx, ebp
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, rdi
mov rdx, rax
mov rbx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov dword [rsp + 0x40], 0xcc0020
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
mov r9d, ebp
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], esi
call qword [sym.imp.GDI32.dll_BitBlt]
mov rcx, rbx
call fcn.18000e8c4
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov al, 1
add rsp, 0x50
pop rdi
ret
Function at 0x18000eba0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
cmp qword [rdx + 0x18], 8
mov rax, rdx
mov rbx, rcx
jb 0x18000ebc4
mov rax, qword [rdx]
xor ebp, ebp
xor r9d, r9d
mov edx, 0x80000000
mov qword [rsp + 0x30], rbp
lea r8d, [rbp + 1]
mov rcx, rax
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x18000ec09
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
jmp 0x18000eca2
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0xffffffff
jne 0x18000ec26
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18000ebf9
lea rcx, [rsp + 0x40]
mov rdx, rsi
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rbp
call fcn.18000247c
mov r8d, esi
mov rsi, qword [rsp + 0x40]
lea r9, [rsp + 0x78]
mov rcx, rdi
mov rdx, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rdi
test eax, eax
jne 0x18000ec87
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
test rsi, rsi
je 0x18000eca2
mov rcx, rsi
call fcn.1800048d8
jmp 0x18000eca2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x48]
mov qword [rbx], rsi
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x10], rax
lea r11, [rsp + 0x60]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x18000f078
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
lea r9, [rsp + 0x30]
lea rcx, [0x1800138d0]
xor ebx, ebx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x30], rbx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
cmovns rbx, qword [rsp + 0x30]
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x18000f0b4
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
and qword [rsp + 0x20], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x30], 0
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, 8
mov edx, eax
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x18000f10f
and qword [rbx], 0
and qword [rbx + 8], 0
and qword [rbx + 0x10], 0
jmp 0x18000f164
lea rdx, [rsp + 0x40]
mov rcx, rax
mov dword [rsp + 0x40], 0x238
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x18000f0ff
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180002238
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x18000f129
mov rax, qword [rsp + 0x20]
mov qword [rbx], rax
mov rax, qword [rsp + 0x28]
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x10], rax
lea r11, [rsp + 0x280]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x18000f2c0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor ebx, ebx
cmp word [rsp + 0x20], bx
jne 0x18000f2e5
xor eax, eax
jmp 0x18000f2fc
lea rdx, [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [rsp + 0x68], ebx
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret