joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008b9dc
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x50
mov rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.14005bc74
lea rcx, [rsp + 0x88]
xor esi, esi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rsi
call fcn.140053eb0
lea edx, [rsi + 5]
lea rcx, [rsp + 0x20]
call fcn.14005bce8
lea edx, [rsi + 0x14]
lea rcx, [rsp + 0x98]
call fcn.14005bce8
lea r8d, [rsi + 2]
lea rdx, [rsp + 0x88]
lea rcx, [0x140106610]
mov r12d, esi
mov dword [rsp + 0x80], esi
call fcn.14005e44c
lea ebx, [rsi + 0x2c]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x30]
mov r8d, ebx
mov r9b, 1
movzx r13d, al
call fcn.140073af0
lea rdx, [rsp + 0x20]
mov rcx, rax
xor r8d, r8d
call fcn.14005f7b4
mov rax, qword [rsp + 0x88]
cmp bx, word [rax]
jne 0x14008bb1a
add rax, 2
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x30]
mov r8d, ebx
mov r9b, 1
mov qword [rsp + 0x88], rax
call fcn.140073af0
lea rdx, [rsp + 0x98]
xor r8d, r8d
mov rcx, rax
call fcn.14005f7b4
mov rax, qword [rsp + 0x88]
cmp bx, word [rax]
jne 0x14008bb1a
add rax, 2
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x30]
mov r8d, ebx
mov r9b, 1
mov qword [rsp + 0x88], rax
call fcn.140073af0
lea rdx, [rsp + 0x80]
movzx r8d, bx
mov rcx, rax
call fcn.14005fb4c
mov r12d, dword [rsp + 0x80]
mov rbx, qword [rsp + 0x20]
cmp word [rbx], si
jne 0x14008bb51
lea rcx, [rsp + 0x98]
call fcn.140053e80
lea rcx, [rsp + 0x20]
call fcn.140053e80
lea rcx, [rsp + 0x30]
call fcn.140053e80
mov rax, 0xffffffff80070057
jmp 0x14008bc6f
mov rcx, qword [rsp + 0x98]
cmp r12d, esi
jne 0x14008bb68
cmp r13d, esi
jne 0x14008bb68
cmp word [rcx], si
je 0x14008bb24
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x98]
mov edi, eax
add eax, 0x214
movsxd rdx, eax
call fcn.14005bd74
mov rcx, qword [rsp + 0x98]
lea eax, [rdi + 4]
cdqe
mov qword [rsp + 0x28], rsi
lea rbp, [rcx + rax*2]
call fcn.140019c78
mov rcx, rbx
mov rdi, rax
call fcn.140019c78
mov rbx, rax
cmp r13d, esi
jne 0x14008bbc9
cmp r12d, esi
jne 0x14008bbc9
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateHardLinkW]
jmp 0x14008bc3f
cmp r12d, 2
je 0x14008bbf2
cmp r13d, esi
jne 0x14008bbf2
mov rcx, rdi
call fcn.1400de6f4
mov r8d, esi
mov rdx, rdi
cmp eax, esi
mov rcx, rbx
setne r8b
call fcn.1400590f8
jmp 0x14008bc3f
cmp word [rdi], si
jne 0x14008bc02
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14008bc3f
lea r8, [rbp + 8]
lea r9, [rsp + 0x28]
mov edx, 0x208
mov rcx, rdi
call fcn.14005caa4
mov r11d, 0x5c
mov rdx, rbp
lea eax, [r11 - 0x1d]
mov rcx, rbx
mov word [rbp], r11w
mov word [rbp + 2], ax
mov word [rbp + 4], ax
mov word [rbp + 6], r11w
call fcn.140058fa8
cmp eax, esi
jne 0x14008bc4b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea rcx, [rsp + 0x98]
call fcn.140053e80
lea rcx, [rsp + 0x20]
call fcn.140053e80
lea rcx, [rsp + 0x30]
call fcn.140053e80
movsxd rax, esi
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008bc84
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
push rbp
push rsi
push rdi
sub rsp, 0x80
xor ebx, ebx
lea rax, [r11 + 0x20]
xor r9d, r9d
mov qword [r11 - 0x40], rbx
mov qword [r11 - 0x48], rbx
mov qword [r11 - 0x50], rbx
mov qword [r11 - 0x58], rbx
mov qword [r11 - 0x60], rbx
mov qword [r11 - 0x68], rbx
mov qword [r11 - 0x70], rax
lea rax, [r11 - 0x38]
xor r8d, r8d
xor edx, edx
mov rbp, rcx
mov dword [rsp + 0x60], ebx
mov qword [r11 - 0x78], rax
mov dword [r11 + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
cmp eax, ebx
jne 0x14008be3d
mov eax, dword [rsp + 0xb8]
lea rcx, [rsp + 0x78]
lea edx, [rax*4 + 8]
call fcn.14005bce8
cmp dword [rsp + 0x60], ebx
mov esi, ebx
jle 0x14008be31
mov rbx, qword [rsp + 0x78]
xor ecx, ecx
mov eax, dword [rsp + 0xb8]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x28], rcx
shl eax, 2
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x20], rcx
mov word [rbx], cx
lea r9, [rsp + 0x64]
mov rcx, rbp
mov r8, rbx
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
xor ecx, ecx
mov edi, eax
cmp eax, ecx
jne 0x14008be25
cmp word [rbx], cx
je 0x14008be25
mov rax, qword [rsp + 0xb0]
lea rcx, [rsp + 0x68]
mov rdx, qword [rax]
call fcn.1400668e8
lea rdx, [0x1400fbad8]
lea rcx, [rsp + 0x68]
call fcn.14005bdb0
lea rcx, [rsp + 0x68]
mov rdx, rbx
call fcn.14005bdb0
mov rax, qword [rsp + 0xa8]
and qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
xor r9d, r9d
lea eax, [r9 + 4]
mov r8d, eax
mov edx, eax
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
lea r11, [rsp + 0x70]
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rbx
mov rcx, rbp
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x70]
mov edi, eax
test rcx, rcx
je 0x14008be19
mov rdx, qword [rsp + 0xa8]
lea r8, [rsp + 0x68]
call fcn.14008bc84
mov rcx, qword [rsp + 0x70]
mov edi, eax
test rcx, rcx
je 0x14008be19
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x68]
call fcn.140053e80
xor ecx, ecx
inc esi
cmp esi, dword [rsp + 0x60]
jl 0x14008bd15
lea rcx, [rsp + 0x78]
call fcn.140053e80
mov eax, edi
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009aa20
Capabilities:
Create thread

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 r13
push r14
sub rsp, 0x3c0
mov esi, dword [rsp + 0x418]
mov rdi, rcx
mov rcx, rdx
mov r13d, esi
movsxd r12, r9d
mov rbp, rdx
and r13d, 1
and esi, 2
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov eax, 0xb4
lea rcx, [rsp + 0x58]
cmp ebx, eax
mov r8d, 0x368
cmovg ebx, eax
xor r14d, r14d
xor edx, edx
mov qword [rsp + 0x50], r14
call fcn.1400df2a0
mov ecx, dword [rsp + 0x408]
mov rax, qword [rsp + 0x400]
mov dword [rsp + 0x2fc], ecx
mov ecx, 0x40000000
mov qword [rsp + 0x390], rax
mov eax, r14d
cmp esi, r14d
cmovne eax, ecx
movsxd rbx, ebx
lea rcx, [rsp + 0x144]
mov dword [rsp + 0x2d4], eax
mov rax, qword [rsp + 0x410]
lea r8, [rbx + rbx]
mov rdx, rbp
mov byte [rsp + 0x100], 0x40
mov dword [rsp + 0x140], r12d
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x2e0], rdi
call fcn.14001b6e8
lea rcx, [0x14011aa60]
mov word [rsp + rbx*2 + 0x144], r14w
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r11, [0x140119940]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], r11
lea r8, [0x140099cb0]
mov edx, 0x20000
xor ecx, ecx
mov dword [rsp + 0x20], 0x10000
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, r14
je 0x14009ab76
mov edi, 0x270f
cmp dword [rsp + 0x140], r12d
jne 0x14009ab76
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 1
jns 0x14009ab48
jmp 0x14009ab6c
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsp + 0x140], r12d
je 0x14009ab61
lea rcx, [0x14011aa60]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], 1
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r14
cmp r13d, r14d
je 0x14009abbc
cmp rbx, r14
je 0x14009abca
lea r9, [rsp + 0x30]
lea rcx, [0x140119fa0]
mov rdx, r12
xor r8d, r8d
call fcn.14001d7e0
cmp rbx, r14
je 0x14009abca
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x2d4]
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x1400c8cd4
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rbx, r9
mov sil, r8b
mov bpl, dl
mov rdi, rcx
test rcx, rcx
jne 0x1400c8d00
xor eax, eax
jmp 0x1400c8d95
call qword [sym.imp.KERNEL32.dll_lstrlenW]
and dword [rsp + 0x58], 0
movsx ecx, bpl
mov dword [rsp + 0x3c], eax
movsx eax, sil
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xa0]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0xa8]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xb0]
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x60], rax
test rbx, rbx
je 0x1400c8d7e
lea r8, [rsp + 0x20]
lea rdx, [0x14006a9dc]
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x1400c8d90
lea rdx, [rsp + 0x20]
lea rcx, [0x14006a9dc]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x28]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400c8dac
Capabilities:
Read file via mapping

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 r13
push r14
sub rsp, 0x30
xor ebp, ebp
bt r8d, 0x1d
mov r13, r9
mov esi, r8d
mov r14, rcx
jae 0x1400c8de4
mov rbp, qword [rsp + 0x70]
xor edi, edi
jmp 0x1400c8de9
mov rdi, qword [rsp + 0x70]
mov ebx, r8d
and esi, 0x1fffffff
lea r12, [rdx + r9]
and ebx, 0xc0000000
je 0x1400c8e2b
xor edx, edx
mov r8, rdi
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
test rax, rax
jne 0x1400c8e1c
test ebx, ebx
jns 0x1400c8e2b
xor eax, eax
jmp 0x1400c8ecc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
bt ebx, 0x1e
jb 0x1400c8e15
mov r9, r12
mov r8d, esi
xor edx, edx
mov rcx, r14
shr r9, 0x20
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
test rax, rax
je 0x1400c8e15
test ebx, ebx
je 0x1400c8e7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0xb7
test ebx, ebx
jns 0x1400c8e69
cmp eax, ecx
jne 0x1400c8e73
bt ebx, 0x1e
jae 0x1400c8e7e
cmp eax, ecx
jne 0x1400c8e7e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400c8e15
mov edx, esi
mov ecx, 1
mov r8, r13
and edx, 4
shr r8, 0x20
mov r9d, r13d
or edx, 8
shr edx, 1
cmp esi, 8
cmove edx, ecx
and qword [rsp + 0x20], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rbp, rbp
je 0x1400c8ec0
mov qword [rbp], rdi
jmp 0x1400c8ec9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop r13
pop r12
ret
Function at 0x1400c9394
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rcx, qword [0x14011a190]
xor edx, edx
mov r8d, 0x408
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
cmp rax, rbx
jne 0x1400c93cc
mov ecx, 2
call fcn.14005b830
cmp eax, 4
je 0x1400c93a0
lea rcx, [rdi + 8]
mov dword [rdi + 4], 0xaa55
mov qword [rdi], 0x400
mov qword [0x14011afc0], rcx
mov eax, ebx
mov edx, 8
test al, 1
je 0x1400c93f9
shr eax, 1
xor eax, 0xedb88320
jmp 0x1400c93fb
shr eax, 1
sub rdx, 1
jne 0x1400c93ec
inc ebx
mov dword [rcx], eax
add rcx, 4
cmp ebx, 0x100
jl 0x1400c93e5
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c941c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov r9, qword [0x14011afc0]
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
test r9, r9
jne 0x1400c9451
call fcn.1400c9394
mov r9, qword [0x14011afc0]
or ebx, 0xffffffff
test rsi, rsi
je 0x1400c9477
movzx eax, byte [rbp]
movzx ecx, bl
inc rbp
xor rcx, rax
mov eax, ebx
mov ebx, dword [r9 + rcx*4]
shr eax, 8
xor ebx, eax
sub rsi, 1
jne 0x1400c9459
not ebx
test rdi, rdi
je 0x1400c9491
lea rdx, str._08X
mov r8d, ebx
mov rcx, rdi
call qword [sym.imp.USER32.dll_wsprintfA]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c9b78
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea r8d, [rax + 2]
mov rcx, rdi
mov ebx, eax
movsxd rdx, r8d
call fcn.14005bd74
mov r11, qword [rdi]
xor eax, eax
mov word [r11], ax
mov rdx, qword [rdi]
lea r8d, [rbx + 1]
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_GetWindowTextW]
Function at 0x1400ca684
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub rsp, 0x38
cmp dword [0x14011a630], 0
je 0x1400ca69b
cmp qword [0x14011b008], 0
jne 0x1400ca6f6
mov rcx, qword [0x1401199a0]
mov edx, 0x271b
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, qword [0x1401199a0]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400ca6f6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x1400ca6f6
mov rcx, qword [0x1401199a0]
and qword [rsp + 0x20], 0
lea r9, [0x1400ca62c]
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
add rsp, 0x38
ret

Function at 0x1400ca7cc
Capabilities:
Get file size

Disassembly:
sub rsp, 0x28
or qword [rsp + 0x38], 0xffffffffffffffff
lea rdx, [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x38]
add rsp, 0x28
ret

Function at 0x1400cadb0
Capabilities:
Get token membership

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov byte [rax + 0x10], 0
mov byte [rax + 0x11], 0
mov byte [rax + 0x12], 0
mov byte [rax + 0x13], 0
mov byte [rax + 0x14], 0
mov byte [rax + 0x15], 5
lea rax, [rax + 0x18]
lea rcx, [rsp + 0x78]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
and dword [rsp + 0x48], 0
and dword [rsp + 0x40], 0
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r8d, 0x20
mov dl, 2
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x70], eax
test eax, eax
je 0x1400cae4a
mov rdx, qword [rsp + 0x80]
lea r8, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and ecx, dword [rsp + 0x70]
mov dword [rsp + 0x70], ecx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x1400d3b50
Capabilities:
Capture screenshot

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
xor edi, edi
mov ebp, edx
mov r12, rcx
cmp edx, edi
jl 0x1400d3cb4
lea rdx, [rax - 0x38]
mov dword [rax - 0x38], edi
mov dword [rax - 0x34], edi
mov dword [rax - 0x30], edi
mov dword [rax - 0x2c], edi
call qword [sym.imp.USER32.dll_GetClientRect]
mov r13d, dword [rsp + 0x68]
mov r14d, dword [rsp + 0x6c]
mov rcx, r12
sub r13d, dword [rsp + 0x60]
sub r14d, dword [rsp + 0x64]
call qword [sym.imp.USER32.dll_GetDC]
lea ecx, [rdi + 0xf]
mov rsi, rax
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, rsi
mov r15d, eax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, r14d
mov edx, r13d
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
cmp rax, rdi
je 0x1400d3bf2
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, r14d
mov edx, r13d
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, rdi
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
xor edi, edi
cmp rax, rdi
je 0x1400d3c29
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
lea rdx, [rsp + 0x60]
mov r8d, ebp
mov rcx, rbx
call fcn.1400ca77c
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov r9d, r13d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r14d
call fcn.1400d396c
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov r9d, r13d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.GDI32.dll_BitBlt]
cmp rbx, rdi
je 0x1400d3ca3
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
cmp rsi, rdi
je 0x1400d3cb4
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400d4f40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov r9, rdx
mov rbx, rcx
cmp rdx, rdi
je 0x1400d4fcb
cmp dword [rdx], edi
jge 0x1400d4f60
cmp dword [rdx + 4], edi
jl 0x1400d4fcb
movzx r10d, di
mov r11d, 1
movsx ecx, r10w
add r10w, r11w
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
movsxd r8, eax
mov eax, ecx
cdq
and eax, r11d
xor eax, edx
sub eax, edx
movsxd rcx, eax
mov eax, dword [r9]
add r9, 4
cmp r10w, 2
lea rdx, [rcx + r8*2]
mov dword [rbx + rdx*4 + 0x6c], eax
jl 0x1400d4f6a
mov ecx, dword [rbx + 0x70]
cmp ecx, edi
jl 0x1400d4fb3
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbx + 0x88], rax
mov ecx, dword [rbx + 0x78]
cmp ecx, edi
jl 0x1400d4fc7
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbx + 0x90], rax
mov byte [rbx + 0x6b], dil
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400dcfd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov r9, rdx
mov rbx, rcx
cmp rdx, rdi
je 0x1400dd0a0
cmp dword [rdx], edi
jge 0x1400dd007
cmp dword [rdx + 4], edi
jge 0x1400dd007
cmp dword [rdx + 8], edi
jge 0x1400dd007
cmp dword [rdx + 0xc], edi
jl 0x1400dd0a0
mov esi, 4
movzx r10d, di
lea r11d, [rsi - 3]
movsx ecx, r10w
add r10w, r11w
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
movsxd r8, eax
mov eax, ecx
cdq
and eax, r11d
xor eax, edx
sub eax, edx
movsxd rcx, eax
mov eax, dword [r9]
add r9, rsi
cmp r10w, si
lea rdx, [rcx + r8*2 + 0x1e]
mov dword [rbx + rdx*4], eax
jl 0x1400dd014
mov ecx, dword [rbx + 0x7c]
cmp ecx, edi
jl 0x1400dd05b
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbx + 0x98], rax
mov ecx, dword [rbx + 0x84]
cmp ecx, edi
jl 0x1400dd072
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbx + 0xa0], rax
mov eax, dword [rbx + 0x84]
mov byte [rbx + 0xa8], dil
cmp eax, edi
jl 0x1400dd0a0
cmp eax, dword [rbx + 0x7c]
jne 0x1400dd0a0
mov eax, dword [rbx + 0x78]
cmp dword [rbx + 0x80], eax
jne 0x1400dd0a0
mov al, byte [rbx + 0x69]
cmp al, dil
jle 0x1400dd0a0
neg al
mov byte [rbx + 0x69], al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400dd3fc
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x60
mov rdi, rcx
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.USER32.dll_GetParent]
mov r12, rax
test rax, rax
je 0x1400dd553
mov rcx, qword [rdi + 0xc0]
test rcx, rcx
je 0x1400dd43f
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rdi + 0x20]
and qword [rdi + 0xc0], 0
and dword [rsp + 0x50], 0
and dword [rsp + 0x54], 0
and dword [rsp + 0x58], 0
and dword [rsp + 0x5c], 0
lea rdx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetWindowRect]
and dword [rsp + 0x80], 0
and dword [rsp + 0x84], 0
lea rdx, [rsp + 0x80]
mov rcx, r12
call qword [sym.imp.USER32.dll_ClientToScreen]
mov r8d, dword [rsp + 0x84]
mov edx, dword [rsp + 0x80]
mov ebp, dword [rsp + 0x58]
mov esi, dword [rsp + 0x5c]
lea rcx, [rsp + 0x50]
sub ebp, dword [rsp + 0x50]
sub esi, dword [rsp + 0x54]
neg r8d
neg edx
call qword [sym.imp.USER32.dll_OffsetRect]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r13, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, esi
mov edx, ebp
mov rcx, r13
mov rbx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, rbx
mov rdx, rax
mov qword [rdi + 0xc0], rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [rsp + 0x54]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ecx
mov ecx, dword [rsp + 0x50]
mov r9d, ebp
mov dword [rsp + 0x30], ecx
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], r13
mov rdi, rax
mov dword [rsp + 0x20], esi
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
test rbx, rbx
je 0x1400dd542
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
test r13, r13
je 0x1400dd553
mov rdx, r13
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret

Function at 0x1400de69c
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x20
mov eax, 0xffdf
and cx, ax
mov eax, 0x41
cmp ax, cx
je 0x1400de6c5
mov eax, 0x42
cmp ax, cx
je 0x1400de6c5
mov eax, 0xfffffffe
jmp 0x1400de6ee
mov word [rsp + 0x38], cx
mov eax, 0x3a
lea rcx, [rsp + 0x38]
xor ebx, ebx
mov word [rsp + 0x3a], ax
mov word [rsp + 0x3c], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
setne bl
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400de7c4
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [rsp + 0xc8]
mov qword [r11 - 0x30], rax
mov rax, qword [rsp + 0xc0]
mov qword [r11 - 0x38], rax
mov rax, qword [rsp + 0xb8]
mov qword [r11 - 0x40], rax
mov rax, qword [rsp + 0xb0]
mov qword [r11 - 0x48], rax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x50], eax
jmp 0x1400de82a
add rsp, 0x78
ret
Function at 0x1400e5628
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.1400e7f04
nop
cmp dword [0x14011b328], 1
je 0x1400e55d4
mov dword [0x14011b324], 1
mov byte [0x14011b320], r12b
test ebx, ebx
jne 0x1400e55c0
mov rcx, qword [0x14011c470]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400e55ad
mov rcx, qword [0x14011c468]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400e554c
call fcn.1400e4d44
cmp qword [rdi], rax
jne 0x1400e554c
jmp 0x1400e5532
cmp rdi, rsi
jb 0x1400e55ad
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1400e4d44
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14011c470]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14011c468]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400e558b
cmp r13, rax
je 0x1400e55ab
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400e5532
lea rdx, [0x1400fb2f8]
lea rcx, [0x1400fb2e0]
call fcn.1400e537c
lea rdx, [0x1400fb308]
lea rcx, [0x1400fb300]
call fcn.1400e537c
nop
test r12d, r12d
je 0x1400e55e3
mov ecx, 8
call fcn.1400e7e04
test r12d, r12d
jne 0x1400e560e
mov dword [0x14011b328], 1
lea ecx, [r12 + 8]
call fcn.1400e7e04
mov ecx, r15d
call fcn.1400e5310
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400e549c

Function at 0x1400e5634
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400e549c