joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140153000
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x14015302d
xor al, al
jmp 0x14015318f
mov rax, qword [0x140174600]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x140174608]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x140174610]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x140174618]
mov qword [rcx + 0x18], rax
mov rax, qword [0x140174620]
mov qword [rcx + 0x20], rax
mov rax, qword [0x140174628]
mov qword [rcx + 0x28], rax
mov rax, qword [0x140174630]
mov qword [rcx + 0x30], rax
mov rax, qword [0x140174638]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x140174640]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x140153181
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x1401530d9
mov r11d, 2
jmp 0x1401530fd
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x1401530f3
mov r11d, 1
jmp 0x1401530fd
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x1401531a5
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x140153142
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x14015315a
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x14015316a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x140153178
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x1401530c0
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x14015318a
Function at 0x14000c43c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140014c60], rbx
je 0x14000c4a3
cmp rax, rbx
jne 0x14000c496
mov ebx, 1
mov esi, ebx
jmp 0x14000c4a8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000c47b
mov ebx, 1
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c4c0
mov edi, 0x1f
mov ecx, edi
call fcn.14015c000
jmp 0x14000c52c
mov eax, dword [0x140014c68]
test eax, eax
jne 0x14000c521
mov dword [0x140014c68], ebx
lea r15, [0x14000eba0]
lea rdi, [0x14000eb88]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000c513
test eax, eax
jne 0x14000c517
cmp qword [rdi], r14
je 0x14000c508
mov rax, qword [rdi]
mov rcx, qword [0x14000eb40]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000c4ea
test eax, eax
je 0x14000c527
mov eax, 0xff
jmp 0x14000c682
mov dword [0x1400143e4], ebx
mov edi, 0x1f
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c553
lea rdx, [0x14000eb80]
lea rcx, [0x14000eb48]
call sub.msvcrt.dll__initterm
mov dword [0x140014c68], 2
test esi, esi
jne 0x14000c561
mov rax, r14
xchg qword [0x140014c60], rax
cmp qword [0x140014c80], r14
je 0x14000c594
lea rcx, [0x140014c80]
call fcn.14000ca70
test eax, eax
je 0x14000c594
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140014c80]
mov r9, qword [0x14000eb40]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000c5ad
mov eax, 0xff
jmp 0x14000c682
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000c633
test ax, ax
je 0x14000c5c8
test edx, edx
jne 0x14000c633
sub ax, bx
cmp ax, di
ja 0x14000c5de
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000c5c8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001878
mov dword [0x1400143e0], eax
cmp dword [0x140014400], r14d
jne 0x14000c61c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400143e4], r14d
jne 0x14000c631
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400143e0]
jmp 0x14000c682
cmp ax, 0x22
jne 0x14000c647
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c5b6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14000caf0
add rsp, 0x28
jmp 0x14000c43c
Function at 0x14000477f
Capabilities:
Get disk size

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x60
mov r12, rcx
lea rcx, [0x14009ac50]
mov rdi, r9
mov rsi, r8
mov rbx, rdx
xor bpl, bpl
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetDiskFreeSpaceExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
test byte [rax], al
add byte [rax], al
add byte [rax], al
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov rcx, r12
call rax
test eax, eax
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
mov rax, qword [rsp + 0x48]
setne bpl
mov qword [rdi], rax
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x30]
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
test byte [rax], al
add byte [rax], al
add byte [rax], al
mov ecx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x34]
imul rcx, rax
test bpl, bpl
mov qword [rbx], rcx
test dword [rax], eax
add byte [rax], al
add byte [rax], al
mov eax, dword [rsp + 0x38]
imul rax, rcx
mov qword [rsi], rax
mov eax, dword [rsp + 0x3c]
imul rax, qword [rbx]
mov qword [rdi], rax
mov al, 1
add rsp, 0x60
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140004fe8
Capabilities:
Open clipboard

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
call qword [sym.imp.USER32.dll_OpenClipboard]
xor ebx, ebx
cmp eax, ebx
setne al
cmp al, bl
mov byte [rsp + 0x60], al
je 0x14000509f
call qword [sym.imp.USER32.dll_EmptyClipboard]
cmp eax, ebx
je 0x14000509f
mov esi, dword [rdi + 8]
mov rbp, qword [rdi]
lea rcx, [rsp + 0x68]
inc esi
mov edx, 0x2002
mov qword [rsp + 0x68], rbx
add rsi, rsi
mov r8, rsi
call fcn.140009c84
cmp al, bl
test dword [rax], eax
add byte [rax], al
add byte [rax], al
lea rcx, [rsp + 0x68]
jmp 0x14000504f
mov rdi, qword [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
cmp rax, rbx
test byte [rax], al
invalid
add cl, ch
or al, 0
add byte [rax], al
mov qword [rsp + 0x68], rbx
call fcn.14000a64e
mov bl, 1
lea rcx, [rsp + 0x60]
call fcn.140004fb1
mov al, bl
add rsp, 0x28
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140005746
Capabilities:
Set file attributes

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov esi, edx
mov rdi, rcx
call fcn.140009a8e
mov ebx, eax
cmp eax, 1
test byte [rax], al
add byte [rax], al
add byte [rax], al
mov edx, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
test byte [rax], al
add byte [rax], al
add byte [rax], al
mov al, 1
jmp 0x140005786
test ebx, ebx
test byte [rax], al
add byte [rax], al
add byte [rax], al
lea rcx, [rsp + 0x28]
call fcn.1400025cb
nop
cmp ebx, 1
setne r8b
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14000a1be
test al, al
test byte [rax], al
add byte [rax], al
add byte [rax], al
mov edx, esi
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x28]
call sub.msvcrt.dll_free
mov al, bl
jmp 0x1400057e4
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000581c
Capabilities:
Delete directory

Disassembly:
push rbx
push rdi
sub rsp, 0x48
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdi, rcx
call fcn.140009a8e
mov ebx, eax
cmp eax, 1
test byte [rax], al
add byte [rax], al
add byte [rax], al
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
test byte [rax], al
add byte [rax], al
add byte [rax], al
mov al, 1
jmp 0x140005857
test ebx, ebx
test byte [rax], al
add byte [rax], al
add byte [rax], al
lea rcx, [rsp + 0x28]
call fcn.1400025cb
nop
cmp ebx, 1
setne r8b
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14000a1be
test al, al
test byte [rax], al
add byte [rax], al
add byte [rax], al
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x28]
call sub.msvcrt.dll_free
mov al, bl
jmp 0x1400058b3
add rsp, 0x48
pop rdi
pop rbx
ret

Function at 0x1400058da
Capabilities:
Move file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbp, rdx
mov r12, rcx
call fcn.140009a8e
mov esi, eax
mov rcx, rbp
call fcn.140009a8e
mov edi, eax
mov ebx, 1
cmp esi, ebx
test byte [rax], al
add byte [rax], al
add byte [rax], al
cmp eax, ebx
test byte [rax], al
add byte [rax], al
add byte [rax], al
mov rdx, rbp
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
test byte [rax], al
invalid

Function at 0x140005b98
Capabilities:
Create directory

Disassembly:
push rbx
push rdi
sub rsp, 0x48
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdi, rcx
call fcn.140009a8e
mov ebx, eax
cmp eax, 1
test byte [rax], al
add byte [rax], al
add byte [rax], al
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
test byte [rax], al
add byte [rax], al
add byte [rax], al
mov al, 1
jmp 0x140005bd5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
test byte [rax], al
add byte [rax], al
add byte [rax], al
test ebx, ebx
test byte [rax], al
add byte [rax], al
add byte [rax], al
lea rcx, [rsp + 0x28]
call fcn.1400025cb
nop
cmp ebx, 1
setne r8b
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14000a1be
test al, al
test byte [rax], al
add byte [rax], al
add byte [rax], al
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x28]
call sub.msvcrt.dll_free
mov al, bl
jmp 0x140005c44
add rsp, 0x48
pop rdi
pop rbx
ret

Function at 0x140006e97
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
push rdi
sub rsp, 0x48
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdi, rcx
call fcn.140009a8e
mov ebx, eax

Function at 0x140007d70
Capabilities:
Get file size

Disassembly:
push rbx
push rdi
sub rsp, 0x28
cmp byte [rcx + 8], 0
mov rbx, rdx
test byte [rax], al
add byte [rax], al
add byte [rax], al
cmp byte [rcx + 9], 0
test byte [rax], al
add byte [rax], al
add byte [rax], al
mov rax, qword [rcx + 0x10]
mov qword [rdx], rax
jmp fcn.140007d9a
Function at 0x140007d9a
Capabilities:
Get file size

Disassembly:
mov rcx, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov edi, eax
test dword [rax], eax
add byte [rax], al
add byte [rax], al
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
test byte [rax], al
add byte [rax], al
add byte [rax], al
xor al, al
jmp 0x140007ddb
add rsp, 0x28
pop rdi
pop rbx
ret

Function at 0x140007e8d
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx]
invalid

Function at 0x140007f74
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x140101070]
mov rcx, qword [rcx]
mov rbx, r9
cmp r8d, eax
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], 0
cmova r8d, eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rsp + 0x50]
test eax, eax
mov dword [rbx], ecx
setne al
add rsp, 0x30
pop rbx
ret

Function at 0x14000b765
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov r9d, 4
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x14000b7a9
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov rcx, r8
mov rbx, r8
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsi]
lea eax, [rax + rax + 2]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret

Function at 0x14000b7ed
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
mov r9d, 3
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x14000b815
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x48
mov rcx, qword [rcx]
lea rax, [r11 + 0x20]
lea r9, [r11 - 0x18]
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x28], r8
xor r8d, r8d
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x68], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add rsp, 0x48
ret
Function at 0x14000b8cd
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
mov r11, rsp
sub rsp, 0x40
mov rax, qword [r8]
mov dword [r8 + 8], 0
mov rsi, rcx
mov word [rax], 0
mov rcx, qword [rcx]
lea rax, [r11 + 0x30]
mov rbx, r8
mov qword [r11 - 0x18], rax
lea r9, [r11 - 0x10]
xor r8d, r8d
mov qword [r11 - 0x20], 0
mov rdi, rdx
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x70], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
test byte [rax], al
add byte [rax], al
add byte [rax], al
cmp eax, 0xea
test dword [rax], eax
add byte [rax], al
add byte [rax], al
mov edx, dword [rsp + 0x70]
cmp edx, dword [rbx + 0xc]
mov dword [rsp + 0x78], edx
xchg byte [rax], al
add byte [rax], al
add byte [rax], al
mov rcx, rbx
call fcn.1400032c9
mov rax, qword [rbx]
lea rcx, [rsp + 0x78]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsi]
xor r8d, r8d
mov rdx, rdi
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rsp + 0x70]
mov rdx, qword [rbx]
cmp ecx, dword [rsp + 0x78]
cmova ecx, dword [rsp + 0x78]
mov dword [rsp + 0x70], ecx
shr rcx, 1
mov word [rdx + rcx*2], 0
xor ecx, ecx
cmp word [rdx], cx
test byte [rax], al
add byte [rax], al
add byte [rax], al
add rdx, 2
inc ecx
cmp word [rdx], 0
test dword [rax], eax
invalid

Function at 0x14000bac1
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbx
push rsi
push rdi
mov rax, rsp
sub rsp, 0x260
mov rdi, rdx
mov r8, rdx
mov rdx, qword [rcx]
mov rsi, rcx
lea rcx, [rax + 0x38]
mov r9d, 0x2001f
mov qword [rax + 0x38], 0
call fcn.14000ba69
test eax, eax
mov ebx, eax
test dword [rax], eax
add byte [rax], al
add byte [rax], al
mov ebx, 0x105
jmp 0x14000bb06
lea rdx, [rsp + 0x50]
call fcn.14000bac1
test eax, eax
test dword [rax], eax
push 0
add byte [rax], al
mov rcx, qword [rsp + 0x298]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x290]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
lea r8, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x290], ebx
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea rcx, [rsp + 0x298]
test eax, eax
test byte [rax], al
add byte [rax], al
add byte [rax], al
call fcn.14000b739
mov rcx, qword [rsi]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
lea rcx, [rsp + 0x298]
call fcn.14000b739
mov eax, ebx
add rsp, 0x260
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000bba0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
mov rax, rsp
sub rsp, 0x40
mov dword [r9], 0
mov qword [rax - 0x18], r9
mov r12, rcx
mov rcx, qword [rcx]
mov rsi, r9
mov rbx, r8
lea r9, [rax + 0x48]
xor r8d, r8d
mov rbp, rdx
mov dword [rax + 0x48], 0
mov qword [rax - 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
test byte [rax], al
add byte [rax], al
add byte [rax], al
cmp eax, 0xea
test dword [rax], eax
add byte [rax], al
add byte [rax], al
mov edi, dword [rsi]
cmp rdi, qword [rbx + 8]
test byte [rax], al
add byte [rax], al
add byte [rax], al
mov rcx, qword [rbx]
test rcx, rcx
test byte [rax], al
add byte [rax], al
add byte [rax], al
call sub.msvcrt.dll_free
mov qword [rbx], 0
test rdi, rdi
mov qword [rbx + 8], 0
test byte [rax], al
sldt word [rax]
add byte [rax - 0x75], cl
iretd

Function at 0x14000cce0
Capabilities:
Hide graphical window

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov dil, dl
xor edx, edx
mov rbp, rcx
lea r8, [rsp + 0x30]
lea ecx, [rdx + 0x30]
xor r9d, r9d
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov esi, dword [rsp + 0x38]
mov ebx, dword [rsp + 0x3c]
mov rcx, qword [rbp + 8]
sub esi, dword [rsp + 0x30]
sub ebx, dword [rsp + 0x34]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, dword [rsp + 0x48]
mov r10d, dword [rsp + 0x40]
mov edx, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x44]
sub r9d, r10d
sub edx, r8d
cmp r9d, esi
pop qword [rax]
add byte [rax], al
add byte [rax], al
cmp edx, ebx
pop qword [rax]
add byte [rax], al
add byte [rax], al
xor cl, cl
jmp 0x14000cd54
cmp r9d, esi
pop qword [rax]
add byte [rax], al
add byte [rax], al
test cl, cl
test byte [rax], al
add byte [rax], al
add byte [rax], al
test dil, dil
test byte [rax], al
add byte [rax], al
add byte [rax], al
mov r10d, dword [rsp + 0x30]
mov eax, dword [rsp + 0x38]
mov r9d, esi
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x48], eax
cmp edx, ebx
pop qword [rax]
add byte [rax], al
add byte [rax], al
test cl, cl
test byte [rax], al
add byte [rax], al
add byte [rax], al
test dil, dil
test byte [rax], al
adc al, 0
add byte [rax], al
mov r8d, dword [rsp + 0x34]
mov eax, dword [rsp + 0x3c]
mov edx, ebx
mov dword [rsp + 0x44], r8d
mov dword [rsp + 0x4c], eax
test cl, cl
test byte [rax], al
add byte [rax], al
add byte [rax], al
test dil, dil
mov rcx, qword [rbp + 8]
test byte [rax], al
add byte [rax], al
add byte [rax], al
mov edx, 3
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x14000cdea
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001bbc7
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x98
mov edx, dword [rcx + 0x20]
mov rax, qword [rcx + 0x18]
mov rbp, rcx
mov rsi, qword [rax + rdx*8 - 8]
lea rdx, str.CreateDecoder
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsi + 0x10]
lea rdx, str.CreateEncoder
mov qword [rsi + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsi + 0x10]
lea rdx, str.GetMethodProperty
mov qword [rsi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebx, ebx
cmp rax, rbx
mov qword [rsi + 0x30], rax
je 0x14001bcfd
mov rcx, qword [rsi + 0x10]
lea rdx, str.GetNumberOfMethods
mov dword [rsp + 0xc0], 1
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, rbx
test byte [rax], al
add byte [rax], al
add byte [rax], al
lea rcx, [rsp + 0xc0]
call rax
cmp eax, ebx
jne 0x14001bd62
cmp dword [rsp + 0xc0], ebx
mov edi, ebx
jbe 0x14001bd01
mov eax, dword [rbp + 0x20]
mov rcx, qword [rsi + 0x30]
lea r9, [rsp + 0x3c]
dec eax
mov r8d, 3
mov edx, edi
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x38]
mov dword [rsp + 0x34], edi
mov qword [rsp + 0x20], rax
call fcn.14001b48a
cmp eax, ebx
jne 0x14001bd76
mov rcx, qword [rsi + 0x30]
lea rax, [rsp + 0x39]
lea r9, [rsp + 0x4c]
mov r8d, 2
mov edx, edi
mov qword [rsp + 0x20], rax
call fcn.14001b48a
cmp eax, ebx
jne 0x14001bd76
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x30]
mov r8d, 0x2c
call sub.msvcrt.dll_memcpy
lea rcx, [rbp + 0x60]
lea rdx, [rsp + 0x60]
call fcn.14001b886
inc edi
cmp edi, dword [rsp + 0xc0]
jb 0x14001bc72
jno 0x14001bcfe
invalid
invalid
mov rcx, qword [rsi + 0x10]
lea rdx, str.GetHashers
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, rbx
test byte [rax], al
add byte [rax], al
add byte [rax], al
lea rcx, [rsi + 0x50]
call rax
cmp eax, ebx
test dword [rax], eax
add byte [rax], al
add byte [rax], al
mov rcx, qword [rsi + 0x50]
cmp rcx, rbx
test byte [rax], al
add byte ds:[rax], al
add byte [rax - 0x75], cl
add edi, edi
push rax
sbb byte [rbx], bh
ret
lea ecx, [rbp + 0x70]
call 0x14002dc67
inc ebx
cmp ebx, edi
invalid
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400434ed
Capabilities:
Delete registry key

Disassembly:
sub rsp, 0x28
test edx, edx
test dword [rax], eax
add byte [rax], al
add byte [rax], al
mov rdx, rcx
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x14004350e
mov rax, qword [0x1401016a8]
test rax, rax
test dword [rax], eax
add byte [rax], al
add byte [rax], al
mov eax, 0x80004001
jmp 0x14004353a
add rsp, 0x28
ret

Function at 0x140050688
Capabilities:
Accept command line arguments

Disassembly:
xchg esp, eax
cdq
add al, 0
xor ebx, ebx
mov edi, ebx
lea rcx, str.comctl32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
adc eax, 0x4a19b
Function at 0x140054c23
Capabilities:
Copy file

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rcx + 0x38]
xor ebx, ebx
mov r10, r8
cmp rax, rbx
mov r11, rdx
mov dword [rsp + 0x40], ebx
test byte [rax], al
add byte [rax], al
add byte [rax], al
lea rdx, [rsp + 0x40]
mov r9, rcx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdx
lea r8, [0x140054b57]
mov rcx, r11
mov rdx, r10
call rax
jmp 0x140054c6b
mov r8d, 1
mov rdx, r10
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, ebx
setne al
add rsp, 0x30
pop rbx
ret

Function at 0x14005b08f
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x38
mov eax, edx
mov rbp, r9
mov rdi, r8
sub eax, 0x100
mov r12d, edx
mov rsi, rcx
je 0x14005b17a
sub eax, 2
je 0x14005b14c
cmp eax, 2
jne 0x14005b160
cmp r8, 0x70
jb 0x14005b160
cmp r8, 0x71
ja 0x14005b170
bt r9, 0x1d
add dword [rax], 0xffffff8a
add byte [rax], al
add byte [rbp + 0x15ff1048], cl
jns 0x14005b0df
sbb eax, 0x8a0083
add byte [rax], al
lea ecx, [rax + 0x10]
call qword [sym.imp.USER32.dll_GetKeyState]
add eax, dword [rax]
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov bx, ax
shr ebx, 0xf
and bl, 1
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, InitCommonControls
mov r13w, ax
shr r13d, 0xf
and r13b, 1
call qword [sym.imp.USER32.dll_GetKeyState]
xor edx, edx
mov r11w, ax
shr r11d, 0xf
and r11b, 1
cmp bl, dl
test byte [rax], al
add byte [rax], al
add byte [rdx + rdi - 0x16], al
test dword [rax], eax
invalid
pop rax
setne dl
mov rax, qword [rcx]
call qword [rax + VariantCopy]
jmp 0x14005b220
je 0x14005b206
cmp r8, 0x1b
je 0x14005b206
mov rdx, qword [rsi]
mov rcx, qword [rsi + 8]
mov r9, rdi
mov r8d, r12d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.USER32.dll_CallWindowProcW]
jmp 0x14005b18d
cmp r8, 9
test byte [rax], al
add byte [rax], al
add byte [rax], al
cmp r8, 0x78
test dword [rax], eax
add byte [rax], al
add byte [rax], al
lea ecx, [r8 - 0x66]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov bx, ax
shr ebx, 0xf
and bl, 1
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, InitCommonControls
mov r13w, ax
shr r13d, 0xf
and r13b, 1
call qword [sym.imp.USER32.dll_GetKeyState]
xor edx, edx
mov r11w, ax
shr r11d, 0xf
and r11b, 1
cmp bl, dl
test dword [rax], eax
test bh, bh
invalid
insd dword [rdi], dx
invalid
xor eax, eax
add rsp, 0x38
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14007f171
Capabilities:
Get file system object information

Disassembly:
push rbx
sub rsp, 0x2f0
mov rbx, r8
lea r8, [rsp + 0x30]
bts edx, 7
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x4010
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [rsp + 0x38]
mov dword [rbx], ecx
add rsp, 0x2f0
pop rbx
ret