joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015b60
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x14002cb18]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x140015ba4
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140015c0a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140015c41
test eax, eax
js 0x140015c1b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140015c34
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x20], 0
lea rdx, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
lea rsi, [rsp + 0x78]
lea r9, [rsp + 0x50]
mov r8d, 1
mov rcx, rsi
call fcn.14000cb80
lea rcx, [rsp + 0x58]
mov rdx, rsi
call fcn.1400109e0
mov rcx, rax
call fcn.14000cfb0
mov ecx, 7
int 0x29
ud2
Function at 0x140023d10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x140023d8a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x140023d80
cmp r11, r10
ja 0x140023e23
cmp r10, rdx
ja 0x140023e37
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140023d82
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140023d60
jmp 0x140023df7
ja 0x140023d8a
mov r11, r10
cmp rax, r8
jne 0x140023d32
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x140023dfb
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140023dd0
mov r8, r10
sub ecx, r9d
jns 0x140023dee
jmp 0x140023dfd
cmp r10, rdx
je 0x140023e09
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x140023dfd
xor al, 1
cmp r8, rdx
jne 0x140023db0
jmp 0x140023dfd
xor eax, eax
jmp 0x140023dfd
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14002ef39]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140026be0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140027040
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140026fd0
ud2

Function at 0x140025a54
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x140025a9e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140025a9e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140025a9e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140025a9e
cmp dword [rcx + 0x84], 0xe
jbe 0x140025a9e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140025aa0
xor al, al
add rsp, 0x28
ret
Function at 0x140001900
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movsxd rdi, r8d
mov rcx, qword [rcx]
mov rsi, rdx
test rcx, rcx
je 0x140001926
call qword [sym.imp.USER32.dll_DestroyWindow]
and qword [rsp + 0x58], 0
lea rdx, str.ComboBoxEx32
or qword [rbx + 8], 0xffffffffffffffff
mov r9d, 0x44200046
mov rax, qword [0x14017d148]
xor r8d, r8d
mov qword [rsp + 0x50], rax
xor ecx, ecx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], 0xdc
mov dword [rsp + 0x30], 0x3c
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_CreateWindowExW]
xor r9d, r9d
mov edx, 0x408
mov rcx, rax
mov qword [rbx], rax
lea r8d, [r9 + 4]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x407
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400019b2
mov rcx, rax
call fcn.1400c6b80
mov rcx, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
jmp fcn.1400019cc
Function at 0x1400019cc
Capabilities:
Get common file path
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 - 0x248]
sub rsp, 0x340
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0x238], rax
mov rdi, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x140001b4d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14b
call qword [sym.imp.USER32.dll_SendMessageW]
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x140001ab5
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x60]
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x4209
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, qword [rdi]
xor r8d, r8d
mov r9, rax
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1401a5210]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x70]
or qword [rsp + 0x38], 0xffffffffffffffff
lea rdx, [rsp + 0x70]
and dword [rsp + 0x30], 0
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
lea r8d, [r9 + 1]
call fcn.140001b78
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x140001ae1
mov rdx, qword [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call fcn.140001370
test al, al
jne 0x140001b45
call fcn.1400c5280
mov esi, eax
xor ebx, ebx
bt esi, ebx
jae 0x140001b3e
lea r9d, [rbx + 0x41]
mov edx, 0xa
lea r8, str._c:_
lea rcx, [rbp + 0x220]
call fcn.1400026d0
mov byte [rsp + 0x40], 1
lea rdx, [rbp + 0x220]
or qword [rsp + 0x38], 0xffffffffffffffff
xor r9d, r9d
mov dword [rsp + 0x30], 2
xor r8d, r8d
and qword [rsp + 0x28], 0
mov rcx, rdi
or dword [rsp + 0x20], 0xffffffff
call fcn.140001b78
inc ebx
cmp ebx, 0x20
jl 0x140001aea
mov rcx, rdi
call fcn.140001f60
mov rcx, qword [rbp + 0x238]
xor rcx, rsp
call fcn.1400eebd0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140001b78
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rsi, qword [rbp + 0x2a8]
mov r13, rcx
mov ecx, 0x1010
mov rbx, r9
mov r15d, r8d
mov r12, rdx
call fcn.1400ee7f0
mov rcx, r12
mov r14, rax
mov dword [rax], r15d
mov qword [rax + 8], rbx
call fcn.14008dd48
lea rdx, [r14 + 0x10]
sub rdx, rax
xor r8d, r8d
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140001be1
mov ebx, dword [rbp + 0x2a0]
or rdi, 0xffffffffffffffff
cmp byte [rbp + 0x2c0], r8b
jne 0x140001c4b
cmp ebx, edi
je 0x140001c0d
test rsi, rsi
jne 0x140001c4b
mov eax, 0x4203
lea r8, [rsp + 0x70]
cmp r15d, 2
mov r9d, 0x2b8
lea ecx, [rax - 2]
cmovne eax, ecx
xor edx, edx
mov rcx, r12
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp ebx, edi
lea rax, [rbp - 0x80]
cmove ebx, dword [rsp + 0x78]
test rsi, rsi
cmovne rax, rsi
mov rsi, rax
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x38]
call fcn.1400efdf0
mov rax, qword [rbp + 0x2b8]
lea r9, [rsp + 0x30]
mov rcx, qword [r13]
test rsi, rsi
mov qword [rsp + 0x38], rax
mov edx, 0x40b
mov eax, dword [rbp + 0x2b0]
cmovne rdi, rsi
xor r8d, r8d
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x30], 0x37
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x58], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1400eebd0
mov rbx, qword [rsp + 0x390]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001d24
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x300
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rbx, qword [rsp + 0x340]
mov r11, r9
mov eax, r8d
mov r10, rdx
cmp r8d, 0x4e
jne 0x140001e1f
cmp dword [rbx + 0x10], 0xfffffcd9
je 0x140001d8e
cmp dword [rbx + 0x10], 0xfffffcda
jne 0x140001d87
cmp dword [rbx + 0x228], 2
jne 0x140001d87
lea rcx, [0x14016bcd0]
call fcn.140001e54
xor eax, eax
jmp 0x140001e30
mov rax, qword [rbx + 0x48]
mov ebp, dword [rbx + 0x18]
mov ecx, dword [rax]
cmp ecx, 4
jne 0x140001da2
mov rsi, qword [rax + 8]
jmp 0x140001da6
lea rsi, [rax + 0x10]
xor edi, edi
cmp ecx, 4
lea eax, [rdi + 8]
cmove edi, eax
test bpl, 1
je 0x140001de5
mov eax, edi
lea r8, [rsp + 0x30]
bts eax, 9
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], eax
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140001de5
lea rax, [rsp + 0x40]
mov qword [rbx + 0x28], rax
test bpl, 6
je 0x140001e15
or edi, 0x4001
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
mov dword [rsp + 0x20], edi
xor edx, edx
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rsp + 0x38]
mov dword [rbx + 0x38], eax
mov dword [rbx + 0x34], eax
bts dword [rbx + 0x18], 0x1c
jmp 0x140001d87
mov r9, rbx
mov r8, r11
mov edx, eax
mov rcx, r10
call qword [sym.imp.USER32.dll_DefWindowProcW]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400eebd0
mov rbx, qword [rsp + 0x320]
add rsp, 0x300
pop rdi
pop rsi
pop rbp
ret

Function at 0x140001e54
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
push rbx
mov eax, 0x1030
call fcn.1400eeb60
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov rcx, qword [rcx]
mov r8d, 0x800
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x20]
call fcn.1400462ec
mov rcx, qword [rbx]
lea r9, [rsp + 0x20]
or r8, 0xffffffffffffffff
mov edx, 0x158
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x140001ee9
mov rcx, qword [rbx]
xor r9d, r9d
mov r8, rax
mov edx, 0x14e
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
call fcn.140001748
cmp byte [0x140145ca4], 0
mov rcx, rbx
je 0x140001ee2
call fcn.140002408
jmp 0x140001f45
call fcn.14000260c
jmp 0x140001f45
cmp byte [0x140145ca4], 0
je 0x140001f00
lea rcx, [rsp + 0x20]
call fcn.140078cd8
test al, al
je 0x140001f31
lea rcx, [rsp + 0x20]
call fcn.14008de90
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140001f31
test al, 0x10
jne 0x140001f31
lea rdx, [rsp + 0x20]
lea rcx, [0x14016c120]
call fcn.140041060
jmp 0x140001f45
mov r8b, 1
lea rdx, [rsp + 0x20]
lea rcx, [0x14016c120]
call fcn.14003e830
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400eebd0
add rsp, 0x1030
pop rbx
ret
Function at 0x140009224
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
push rbp
lea rbp, [rsp - 0xf90]
mov eax, 0x1090
call fcn.1400eeb60
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x10a0], rbx
mov qword [rsp + 0x10a8], rsi
mov qword [rsp + 0x10b0], rdi
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0xf80], rax
xor ebx, ebx
cmp qword [0x14015eb88], rbx
je 0x1400094b5
xor r9d, r9d
mov r8b, 1
lea rdx, [0x14015db52]
lea rdi, [0x140169340]
mov rcx, rdi
call fcn.140005c38
cmp eax, 1
jne 0x1400094b5
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x30], rbx
mov eax, dword [0x140156730]
add eax, 0xfffffffd
mov r9b, 1
lea r8, [rsp + 0x30]
mov rcx, rdi
cmp eax, 1
jbe 0x1400092d5
lea rdx, [rsp + 0x38]
call fcn.140005120
jmp 0x1400092df
lea rdx, [rsp + 0x40]
call fcn.140005230
cmp qword [rsp + 0x30], rbx
je 0x1400094b5
mov edi, 0x800
mov r8d, edi
lea rdx, [rbp - 0x80]
lea rcx, [0x14015eb58]
call fcn.14008e284
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140009350
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
movabs r9, 0x7fffffff7fffffff
mov r8d, edi
lea rdx, [rbp - 0x80]
lea rcx, [0x140152710]
call fcn.140090880
cmp eax, 6
ja 0x140009350
mov ecx, 0x4a
bt ecx, eax
jae 0x140009350
mov rcx, qword [rsp + 0x38]
jmp 0x1400094b0
lea rdx, [0x14010dae0]
lea rcx, [rbp - 0x80]
call fcn.140069f38
mov rdi, rax
test rax, rax
jne 0x140009387
mov ecx, 0x1f6
call fcn.140088044
mov rdx, rax
lea r8, [rbp - 0x80]
lea rcx, [0x14015db52]
call fcn.1400d54f4
jmp 0x140009346
mov eax, dword [0x140156730]
cmp eax, 3
jne 0x1400093e9
mov rdx, rdi
mov ecx, 0xff
call fcn.1400f5fb8
mov rdx, rdi
mov ecx, 0xfe
call fcn.1400f5fb8
cmp qword [rsp + 0x30], rbx
jbe 0x140009499
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + rbx*2]
mov rdx, rdi
call fcn.1400f5fb8
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rax + rbx*2 + 1]
mov rdx, rdi
call fcn.1400f5fb8
inc rbx
cmp rbx, qword [rsp + 0x30]
jb 0x1400093b7
jmp 0x140009499
cmp eax, 4
jne 0x14000946a
mov rdx, rdi
mov ecx, 0xef
call fcn.1400f5fb8
mov rdx, rdi
mov ecx, 0xbb
call fcn.1400f5fb8
mov rdx, rdi
mov ecx, 0xbf
call fcn.1400f5fb8
mov rdx, qword [rsp + 0x30]
shl rdx, 2
lea rcx, [rsp + 0x50]
call fcn.140007f4c
nop
mov r8, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.140090ec8
or r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], bl
jne 0x140009444
mov r9, rdi
mov edx, 1
mov rcx, rsi
call fcn.1400f6318
nop
lea rcx, [rsp + 0x50]
call fcn.140007f78
jmp 0x140009499
cmp eax, 2
jne 0x140009482
mov r8d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov rdx, rcx
call qword [sym.imp.USER32.dll_CharToOemBuffA]
mov r9, rdi
mov r8, qword [rsp + 0x30]
mov edx, 1
mov rcx, qword [rsp + 0x38]
call fcn.1400f6318
mov rcx, rdi
call fcn.1400f5f4c
mov rcx, qword [rsp + 0x38]
call fcn.1400eec7c
mov rcx, qword [rsp + 0x40]
call fcn.1400eec7c
mov rcx, qword [rbp + 0xf80]
xor rcx, rsp
call fcn.1400eebd0
lea r11, [rsp + 0x1090]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000a0f0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x830
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x820], rax
xor ebp, ebp
mov rdi, rcx
mov word [rcx], bp
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov r8d, 0x400
lea rdx, [rsp + 0x20]
mov rcx, rax
mov ebx, ebp
call fcn.14008d7ac
mov rsi, rax
test rax, rax
je 0x14000a19f
test ebx, ebx
jne 0x14000a14f
mov ebx, 1
jmp 0x14000a17c
movzx edx, word [rsp + 0x20]
lea rcx, [0x140152710]
call fcn.14005cc54
test al, al
jne 0x14000a17c
cmp ebx, 1
jne 0x14000a17a
movzx eax, word [rsp + 0x20]
mov word [rdi], ax
movzx eax, word [rsp + 0x22]
mov word [rdi + 2], ax
inc ebx
mov r8d, 0x400
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14008d7ac
mov rsi, rax
test rax, rax
jne 0x14000a144
cmp ebx, 2
jne 0x14000a19f
mov word [rdi], bp
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.1400eebd0
lea r11, [rsp + 0x830]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000eb84
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rsi, rdx
mov bpl, cl
cmp dword [0x140145ca0], 0
jne 0x14000ed23
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 0x14000ebf3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x5b9
call fcn.140088044
mov rcx, rax
call fcn.1400d1d24
jmp 0x14000ed23
mov ebx, 0x10
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [0x14013feea], al
mov ecx, ebx
call fcn.1400ee7f0
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14000ec32
lea rax, [0x14010e6d8]
mov qword [rbx], rax
mov dword [rbx + 8], 1
jmp 0x14000ec34
xor ebx, ebx
mov ecx, 0xd828
call fcn.1400ee7f0
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14000ec5e
xor r9d, r9d
mov r8, rsi
mov dl, bpl
mov rcx, rax
call fcn.14000de58
mov rsi, rax
jmp 0x14000ec60
xor esi, esi
mov byte [0x14013fee9], 0
mov byte [0x14013fee8], 1
mov byte [0x14013feeb], 0
lea r9, [rsp + 0x60]
mov r8d, 3
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ole32.dll_DoDragDrop]
mov ebp, eax
mov byte [0x14013fee8], 0
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x10]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
cmp byte [0x14013feea], 0
je 0x14000ecd2
cmp byte [0x140145ca4], 0
je 0x14000ecd2
cmp ebp, 0x40100
jne 0x14000ecd2
call fcn.1400d0b78
lea rcx, [0x14016c120]
call fcn.140043d88
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 0x14000ed23
cmp byte [0x14013feeb], 0
jne 0x14000ed23
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
je 0x14000ed23
mov ecx, 0x53c
call fcn.140088044
mov rcx, rax
call fcn.1400d1d24
lea rcx, [0x14017d200]
call fcn.140063230
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000f870
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x2f60]
mov eax, 0x3060
call fcn.1400eeb60
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0x2f50], rax
mov sil, dl
mov rdi, rcx
call fcn.14006c160
cmp eax, 0x600
jb 0x14000fa23
mov rcx, rdi
call fcn.1400c5364
xor ebx, ebx
test al, al
jne 0x14000fa23
mov r14d, 0x800
lea r8, [rsp + 0x50]
mov r9d, r14d
lea rcx, [0x14016c120]
mov rdx, rdi
call fcn.140040780
mov r8d, r14d
lea rdx, [rbp + 0xf50]
lea rcx, [rsp + 0x50]
call fcn.140078790
lea rcx, [rbp + 0xf50]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x14000fa23
mov dword [rsp + 0x38], ebx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rbx
lea rcx, [rbp + 0xf50]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x14000f956
mov eax, dword [rsp + 0x40]
and eax, 0x80008
cmp eax, 8
jne 0x14000fa23
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000f989
test al, 0x10
jne 0x14000f989
lea rcx, [rsp + 0x50]
call fcn.14000f6c0
and eax, 6
cmp al, 6
jne 0x14000fa1f
lea rcx, [rsp + 0x50]
call fcn.140079384
lea rcx, [rsp + 0x50]
mov dil, bl
call fcn.140068fe0
test al, al
jne 0x14000f9f0
mov dil, 1
mov r8, r14
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1f50]
call fcn.14008e130
lea rcx, [rsp + 0x50]
call fcn.140079384
lea rax, [rsp + 0x50]
lea r8, [rbp + 0x1f50]
sub r8, rax
movzx ecx, word [rax]
movzx edx, word [rax + r8]
sub ecx, edx
jne 0x14000f9de
add rax, 2
test edx, edx
jne 0x14000f9ca
test ecx, ecx
je 0x14000f9f0
lea rcx, [rsp + 0x50]
call fcn.140068fe0
test al, al
je 0x14000f99d
lea rcx, [rsp + 0x50]
call fcn.14000f6c0
mov ecx, eax
shr eax, 2
shr ecx, 1
and cl, 1
test al, 1
je 0x14000fa16
test dil, dil
je 0x14000fa12
test sil, sil
je 0x14000fa1b
test cl, cl
jne 0x14000fa1b
mov ebx, 1
mov al, bl
jmp 0x14000fa25
mov al, 1
jmp 0x14000fa25
xor al, al
mov rcx, qword [rbp + 0x2f50]
xor rcx, rsp
call fcn.1400eebd0
lea r11, [rsp + 0x3060]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140010c70
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.1400eeb60
sub rsp, rax
mov rax, qword [0x14013f2b0]
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 0x140010db5
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 0x140010db5
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140010db5
mov rcx, qword [rcx + 0x10]
lea rdx, [rbp - 0x70]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x140010db5
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.14008e130
lea rax, [rbp + 0xf90]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], si
jne 0x140010d4b
lea rcx, [rcx*2 + 2]
cmp rcx, 0x1002
jae 0x140010ddd
xor edx, edx
mov word [rbp + rcx + 0xf90], si
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x38]
call fcn.1400efdf0
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.140012960
mov rcx, qword [rbp + 0x1fa0]
xor rcx, rsp
call fcn.1400eebd0
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.1400ee934
int3
Function at 0x14001161c
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x300
mov rax, qword [0x14013f2b0]
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.1400eebd0
mov rbx, qword [rsp + 0x310]
add rsp, 0x300
pop rdi
ret