joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c2f20
Capabilities:
Capture screenshot

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov r12, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r15, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, r15
mov r14, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea r8, [rsp + 0x60]
mov edx, 0x20
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
mov r8d, dword [rsp + 0x68]
mov rcx, r15
mov edx, dword [rsp + 0x64]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rbx
mov rcx, r14
mov rsi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rsi
mov rcx, rbp
mov rdi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [rsp + 0x68]
mov rbx, rax
mov r9d, dword [rsp + 0x64]
mov ecx, r9d
mov dword [rsp + 0x50], 0xcc0020
neg ecx
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x40], ecx
mov rcx, rbp
and dword [rsp + 0x38], 0
lea r8d, [r9 - 1]
mov dword [rsp + 0x30], r8d
xor r8d, r8d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], edx
xor edx, edx
call qword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [rsp + 0x68]
xor r8d, r8d
mov r9d, dword [rsp + 0x64]
xor edx, edx
mov dword [rsp + 0x40], 0xcc0020
mov rcx, r14
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rbp
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r15
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret

Function at 0x1400c3374
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
mov edx, 1
lea rcx, str.Shutdown
call fcn.14000b62c
test eax, eax
je 0x1400c33c2
cmp byte [0x14017913a], 0
jne 0x1400c33c2
cmp byte [0x140158a20], 0
jne 0x1400c33c2
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x30], 1
lea rcx, [0x1400c27ec]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rsp + 0x30], 0
je 0x1400c33c2
call fcn.14008d37c
add rsp, 0x28
ret

Function at 0x1400c3acc
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov rax, rdx
mov rdx, rcx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x1400c3f5c
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x1400c3f70
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
test bl, bl
jne 0x1400c3fad
mov ecx, 0x627
call fcn.1400868b8
mov rcx, rax
mov rdx, rdi
call fcn.1400cf438
lea rcx, [0x140179130]
call fcn.140062d54
mov al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c65b4
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x440
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov ebp, edx
mov dword [rcx], 0x3c8
mov r14, rcx
lea rdx, [rsp + 0x30]
mov rcx, qword [rcx + 8]
mov esi, 0x200
mov r8d, esi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, 0x40
lea rcx, [rsp + 0x30]
call fcn.140045ec8
or rbx, 0xffffffffffffffff
cmp word [0x14019d720], 0
je 0x1400c6686
lea rcx, [rsp + 0x30]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400c6623
mov eax, dword [0x1401106d8]
mov rdi, rbx
mov dword [rcx], eax
movzx eax, word [0x1401106dc]
mov word [rcx + 4], ax
lea rax, [rsp + 0x30]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400c6648
mov ecx, 0x5aa
call fcn.1400868b8
mov r9, rax
lea rcx, [rsp + 0x30]
lea rax, [0x14019d720]
mov rdx, rsi
sub rdx, rdi
mov qword [rsp + 0x20], rax
lea rcx, [rcx + rdi*2]
lea r8, str._s:__s
call fcn.1400026d0
cmp byte [0x14019d718], 0
je 0x1400c66e8
lea rcx, [rsp + 0x30]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400c6698
mov eax, dword [0x1401106d8]
mov dword [rcx], eax
movzx eax, word [0x1401106dc]
mov word [rcx + 4], ax
lea rax, [rsp + 0x30]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400c66ba
mov ecx, 0x2fd
call fcn.1400868b8
sub rsi, rbx
lea rcx, [rsp + 0x30]
lea rcx, [rcx + rbx*2]
mov r8, rax
mov r9d, ebp
mov rdx, rsi
call fcn.1400026d0
lea rcx, [r14 + 0x28]
mov r8d, 0x80
lea rdx, [rsp + 0x30]
call fcn.14008c7ec
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1400ec220
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x1400c6f64
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x1430
call fcn.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rsp + 0x1420], rax
mov rbx, rdx
mov edx, ecx
mov rcx, qword [0x140142bb8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r8d, 0xa00
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r10, [rsp + 0x20]
mov rcx, rbx
sub r10, rbx
movzx r8d, word [rcx]
movzx r9d, word [rcx + r10]
sub r8d, r9d
jne 0x1400c6fd4
add rcx, 2
test r9d, r9d
jne 0x1400c6fbd
test r8d, r8d
je 0x1400c6fe5
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rsp + 0x1420]
xor rcx, rsp
call fcn.1400ec220
mov rbx, qword [rsp + 0x1450]
add rsp, 0x1430
pop rdi
ret
Function at 0x1400c7008
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x448
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rcx, qword [0x140142bb8]
test rcx, rcx
je 0x1400c7154
mov r8d, 0x200
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [0x14019b088]
cmp eax, 0xa
je 0x1400c7097
lea rcx, [rsp + 0x30]
lea rdx, [0x14019c090]
mov r9, rdx
sub r9, rcx
movzx r8d, word [rcx]
movzx r10d, word [rcx + r9]
sub r8d, r10d
jne 0x1400c707f
add rcx, 2
test r10d, r10d
jne 0x1400c7068
test r8d, r8d
je 0x1400c7097
mov rcx, qword [0x140142bb8]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x14019b088]
cmp eax, 3
jne 0x1400c70b3
lea rdx, [0x14019d190]
mov ecx, 0x9c
call fcn.1400c6f64
mov eax, dword [0x14019b088]
cmp eax, 2
jbe 0x1400c70bd
cmp eax, 0xa
jne 0x1400c70e7
lea rdx, [0x14019d190]
mov ecx, 0x9c
call fcn.1400c6f64
lea rcx, [0x14019b090]
call fcn.140078d7c
mov rdx, rax
mov ecx, 0x9b
call fcn.1400c6f64
mov ecx, dword [0x1401d8dd0]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x14019ecb4], eax
jle 0x1400c7132
lea rcx, [0x14019ecb4]
call fcn.1400ec950
cmp dword [0x14019ecb4], 0xffffffff
jne 0x1400c7132
and dword [0x14019ecb0], 0
lea rcx, [0x14019ecb4]
call fcn.1400ec8f0
mov edx, reloc.SHELL32.dll_SHRestricted
lea rcx, [0x14019ecb0]
call fcn.1400459a0
test al, al
je 0x1400c7154
mov rcx, qword [0x140142bb8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1400ec220
add rsp, 0x448
ret
Function at 0x1400c99bc
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8d, dword [0x14015475c]
lea rdi, str.ExtractionProfile
mov rcx, rdi
lea rdx, str.Overwrite
call fcn.14009e73c
movzx r8d, byte [0x140154780]
lea rdx, [0x140114e48]
mov rcx, rdi
call fcn.14009e73c
movzx r8d, byte [0x14015477f]
lea rdx, str.Fresh
mov rcx, rdi
call fcn.14009e73c
mov r8d, dword [0x14015475c]
lea rdx, str.Overwrite
mov rcx, rdi
call fcn.14009e73c
movzx r8d, byte [0x1401559e8]
lea rdx, str.UnpToSubfolders
mov rcx, rdi
call fcn.14009e73c
movzx r8d, byte [0x1401547dc]
lea rdx, str.KeepBroken
mov rcx, rdi
call fcn.14009e73c
movzx r8d, byte [0x1401a0ce1]
lea rdx, str.ShowExplorer
mov rcx, rdi
call fcn.14009e73c
mov r8d, dword [0x1401559ec]
lea rdx, str.mtime
mov rcx, rdi
call fcn.14009e73c
mov r8d, dword [0x1401559f0]
lea rdx, str.ctime
mov rcx, rdi
call fcn.14009e73c
mov r8d, dword [0x1401559f4]
lea rdx, str.atime
mov rcx, rdi
call fcn.14009e73c
xor ebx, ebx
lea rdx, str.PathsRel
cmp dword [0x140154784], 2
mov r8d, ebx
mov rcx, rdi
sete r8b
call fcn.14009e73c
cmp dword [0x140154784], ebx
lea rdx, str.PathsFull
mov r8d, ebx
mov rcx, rdi
sete r8b
call fcn.14009e73c
cmp dword [0x140154784], 1
lea rdx, str.PathsNone
mov r8d, ebx
mov rcx, rdi
sete r8b
call fcn.14009e73c
cmp dword [0x140154784], 4
lea rdx, str.PathsAbsDrive
mov rcx, rdi
sete bl
mov r8d, ebx
call fcn.14009e73c
movzx r8d, byte [0x14015477c]
lea rdx, str.ClearArc
mov rcx, rdi
call fcn.14009e73c
movzx r8d, byte [0x1401547d0]
lea rdx, str.ProcessOwners
mov rcx, rdi
call fcn.14009e73c
movzx r8d, byte [0x1401548fd]
lea rdx, str.SetCompressedAttr
mov rcx, rdi
call fcn.14009e73c
mov r8d, dword [0x140158a2c]
lea rdx, str.ExtrDelArc
mov rcx, rdi
call fcn.14009e73c
movzx r8d, byte [0x140158a13]
lea rdx, [0x140116d78]
mov rcx, rdi
call fcn.14009e73c
movzx r8d, byte [0x140158a14]
lea rdx, str.WaitForOther
mov rcx, rdi
call fcn.14009e73c
movzx r8d, byte [0x1401547d3]
lea rdx, str.AbsoluteLinks
mov rcx, rdi
call fcn.14009e73c
movzx r8d, byte [0x1401547df]
lea rdx, str.AllowIncompatNames
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14009e73c
Function at 0x1400c9be4
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f48]
mov eax, 0x2048
call fcn.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rbp + 0x1f30], rax
xor r12d, r12d
mov rsi, r9
mov rbx, r8
mov r15, rdx
mov rdi, rcx
mov r13d, 0x800
cmp byte [rbp + 0x1fc0], r12b
je 0x1400c9c9b
mov r8, rcx
mov dword [rsp + 0x20], r13d
lea rcx, str.Extraction
mov r9, rbx
lea rdx, str.DefFolder
call fcn.14009dd5c
mov rcx, rdi
cmp word [rdi], r12w
jne 0x1400c9c71
sub rcx, rbx
movzx eax, word [rbx]
mov word [rcx + rbx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x1400c9c5f
jmp 0x1400c9c9b
mov r8d, r13d
lea rdx, [rbp + 0xf30]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r8, r15
mov word [rbp + 0x1f2e], r12w
lea rdx, [rbp + 0xf30]
mov rcx, rdi
call fcn.14008c7ec
movzx r14d, word [rdi]
test r14w, r14w
jne 0x1400c9cb7
mov r8, r15
lea rcx, [0x140168030]
mov rdx, rdi
call fcn.14003fc44
mov rdx, r15
mov rcx, rdi
call fcn.1400773b8
mov r8, r13
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.14008c7ec
mov rsi, r12
cmp word [rsp + 0x30], r12w
je 0x1400c9d29
mov rax, r12
lea rbx, [rsp + 0x30]
mov r13d, 0x25
cmp word [rbx], r13w
jne 0x1400c9d0e
lea rcx, [rsp + 0x32]
mov edx, r13d
add rcx, rax
call fcn.1400ed380
test rax, rax
je 0x1400c9d0e
mov eax, 0x5f
mov word [rbx], ax
inc rsi
lea rbx, [rsp + 0x30]
lea rax, [rsi + rsi]
add rbx, rax
cmp word [rbx], r12w
jne 0x1400c9ceb
mov r13d, 0x800
lea rcx, [rsp + 0x30]
call fcn.14007812c
mov rbx, rax
test rax, rax
je 0x1400c9dc4
lea rax, [rsp + 0x30]
cmp rbx, rax
jbe 0x1400c9dc4
lea rcx, [rsp + 0x30]
mov word [rbx], r12w
call fcn.14007812c
mov rsi, rax
test rax, rax
je 0x1400c9db6
lea rax, [rsp + 0x30]
cmp rsi, rax
jbe 0x1400c9db6
cmp byte [rbp + 0x1fb8], r12b
je 0x1400c9d93
cmp word [rbx + 2], r12w
je 0x1400c9d93
movzx ecx, word [rbx + 4]
call fcn.14008c3a0
test al, al
jne 0x1400c9d93
movzx ecx, word [rbx - 2]
call fcn.14008c3a0
test al, al
jne 0x1400c9da6
lea rdx, str..tar
mov rcx, rsi
call fcn.14008f8d8
test eax, eax
jne 0x1400c9db6
mov word [rsi], r12w
jmp 0x1400c9db6
cmp word [rbx], 0x2e
jne 0x1400c9dc4
mov word [rbx], r12w
lea rax, [rsp + 0x30]
sub rbx, 2
cmp rbx, rax
ja 0x1400c9dac
lea rcx, [rsp + 0x30]
call fcn.140078d7c
lea rbx, [0x14019fce0]
mov rdx, rax
mov rcx, rbx
mov r8, r13
call fcn.14008c7ec
mov rcx, rbx
call fcn.1400c333c
xor edx, edx
mov rcx, rbx
call fcn.140078abc
cmp byte [rbp + 0x1fb0], r12b
jne 0x1400c9e04
test r14w, r14w
je 0x1400c9e39
mov r8d, 1
lea rdx, str.AppendName
lea rcx, str.Extraction
call fcn.14009dbd0
test eax, eax
je 0x1400c9e39
lea rcx, [rsp + 0x30]
call fcn.140078d7c
mov rdx, rax
mov r8, r15
mov rcx, rdi
call fcn.14008c7b4
mov rcx, rdi
call fcn.1400c333c
xor edx, edx
mov rcx, rdi
call fcn.140078abc
mov rcx, qword [rbp + 0x1f30]
xor rcx, rsp
call fcn.1400ec220
add rsp, 0x2048
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400c9e70
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1058
call fcn.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rdx, rcx
lea r8, [rsp + 0x30]
lea rcx, [0x140168030]
mov r9d, 0x800
call fcn.140040320
mov edx, 0x802
lea rcx, [rsp + 0x30]
call fcn.1400773b8
mov r8d, 0x802
lea rdx, [0x14010a890]
lea rcx, [rsp + 0x30]
call fcn.14008c7b4
lea rax, [0x14010a100]
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x30]
xor ecx, ecx
lea rdx, str.open
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400ec220
add rsp, 0x1058
ret

Function at 0x1400cb0d8
Capabilities:
Delete directory
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x31a8]
mov eax, 0x3290
call fcn.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rbp + 0x3180], rax
mov dword [0x140142c4c], 1
mov bl, cl
test dl, dl
je 0x1400cb24e
mov r15d, 0x800
lea rcx, [rbp + 0x1180]
mov edx, r15d
xor r8d, r8d
call fcn.1400c2a30
mov edx, r15d
lea rcx, [rbp + 0x1180]
call fcn.1400773b8
lea r9, [rbp + 0x1180]
mov edx, r15d
lea r8, str._sRar_
lea rcx, [rbp + 0x2180]
call fcn.1400026d0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x2180]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400cb245
cmp dword [0x140142c4c], 1
jne 0x1400cb245
mov edi, dword [rsp + 0x24]
lea rdx, [rbp + 0x1180]
sub edi, dword [rsp + 0x38]
lea rcx, [rbp + 0x180]
mov r8, r15
call fcn.14008c7ec
mov r8, r15
lea rdx, [rsp + 0x5c]
lea rcx, [rbp + 0x180]
call fcn.14008c7b4
test byte [rsp + 0x30], 0x10
je 0x1400cb223
mov r8d, 6
lea rdx, str.Rar_DI
lea rcx, [rsp + 0x5c]
call fcn.1400f3990
test eax, eax
lea rcx, [rbp + 0x180]
sete r14b
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1400cb22f
cmp edi, 8
jb 0x1400cb210
test bl, bl
je 0x1400cb215
test r14b, r14b
je 0x1400cb22f
lea rcx, [rbp + 0x180]
call fcn.1400c21d4
jmp 0x1400cb22f
lea rcx, [rbp + 0x180]
call fcn.1400c2188
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400cb193
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
jne 0x1400cb278
cmp byte [0x140170814], bl
je 0x1400cb278
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov cl, 1
call fcn.1400d58b0
mov byte [0x140170814], al
and dword [0x140142c4c], 0
mov rcx, qword [rbp + 0x3180]
xor rcx, rsp
call fcn.1400ec220
lea r11, [rsp + 0x3290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400cead4
Capabilities:
Get file system object information

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x340
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rsp + 0x338], rax
mov r9d, dword [rcx + 0x38]
lea r8, str._c:_
mov rbx, rcx
add r9d, 0x41
mov edx, 0xa
lea rcx, [r11 - 0x38]
call fcn.1400026d0
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x301
lea r8, [rsp + 0x60]
xor edx, edx
lea rcx, [rsp + 0x320]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test byte [rbx + 0x10], 1
je 0x1400ceb7e
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, qword [rbx + 0x20]
mov edx, eax
call qword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, 0xe
mov edi, eax
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, qword [rbx + 0x20]
mov edx, eax
call qword [sym.imp.GDI32.dll_SetTextColor]
mov esi, eax
jmp 0x1400ceb86
mov edi, dword [rsp + 0x50]
mov esi, dword [rsp + 0x50]
mov r8d, dword [rbx + 0x2c]
lea r14, [rbx + 0x28]
mov edx, dword [r14]
lea rax, [0x14010a100]
mov rcx, qword [rbx + 0x20]
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], rax
lea r9d, [r15 + 2]
mov qword [rsp + 0x20], r14
call qword [sym.imp.GDI32.dll_ExtTextOutW]
lea ecx, [r15 + 0x31]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [r15 + 0x32]
mov ebp, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r9, qword [rsp + 0x60]
mov r8d, dword [rbx + 0x2c]
mov edx, dword [r14]
mov rcx, qword [rbx + 0x20]
mov dword [rsp + 0x40], 3
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_DrawIconEx]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_DestroyIcon]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.1400c3a1c
lea rax, [rsp + 0x70]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x1400cec26
mov edx, dword [r14]
lea r9, [rsp + 0x70]
mov r8d, dword [rbx + 0x2c]
add edx, 7
mov dword [rsp + 0x20], ecx
add edx, ebp
mov rcx, qword [rbx + 0x20]
add r8d, 2
call qword [sym.imp.GDI32.dll_TextOutW]
test byte [rbx + 0x10], 1
je 0x1400cec71
mov rcx, qword [rbx + 0x20]
mov edx, edi
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rcx, qword [rbx + 0x20]
mov edx, esi
call qword [sym.imp.GDI32.dll_SetTextColor]
mov rcx, qword [rsp + 0x338]
xor rcx, rsp
call fcn.1400ec220
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400ceca0
Capabilities:
Get file attributes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1040
call fcn.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rsp + 0x1030], rax
xor ebx, ebx
mov bpl, dl
cmp dword [0x140143d5c], ebx
mov rdi, rcx
jne 0x1400cee0b
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov esi, eax
cmp eax, 1
jne 0x1400ceda8
mov r9d, 0x800
mov word [rsp + 0x30], bx
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_WindowFromPoint]
cmp byte [0x140142c44], bl
je 0x1400ced4d
test bpl, bpl
jne 0x1400ced79
cmp rax, qword [0x140168090]
je 0x1400ced79
cmp rax, qword [0x14014e600]
je 0x1400ced79
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x1400ced79
mov r8b, 1
lea rdx, [rsp + 0x30]
lea rcx, [0x140168030]
call fcn.140040a24
cmp eax, 1
je 0x1400cee0b
lea rcx, [rsp + 0x30]
call fcn.140078d7c
mov rcx, rax
lea rdx, str.rarreg.
mov r8d, 7
call fcn.14008f920
test eax, eax
jne 0x1400ceda8
lea rcx, [rsp + 0x30]
call fcn.1400d2afc
jmp 0x1400cee0b
xor ecx, ecx
call fcn.1400be034
lea rcx, [0x14015aa68]
call fcn.14008ca28
test esi, esi
jle 0x1400cedec
mov r9d, 0x800
lea r8, [rsp + 0x30]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
lea rdx, [rsp + 0x30]
lea rcx, [0x14015aa68]
call fcn.14008c86c
inc ebx
cmp ebx, esi
jl 0x1400cedbf
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov dl, 1
and al, 1
xor ecx, ecx
or byte [0x1401547de], al
call fcn.1400b8040
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400ec220
lea r11, [rsp + 0x1040]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400d2afc
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1f30]
mov eax, 0x2030
call fcn.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rbp + 0x1f20], rax
xor r14d, r14d
mov rdi, rcx
cmp byte [0x140170814], r14b
je 0x1400d2b7e
cmp byte [0x1401547c4], r14b
jne 0x1400d2b7e
mov ecx, 0x5f0
call fcn.1400868b8
mov ecx, 0x5f1
mov rbx, rax
call fcn.1400868b8
mov rcx, qword [0x140142ba0]
lea r9d, [r14 + 0x24]
mov rdx, rax
mov r8, rbx
call fcn.1400c3b2c
cmp eax, 6
jne 0x1400d2cd2
mov esi, 0x800
lea rdx, [rbp + 0xf20]
mov r8d, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r8d, esi
lea rdx, str.rarreg.key
lea rcx, [rbp + 0xf20]
call fcn.140078e78
xor r8d, r8d
lea rdx, [rbp + 0xf20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov r8b, 1
lea rcx, [rsp + 0x20]
test eax, eax
mov edx, esi
setne bl
call fcn.1400782b8
mov edx, esi
lea rcx, [rsp + 0x20]
call fcn.1400773b8
mov r8d, esi
lea rdx, str.rarreg.key
lea rcx, [rsp + 0x20]
call fcn.14008c7b4
test bl, bl
je 0x1400d2c02
lea rcx, [rsp + 0x20]
call fcn.140068790
jmp 0x1400d2c2c
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rcx, r14
movzx eax, word [rsp + rcx + 0x20]
mov word [rbp + rcx + 0xf20], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d2c16
mov rcx, qword [0x140142ba0]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [0x140142ba0]
mov edx, 1
call qword [sym.imp.USER32.dll_FlashWindow]
mov dl, 1
lea rcx, [rbp + 0xf20]
call fcn.14005be5c
mov rcx, qword [0x140142ba0]
xor edx, edx
mov byte [0x140170814], al
call qword [sym.imp.USER32.dll_FlashWindow]
lea rcx, [0x140168030]
call fcn.140043a04
cmp byte [0x140170814], r14b
je 0x1400d2cb4
mov ecx, 0x368
call fcn.1400868b8
mov ecx, 0x367
mov rbx, rax
call fcn.1400868b8
mov rcx, qword [0x140142ba0]
mov rdx, rax
mov r9d, 0x30
mov r8, rbx
call fcn.1400c3b2c
jmp 0x1400d2cd2
lea rcx, [rbp + 0xf20]
call fcn.140068790
mov ecx, 0x366
call fcn.1400868b8
mov rcx, rax
call fcn.1400cf438
mov rcx, qword [rbp + 0x1f20]
xor rcx, rsp
call fcn.1400ec220
lea r11, [rsp + 0x2030]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret