joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140093b00
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x980]
sub rsp, 0xa80
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rbp + 0x970], rax
lea rax, [rsp + 0x48]
mov r12, rdx
mov r13, rcx
mov rdx, rcx
xor ebx, ebx
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140093d2a
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x170]
xor edx, edx
mov qword [rsp + 0x28], rbx
mov esi, ebx
mov dword [rsp + 0x40], 0x200
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140093d1a
movabs r14, 0xffffffffffffffe
nop word [rax + rax]
lea rax, [rbp + 0x170]
lea r8, [0x1401041a0]
lea rcx, [rbp + 0x570]
mov r9, r13
mov edx, 0x200
mov qword [rsp + 0x20], rax
call section..text
lea r11, [rsp + 0x58]
lea rdx, [rbp + 0x570]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140093cdb
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x44], pe_nt_image_headers64
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r8d, dword [rsp + 0x44]
test r8d, r8d
je 0x140093c76
cmp dword [rsp + 0x50], 1
jne 0x140093c76
lea ecx, [r8 - 1]
cmp word [rsp + rcx*2 + 0x70], bx
je 0x140093c7b
mov ecx, pe_nt_image_headers64
cmp r8d, ecx
cmovb ecx, r8d
mov word [rsp + rcx*2 + 0x70], bx
jmp 0x140093c7b
mov word [rsp + 0x70], bx
test eax, eax
jne 0x140093cd0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.140093920
test eax, eax
je 0x140093cd0
mov rdi, qword [r12]
lea r8, [rsp + 0x60]
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.14001c370
mov rdx, qword [r12 + 8]
mov rcx, r14
sub rcx, rdx
cmp rcx, 1
jb 0x140093d57
lea rcx, [rdx + 1]
mov qword [r12 + 8], rcx
mov qword [rdi + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
inc esi
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x170]
mov edx, esi
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x40], 0x200
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140093bc0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 1
mov eax, ebx
mov rcx, qword [rbp + 0x970]
xor rcx, rsp
call fcn.14004ae00
lea r11, [rsp + 0xa80]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
lea rcx, str.list_T__too_long
call fcn.14002ba2c
int3
Function at 0x140094330
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, qword [rbx + 0x10]
lea rdx, [rdx + rdx + 2]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor esi, esi
mov rdi, rax
test rax, rax
je 0x1400943af
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
cmp qword [rbx + 0x18], 8
mov r8, qword [rbx + 0x10]
jb 0x14009437d
mov rbx, qword [rbx]
lea r8, [r8 + r8 + 2]
mov rdx, rbx
mov rcx, rax
call fcn.14004b590
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, ILFindLastID
call qword [sym.imp.USER32.dll_SetClipboardData]
mov ecx, 1
test rax, rax
cmovne esi, ecx
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140095d30
Capabilities:
Create process on windows
Get common file path

Disassembly:
push rbx
sub rsp, 0x470
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rax, qword [str.cmd.exe]
xor r9d, r9d
mov rbx, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [0x1401042a0]
lea rdx, [rsp + 0x40]
lea r8d, [r9 + 0x25]
xor ecx, ecx
mov qword [rsp + 0x38], rax
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140095dbf
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x250]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea r8, [rsp + 0x250]
lea rdx, [0x1401042a8]
mov r9, rbx
xor ecx, ecx
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x140095dc1
xor eax, eax
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14004ae00
add rsp, 0x470
pop rbx
ret
Function at 0x140096870
Capabilities:
Get file version info
Identify system language via api

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0xf8
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rdi, rcx
xor esi, esi
mov ecx, r9d
mov ebx, r9d
mov r13, r8
mov r14, rdx
mov qword [rsp + 0x38], rsi
call fcn.14004af90
mov rbp, rax
test rax, rax
je 0x1400969dc
mov r9, rax
mov r8d, ebx
xor edx, edx
mov rcx, rdi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1400969d4
mov qword [rsp + 0xf0], r12
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
lea r9, [rsp + 0x30]
lea r8, [0x1401495c8]
lea rdx, [0x140104330]
mov rcx, rbp
movzx r12d, ax
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov edx, dword [rsp + 0x30]
mov edi, esi
test edx, 0xfffffffc
jbe 0x1400969cc
mov qword [rsp + 0xe8], r15
mov r15d, 0xff
mov ebx, esi
and r12w, r15w
nop word [rax + rax]
mov r8, qword [0x1401495c8]
movzx ecx, word [rbx + r8]
movzx eax, cx
and ax, r15w
cmp ax, r12w
je 0x14009694e
test cx, cx
jne 0x1400969a1
movzx eax, word [rbx + r8 + 2]
movzx r9d, cx
lea r8, str.StringFileInfo_04X_04X_s
lea rcx, [rsp + 0x50]
mov edx, 0x40
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], eax
call section..text
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14009699d
mov r8, qword [rsp + 0x38]
test r8, r8
jne 0x1400969b2
mov edx, dword [rsp + 0x30]
mov eax, edx
inc edi
add rbx, 4
shr eax, 2
cmp edi, eax
jb 0x140096930
jmp 0x1400969c4
mov edx, 0x200
mov rcx, r13
call fcn.140001240
mov esi, 1
mov r15, qword [rsp + 0xe8]
mov r12, qword [rsp + 0xf0]
mov rcx, rbp
call fcn.14004b048
mov eax, esi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14004ae00
add rsp, 0xf8
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140097250
Capabilities:
Get disk size
Get file size

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
jne 0x140097281
or eax, 0xffffffff
jmp 0x140097367
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov edx, 0x80000000
lea r8d, [r9 + 3]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x288], rbp
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x1400972bc
or eax, eax
jmp 0x14009735f
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x290], rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, 0x104
lea rcx, [rsp + 0x50]
mov esi, eax
lea rax, [rsp + 0x50]
sub rdi, rax
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140097306
movzx eax, word [rdi + rcx]
test ax, ax
je 0x140097306
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x1400972e3
jmp 0x14009730b
test rdx, rdx
jne 0x14009730f
sub rcx, 2
mov word [rcx], bx
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x50]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov r11d, ebx
test esi, esi
jle 0x14009734c
mov eax, dword [rsp + 0x40]
add r11d, eax
inc ebx
cmp r11d, esi
jl 0x140097342
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x290]
mov eax, ebx
mov rbp, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14004ae00
mov rbx, qword [rsp + 0x298]
add rsp, 0x270
pop rdi
ret
Function at 0x140097390
Capabilities:
Get disk size
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0x260], rax
cmp qword [rcx + 0x18], 8
mov rsi, rdx
mov rbx, rcx
jb 0x1400973c1
mov rcx, qword [rcx]
xor ebp, ebp
xor r9d, r9d
mov edx, 0x80000000
mov qword [rsp + 0x30], rbp
lea r8d, [rbp + 3]
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400973f6
xor eax, eax
jmp 0x1400974bd
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov r11, qword [rsp + 0x48]
mov qword [rsi], r11
test r11, r11
je 0x1400974af
cmp qword [rbx + 0x18], 8
jb 0x14009741f
mov rbx, qword [rbx]
lea rax, [rsp + 0x50]
mov edx, 0x104
lea rcx, [rsp + 0x50]
sub rbx, rax
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140097454
movzx eax, word [rbx + rcx]
test ax, ax
je 0x140097454
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x140097431
jmp 0x140097459
test rdx, rdx
jne 0x14009745d
sub rcx, 2
mov word [rcx], bp
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov r11d, dword [rsp + 0x44]
mov r8, qword [rsi]
imul r11d, dword [rsp + 0x40]
mov rax, r8
movsxd rcx, r11d
cqo
idiv rcx
test rdx, rdx
je 0x1400974af
sub rcx, rdx
add rcx, r8
mov qword [rsi], rcx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14004ae00
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop rdi
pop rsi
pop rbp
ret

Function at 0x140097980
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov rbp, rdx
mov rsi, rcx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [rax + 1]
mov eax, 2
mov r12, 0xffffffffffffffff
movsxd rcx, edi
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.14002cff8
mov r8d, edi
mov rcx, rsi
mov rdx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
mov rcx, r12
mov rdi, rbx
mov rdx, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbp
call fcn.140009a30
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
jmp fcn.14004b410
Function at 0x1400a4af0
Capabilities:
Get graphical window text
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x20
mov rdi, r9
mov ebx, r8d
mov rbp, rdx
cmp r8d, 7
je 0x1400a4b74
cmp ebx, 0x100
je 0x1400a4b46
cmp ebx, 0x20a
jne 0x1400a4b79
mov r9, qword [rsp + 0x50]
mov r8, rdi
mov edx, 2
call fcn.1400a9060
test eax, eax
je 0x1400a4b79
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp r9, 0xd
jne 0x1400a4b79
mov rcx, qword [rcx + 0x68]
xor r9d, r9d
mov edx, 0x8002
lea r8d, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call fcn.1400d17b0
mov r9, qword [rsp + 0x50]
mov r8, rdi
mov edx, ebx
mov rcx, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140001a50
Function at 0x1400a59a0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [rcx + 0x68]
mov rdi, rcx
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rsp + 0x24]
mov r11d, dword [rsp + 0x20]
mov eax, dword [rsp + 0x28]
mov dword [rbx + 0x10], edx
mov dword [rbx + 0xc], r11d
sub eax, r11d
mov dword [rbx + 0x14], eax
mov eax, dword [rsp + 0x2c]
sub eax, edx
mov edx, 0x44a
mov dword [rbx + 0x18], eax
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, qword [rdi + 0x68]
mov r8d, pe_nt_image_headers64
add rdx, 0x220
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov r11, qword [rdi + 0x68]
mov dword [r11 + 8], 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004ae00
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1400a5fa0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
lea r8, [rcx + 0x420]
mov rbx, rcx
lea rdx, [0x140107480]
mov rcx, rdi
call fcn.14008f430
add rbx, 0x220
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, [0x140107490]
mov r9d, 1
add eax, eax
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400a6340
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
lea r8, [rcx + 0x420]
mov rbx, rcx
lea rdx, [0x1401074a8]
mov rcx, rdi
call fcn.14008f560
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, [0x1401074b8]
add rbx, 0x220
mov esi, pe_nt_image_headers64
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x40], esi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r11d, dword [rsp + 0x40]
test r11d, r11d
je 0x1400a63db
cmp dword [rsp + 0x50], 1
jne 0x1400a63db
lea eax, [r11 - 1]
cmp word [rbx + rax*2], 0
je 0x1400a63e0
cmp r11d, esi
cmovb esi, r11d
xor ecx, ecx
mov word [rbx + rsi*2], cx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
xor ecx, ecx
mov word [rbx], cx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400a75e0
Capabilities:
Open clipboard

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor r9d, r9d
mov rdi, rcx
mov rcx, qword [rcx + 0x98]
lea r8d, [r9 + 9]
mov edx, 0x110a
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400a7722
mov rdi, qword [rdi + 0xa60]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rcx, qword [rdi + 0x18]
mov edx, 0x113e
mov qword [rsp + 0x2e8], rbx
mov dword [rsp + 0x30], ILCombine
mov qword [rsp + 0x38], rax
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rcx, dword [rsp + 0x60]
shl rcx, 4
add rcx, qword [rdi + 0x280]
mov rcx, qword [rcx]
call qword [sym.imp.SHELL32.dll_ILClone]
lea rdx, [rbp - 0x50]
mov r8d, 0x8000
mov rcx, rax
mov rbx, rax
call fcn.140092ff0
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
lea rcx, [rbp - 0x50]
mov edx, 1
mov dword [rsp + 0x20], 8
call qword [sym.imp.MPR.dll_WNetGetUniversalNameW]
or rcx, 0xffffffffffffffff
mov qword [rbp - 0x68], 7
test eax, eax
jne 0x1400a76c7
mov rdx, qword [rsp + 0x28]
mov rdi, rdx
jmp 0x1400a76cf
lea rdi, [rbp - 0x50]
lea rdx, [rbp - 0x50]
xor eax, eax
mov qword [rbp - 0x70], rax
mov word [rbp - 0x80], ax
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp - 0x80]
call fcn.140009a30
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400a7701
lea rcx, [rbp - 0x80]
call fcn.140094330
cmp qword [rbp - 0x68], 8
jb 0x1400a7711
mov rcx, qword [rbp - 0x80]
call fcn.14004b088
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rbx, qword [rsp + 0x2e8]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14004ae00
mov rdi, qword [rsp + 0x2f0]
add rsp, 0x2d0
pop rbp
ret
Function at 0x1400a7750
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rdi
sub rsp, 0x2c0
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
xor r9d, r9d
mov rdi, rcx
mov rcx, qword [rcx + 0x98]
lea r8d, [r9 + 9]
mov edx, 0x110a
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400a78df
mov rdi, qword [rdi + 0xa60]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov rcx, qword [rdi + 0x18]
mov edx, 0x113e
mov qword [rsp + 0x2d8], rbx
mov dword [rsp + 0x20], ILCombine
mov qword [rsp + 0x28], rax
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rcx, dword [rsp + 0x50]
shl rcx, 4
add rcx, qword [rdi + 0x280]
mov rcx, qword [rcx]
call qword [sym.imp.SHELL32.dll_ILClone]
lea rdx, [rsp + 0xa0]
mov r8d, 0x8000
mov rcx, rax
mov rbx, rax
call fcn.140092ff0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xa0]
lea rdx, [rsp + 0xa0]
mov qword [rsp + 0x88], 7
repne scasw ax, word [rdi]
mov qword [rsp + 0x80], rax
mov word [rsp + 0x70], ax
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x70]
call fcn.140009a30
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400a78b9
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, qword [rsp + 0x80]
mov ecx, 2
lea rdx, [rdx + rdx + 2]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1400a78b3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
cmp qword [rsp + 0x88], 8
mov r8, qword [rsp + 0x80]
lea rdx, [rsp + 0x70]
lea r8, [r8 + r8 + 2]
mov rcx, rax
cmovae rdx, qword [rsp + 0x70]
call fcn.14004b590
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, ILFindLastID
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
cmp qword [rsp + 0x88], 8
jb 0x1400a78ce
mov rcx, qword [rsp + 0x70]
call fcn.14004b088
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rbx, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.14004ae00
add rsp, 0x2c0
pop rdi
ret
Function at 0x1400a9060
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov rax, r8
mov r12, r9
mov rdi, r8
shr rax, 0x10
mov ebp, edx
mov rbx, rcx
cwde
add dword [rcx + 0xf720], eax
call qword [sym.imp.USER32.dll_GetMessagePos]
movsx r10d, ax
shr eax, 0x10
movsx r8d, ax
mov dword [rsp + 0x50], r10d
mov dword [rsp + 0x54], r8d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_WindowFromPoint]
mov rcx, qword [rbx + 0x12c0]
xor esi, esi
cmp rax, rcx
jne 0x1400a91ee
test dil, 8
je 0x1400a912d
mov ecx, dword [rbx + 0xf720]
mov eax, 0x88888889
mov edi, esi
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
xor eax, edx
sub eax, edx
test eax, eax
jle 0x1400a92a2
mov edx, esi
mov rcx, rbx
cmp dword [rbx + 0xf720], edx
setg dl
call fcn.1400c5660
mov ecx, dword [rbx + 0xf720]
mov eax, 0x88888889
inc edi
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
xor eax, edx
sub eax, edx
cmp edi, eax
jl 0x1400a90f1
jmp 0x1400a92a2
test dil, 4
je 0x1400a91d1
mov ecx, dword [rbx + 0xf720]
mov eax, 0x88888889
mov edi, esi
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
xor eax, edx
sub eax, edx
test ecx, ecx
jns 0x1400a9194
test eax, eax
jle 0x1400a92a2
mov rcx, rbx
call fcn.1400c5540
mov ecx, dword [rbx + 0xf720]
mov eax, 0x88888889
inc edi
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
xor eax, edx
sub eax, edx
cmp edi, eax
jl 0x1400a9163
jmp 0x1400a92a2
test eax, eax
jle 0x1400a92a2
nop dword [rax]
mov rcx, rbx
call fcn.1400c54c0
mov ecx, dword [rbx + 0xf720]
mov eax, 0x88888889
inc edi
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
xor eax, edx
sub eax, edx
cmp edi, eax
jl 0x1400a91a0
jmp 0x1400a92a2
test ebp, ebp
je 0x1400a92a2
mov esi, 1
mov r9, r12
mov r8, rdi
mov edx, 0x20a
jmp 0x1400a929c
mov rcx, qword [rbx + 0x98]
cmp rax, rcx
jne 0x1400a91ff
cmp ebp, 1
jmp 0x1400a91d3
mov rcx, qword [rbx + 0x88]
cmp rax, rcx
jne 0x1400a92a2
lea r8, str.msctls_updown32
xor r9d, r9d
xor edx, edx
mov esi, 1
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rbp, rax
test rax, rax
je 0x1400a92a2
lea r9, [rsp + 0x50]
xor r8d, r8d
mov edx, 0x472
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rsp + 0x50], 0
mov rdi, rax
je 0x1400a92a2
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x20]
mov edx, 0x470
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rbx + 0xf720], 0
jge 0x1400a9279
cmp edi, dword [rsp + 0x60]
jge 0x1400a9281
inc edi
jmp 0x1400a9281
cmp edi, dword [rsp + 0x20]
jle 0x1400a9281
dec edi
mov rcx, qword [rbx + 0x88]
movzx r8d, di
mov edx, 0x114
shl r8d, 0x10
or r8, 4
xor r9d, r9d
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8d, dword [rbx + 0xf720]
mov eax, r8d
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x78
jl 0x1400a92d8
mov eax, 0x88888889
imul r8d
add edx, r8d
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0x78
sub r8d, edx
mov dword [rbx + 0xf720], r8d
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
mov eax, esi
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x1400a97d0
Capabilities:
Hide graphical window
Set current directory

Disassembly:
mov rax, rsp
push rsi
sub rsp, 0x70
movsxd r8, dword [rcx + 0x1b94]
mov rsi, rcx
mov rcx, qword [rcx + 0x88]
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov ebp, edx
lea r9, [rax - 0x58]
mov edx, 0x133c
mov dword [rax - 0x58], 8
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi + 0x12c0]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
movsxd rax, dword [rsp + 0x40]
lea r8, [rsi + 0x1338]
mov dword [rsi + 0x1b88], eax
mov rcx, rax
mov rax, qword [rsi + rax*8 + 0xb8]
mov qword [rsi + 0x12c0], rax
mov rcx, qword [rsi + rcx*8 + 0x728]
mov edx, 0x104
mov qword [rsi + 0xa50], rcx
mov rax, qword [rcx]
call qword [rax + 0x68]
lea rcx, [rsi + 0x1338]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, qword [rsi + 0xa50]
mov rax, qword [rcx]
call qword [rax + 0x248]
mov rcx, rsi
mov dword [rsi + 0xf3d0], eax
call fcn.1400e0100
mov rcx, rsi
call fcn.1400e0bc0
mov rcx, rsi
call fcn.1400e58c0
mov rcx, qword [rsi + 0x12c0]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
cmp dword [rsi + 0xee64], 0
je 0x1400a999f
mov rax, qword [rsi + 0xee48]
mov qword [rsp + 0x90], rdi
mov rdi, qword [rax]
cmp rdi, rax
je 0x1400a9997
mov eax, dword [rsi + 0x1b88]
cmp dword [rdi + 0x20], eax
je 0x1400a98e7
mov rdi, qword [rdi]
cmp rdi, qword [rsi + 0xee48]
jne 0x1400a98d1
jmp 0x1400a9997
mov rcx, qword [rsi + 0x88]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1304
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [rsi + 0x1b94]
dec eax
cmp ecx, eax
jne 0x1400a9921
mov rcx, qword [rsi + 0xee40]
mov rdx, qword [rdi + 0x18]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x68]
jmp 0x1400a997f
lea eax, [rcx + 1]
mov rcx, qword [rsi + 0x88]
lea r9, [rsp + 0x48]
movsxd r8, eax
mov edx, 0x133c
mov dword [rsp + 0x48], 8
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11, qword [rsi + 0xee48]
mov rbx, qword [r11]
cmp rbx, r11
je 0x1400a997f
mov eax, dword [rsp + 0x68]
cmp dword [rbx + 0x20], eax
jne 0x1400a9973
mov rcx, qword [rsi + 0xee40]
mov r8, qword [rbx + 0x18]
mov rdx, qword [rdi + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x68]
mov rbx, qword [rbx]
cmp rbx, qword [rsi + 0xee48]
jne 0x1400a9955
mov rcx, qword [rsi + 0xee40]
mov r8, qword [rsi + 0x68]
mov rdx, qword [rdi + 0x18]
mov rax, qword [rcx]
xor r9d, r9d
call qword [rax + 0x70]
mov rdi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
test ebp, ebp
mov rbp, qword [rsp + 0x88]
je 0x1400a99c0
mov rcx, qword [rsi + 0x12c0]
call qword [sym.imp.USER32.dll_SetFocus]
add rsp, 0x70
pop rsi
ret

Function at 0x1400a99d0
Capabilities:
Set current directory

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x88]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 1
mov rcx, rbx
mov dword [rbx + 0x1b94], eax
add rsp, 0x20
pop rbx
jmp fcn.1400a97d0