joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027c1c
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x30], rcx
xor esi, esi
mov dword [rbp - 0x50], esi
mov qword [rbp - 0x28], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], si
mov rcx, rdx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdx, eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rsi
inc rdx
lea rcx, [rbp - 0x48]
call fcn.14000a448
nop
mov r8, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x48]
sub r8, rdx
sar r8, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
mov rdx, qword [rbp - 0x48]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], si
jne 0x140027cb4
mov rcx, rdi
call fcn.1400041b8
mov dword [rbp - 0x50], 1
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140027d16
mov rax, qword [rbp - 0x38]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027d05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027d46
call fcn.1401af9bc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rsi
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], si
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401afad0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
call fcn.1401b6b94
int3
Function at 0x140029c98
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, rdx
mov bpl, cl
cmp dword [0x140233a40], 0
jne 0x140029e4d
lea r8, str.WinRAR_DragDrop
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rdi, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140029d03
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x5b9
call fcn.1400f70b0
mov rcx, rax
call fcn.14016b72c
jmp 0x140029e4d
mov ebx, 0x10
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [0x140232d82], al
mov ecx, ebx
call fcn.1401af980
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140029d42
lea rax, [0x1401ddac0]
mov qword [rbx], rax
mov dword [rbx + 8], 1
jmp 0x140029d44
xor ebx, ebx
mov ecx, 0xaf8
call fcn.1401af980
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140029d6e
xor r9d, r9d
mov r8, rsi
mov dl, bpl
mov rcx, rax
call fcn.14002854c
mov rsi, rax
jmp 0x140029d70
xor esi, esi
mov qword [0x140232d88], rsi
mov byte [0x140232d81], 0
mov byte [0x140232d80], 1
mov byte [0x140232d83], 0
lea r9, [rsp + 0x50]
mov r8d, 3
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ole32.dll_DoDragDrop]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov byte [0x140232d80], 0
mov rdx, qword [rsi]
mov rcx, rsi
mov rax, qword [rdx + 0x10]
call qword [case.0x1400f1dc3.0]
mov rdx, qword [rbx]
mov rcx, rbx
mov rax, qword [rdx + 0x10]
call qword [case.0x1400f1dc3.0]
cmp byte [0x140232d82], 0
je 0x140029e00
cmp byte [0x140233a44], 0
je 0x140029e00
cmp ebp, 0x40100
jne 0x140029e00
call fcn.14017b3e0
lea rcx, [0x140236e60]
call fcn.140090e7c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [rbp - 0x40100]
cmp eax, 1
jbe 0x140029e4d
cmp byte [0x140232d83], 0
jne 0x140029e4d
cmp r14d, 0x3f0
je 0x140029e4d
mov ecx, 0x53c
call fcn.1400f70b0
mov rcx, rax
call fcn.14016b72c
lea rcx, [0x14023fda0]
call fcn.1400c0818
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14002c6ac
Capabilities:
Delete file
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
xor r9d, r9d
mov edx, 0x110a
lea r8d, [r9 + 9]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
test rax, rax
je 0x14002c84a
mov dword [rbp - 9], 4
mov qword [rbp - 1], rax
lea r9, [rbp - 9]
xor r8d, r8d
mov edx, 0x113e
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x14002c84a
mov rcx, qword [rbp + 0x27]
test rcx, rcx
je 0x14002c84a
mov qword [rbp + 0x2f], rdi
mov qword [rbp + 0x3f], rdi
mov qword [rbp + 0x47], rdi
mov qword [rbp + 0x3f], rdi
mov qword [rbp + 0x47], 7
mov word [rbp + 0x2f], di
lea rdx, [rbp + 0x2f]
mov rcx, qword [rcx + 0x10]
call fcn.1400e3ab4
test al, al
je 0x14002c7fe
mov rcx, qword [rbp + 0x3f]
lea r14d, [rdi + 1]
cmp rcx, qword [rbp + 0x47]
jae 0x14002c787
lea rax, [rcx + 1]
mov qword [rbp + 0x3f], rax
lea rax, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae rax, qword [rbp + 0x2f]
mov dword [rax + rcx*2], edi
jmp 0x14002c79a
xor r9d, r9d
mov r8b, byte [rbp - 0x49]
mov rdx, r14
lea rcx, [rbp + 0x2f]
call fcn.140014c34
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
shr edx, 0xf
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x41], xmm0
movups xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rax
mov dword [rbp - 0x39], 3
not dx
and dx, r14w
shl dx, 6
mov word [rbp - 0x21], dx
lea rax, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae rax, qword [rbp + 0x2f]
mov qword [rbp - 0x31], rax
lea rcx, [rbp - 0x41]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dl, byte [rbx + 0x10]
mov rcx, rbx
call fcn.14002f340
nop
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x14002c83a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c835
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c86f
call fcn.1401af9bc
mov qword [rbp + 0x3f], rdi
mov qword [rbp + 0x47], 7
mov word [rbp + 0x2f], di
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1401afad0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1401b6b94
int3
Function at 0x14002d240
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x300
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rbx, rdx
mov dword [rsp + 0x20], 0x4009
mov rdi, r8
mov rcx, rbx
mov r9d, 0x2b8
lea r8, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rsp + 0x38]
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
mov dword [rdi + 0x24], eax
xor edx, edx
mov dword [rsp + 0x20], 0x400b
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rsp + 0x38]
mov dword [rdi + 0x28], eax
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1401afad0
mov rbx, qword [rsp + 0x310]
add rsp, 0x300
pop rdi
ret
Function at 0x14002ec14
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 [0x140231ec8]
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, [0x1401dc78c]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rbx, rax
xor esi, esi
test rax, rax
jne 0x14002ed26
mov qword [rsp + 0x30], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1401dc090]
movdqu xmmword [rsp + 0x40], xmm1
mov word [rsp + 0x30], si
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140161010
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 0x14002ed13
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ed0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ed62
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
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.1401afad0
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.1401b6b94
int3

Function at 0x140030c90
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 0x140030cd1
mov qword [rdx], rbx
cmp dword [rcx + 0x30], ebx
jbe 0x140030d03
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 0x140030cb6
jmp 0x140030d03
mov rcx, qword [rcx + 0x10]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0xffffffff
jne 0x140030cf5
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140030cf5
xor al, al
jmp 0x140030d05
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 0x1400328a8
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 0x140032971
mov ecx, dword [rcx + 0x30]
xor edi, edi
test ecx, ecx
je 0x14003296d
mov rdx, qword [rbx + 0x28]
mov r8, qword [rbx + 0x10]
mov eax, edi
add rax, rax
cmp r8, qword [rdx + rax*8]
je 0x1400328fa
inc edi
cmp edi, ecx
jb 0x1400328e9
cmp edi, ecx
jae 0x14003296d
xor ebp, ebp
mov esi, edi
test r14d, r14d
je 0x140032965
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 0x140032932
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140032b60
and dword [rsp + 0x70], 0
lea r9, [rsp + 0x70]
mov r8d, r14d
mov rdx, r15
mov rcx, rbx
call fcn.1400328a8
mov byte [rbx + 0x20], 1
test al, al
je 0x14003296d
mov edx, dword [rsp + 0x70]
inc esi
add ebp, edx
add r15, rdx
sub r14d, edx
cmp esi, dword [rbx + 0x30]
jb 0x140032902
mov dword [r12], ebp
mov al, 1
jmp 0x140032986
xor al, al
jmp 0x140032986
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 0x140032f7c
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.140032b60
test al, al
je 0x140032fb5
cmp qword [rsp + 0x40], rbx
jne 0x140032fb5
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
jmp 0x140032fb7
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140033298
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 0x1400332ec
mov r8, qword [rbx + 0x48]
cmp rcx, r8
jae 0x1400332ec
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 0x1400332f7
mov dword [r9], r10d
jmp 0x140033310
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.140039f28
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 0x140036194
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
xor r9d, r9d
lea r10, [0x140232de0]
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 0x1400361ab
mov dword [r10], r8d
inc r9d
add r10, 4
cmp r9d, 0x100
jl 0x14003619e
ret
Function at 0x140043138
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
lea rdx, [0x140233220]
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 0x140043151
mov qword [rdx], r9
inc r8
add rdx, 8
sub r10, 1
jne 0x140043148
ret

Function at 0x140043190
Capabilities:
Encode data using xor

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

Function at 0x140047220
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 0x140047258
xor eax, eax
jmp 0x1400473cc
lea rbp, [rdx - 4]
add esi, 5
add rbp, rcx
or rbx, 0xffffffffffffffff
xor r15d, r15d
lea rdx, [0x140000000]
lea r8, [r11 + r14]
jmp 0x140047282
mov al, byte [r8]
and al, 0xfe
cmp al, 0xe8
je 0x140047287
inc r8
cmp r8, rbp
jb 0x140047276
mov r11, r8
sub r11, r14
mov rax, r11
cmp r8, rbp
jae 0x1400473ac
sub rax, rbx
cmp rax, 3
jbe 0x1400472ef
mov r10d, r15d
mov al, byte [r8 + 4]
mov rbx, r11
dec al
cmp al, 0xfd
jbe 0x140047320
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 0x140047333
lea r9d, [r11 + rdx]
add r9d, esi
jmp 0x14004733c
lea ecx, [rax - 1]
shl r10d, cl
and r10d, 7
je 0x1400472a5
cmp byte [r10 + rdx + 0x1de7c8], r15b
je 0x14004731d
movzx eax, byte [r10 + rdx + 0x1de7d0]
mov rcx, r8
sub rcx, rax
mov al, byte [rcx + 4]
inc al
test al, 0xfe
jne 0x1400472a5
mov rbx, r11
and r10d, 3
add r10d, r10d
or r10d, 1
inc r11
jmp 0x140047270
mov r9d, edx
sub r9d, r11d
sub r9d, esi
test r10d, r10d
je 0x140047378
movzx edi, byte [r12 + r14 + 0x1de7d0]
mov ecx, 0x18
shl edi, 3
mov edx, r9d
sub ecx, edi
shr edx, cl
inc dl
test dl, 0xfe
jne 0x140047378
mov ecx, 0x20
mov edx, 1
sub ecx, edi
shl edx, cl
dec edx
xor edx, r9d
jmp 0x1400472df
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 0x140047269
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 0x140053080
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 0x14005314e
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 0x14005315f
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.140052f04

Function at 0x140055650
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 0x140055663
mov word [r9], dx
inc r8d
add r9, 2
cmp r8d, 0x100
jb 0x14005565a
ret

Function at 0x140055ee4
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.0x1400f1dc3.0]
mov rdx, qword [rdi + 0x3780]
mov r9, rbx
mov rcx, qword [rdi + 0x3778]
mov r8, rax
call fcn.140104ee8
mov rcx, qword [rdi + 8]
mov r8, rsi
mov rdx, rbp
call fcn.140039f28
mov edx, dword [rdi + 0x3770]
mov r8, rsi
mov r9, rbp
test rsi, rsi
je 0x140055f7c
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 0x140055f5c
mov rax, qword [rdi + 8]
mov dword [rdi + 0x3770], edx
cmp byte [rax + 0x319], 0
jne 0x140055fbd
mov rax, qword [rdi + 0x3708]
lea rcx, [rdi + 0x3708]
mov rax, qword [rax + 0x30]
call qword [case.0x1400f1dc3.0]
test al, al
je 0x140055fbd
mov r8, rsi
lea rcx, [rdi + 0x3708]
mov rdx, rbp
call fcn.1400cb090
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14005d3fc
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
test r8, r8
je 0x14005d42a
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 0x14005d404
movzx eax, r10w
ret
Function at 0x14005ee30
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 0x14005ee47
mov dword [r10], r8d
inc r9d
add r10, 4
cmp r9d, 0x100
jb 0x14005ee3a
ret
Function at 0x140078550
Capabilities:
Get common file path

Disassembly:
mov edx, 0x10
jmp fcn.14007855c

Function at 0x14007855c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x140231ec8]
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.140012fc0
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401afad0
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
Function at 0x14007f8a0
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.140117ce8
mov r8b, al
lea edx, [rdi - 2]
mov rcx, rsi
call fcn.140027ab8
mov r8b, byte [rbx + 0x17]
lea edx, [rdi - 1]
mov rcx, rsi
call fcn.140027ab8
mov r8b, byte [rbx + 0x17]
mov edx, edi
mov rcx, rsi
call fcn.140027ab8
xor edi, edi
cmp byte [rbx + 0x17], dil
je 0x14007fad0
call fcn.1400d0918
test al, al
je 0x14007fad0
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.140027ab8
Function at 0x140088a28
Capabilities:
Get common file path

Disassembly:
cmp dword [0x140233a70], 1
mov rax, rdx
jne 0x140088a3c
mov rcx, rdx
jmp fcn.1400e1888
lea rdx, [rcx + 0xf8]
mov rcx, rax
jmp fcn.140004958

Function at 0x140089850
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140231ec8]
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 0x1400898ea
bt edi, 0xf
jb 0x1400898ea
bt ebx, 0xf
jb 0x1400898ea
bt ecx, 0xf
jae 0x1400898ec
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401afad0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret