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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x228]
sub rsp, 0x320
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rdi, rcx
mov qword [rcx], rdx
mov dword [rsp + 0x20], 0x4001
mov r9d, 0x2b8
lea r8, [rsp + 0x50]
xor edx, edx
lea rcx, [0x1401da77c]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rbx, rax
xor esi, esi
test rax, rax
jne 0x14002eb86
mov qword [rsp + 0x30], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1401da070]
movdqu xmmword [rsp + 0x40], xmm1
mov word [rsp + 0x30], si
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14015f8e0
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
mov dword [rsp + 0x20], 0x4001
mov r9d, 0x2b8
lea r8, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rbx, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14002eb73
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002eb6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ebc2
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], si
mov r9, rbx
xor r8d, r8d
mov edx, 0x1109
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1401adee0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1401b4fa4
int3

Function at 0x140030af0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rdx
mov r8, rcx
cmp byte [rcx + 0x20], bl
je 0x140030b31
mov qword [rdx], rbx
cmp dword [rcx + 0x30], ebx
jbe 0x140030b63
mov eax, ebx
mov rcx, qword [r8 + 0x28]
mov edx, ebx
inc ebx
add rdx, rdx
add rax, qword [rcx + rdx*8 + 8]
mov qword [rdi], rax
cmp ebx, dword [r8 + 0x30]
jb 0x140030b16
jmp 0x140030b63
mov rcx, qword [rcx + 0x10]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0xffffffff
jne 0x140030b55
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140030b55
xor al, al
jmp 0x140030b65
mov ecx, dword [rsp + 0x30]
shl rcx, 0x20
add rcx, rsi
mov qword [rdi], rcx
mov al, 1
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140032708
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
cmp byte [rcx + 0x20], 0
mov r12, r9
mov r14d, r8d
mov r15, rdx
mov rbx, rcx
je 0x1400327d1
mov ecx, dword [rcx + 0x30]
xor edi, edi
test ecx, ecx
je 0x1400327cd
mov rdx, qword [rbx + 0x28]
mov r8, qword [rbx + 0x10]
mov eax, edi
add rax, rax
cmp r8, qword [rdx + rax*8]
je 0x14003275a
inc edi
cmp edi, ecx
jb 0x140032749
cmp edi, ecx
jae 0x1400327cd
xor ebp, ebp
mov esi, edi
test r14d, r14d
je 0x1400327c5
mov rax, qword [rbx + 0x28]
mov ecx, esi
add rcx, rcx
mov rcx, qword [rax + rcx*8]
mov qword [rbx + 0x10], rcx
mov byte [rbx + 0x20], 0
cmp esi, edi
jbe 0x140032792
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400329c0
and dword [rsp + 0x70], 0
lea r9, [rsp + 0x70]
mov r8d, r14d
mov rdx, r15
mov rcx, rbx
call fcn.140032708
mov byte [rbx + 0x20], 1
test al, al
je 0x1400327cd
mov edx, dword [rsp + 0x70]
inc esi
add ebp, edx
add r15, rdx
sub r14d, edx
cmp esi, dword [rbx + 0x30]
jb 0x140032762
mov dword [r12], ebp
mov al, 1
jmp 0x1400327e6
xor al, al
jmp 0x1400327e6
mov rcx, qword [rcx + 0x10]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne al
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x140032ddc
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rbx, rdx
mov rdi, rcx
call fcn.1400329c0
test al, al
je 0x140032e15
cmp qword [rsp + 0x40], rbx
jne 0x140032e15
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
jmp 0x140032e17
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400330f8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rbx, rcx
mov r10d, r8d
mov rcx, qword [rcx + 0x40]
mov rsi, rdx
add rcx, r10
mov r14d, r8d
mov dil, 1
mov qword [rbx + 0x40], rcx
je 0x14003314c
mov r8, qword [rbx + 0x48]
cmp rcx, r8
jae 0x14003314c
mov rax, qword [rbx + 0x18]
and qword [rax + 0x28], 0
and qword [rax + 0x30], 0
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], r8
mov byte [rax + 0x38], dil
cmp byte [rbx + 9], 0
je 0x140033157
mov dword [r9], r10d
jmp 0x140033170
mov rcx, qword [rbx + 0x10]
mov r8d, r10d
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne dil
mov rcx, qword [rbx + 0x18]
mov r8, r14
mov rdx, rsi
mov rcx, qword [rcx + 8]
call fcn.140039d88
mov rbx, qword [rsp + 0x40]
mov al, dil
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop r14
ret
Function at 0x140035ff4
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
xor r9d, r9d
lea r10, [0x140230e70]
mov r8d, r9d
mov r11d, 8
shl r8d, 0x18
lea eax, [r8 + r8]
mov ecx, r8d
mov edx, eax
mov r8d, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovs r8d, edx
dec r11d
test r11d, r11d
jg 0x14003600b
mov dword [r10], r8d
inc r9d
add r10, 4
cmp r9d, 0x100
jl 0x140035ffe
ret
Function at 0x140042f88
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
lea rdx, [0x1402312b0]
mov r10d, 0x100
mov r9, r8
mov r11d, 8
mov rcx, r9
movabs rax, 0xc96c5795d7870f42
and ecx, 1
dec rcx
not rcx
and rcx, rax
mov rax, r9
shr rax, 1
mov r9, rcx
xor r9, rax
sub r11, 1
jne 0x140042fa1
mov qword [rdx], r9
inc r8
add rdx, 8
sub r10, 1
jne 0x140042f98
ret

Function at 0x140042fe0
Capabilities:
Encode data using xor

Disassembly:
mov r9, r8
test r8, r8
je 0x14004300a
movzx eax, byte [rdx]
inc rdx
xor rax, rcx
shr rcx, 8
movzx r8d, al
lea rax, [0x1402312b0]
xor rcx, qword [rax + r8*8]
sub r9, 1
jne 0x140042fe8
mov rax, rcx
ret

Function at 0x140047070
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
mov r10d, dword [r9]
xor r11d, r11d
and r10d, 7
mov esi, r8d
mov r14, rcx
cmp rdx, 5
jae 0x1400470a8
xor eax, eax
jmp 0x14004721c
lea rbp, [rdx - 4]
add esi, 5
add rbp, rcx
or rbx, 0xffffffffffffffff
xor r15d, r15d
lea rdx, [0x140000000]
lea r8, [r11 + r14]
jmp 0x1400470d2
mov al, byte [r8]
and al, 0xfe
cmp al, 0xe8
je 0x1400470d7
inc r8
cmp r8, rbp
jb 0x1400470c6
mov r11, r8
sub r11, r14
mov rax, r11
cmp r8, rbp
jae 0x1400471fc
sub rax, rbx
cmp rax, 3
jbe 0x14004713f
mov r10d, r15d
mov al, byte [r8 + 4]
mov rbx, r11
dec al
cmp al, 0xfd
jbe 0x140047170
movzx eax, byte [r8 + 3]
lea r14, [0x140000000]
movzx edx, byte [r8 + 4]
shl edx, 8
or edx, eax
mov r12d, r10d
movzx eax, byte [r8 + 2]
shl edx, 8
or edx, eax
movzx eax, byte [r8 + 1]
shl edx, 8
or edx, eax
cmp dword [rsp + 0x50], r15d
je 0x140047183
lea r9d, [r11 + rdx]
add r9d, esi
jmp 0x14004718c
lea ecx, [rax - 1]
shl r10d, cl
and r10d, 7
je 0x1400470f5
cmp byte [r10 + rdx + 0x1dc7b8], r15b
je 0x14004716d
movzx eax, byte [r10 + rdx + 0x1dc7c0]
mov rcx, r8
sub rcx, rax
mov al, byte [rcx + 4]
inc al
test al, 0xfe
jne 0x1400470f5
mov rbx, r11
and r10d, 3
add r10d, r10d
or r10d, 1
inc r11
jmp 0x1400470c0
mov r9d, edx
sub r9d, r11d
sub r9d, esi
test r10d, r10d
je 0x1400471c8
movzx edi, byte [r12 + r14 + 0x1dc7c0]
mov ecx, 0x18
shl edi, 3
mov edx, r9d
sub ecx, edi
shr edx, cl
inc dl
test dl, 0xfe
jne 0x1400471c8
mov ecx, 0x20
mov edx, 1
sub ecx, edi
shl edx, cl
dec edx
xor edx, r9d
jmp 0x14004712f
mov r14, qword [rsp + 0x30]
mov eax, r9d
shr eax, 0x18
and al, 1
mov byte [r8 + 1], r9b
neg al
mov byte [r8 + 4], al
mov eax, r9d
shr eax, 0x10
mov byte [r8 + 3], al
mov eax, r9d
shr eax, 8
mov byte [r8 + 2], al
add r11, 5
jmp 0x1400470b9
mov rdx, r11
sub rdx, rbx
lea ecx, [rdx - 1]
shl r10d, cl
and r10d, 7
cmp rdx, 3
cmova r10d, r15d
mov r15, qword [rsp + 0x48]
mov dword [r15], r10d
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140052af8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov rbx, qword [rcx]
cmp rbx, 0x20
jb 0x140052bc6
mov rdx, qword [rcx + 8]
movabs rsi, 0x9e3779b185ebca87
mov r9, qword [rcx + 0x18]
movabs rdi, 0xc2b2ae3d27d4eb4f
mov r8, qword [rcx + 0x10]
mov rax, rdx
mov r10, qword [rcx + 0x20]
mov r11, r9
rol r11, 0xc
rol rax, 1
add r11, rax
mov rax, r8
rol rax, 7
add r11, rax
mov rax, r10
imul rdx, rdi
imul r8, rdi
imul r10, rdi
imul r9, rdi
rol rax, 0x12
add r11, rax
rol rdx, 0x1f
movabs rax, 0x7a1435883d4d519d
rol r8, 0x1f
imul rdx, rsi
imul r8, rsi
xor r11, rdx
rol r10, 0x1f
imul r11, rsi
imul r10, rsi
sub r11, rax
rol r9, 0x1f
xor r11, r8
imul r11, rsi
imul r9, rsi
sub r11, rax
xor r11, r9
imul r11, rsi
sub r11, rax
xor r11, r10
movabs r10, 0x85ebca77c2b2ae63
imul r11, rsi
add r10, r11
jmp 0x140052bd7
mov r10, qword [rcx + 0x18]
movabs rdx, 0x27d4eb2f165667c5
add r10, rdx
add r10, rbx
lea rdx, [rcx + 0x28]
mov rcx, r10
xor r9d, r9d
mov r8, rbx
mov rbx, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
pop rdi
jmp fcn.14005297c

Function at 0x140054fe0
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
lea r9, [rcx + 0x3440]
mov edx, r8d
mov r10d, 8
mov eax, edx
mov ecx, edx
xor eax, 0x14002
shr edx, 1
shr eax, 1
test cl, 1
cmovne edx, eax
sub r10, 1
jne 0x140054ff3
mov word [r9], dx
inc r8d
add r9, 2
cmp r8d, 0x100
jb 0x140054fea
ret

Function at 0x140055874
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
add qword [rcx + 0x3778], r8
mov rdi, rcx
mov rbx, qword [rcx + 0x3678]
mov rsi, r8
add rcx, 0x3688
mov rbp, rdx
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400f0cf3.0]
mov rdx, qword [rdi + 0x3780]
mov r9, rbx
mov rcx, qword [rdi + 0x3778]
mov r8, rax
call fcn.140103cb4
mov rcx, qword [rdi + 8]
mov r8, rsi
mov rdx, rbp
call fcn.140039d88
mov edx, dword [rdi + 0x3770]
mov r8, rsi
mov r9, rbp
test rsi, rsi
je 0x14005590c
movzx ecx, byte [r9]
inc r9
movzx eax, dl
xor rcx, rax
shr edx, 8
movzx eax, word [rdi + rcx*2 + 0x3440]
xor edx, eax
sub r8, 1
jne 0x1400558ec
mov rax, qword [rdi + 8]
mov dword [rdi + 0x3770], edx
cmp byte [rax + 0x319], 0
jne 0x14005594d
mov rax, qword [rdi + 0x3708]
lea rcx, [rdi + 0x3708]
mov rax, qword [rax + 0x30]
call qword [case.0x1400f0cf3.0]
test al, al
je 0x14005594d
mov r8, rsi
lea rcx, [rdi + 0x3708]
mov rdx, rbp
call fcn.1400ca360
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14005cd1c
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
test r8, r8
je 0x14005cd4a
movzx eax, byte [rdx]
mov r9d, r10d
shr r9, 8
inc rdx
xor r9, rax
shl r10d, 8
movzx eax, r9b
xor r10d, dword [rcx + rax*4 + 0xae0]
sub r8, 1
jne 0x14005cd24
movzx eax, r10w
ret
Function at 0x14005e6f0
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea r10, [rcx + 0xae0]
mov r8d, r9d
mov r11d, 8
shl r8d, 8
lea ecx, [r8 + r8]
mov edx, r8d
mov eax, ecx
mov r8d, ecx
xor eax, 0x1021
bt edx, 0xf
cmovb r8d, eax
sub r11, 1
jne 0x14005e707
mov dword [r10], r8d
inc r9d
add r10, 4
cmp r9d, 0x100
jb 0x14005e6fa
ret
Function at 0x140077d30
Capabilities:
Get common file path

Disassembly:
mov edx, 0x10
jmp fcn.140077d3c

Function at 0x140077d3c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rcx
lea rax, [rsp + 0x30]
xor ecx, ecx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, [rsp + 0x30]
mov rcx, rdi
mov ebx, eax
lea rax, str.unknown_folder
test ebx, ebx
cmovne rdx, rax
call fcn.140012f6c
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401adee0
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
Function at 0x14007f084
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx r8d, byte [rdx]
mov rbx, rdx
mov edx, 0x65
mov rsi, rcx
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 1]
mov edx, 0x66
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 2]
mov edx, 0x67
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 3]
mov edx, 0x68
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 4]
mov edx, 0x73
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 5]
mov edx, 0x69
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 6]
mov edx, 0x6a
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 7]
mov edx, 0x6b
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 8]
mov edx, 0x6c
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 9]
mov edx, 0x6d
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0xa]
mov edx, 0x6e
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0xb]
mov edx, 0x6f
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0xc]
mov edx, 0x70
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0xd]
mov edx, 0x72
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0xe]
mov edx, 0x71
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0xf]
mov edx, 0x74
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0x10]
mov edx, 0x75
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0x11]
mov edx, 0x76
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0x14]
mov edx, 0x78
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0x15]
mov edx, 0x79
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0x16]
mov edx, 0x7a
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0x17]
mov edx, 0x7b
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0x18]
mov edx, 0x7c
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0x19]
mov edi, 0x7d
mov edx, edi
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
movzx r8d, byte [rbx + 0x1a]
lea edx, [rdi + 1]
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
call fcn.140116a78
mov r8b, al
lea edx, [rdi - 2]
mov rcx, rsi
call fcn.140027928
mov r8b, byte [rbx + 0x17]
lea edx, [rdi - 1]
mov rcx, rsi
call fcn.140027928
mov r8b, byte [rbx + 0x17]
mov edx, edi
mov rcx, rsi
call fcn.140027928
xor edi, edi
cmp byte [rbx + 0x17], dil
je 0x14007f2b4
call fcn.1400cf940
test al, al
je 0x14007f2b4
mov dil, 1
mov r8b, dil
mov edx, 0x7e
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140027928
Function at 0x140088318
Capabilities:
Get common file path

Disassembly:
cmp dword [0x140231b08], 1
mov rax, rdx
jne 0x14008832c
mov rcx, rdx
jmp fcn.1400e0838
lea rdx, [rcx + 0xf8]
mov rcx, rax
jmp fcn.140004948

Function at 0x140089010
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rbx + 0x90]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rcx, qword [rbx + 0x90]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x1012
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x12
movsx edi, ax
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x11
movsx ebx, ax
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
mov eax, 1
test byte [rsp + 0x28], al
jne 0x1400890aa
bt edi, 0xf
jb 0x1400890aa
bt ebx, 0xf
jb 0x1400890aa
bt ecx, 0xf
jae 0x1400890ac
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401adee0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140094e74
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
mov rbx, rcx
test rcx, rcx
je 0x140094fc7
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rcx + rdi*2], r15w
jne 0x140094e9f
test rdi, rdi
je 0x140094fc7
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140094fcc
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rbp, [rdi*2 + 2]
mov ecx, 0x2002
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x140094f1a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140094f1a
lea r8, [rdi + 1]
mov rdx, rax
mov rcx, rbx
call fcn.140104680
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rdx, rbp
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x140094f73
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r14, rax
test rax, rax
je 0x140094f73
lea r8, [rdi + 1]
mov rdx, rax
mov rcx, rbx
call fcn.140104680
mov rdx, r14
mov rcx, r14
call qword [sym.imp.USER32.dll_CharToOemA]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, 7
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rdx, rbp
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x140094fc1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140094fc1
sub rax, rbx
movzx ecx, word [rbx]
mov word [rax + rbx], cx
lea rbx, [rbx + 2]
test cx, cx
jne 0x140094f9a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140096bc0
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
movzx ebx, dl
mov rsi, rcx
call fcn.1400cfc48
cmp eax, 0x600
jb 0x140096bfd
mov rcx, qword [rsi]
mov edx, ebx
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400f0cf3.0]
jmp 0x140096c88
mov rax, qword [rsi + 0x10]
mov byte [rax + 0x2c], bl
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x140096c88
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov rbp, 0xffffffffffffffff
lea ebx, [rax + 1]
mov eax, 2
movsxd rcx, ebx
mul rcx
cmovo rax, rbp
mov rcx, rax
call fcn.1401ae17c
mov rcx, qword [rsi + 0x18]
mov r8d, ebx
mov rdx, rax
mov rdi, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rsi + 0x18]
mov r9, rbp
xor r8d, r8d
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi + 0x18]
lea r9d, [rbp + 2]
mov edx, 0x102
lea r8d, [rbp + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi + 0x18]
mov rdx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rdi
call fcn.1401addcc
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b1ab8
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x140242f10], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x1400b1b18
movdqa xmm0, xmmword [0x1401ebb20]
movdqa xmm1, xmmword [0x1401ebb10]
movdqa xmmword [0x1402355c0], xmm0
movdqa xmm0, xmmword [0x1401ebaf0]
movdqa xmmword [0x1402355d0], xmm1
movdqa xmm1, xmmword [0x1401ebb00]
movdqa xmmword [0x1402355e0], xmm0
movdqa xmmword [0x1402355f0], xmm1
xor edx, edx
mov r8d, 0xf0
call fcn.1401b0b80
xor edx, edx
mov qword [rbx + 0x110], rdx
mov byte [rbx + 0x118], dl
mov rcx, qword [rbx + 0xf8]
lea rax, [0x1401ebad0]
mov eax, dword [rdx + rax]
mov dword [rdx + rcx], eax
add rdx, 4
cmp rdx, 0x20
jl 0x1400b1b34
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
shl edi, 0x10
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
add rsp, 0x20
pop rdi
ret

Function at 0x1400b7f28
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp - 8], rax
mov dil, dl
mov rbx, rcx
lea rax, [rcx + 0x460]
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x1400b7f67
mov rcx, qword [rax]
xor esi, esi
mov qword [rax + 0x10], rsi
mov word [rcx], si
mov byte [rbx + 0x451], sil
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rbp - 0x28], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x1400b7f8d
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.1400041a8
nop
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], si
mov qword [rbp - 0x50], rsi
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x28]
call fcn.1400fcec8
test al, al
je 0x1400b801c
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x28]
call fcn.1400fcec8
test al, al
je 0x1400b801c
lea rdx, [rbp - 0x48]
mov rcx, rbx
test dil, dil
je 0x1400b800b
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
call fcn.1400b826c
jmp 0x1400b7fd9
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
call fcn.1400b781c
jmp 0x1400b7fd9
test dil, dil
jne 0x1400b802a
mov rcx, rbx
call fcn.1400b8060
nop
lea rcx, [rbp - 0x48]
call fcn.140006b84
nop
lea rcx, [rbp - 0x28]
call fcn.140006b84
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401adee0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret