joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001ac4
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 [0x14016a900]
xor rax, rsp
mov qword [rbp + 0x238], rax
mov rdi, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x140001c50
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 0x140001bb8
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 [0x1401dcb78]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x140092c6b.0]
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.140001c78
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x140001be4
mov rdx, qword [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call fcn.140001428
test al, al
jne 0x140001c48
call fcn.1400d5988
mov esi, eax
xor ebx, ebx
bt esi, ebx
jae 0x140001c41
lea r9d, [rbx + 0x41]
mov edx, 0xa
lea r8, str._c:_
lea rcx, [rbp + 0x220]
call fcn.1400027fc
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.140001c78
inc ebx
cmp ebx, 0x20
jl 0x140001bed
mov rcx, rdi
call fcn.14000205c
mov rcx, qword [rbp + 0x238]
xor rcx, rsp
call fcn.140105c50
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 0x140001c78
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 [0x14016a900]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rdi, qword [rbp + 0x2a8]
mov r13, rcx
mov ecx, 0x1010
mov rbx, r9
mov r15d, r8d
mov r12, rdx
call fcn.14010586c
mov rcx, r12
mov r14, rax
mov dword [rax], r15d
mov qword [rax + 8], rbx
call fcn.14009c8fc
mov rdx, rax
lea rcx, [r14 + 0x10]
mov r8d, 0x800
call fcn.14009ccc8
mov ebx, dword [rbp + 0x2a0]
xor eax, eax
or rsi, 0xffffffffffffffff
cmp byte [rbp + 0x2c0], al
jne 0x140001d46
cmp ebx, esi
je 0x140001d06
test rdi, rdi
jne 0x140001d46
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, esi
lea rax, [rbp - 0x80]
cmove ebx, dword [rsp + 0x78]
test rdi, rdi
cmovne rax, rdi
mov rdi, rax
xor eax, eax
mov rcx, qword [r13]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x48], eax
test rdi, rdi
mov dword [rsp + 0x54], eax
mov edx, 0x40b
mov dword [rsp + 0x5c], eax
cmovne rsi, rdi
mov rax, qword [rbp + 0x2b8]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov eax, dword [rbp + 0x2b0]
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x30], 0x37
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.140105c50
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 0x140001e1c
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x300
mov rax, qword [0x14016a900]
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 0x140001f1c
cmp dword [rbx + 0x10], 0xfffffcd9
je 0x140001e86
cmp dword [rbx + 0x10], 0xfffffcda
jne 0x140001e7f
cmp dword [rbx + 0x228], 2
jne 0x140001e7f
lea rcx, [0x1401a0858]
call fcn.140001f50
xor eax, eax
jmp 0x140001f2d
mov rax, qword [rbx + 0x48]
mov esi, dword [rbx + 0x18]
mov ebp, dword [rax]
cmp ebp, 4
jne 0x140001e9a
mov rdi, qword [rax + 8]
jmp 0x140001e9e
lea rdi, [rax + 0x10]
test sil, 1
je 0x140001eda
mov eax, 0x200
lea r8, [rsp + 0x30]
cmp ebp, 4
mov r9d, 0x2b8
lea ecx, [rax + 8]
cmove eax, ecx
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140001eda
lea rax, [rsp + 0x40]
mov qword [rbx + 0x28], rax
test sil, 6
je 0x140001f12
mov eax, 0x4001
lea r8, [rsp + 0x30]
cmp ebp, 4
mov r9d, 0x2b8
lea ecx, [rax + 8]
cmove eax, ecx
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], eax
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 0x140001e7f
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.140105c50
mov rbx, qword [rsp + 0x320]
add rsp, 0x300
pop rdi
pop rsi
pop rbp
ret

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

Disassembly:
push rbx
mov eax, 0x1030
call fcn.140105bf0
sub rsp, rax
mov rax, qword [0x14016a900]
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.1400b7348
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 0x140001fe5
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.140001838
cmp byte [0x1401724a0], 0
mov rcx, rbx
je 0x140001fde
call fcn.140002548
jmp 0x140002041
call fcn.140002728
jmp 0x140002041
cmp byte [0x1401724a0], 0
je 0x140001ffc
lea rcx, [rsp + 0x20]
call fcn.140086e6c
test al, al
je 0x14000202d
lea rcx, [rsp + 0x20]
call fcn.14009ca54
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000202d
test al, 0x10
jne 0x14000202d
lea rdx, [rsp + 0x20]
lea rcx, [0x1401a0cb0]
call fcn.14004d308
jmp 0x140002041
mov r8b, 1
lea rdx, [rsp + 0x20]
lea rcx, [0x1401a0cb0]
call fcn.14004a1d4
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140105c50
add rsp, 0x1030
pop rbx
ret
Function at 0x14000b2b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0xf88]
mov eax, 0x1080
call fcn.140105bf0
sub rsp, rax
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rbp + 0xf70], rax
xor ebx, ebx
cmp qword [0x1401904d0], rbx
je 0x14000b532
xor r9d, r9d
mov r8b, 1
lea rdx, [0x14018f49a]
lea rdi, [0x14019de40]
mov rcx, rdi
call fcn.140007458
cmp eax, 1
jne 0x14000b532
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x30], rbx
mov eax, dword [0x140184f30]
add eax, 0xfffffffd
mov r9b, 1
lea r8, [rsp + 0x30]
mov rcx, rdi
cmp eax, 1
jbe 0x14000b34d
lea rdx, [rsp + 0x38]
call fcn.140006698
jmp 0x14000b357
lea rdx, [rsp + 0x40]
call fcn.140006850
cmp qword [rsp + 0x30], rbx
je 0x14000b532
mov edi, 0x800
mov r8d, edi
lea rdx, [rsp + 0x70]
lea rcx, [0x1401904a0]
call fcn.14009ce00
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b3cb
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
movabs r9, 0x7fffffff7fffffff
mov r8d, edi
lea rdx, [rsp + 0x70]
lea rcx, [0x140180f10]
call fcn.14009f4c4
cmp eax, 6
ja 0x14000b3cb
mov ecx, 0x4a
bt ecx, eax
jae 0x14000b3cb
mov rcx, qword [rsp + 0x38]
jmp 0x14000b52d
lea rdx, [0x14012b540]
lea rcx, [rsp + 0x70]
call fcn.140077628
mov rdi, rax
test rax, rax
jne 0x14000b404
mov ecx, 0x1f6
call fcn.140096d58
mov rdx, rax
lea r8, [rsp + 0x70]
lea rcx, [0x14018f49a]
call fcn.1400dc27c
jmp 0x14000b3c1
mov eax, dword [0x140184f30]
cmp eax, 3
jne 0x14000b466
mov rdx, rdi
mov ecx, 0xff
call fcn.14011219c
mov rdx, rdi
mov ecx, 0xfe
call fcn.14011219c
cmp qword [rsp + 0x30], rbx
jbe 0x14000b516
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + rbx*2]
mov rdx, rdi
call fcn.14011219c
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rax + rbx*2 + 1]
mov rdx, rdi
call fcn.14011219c
inc rbx
cmp rbx, qword [rsp + 0x30]
jb 0x14000b434
jmp 0x14000b516
cmp eax, 4
jne 0x14000b4e7
mov rdx, rdi
mov ecx, 0xef
call fcn.14011219c
mov rdx, rdi
mov ecx, 0xbb
call fcn.14011219c
mov rdx, rdi
mov ecx, 0xbf
call fcn.14011219c
mov rdx, qword [rsp + 0x30]
shl rdx, 2
lea rcx, [rsp + 0x48]
call fcn.140004a48
nop
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14009fb5c
or r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], bl
jne 0x14000b4c1
mov r9, rdi
mov edx, 1
mov rcx, rsi
call fcn.140112590
nop
lea rcx, [rsp + 0x48]
call fcn.140004d0c
jmp 0x14000b516
cmp eax, 2
jne 0x14000b4ff
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.140112590
mov rcx, rdi
call fcn.140111fa8
mov rcx, qword [rsp + 0x38]
call fcn.1401058a8
mov rcx, qword [rsp + 0x40]
call fcn.1401058a8
mov rcx, qword [rbp + 0xf70]
xor rcx, rsp
call fcn.140105c50
lea r11, [rsp + 0x1080]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000c130
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 [0x14016a900]
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.14009c3f8
mov rsi, rax
test rax, rax
je 0x14000c1df
test ebx, ebx
jne 0x14000c18f
mov ebx, 1
jmp 0x14000c1bc
movzx edx, word [rsp + 0x20]
lea rcx, [0x140180f10]
call fcn.1400697a4
test al, al
jne 0x14000c1bc
cmp ebx, 1
jne 0x14000c1ba
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.14009c3f8
mov rsi, rax
test rax, rax
jne 0x14000c184
cmp ebx, 2
jne 0x14000c1df
mov word [rdi], bp
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.140105c50
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 0x14000d218
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2f60]
mov eax, 0x3060
call fcn.140105bf0
sub rsp, rax
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rbp + 0x2f50], rax
mov rsi, rcx
call fcn.140079e94
xor r15d, r15d
test al, al
je 0x14000d3e8
call fcn.1400d6c88
test al, al
je 0x14000d3e8
mov r12d, 0x800
lea rdx, [rbp + 0x1f50]
mov r8d, r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movzx r14d, word [rsi]
lea rax, str.RarExtLogo.altform_unplated_targetsize_32.png
mov qword [rsp + 0x20], rax
lea ebx, [r15 + 0x20]
lea rax, str.RarExtLogo.altform_unplated_targetsize_48.png
mov edi, r15d
mov qword [rsp + 0x28], rax
lea rax, str.RarExtLogo.altform_unplated_targetsize_64.png
mov qword [rsp + 0x30], rax
lea rax, str.RarExtLogo_Default.altform_unplated_targetsize_32.png
mov qword [rsp + 0x38], rax
lea rax, str.RarExtLogo_Default.altform_unplated_targetsize_48.png
mov qword [rsp + 0x40], rax
lea rax, str.RarExtLogo_Default.altform_unplated_targetsize_64.png
mov qword [rsp + 0x48], rax
mov r8, r12
lea rdx, [rbp + 0x1f50]
lea rcx, [rsp + 0x50]
call fcn.140111e40
mov r8, r12
lea rdx, [rbp + 0x1f50]
lea rcx, [rbp + 0xf50]
call fcn.140111e40
mov rdx, qword [rsp + rdi + 0x20]
lea rcx, [rsp + 0x50]
mov r8, r12
call fcn.1400877f4
mov rdx, qword [rsp + rdi + 0x38]
lea rcx, [rbp + 0xf50]
mov r8, r12
call fcn.1400877f4
lea rcx, [rbp + 0xf50]
call fcn.140076738
test r14w, r14w
jne 0x14000d37e
test al, al
je 0x14000d3e8
lea rcx, [rsp + 0x50]
call fcn.140076738
test al, al
je 0x14000d361
lea rcx, [rsp + 0x50]
call fcn.140076460
test al, al
je 0x14000d37a
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xf50]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14000d3d8
xor al, al
jmp 0x14000d3ea
test al, al
jne 0x14000d39b
xor r8d, r8d
lea rdx, [rbp + 0xf50]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14000d37a
lea rcx, [rsp + 0x50]
call fcn.140076738
test al, al
je 0x14000d3b7
lea rcx, [rsp + 0x50]
call fcn.140076460
test al, al
je 0x14000d37a
mov r9d, ebx
lea rdx, [rsp + 0x50]
mov r8d, ebx
mov rcx, rsi
call fcn.14000dfd0
lea rcx, [rsp + 0x50]
call fcn.140076738
test al, al
je 0x14000d415
add ebx, 0x10
add rdi, 8
cmp ebx, 0x50
jb 0x14000d2db
mov al, 1
mov rcx, qword [rbp + 0x2f50]
xor rcx, rsp
call fcn.140105c50
lea r11, [rsp + 0x3060]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xf50]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x14000d37a
Function at 0x140011988
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov bpl, cl
cmp dword [0x140173510], 0
jne 0x140011b45
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 0x1400119ed
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x5b9
call fcn.140096d58
mov rcx, rax
call fcn.1400dba04
jmp 0x140011b45
mov ebx, 0x10
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [0x14016b7b2], al
mov ecx, ebx
call fcn.14010586c
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140011a2c
lea rax, [0x14012c2c0]
mov qword [rbx], rax
mov dword [rbx + 8], 1
jmp 0x140011a2e
xor ebx, ebx
mov ecx, 0x10970
call fcn.14010586c
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140011a58
xor r9d, r9d
mov r8, rsi
mov dl, bpl
mov rcx, rax
call fcn.140010c38
mov rsi, rax
jmp 0x140011a5a
xor esi, esi
mov qword [0x14016b7b8], rsi
mov byte [0x14016b7b1], 0
mov byte [0x14016b7b0], 1
mov byte [0x14016b7b3], 0
lea r9, [rsp + 0x50]
mov r8d, 3
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ole32.dll_DoDragDrop]
mov ebp, eax
mov byte [0x14016b7b0], 0
mov rdx, qword [rsi]
mov rcx, rsi
mov rax, qword [rdx + 0x10]
call qword [case.0x140092c6b.0]
mov rdx, qword [rbx]
mov rax, qword [rdx + 0x10]
lea rcx, [fcn.140012070]
cmp rax, rcx
mov rcx, rbx
jne 0x140011ac3
call fcn.140012070
jmp 0x140011ac9
call qword [case.0x140092c6b.0]
cmp byte [0x14016b7b2], 0
je 0x140011af4
cmp byte [0x1401724a0], 0
je 0x140011af4
cmp ebp, 0x40100
jne 0x140011af4
call fcn.1400e4008
lea rcx, [0x1401a0cb0]
call fcn.140050570
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 0x140011b45
cmp byte [0x14016b7b3], 0
jne 0x140011b45
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
je 0x140011b45
mov ecx, 0x53c
call fcn.140096d58
mov rcx, rax
call fcn.1400dba04
lea rcx, [0x1401af488]
call fcn.14007029c
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400126f8
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.140105bf0
sub rsp, rax
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rbp + 0x2f50], rax
mov sil, dl
mov rdi, rcx
call fcn.14007a19c
cmp eax, 0x600
jb 0x1400128a8
mov rcx, rdi
call fcn.1400d5a98
xor ebx, ebx
test al, al
jne 0x1400128a8
mov r14d, 0x800
lea r8, [rsp + 0x50]
mov r9d, r14d
lea rcx, [0x1401a0cb0]
mov rdx, rdi
call fcn.14004ca74
mov r8d, r14d
lea rdx, [rbp + 0xf50]
lea rcx, [rsp + 0x50]
call fcn.14008696c
lea rcx, [rbp + 0xf50]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1400128a8
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 0x1400127de
mov eax, dword [rsp + 0x40]
and eax, 0x80008
cmp eax, 8
jne 0x1400128a8
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140012811
test al, 0x10
jne 0x140012811
lea rcx, [rsp + 0x50]
call fcn.140012548
and eax, 6
cmp al, 6
jne 0x1400128a4
lea rcx, [rsp + 0x50]
call fcn.140087740
lea rcx, [rsp + 0x50]
mov dil, bl
call fcn.140076738
test al, al
jne 0x140012878
mov dil, 1
mov r8, r14
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1f50]
call fcn.14009ccc8
lea rcx, [rsp + 0x50]
call fcn.140087740
lea rax, [rsp + 0x50]
lea r8, [rbp + 0x1f50]
sub r8, rax
movzx ecx, word [rax]
movzx edx, word [rax + r8]
sub ecx, edx
jne 0x140012866
add rax, 2
test edx, edx
jne 0x140012852
test ecx, ecx
je 0x140012878
lea rcx, [rsp + 0x50]
call fcn.140076738
test al, al
je 0x140012825
lea rcx, [rsp + 0x50]
call fcn.140012548
mov ecx, eax
shr eax, 2
shr ecx, 1
and cl, 1
test al, 1
je 0x14001289e
test dil, dil
je 0x14001289a
test sil, sil
je 0x1400128a0
test cl, cl
jne 0x1400128a0
mov bl, 1
mov al, bl
jmp 0x1400128aa
mov al, 1
jmp 0x1400128aa
xor al, al
mov rcx, qword [rbp + 0x2f50]
xor rcx, rsp
call fcn.140105c50
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 0x140013af4
Capabilities:
Delete file
Log keystrokes via polling
Move file

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.140105bf0
sub rsp, rax
mov rax, qword [0x14016a900]
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 0x140013c42
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 0x140013c42
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140013c42
mov rcx, qword [rcx + 0x10]
lea rdx, [rbp - 0x70]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x140013c42
lea ecx, [rsi + 0x10]
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ebx, ax
mov r8d, 0x800
lea rdx, [rbp - 0x70]
shr ebx, 0xf
lea rcx, [rbp + 0xf90]
call fcn.14009ccc8
lea rcx, [rbp + 0xf90]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x140013bca
lea rax, [rax*2 + 2]
cmp rax, 0x1002
jae 0x140013c6a
xorps xmm0, xmm0
mov word [rbp + rax + 0xf90], si
xor eax, eax
lea rcx, [rsp + 0x20]
not bx
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0xf90]
and bx, 1
movups xmmword [rsp + 0x20], xmm0
shl bx, 6
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x40], bx
mov dword [rsp + 0x28], 3
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dl, byte [rdi + 0x10]
mov rcx, rdi
call fcn.140015a10
mov rcx, qword [rbp + 0x1fa0]
xor rcx, rsp
call fcn.140105c50
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.1401059c4
int3
Function at 0x1400144d4
Capabilities:
Get file system object information

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

Disassembly:
push rbx
mov eax, 0x1300
call fcn.140105bf0
sub rsp, rax
mov rax, qword [0x14016a900]
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, [0x14012bf68]
mov r9d, 0x2b8
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x14001569a
xor r8d, r8d
lea rcx, [rsp + 0x2f0]
mov edx, 0x800
call fcn.1400d5878
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.140105c50
add rsp, 0x1300
pop rbx
ret

Function at 0x140016a1c
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 + 0x6030]
add rdx, 0xe58a
call fcn.140016abc
test al, al
jne 0x140016a7e
cmp byte [rsp + 0x30], sil
jne 0x140016aaa
mov rdx, qword [rbx + 8]
lea rcx, [0x1401af488]
add rdx, 0xe58a
call fcn.14007018c
jmp 0x140016aaa
mov rdx, qword [rbx + 0x10]
mov rcx, rbx
mov rdx, qword [rdx + 8]
call fcn.140016700
mov rcx, rbx
call fcn.1400161f8
cmp byte [rbx + 0x40], sil
je 0x140016aaa
cmp word [rdi], si
je 0x140016aaa
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 0x140016c80
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 0x140016cc1
mov qword [rdx], rbx
cmp dword [rcx + 0x30], ebx
jbe 0x140016cf3
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 0x140016ca6
jmp 0x140016cf3
mov rcx, qword [rcx + 0x10]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0xffffffff
jne 0x140016ce5
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140016ce5
xor al, al
jmp 0x140016cf5
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