joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e88c8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rdi, rdx
mov rsi, rcx
lea rbx, [0x14012da68]
mov rcx, rbx
cmp qword [rdx + 8], 0
cmovne rcx, qword [rdx + 8]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400e8943
lea rbx, vtable.micro::utils::QString.0
mov qword [rsp + 0x28], rbx
and qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1400e7960
nop
lea rdx, [0x14016bc48]
lea rcx, [rsp + 0x28]
call sub.msvcrt.dll__CxxThrowException
int3
test al, 0x10
mov r8d, 0
lea r14d, [r8 + 1]
cmovne r8d, r14d
mov rdx, rbx
cmp qword [rdi + 8], 0
cmovne rdx, qword [rdi + 8]
cmp qword [rsi + 8], 0
cmovne rbx, qword [rsi + 8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CreateSymbolicLinkW]
test al, al
jne 0x1400e89ae
lea rbx, vtable.micro::utils::QString.0
mov qword [rsp + 0x28], rbx
and qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1400e7960
nop
lea rdx, [0x14016bc48]
lea rcx, [rsp + 0x28]
call sub.msvcrt.dll__CxxThrowException
nop
lea rbx, vtable.micro::utils::QString.0
mov qword [rsi], rbx
mov rcx, rsi
call fcn.1400e712c
nop
mov qword [rdi], rbx
mov rcx, rdi
call fcn.1400e712c
mov al, r14b
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1400e89e0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x28]
sub rsp, 0x110
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x40], rdx
xor r14d, r14d
mov edx, r14d
mov r8, qword [rdi + 8]
lea rax, [rsp + 0x58]
sub r8, rax
lea rax, [r8 + rdx*2]
movzx ecx, word [rsp + rax + 0x58]
mov word [rsp + rdx*2 + 0x58], cx
inc rdx
cmp rdx, 2
jl 0x1400e8a33
mov ebx, 0x5c
mov dword [rsp + 0x5c], ebx
lea r8d, [rbx - 0xc]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.DLL_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x1400e8aa1
lea rbx, vtable.micro::utils::QString.0
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], r14
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.1400e7960
nop
lea rdx, [0x14016bc48]
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll__CxxThrowException
int3
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.1400ea694
nop
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1400ea6c0
lea rcx, [0x14012da68]
mov rax, qword [rsp + 0x28]
test rax, rax
cmovne rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_SetVolumeMountPointW]
test eax, eax
jne 0x1400e8b13
lea rbx, vtable.micro::utils::QString.0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r14
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1400e7960
nop
lea rdx, [0x14016bc48]
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll__CxxThrowException
nop
lea rbx, vtable.micro::utils::QString.0
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x20]
call fcn.1400e712c
nop
mov qword [rsi], rbx
mov rcx, rsi
call fcn.1400e712c
nop
mov qword [rdi], rbx
mov rcx, rdi
call fcn.1400e712c
mov al, 1
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140001010
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400e8e08
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x270
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
and qword [rcx + 8], 0
lea rax, vtable.micro::files::QTempFile.0
mov qword [rcx], rax
lea rbp, vtable.micro::utils::QString.0
mov qword [rcx + 0x18], rbp
and qword [rcx + 0x20], 0
mov qword [rcx + 0x28], rbp
and qword [rcx + 0x30], 0
add rcx, 0x18
call fcn.1400e7b9c
mov byte [rbx + 0x38], 0
mov qword [rsp + 0x20], rbp
and qword [rsp + 0x28], 0
lea rcx, [rsp + 0x20]
call fcn.1400e8fa0
test al, al
je 0x1400e8ec7
lea rcx, [0x14012da68]
mov rdx, rcx
cmp qword [rbx + 0x20], 0
cmovne rdx, qword [rbx + 0x20]
mov rax, qword [rsp + 0x28]
test rax, rax
cmovne rcx, rax
lea r9, [rsp + 0x50]
xor r8d, r8d
call qword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
lea rdx, [rsp + 0x50]
lea rcx, [rbx + 0x28]
call fcn.1400e7be0
nop
mov qword [rsp + 0x20], rbp
lea rcx, [rsp + 0x20]
call fcn.1400e712c
nop
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140001010
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400e8f00
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rbx, rcx
lea rax, vtable.micro::files::QTempFile.0
mov qword [rcx], rax
cmp byte [rcx + 0x38], 0
je 0x1400e8f42
lea rcx, [0x14012da68]
cmp qword [rbx + 0x30], 0
cmovne rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea rcx, [rbx + 0x28]
lea rdi, vtable.micro::utils::QString.0
mov qword [rcx], rdi
call fcn.1400e712c
nop
lea rcx, [rbx + 0x18]
mov qword [rcx], rdi
call fcn.1400e712c
nop
lea rax, vtable.micro::files::QFile.0
mov qword [rbx], rax
mov rcx, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.1400e8500

Function at 0x1400e8fa0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x240
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
lea rdx, [rsp + 0x20]
xor esi, esi
mov ecx, 0x105
mov word [rsp + 0x20], si
call qword [sym.imp.KERNEL32.DLL_GetTempPathW]
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov ebx, eax
call fcn.1400e7be0
lea eax, [rbx - 1]
cmp eax, 0x103
setbe al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140001010
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400e9028
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r9, r8
mov r10, rdx
mov r11, rcx
lea rdi, [0x14017e740]
test r8, r8
je 0x1400e9071
test r10b, 7
je 0x1400e9071
movzx eax, byte [r10]
movzx edx, byte [r11 + 8]
mov ecx, dword [r11 + 8]
xor rdx, rax
shr ecx, 8
inc r10
mov eax, dword [rdi + rdx*4]
xor eax, ecx
mov dword [r11 + 8], eax
dec r9
jne 0x1400e9047
cmp r9, 8
jb 0x1400e910a
mov edx, dword [r11 + 8]
mov rbx, r9
shr rbx, 3
imul rax, rbx, 0xfffffffffffffff8
add r9, rax
xor edx, dword [r10]
add r10, 8
mov dword [r11 + 8], edx
mov eax, edx
mov r8d, edx
shr eax, 0x18
movzx edx, al
mov eax, r8d
shr r8d, 8
mov edx, dword [rdi + rdx*4 + 0x1000]
shr eax, 0x10
movzx ecx, al
movzx eax, r8b
xor edx, dword [rdi + rcx*4 + 0x1400]
xor edx, dword [rdi + rax*4 + 0x1800]
movzx eax, byte [r10 - 2]
xor edx, dword [rdi + rax*4 + 0x400]
movzx eax, byte [r10 - 3]
xor edx, dword [rdi + rax*4 + 0x800]
movzx eax, byte [r10 - 4]
xor edx, dword [rdi + rax*4 + 0xc00]
movzx eax, byte [r10 - 1]
xor edx, dword [rdi + rax*4]
movzx eax, byte [r11 + 8]
xor edx, dword [rdi + rax*4 + 0x1c00]
mov dword [r11 + 8], edx
dec rbx
jne 0x1400e908d
test r9, r9
je 0x1400e9135
mov edx, dword [r11 + 8]
movzx eax, byte [r10]
movzx ecx, byte [r11 + 8]
inc r10
xor rcx, rax
mov eax, edx
mov edx, dword [rdi + rcx*4]
shr eax, 8
xor edx, eax
mov dword [r11 + 8], edx
dec r9
jne 0x1400e9113
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret

Function at 0x1400ea94c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r9, rdx
mov r10, rcx
lea rbx, [0x140180740]
test r8, r8
je 0x1400ea98c
test r9b, 7
je 0x1400ea98c
mov rcx, qword [r10]
movzx eax, byte [r9]
inc r9
xor rax, rcx
shr rcx, 8
movzx eax, al
mov rax, qword [rbx + rax*8]
xor rax, rcx
mov qword [r10], rax
dec r8
jne 0x1400ea963
cmp r8, 8
jb 0x1400eaa1b
mov r11, r8
shr r11, 3
imul rax, r11, 0xfffffffffffffff8
add r8, rax
mov rax, qword [r9]
add r9, 8
xor qword [r10], rax
movzx eax, byte [r10 + 1]
mov rcx, qword [r10]
shr rcx, 0x38
mov rdx, qword [rbx + rcx*8]
xor rdx, qword [rbx + rax*8 + 0x3000]
movzx eax, byte [r10 + 2]
xor rdx, qword [rbx + rax*8 + 0x2800]
movzx eax, byte [r10 + 3]
xor rdx, qword [rbx + rax*8 + 0x2000]
movzx eax, byte [r10 + 5]
xor rdx, qword [rbx + rax*8 + 0x1000]
movzx eax, byte [r10]
xor rdx, qword [rbx + rax*8 + 0x3800]
movzx eax, byte [r10 + 4]
xor rdx, qword [rbx + rax*8 + 0x1800]
movzx eax, byte [r10 + 6]
xor rdx, qword [rbx + rax*8 + 0x800]
mov qword [r10], rdx
dec r11
jne 0x1400ea9a4
test r8, r8
je 0x1400eaa43
mov rcx, qword [r10]
movzx eax, byte [r9]
inc r9
xor rax, rcx
shr rcx, 8
movzx eax, al
mov rax, qword [rbx + rax*8]
xor rax, rcx
mov qword [r10], rax
dec r8
jne 0x1400eaa20
mov rbx, qword [rsp + 8]
ret
Function at 0x1400ec6d8
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 8]
mov rsi, rdx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov rcx, rsi
test eax, eax
jne 0x1400ec70c
call fcn.1400e719c
mov al, 1
jmp 0x1400ec72b
mov edx, eax
lea ebx, [rax + 1]
call fcn.1400e7164
mov rcx, qword [rbp + 8]
mov r8d, ebx
mov rdx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
setne al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400ecef8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ebx, dword [rcx + 0x18]
mov rdi, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
movzx edx, bx
mov r8d, 5
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.DLL_FindResourceW]
mov rcx, rsi
mov rdx, rax
call qword [sym.imp.KERNEL32.DLL_LoadResource]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_LockResource]
mov r8, qword [rdi + 0x10]
test r8, r8
je 0x1400ecf4f
mov r8, qword [r8 + 8]
and qword [rsp + 0x20], 0
lea r9, [0x1400ecad8]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov r9, rdi
xor r8d, r8d
mov rcx, rax
mov edx, 0x110
mov qword [rdi + 8], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FreeResource]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x1400ed1b4
Capabilities:
Create shortcut via ishelllink

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rsi, r8
mov rdi, rdx
mov r14, rcx
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x140105790]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140105900]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jne 0x1400ed2f3
and qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
lea rdx, [0x1401058d0]
call qword [rax]
mov ebx, eax
test eax, eax
jne 0x1400ed2dd
lea rdx, [0x14012da68]
cmp qword [r14 + 8], 0
cmovne rdx, qword [r14 + 8]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
xor r8d, r8d
call qword [rax + 0x28]
mov ebx, eax
test eax, eax
jne 0x1400ed2dd
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
xor edx, edx
lea r8d, [rbx + 4]
call qword [rax + reloc.SHELL32.dll_ILGetSize]
mov ebx, eax
test eax, eax
jne 0x1400ed2dd
and dword [rsp + 0x50], eax
xor edx, edx
mov r8d, 0x24c
lea rcx, [rsp + 0x54]
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
and dword [rsp + 0x20], ebx
lea r9, [rsp + 0x50]
mov r8d, 0x104
lea rdx, [rbp + 0x1a0]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
jne 0x1400ed2dd
lea rdx, [rbp + 0x1a0]
mov rcx, rdi
call fcn.1400e7be0
mov eax, dword [rsp + 0x50]
shr eax, 4
and al, 1
mov byte [rsi], al
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400ed2f3
mov rdx, qword [rcx]
call qword [rdx + reloc.SHELL32.dll_ILFindLastID]
and qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400ed303
mov rdx, qword [rcx]
call qword [rdx + reloc.SHELL32.dll_ILFindLastID]
mov eax, ebx
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140001010
add rsp, 0x4c0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x1400ed520
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
lea rax, [rbp - 0x18]
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea r8d, [rbx + 0x20]
mov r9d, 0x220
mov dl, 2
mov dword [rsp + 0x28], ebx
mov dword [rbp - 0x10], ebx
mov word [rbp - 0xc], 0x500
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp - 0x20], eax
test eax, eax
je 0x1400ed5ab
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp - 0x20], ecx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp - 0x20]
cmp eax, 1
sete al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140001010
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret
Function at 0x1400ed63c
Capabilities:
Get file system object information

Disassembly:
push rbx
sub rsp, 0x300
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
and qword [rsp + 0x30], 0
mov rbx, rcx
lea rcx, [rsp + 0x38]
xor edx, edx
mov r8d, 0x2b0
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
mov edx, 0x80
mov rcx, rbx
mov dword [rsp + 0x20], 0x4010
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140001010
add rsp, 0x300
pop rbx
ret

Function at 0x1400ed6b0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor esi, esi
lea rdi, [0x14012da68]
cmp qword [rdx + 8], rsi
mov rbx, rdi
cmovne rbx, qword [rdx + 8]
cmp qword [rcx + 8], rsi
cmovne rdi, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rdx, str.open
mov rcx, rax
mov r9, rbx
mov r8, rdi
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
cmp eax, 0x20
setg al
add rsp, 0x30
pop rdi
ret

Function at 0x1400ed71c
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rdi, rdx
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x28]
lea r8d, [rdx + 0x68]
mov dword [rsp + 0x20], WSACleanup
call sub.msvcrt.dll_memset
mov dword [rsp + 0x24], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, qword [rbx]
cmp qword [rdi + 8], 0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x60], rcx
lea rcx, [0x14012da68]
mov dword [rsp + 0x50], 1
cmovne rcx, qword [rdi + 8]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rbx, qword [rsp + 0xa0]
mov al, 1
add rsp, 0x90
pop rdi
ret

Function at 0x1400ed7a0
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x230], rax
and dword [rsp + 0x24], 0
mov rbx, rcx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rdx, [rsp + 0x30]
or r8d, 0xffffffff
mov rcx, rbx
call fcn.1400e6fc8
mov rax, rbx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140001010
add rsp, 0x240
pop rbx
ret
Function at 0x1400edf64
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rbx + 0x10]
cmp rcx, 0xffffffffffffffff
jne 0x1400edfb7
cmp qword [rbx + 8], 0
lea rcx, [0x14012da68]
mov r8, rdi
cmovne rcx, qword [rbx + 8]
xor r9d, r9d
mov dword [rsp + 0x28], 2
and qword [rsp + 0x20], 0
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.DLL_FindFirstFileExW]
mov qword [rbx + 0x10], rax
cmp rax, 0xffffffffffffffff
jmp 0x1400edfc2
mov rdx, rdi
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
je 0x1400ee019
lea rax, [rdi + 0x2c]
lea r8, [0x140107384]
mov rcx, rax
sub r8, rax
movzx edx, word [rcx]
movzx r9d, word [rcx + r8]
sub edx, r9d
jne 0x1400edfeb
add rcx, 2
test r9d, r9d
jne 0x1400edfd5
test edx, edx
je 0x1400edf74
lea r8, [0x14010e308]
sub r8, rax
movzx ecx, word [rax]
movzx edx, word [rax + r8]
sub ecx, edx
jne 0x1400ee00d
add rax, 2
test edx, edx
jne 0x1400edff9
test ecx, ecx
je 0x1400edf74
mov al, 1
jmp 0x1400ee024
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rbx + 0x18], eax
xor al, al
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400ee9d0
Capabilities:
Get file system object information

Disassembly:
push rbx
sub rsp, 0x300
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
and qword [rsp + 0x30], 0
mov rbx, rcx
lea rcx, [rsp + 0x38]
xor edx, edx
mov r8d, 0x2b0
call sub.msvcrt.dll_memset
mov rcx, qword [rbx]
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x4008
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140001010
add rsp, 0x300
pop rbx
ret

Function at 0x1400ef648
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
cmp qword [rdx + 8], 0
mov rcx, qword [rcx + 8]
lea r8, [0x14012da68]
cmovne r8, qword [rdx + 8]
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x28], 5
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, 1
add rsp, 0x38
ret
Function at 0x1400ef90c
Capabilities:
Extract resource via kernel32 functions

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 rdi, rdx
mov r14, rcx
mov rdx, r8
mov rcx, rdi
mov rbx, r8
call qword [sym.imp.KERNEL32.DLL_LoadResource]
test rax, rax
jne 0x1400ef943
xor al, al
jmp 0x1400ef99d
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_LockResource]
mov rbp, rax
test rax, rax
je 0x1400ef93f
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
lea ecx, [rdi + 2]
call qword [sym.imp.msvcrt.dll_void____ptr64___cdecl_operator_new___unsigned_long_long_unsigned___int64__]
mov r8d, edi
mov rdx, rbp
mov rcx, rax
mov rsi, rax
call sub.msvcrt.dll_memcpy
lea ecx, [rdi + 1]
mov rdx, rsi
mov byte [rcx + rsi], 0
mov rcx, r14
mov byte [rdi + rsi], 0
call fcn.1400e7c88
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov al, 1
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 0x1400f03b4
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x260
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x258], rax
mov rsi, r8
mov r14, rdx
mov rbp, rcx
mov qword [rsp + 0x40], r8
mov r15d, 1
mov rdx, qword [r8 + 8]
xor ebx, ebx
test rdx, rdx
je 0x1400f0408
mov eax, dword [rdx - 8]
jmp 0x1400f040a
mov eax, ebx
cmp eax, 0xfe
jle 0x1400f0436
lea rdi, vtable.micro::utils::QString.0
mov qword [r14], rdi
mov rcx, r14
call fcn.1400e712c
nop
mov qword [rsi], rdi
mov rcx, rsi
call fcn.1400e712c
xor al, al
jmp 0x1400f050f
lea rdi, [0x14012da68]
mov r8, rdi
test rdx, rdx
cmovne r8, rdx
mov edx, 0xff
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcrt.dll_wcscpy_s]
mov rdx, rdi
cmp qword [rbp + 0x20], rbx
cmovne rdx, qword [rbp + 0x20]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400f04ef
cmp qword [r14 + 8], rbx
cmovne rdi, qword [r14 + 8]
lea rcx, [rsp + 0x50]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x1400f0496
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx edi, r15b
test eax, eax
cmovne edi, ebx
cmp byte [rbp + 0x10], bl
jne 0x1400f04e1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, dil
lea rdi, vtable.micro::utils::QString.0
mov qword [r14], rdi
mov rcx, r14
call fcn.1400e712c
nop
mov qword [rsi], rdi
mov rcx, rsi
call fcn.1400e712c
mov al, bl
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.140001010
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x260
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400f378c
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
lea rcx, str.timer__n
mov rbx, rdx
call qword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
cmp rbx, 0x7b
jne 0x1400f37f8
mov eax, dword [rsi + 0x3c]
xor r8d, r8d
inc eax
movsxd rdx, eax
mov rax, qword [rsi + 0x90]
mov rdi, qword [rax + rdx*8]
lea edx, [rbx - 0x53]
lea rcx, [rdi + 0x20]
call qword [sym.imp.USER32.dll_OffsetRect]
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rsi
call fcn.1400f3080
mov eax, dword [rsi + 0x58]
add eax, dword [rdi + 0x28]
sub eax, dword [rdi + 0x20]
cmp dword [rdi + 0x28], eax
jl 0x1400f384d
mov rdx, rbx
jmp 0x1400f3843
cmp rbx, 0x7a
jne 0x1400f384d
mov eax, dword [rsi + 0x3c]
xor r8d, r8d
dec eax
lea edx, [r8 - 0x28]
movsxd rcx, eax
mov rax, qword [rsi + 0x90]
mov rbx, qword [rax + rcx*8]
lea rcx, [rbx + 0x20]
call qword [sym.imp.USER32.dll_OffsetRect]
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rsi
call fcn.1400f3080
mov ecx, dword [rsi + 0x50]
sub ecx, dword [rbx + 0x28]
add ecx, dword [rbx + 0x20]
cmp dword [rbx + 0x20], ecx
jg 0x1400f384d
mov edx, 0x7a
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_KillTimer]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov al, 1
add rsp, 0x20
pop rdi
ret

Function at 0x1400f4a90
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, r8
mov esi, edx
lea ecx, [rbx + 0x12]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
lea edx, [rbx + 4]
lea r8d, [rbx + 1]
lea r9d, [rbx + 2]
test cx, ax
je 0x1400f4aca
mov ebx, dword [rdi]
and ebx, edx
jmp 0x1400f4ae1
test sil, 8
je 0x1400f4ad7
mov ebx, dword [rdi]
and ebx, r8d
jmp 0x1400f4ae1
test dl, sil
je 0x1400f4ae5
mov ebx, dword [rdi]
and ebx, r9d
test ebx, ebx
jne 0x1400f4afe
test byte [rdi], dl
cmovne ebx, edx
test byte [rdi], r9b
cmovne ebx, r9d
test byte [rdi], r8b
cmovne ebx, r8d
test ebx, ebx
cmove ebx, r8d
mov rsi, qword [rsp + 0x38]
mov dword [rdi], ebx
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret