joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013efc
Capabilities:
Delete file
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x1fb8]
mov eax, 0x20b0
call fcn.140101610
sub rsp, rax
mov rax, qword [0x140192630]
xor rax, rsp
mov qword [rbp + 0x1fa0], rax
xor r9d, r9d
mov rdi, rcx
mov rcx, qword [rcx]
mov edx, 0x110a
lea r8d, [r9 + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
test rax, rax
je 0x140014041
mov rcx, qword [rdi]
lea r9, [rsp + 0x58]
xor r8d, r8d
mov dword [rsp + 0x58], 4
mov edx, 0x113e
mov qword [rsp + 0x60], rax
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140014041
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140014041
mov rcx, qword [rcx + 0x10]
lea rdx, [rbp - 0x70]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x140014041
lea ecx, [rsi + 0x10]
call qword [sym.imp.USER32.dll_GetKeyState]
mov r8d, 0x800
lea rdx, [rbp - 0x70]
movzx ebx, ax
lea rcx, [rbp + 0xf90]
shr ebx, 0xf
not bl
and bl, 1
call fcn.140096ef0
lea rax, [rbp + 0xf90]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], si
jne 0x140013fd7
lea rcx, [rcx*2 + 2]
cmp rcx, 0x1002
jae 0x140014069
xor edx, edx
mov word [rbp + rcx + 0xf90], si
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x38]
call fcn.140120b70
neg bl
mov dword [rsp + 0x28], 3
lea rcx, [rsp + 0x20]
sbb ax, ax
and ax, 0x40
mov word [rsp + 0x40], ax
lea rax, [rbp + 0xf90]
mov qword [rsp + 0x30], rax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dl, byte [rdi + 0x10]
mov rcx, rdi
call fcn.140015ecc
mov rcx, qword [rbp + 0x1fa0]
xor rcx, rsp
call fcn.140101680
lea r11, [rsp + 0x20b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1401013e4
int3
Function at 0x1400149cc
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x300
mov rax, qword [0x140192630]
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.140101680
mov rbx, qword [rsp + 0x310]
add rsp, 0x300
pop rdi
ret
Function at 0x140015c08
Capabilities:
Get file system object information

Disassembly:
push rbx
mov eax, 0x1300
call fcn.140101610
sub rsp, rax
mov rax, qword [0x140192630]
xor rax, rsp
mov qword [rsp + 0x12f0], rax
mov qword [rcx], rdx
lea r8, [rsp + 0x30]
mov rbx, rcx
mov dword [rsp + 0x20], 0x4001
xor edx, edx
lea rcx, [0x14014303c]
mov r9d, 0x2b8
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x140015c8e
xor r8d, r8d
lea rcx, [rsp + 0x2f0]
mov edx, 0x800
call fcn.1400d0104
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x4001
lea r8, [rsp + 0x30]
xor edx, edx
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, qword [rbx]
mov r9, rax
xor r8d, r8d
mov edx, 0x1109
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x12f0]
xor rcx, rsp
call fcn.140101680
add rsp, 0x1300
pop rbx
ret

Function at 0x1400170bc
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
lea rdi, [rcx + 0x1042]
mov byte [rcx + 0x40], sil
lea r9, [rsp + 0x30]
mov word [rdi], si
mov rbx, rcx
mov rdx, qword [rcx + 8]
lea r8, [rdx + 0x5030]
add rdx, 0xd582
call fcn.14001715c
test al, al
jne 0x14001711e
cmp byte [rsp + 0x30], sil
jne 0x14001714a
mov rdx, qword [rbx + 8]
lea rcx, [0x1401d5778]
add rdx, 0xd582
call fcn.140069db0
jmp 0x14001714a
mov rdx, qword [rbx + 0x10]
mov rcx, rbx
mov rdx, qword [rdx + 8]
call fcn.140016d70
mov rcx, rbx
call fcn.140016838
cmp byte [rbx + 0x40], sil
je 0x14001714a
cmp word [rdi], si
je 0x14001714a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140017330
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 0x14001736f
mov qword [rdx], rbx
cmp dword [rcx + 0x30], ebx
jbe 0x1400173a4
mov rcx, qword [r8 + 0x28]
mov edx, ebx
inc ebx
add rdx, rdx
mov rdx, qword [rcx + rdx*8 + 8]
add qword [rdi], rdx
cmp ebx, dword [r8 + 0x30]
jb 0x140017354
jmp 0x1400173a4
mov rcx, qword [rcx + 0x10]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0xffffffff
jne 0x140017393
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140017393
xor al, al
jmp 0x1400173a6
mov ecx, dword [rsp + 0x30]
mov rax, rsi
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 0x140018ce8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x48
cmp byte [rcx + 0x20], 0
mov eax, r8d
mov rbx, rcx
je 0x140018dd5
mov ecx, dword [rcx + 0x30]
xor edi, edi
test ecx, ecx
je 0x140018d38
mov r8, qword [rbx + 0x28]
mov r9, qword [rbx + 0x10]
mov eax, edi
add rax, rax
cmp r9, qword [r8 + rax*8]
je 0x140018d31
inc edi
cmp edi, ecx
jb 0x140018d20
mov eax, dword [rsp + 0x80]
cmp edi, ecx
jb 0x140018d43
xor al, al
jmp 0x140018dea
xor ebp, ebp
mov esi, edi
test eax, eax
je 0x140018dc7
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 0x140018d7b
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140018fd0
mov rdx, qword [rsp + 0x78]
mov r8d, dword [rsp + 0x80]
lea r9, [rsp + 0x70]
and dword [rsp + 0x70], 0
mov rcx, rbx
call fcn.140018ce8
mov byte [rbx + 0x20], 1
test al, al
je 0x140018d3c
mov ecx, dword [rsp + 0x70]
inc esi
mov rdx, qword [rsp + 0x78]
add ebp, ecx
mov eax, dword [rsp + 0x80]
add rdx, rcx
sub eax, ecx
mov qword [rsp + 0x78], rdx
mov dword [rsp + 0x80], eax
cmp esi, dword [rbx + 0x30]
jb 0x140018d47
mov rcx, qword [rsp + 0x88]
mov al, 1
mov dword [rcx], ebp
jmp 0x140018dea
mov rcx, qword [rcx + 0x10]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne al
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400192e0
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdi, rdx
mov rsi, rcx
call fcn.140018fd0
test al, al
jne 0x14001930a
xor al, al
jmp 0x140019320
cmp qword [rsp + 0x40], rdi
jne 0x140019306
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140019638
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebp, r8d
mov rsi, rdx
add qword [rcx + 0x40], rbp
mov rbx, rcx
mov r10, qword [rcx + 0x40]
mov dil, 1
je 0x140019685
mov rcx, qword [rcx + 0x48]
cmp r10, rcx
jae 0x140019685
mov rax, qword [rbx + 0x18]
and qword [rax + 0x28], 0
and qword [rax + 0x30], 0
mov qword [rax + 0x18], r10
mov qword [rax + 0x20], rcx
mov byte [rax + 0x38], dil
cmp byte [rbx + 9], 0
je 0x140019690
mov dword [r9], r8d
jmp 0x1400196a6
mov rcx, qword [rbx + 0x10]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne dil
mov rcx, qword [rbx + 0x18]
mov r8, rbp
mov rdx, rsi
mov rcx, qword [rcx + 8]
call fcn.14001e96c
mov rbx, qword [rsp + 0x40]
mov al, dil
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14001c450
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
xor r9d, r9d
lea r10, [0x140195a60]
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 0x14001c467
mov dword [r10], r8d
inc r9d
add r10, 4
cmp r9d, 0x100
jl 0x14001c45a
ret

Function at 0x14001d970
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx ecx, cx
call fcn.14012e1b4
xor edi, edi
mov ebx, eax
cmp word [0x140196e90], di
je 0x14001d9a3
lea rcx, [0x140196e90]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov word [0x140196e90], di
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14001e754
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
mov rdi, r8
xor ecx, ecx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rbx
call fcn.1400810ec
xor ebp, ebp
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov word [rax], bp
call fcn.140096ec8
mov rcx, rbx
call fcn.140070448
test al, al
je 0x14001e7a7
mov al, 1
jmp 0x14001e82c
lea rax, [rsp + 0x38]
mov word [rbx], bp
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Pathswinrar.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001e80b
mov rcx, qword [rsp + 0x38]
lea eax, [rdi + rdi]
mov dword [rsp + 0x68], eax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call fcn.1400810ec
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov word [rax], bp
call fcn.140096ec8
mov rcx, rbx
call fcn.140070448
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140025fc4
Capabilities:
Encode data using xor

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

Function at 0x14002601c
Capabilities:
Encode data using xor

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

Function at 0x14002a01c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r9
push rdi
push r13
push r14
push r15
mov r10d, dword [r9]
xor r13d, r13d
and r10d, 7
mov edi, r8d
mov rbp, rcx
mov r11d, r13d
cmp rdx, 5
jae 0x14002a056
xor eax, eax
jmp 0x14002a1c3
add edi, 5
lea rsi, [rdx - 4]
or rbx, 0xffffffffffffffff
lea r14, [0x140000000]
add rsi, rbp
lea r8, [r11 + rbp]
jmp 0x14002a07d
mov al, byte [r8]
and al, 0xfe
cmp al, 0xe8
je 0x14002a082
inc r8
cmp r8, rsi
jb 0x14002a071
mov r11, r8
sub r11, rbp
mov rax, r11
cmp r8, rsi
jae 0x14002a1a3
sub rax, rbx
cmp rax, 3
jbe 0x14002a0e8
mov r10d, r13d
mov al, byte [r8 + 4]
mov rbx, r11
dec al
cmp al, 0xfd
jbe 0x14002a11f
movzx eax, byte [r8 + 3]
movzx r9d, byte [r8 + 4]
shl r9d, 8
or r9d, eax
mov r15d, r10d
movzx eax, byte [r8 + 2]
shl r9d, 8
or r9d, eax
movzx eax, byte [r8 + 1]
shl r9d, 8
or r9d, eax
cmp dword [rsp + 0x48], r13d
je 0x14002a132
lea edx, [r11 + r9]
add edx, edi
jmp 0x14002a13a
lea ecx, [rax - 1]
shl r10d, cl
and r10d, 7
je 0x14002a0a0
movzx eax, byte [r10 + r14 + 0x145868]
mov ecx, 4
sub ecx, eax
movsxd rax, ecx
mov cl, byte [rax + r8]
cmp byte [r10 + r14 + 0x145860], r13b
je 0x14002a11c
inc cl
test cl, 0xfe
jne 0x14002a0a0
mov rbx, r11
and r10d, 3
add r10d, r10d
or r10d, 1
inc r11
jmp 0x14002a06b
mov edx, r9d
sub edx, r11d
sub edx, edi
test r10d, r10d
je 0x14002a175
movzx r9d, byte [r15 + r14 + 0x145868]
mov eax, edx
shl r9d, 3
neg r9d
lea ecx, [r9 + 0x18]
shr eax, cl
inc al
test al, 0xfe
jne 0x14002a175
lea ecx, [r9 + 0x20]
mov r9d, 1
shl r9d, cl
dec r9d
xor r9d, edx
jmp 0x14002a0d9
mov eax, edx
mov byte [r8 + 1], dl
shr eax, 0x18
and al, 1
dec al
not al
mov byte [r8 + 4], al
mov eax, edx
shr eax, 0x10
mov byte [r8 + 3], al
mov eax, edx
shr eax, 8
mov byte [r8 + 2], al
add r11, 5
jmp 0x14002a06b
mov r14, qword [rsp + 0x40]
mov rdx, r11
sub rdx, rbx
lea ecx, [rdx - 1]
shl r10d, cl
and r10d, 7
cmp rdx, 3
cmova r10d, r13d
mov dword [r14], r10d
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
pop r15
pop r14
pop r13
pop rdi
ret

Function at 0x1400316cc
Capabilities:
Encode data using xor

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

Disassembly:
xor r9d, r9d
lea r10, [rcx + 0x1aa8]
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
and edx, 0x8000
cmovne r8d, eax
sub r11, 1
jne 0x140032ac7
mov dword [r10], r8d
inc r9d
add r10, 4
cmp r9d, 0x100
jb 0x140032aba
ret

Function at 0x14003af10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x1030
call fcn.140101610
sub rsp, rax
mov rax, qword [0x140192630]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov r15d, edx
lea rdx, [0x140147320]
call fcn.14007137c
mov rbp, rax
xor eax, eax
test rbp, rbp
jne 0x14003af62
lea eax, [rbp + 0x32]
jmp 0x14003b0b7
mov r14d, 0x1000
cmp r15d, 0x8000
jbe 0x14003b06f
mov edx, r15d
xor r8d, r8d
shr edx, 3
mov rcx, rbp
add edx, r14d
call fcn.14012b8d4
mov r12d, 1
lea rcx, [rsp + 0x20]
mov edx, r12d
mov r9, rbp
mov r8d, r14d
call fcn.14012b598
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14003aca0
mov edx, r15d
xor r8d, r8d
shr edx, 2
mov rcx, rbp
add edx, r14d
mov esi, eax
call fcn.14012b8d4
mov r9, rbp
lea rcx, [rsp + 0x20]
mov r8d, r14d
mov edx, r12d
call fcn.14012b598
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14003aca0
lea edx, [r15 + r15]
xor r8d, r8d
shr edx, 2
mov rcx, rbp
add edx, r14d
mov edi, eax
call fcn.14012b8d4
mov r9, rbp
lea rcx, [rsp + 0x20]
mov r8d, r14d
mov edx, r12d
call fcn.14012b598
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14003aca0
lea edx, [r15 + r15*2]
xor r8d, r8d
shr edx, 2
mov rcx, rbp
add edx, r14d
mov ebx, eax
call fcn.14012b8d4
mov r9, rbp
lea rcx, [rsp + 0x20]
mov r8d, r14d
mov edx, r12d
call fcn.14012b598
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14003aca0
add eax, ebx
mov rcx, rbp
add eax, edi
add eax, esi
cdq
and edx, 3
lea ebx, [rdx + rax]
sar ebx, 2
call fcn.1401280c8
mov eax, ebx
jmp 0x14003b0b7
cmp r15d, r14d
jbe 0x14003b07d
mov rax, r15
sub rax, r14
shr rax, 1
xor r8d, r8d
mov edx, eax
mov rcx, rbp
call fcn.14012b8d4
mov r9, rbp
lea rcx, [rsp + 0x20]
mov r8, r14
mov edx, 1
call fcn.14012b598
mov rcx, rbp
mov rbx, rax
call fcn.1401280c8
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14003aca0
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140101680
lea r11, [rsp + 0x1030]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14003e7f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
lea rbp, [rsp - 0x7230]
mov eax, 0x7330
call fcn.140101610
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x7348], rbx
mov qword [rsp + 0x7350], rsi
mov qword [rsp + 0x7358], rdi
mov rax, qword [0x140192630]
xor rax, rsp
mov qword [rbp + 0x7220], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
je 0x14003e970
mov ecx, eax
call fcn.1400705d8
xor esi, esi
test al, al
je 0x14003e970
mov ecx, edi
call fcn.1400707cc
test al, al
jne 0x14003e970
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rbx + rdi*2], si
jne 0x14003e871
mov rcx, rbx
call fcn.1400810ec
cmp word [rax], si
je 0x14003e970
mov r9d, 0x800
lea r8, [rbp + 0x6220]
lea rdx, [0x140142bd8]
mov rcx, rbx
call fcn.140080b78
lea rcx, [rsp + 0x40]
call fcn.140096f24
nop
lea rdx, [rbp + 0x6220]
lea rcx, [rsp + 0x40]
call fcn.140096f60
mov r8d, 2
mov dword [rsp + 0x20], r8d
xor r9d, r9d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x1050]
call fcn.1400932c4
nop
mov qword [rbp + 0x1010], rsi
mov qword [rbp + 0x1018], rsi
mov qword [rbp + 0x1020], rsi
jmp 0x14003e93c
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp]
call fcn.140127fd0
test eax, eax
jne 0x14003e950
lea rcx, [rbp]
call fcn.140070a98
cmp byte [rbp + 0x100c], sil
je 0x14003e933
test byte [rbp + 0x1040], 1
je 0x14003e93c
lea rcx, [rbp]
call fcn.1400700dc
jmp 0x14003e93c
lea rcx, [rbp]
call fcn.140070160
lea rdx, [rbp]
lea rcx, [rbp + 0x1050]
call fcn.140093e5c
test eax, eax
je 0x14003e8fa
mov rcx, rbx
call fcn.1400700dc
nop
lea rcx, [rbp + 0x1050]
call fcn.140093394
nop
lea rcx, [rsp + 0x40]
call fcn.140004f48
mov rcx, qword [rbp + 0x7220]
xor rcx, rsp
call fcn.140101680
lea r11, [rsp + 0x7330]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x14003e998
Capabilities:
Get common file path

Disassembly:
mov r8d, 0x10
jmp fcn.14003e9f8

Function at 0x14003e9f8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov eax, r8d
mov rdi, rdx
mov rsi, rcx
cmp rdx, 0x104
jb 0x14003ea38
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor ecx, ecx
xor r8d, r8d
mov edx, eax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x14003ea38
mov bl, 1
jmp 0x14003ea4a
mov r8, rdi
lea rdx, str.unknown_folder
mov rcx, rsi
call fcn.140096ef0
mov rsi, qword [rsp + 0x48]
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14003eeec
Capabilities:
Enumerate pe sections
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdi, [0x140147690]
mov rbx, rcx
mov rdx, rdi
lea rcx, str.Setup.rar
call fcn.1400a9308
movzx r8d, byte [rbx + 1]
lea rcx, str.Setup.zip
mov rdx, rdi
call fcn.1400a9308
movzx r8d, byte [rbx + 2]
lea rcx, str.Setup.cab
mov rdx, rdi
call fcn.1400a9308
movzx r8d, byte [rbx + 3]
lea rcx, str.Setup.arj
mov rdx, rdi
call fcn.1400a9308
movzx r8d, byte [rbx + 4]
lea rcx, str.Setup.lz
mov rdx, rdi
call fcn.1400a9308
movzx r8d, byte [rbx + 5]
lea rcx, str.Setup.lzh
mov rdx, rdi
call fcn.1400a9308
movzx r8d, byte [rbx + 6]
lea rcx, str.Setup.7z
mov rdx, rdi
call fcn.1400a9308
movzx r8d, byte [rbx + 7]
lea rcx, str.Setup.tar
mov rdx, rdi
call fcn.1400a9308
movzx r8d, byte [rbx + 8]
lea rcx, str.Setup.gz
mov rdx, rdi
call fcn.1400a9308
movzx r8d, byte [rbx + 9]
lea rcx, str.Setup.uue
mov rdx, rdi
call fcn.1400a9308
movzx r8d, byte [rbx + 0xa]
lea rcx, str.Setup.bz2
mov rdx, rdi
call fcn.1400a9308
movzx r8d, byte [rbx + 0xb]
lea rcx, str.Setup.jar
mov rdx, rdi
call fcn.1400a9308
movzx r8d, byte [rbx + 0xc]
lea rcx, str.Setup.iso
mov rdx, rdi
call fcn.1400a9308
movzx r8d, byte [rbx + 0xd]
lea rcx, str.Setup.z
mov rdx, rdi
call fcn.1400a9308
movzx r8d, byte [rbx + 0xe]
lea rcx, str.Setup.xz
mov rdx, rdi
call fcn.1400a9308
movzx r8d, byte [rbx + 0xf]
lea rcx, str.Setup.zipx
mov rdx, rdi
call fcn.1400a9308
movzx r8d, byte [rbx + 0x10]
lea rcx, str.Setup.001
mov rdx, rdi
call fcn.1400a9308
movzx r8d, byte [rbx + 0x14]
lea rdi, str.SetupLinks
mov rcx, rdi
lea rdx, [0x140147698]
call fcn.1400a9308
movzx r8d, byte [rbx + 0x15]
lea rdx, str.StartMenu
mov rcx, rdi
call fcn.1400a9308
movzx r8d, byte [rbx + 0x16]
lea rdx, str.Programs
mov rcx, rdi
call fcn.1400a9308
movzx r8d, byte [rbx + 0x17]
lea rdi, [0x140142d48]
mov rcx, rdi
lea rdx, str.ShellExt
call fcn.1400a9308
movzx r8d, byte [rbx + 0x18]
lea rdx, str.CascadedMenu
mov rcx, rdi
call fcn.1400a9308
movzx r8d, byte [rbx + 0x19]
lea rdx, str.MenuIcons
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400a9308
Function at 0x1400448b0
Capabilities:
Get common file path

Disassembly:
cmp dword [0x14019b724], 1
mov rax, rdx
jne 0x1400448c7
mov rdx, r8
mov rcx, rax
jmp fcn.1400d15b8
lea rdx, [rcx + 0x1080]
mov rcx, rax
jmp fcn.140096ef0

Function at 0x1400451cc
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140192630]
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 + 0x60]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rcx, qword [rbx + 0x60]
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 0x14004525f
mov edx, 0x8000
test edx, edi
jne 0x14004525f
test edx, ebx
jne 0x14004525f
test edx, ecx
je 0x140045261
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140101680
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140045408
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x2250]
mov eax, 0x2350
call fcn.140101610
sub rsp, rax
mov rax, qword [0x140192630]
xor rax, rsp
mov qword [rbp + 0x2240], rax
mov rdi, rcx
mov ebx, 1
xor esi, esi
mov r14d, 0x800
mov ecx, 0x3d4
call fcn.140090e20
mov rdx, rax
lea rcx, [rbp + 0x240]
mov r8, r14
call fcn.140096ef0
cmp ebx, 1
jbe 0x14004549e
lea rcx, [rbp + 0x240]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x140045478
lea rcx, [rbp + 0x240]
mov r9d, ebx
lea rcx, [rcx + rax*2]
mov rdx, r14
lea r8, str.___u_
call fcn.140002910
cmp ebx, 0x3e8
ja 0x1400454bd
lea rdx, [rbp + 0x240]
mov rcx, rdi
call fcn.140044418
test al, al
je 0x1400454bd
inc ebx
jmp 0x14004544c
mov rcx, qword [rdi + 0x60]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
call qword [sym.imp.USER32.dll_SendMessageW]
xor r8d, r8d
lea rcx, [rbp + 0x1240]
mov rdx, r14
mov rbx, rax
call fcn.1400d0104
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x4001
lea r8, [rbp - 0x80]
xor edx, edx
lea rcx, [rbp + 0x1240]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x48]
call fcn.140120b70
mov eax, dword [rbp - 0x78]
lea r9, [rsp + 0x30]
mov rcx, qword [rdi + 0x60]
xor r8d, r8d
mov dword [rsp + 0x54], eax
mov edx, 0x104d
lea rax, [rbp + 0x240]
mov dword [rsp + 0x30], 3
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x38], esi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [rdi + 0x60]
xor r9d, r9d
movsxd r8, ebx
mov edx, 0x1076
mov byte [rdi + 0x7d], 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x2240]
xor rcx, rsp
call fcn.140101680
lea r11, [rsp + 0x2350]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret