joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14011e148
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1402506d8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x20], 0
mov rcx, qword [0x14025b218]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x40]
call fcn.1400666d0
nop
mov eax, dword [rsp + 0x24]
inc eax
cdqe
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140067a0c
lea rcx, [rsp + 0x40]
call fcn.1400287a0
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x40]
call fcn.140025d88
mov qword [rsp + 0x30], rax
mov rax, qword [0x14025b218]
mov qword [rsp + 0x38], rax
mov r8d, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.14011fc58
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x40]
call fcn.140016090
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14018b840
add rsp, 0x78
ret

Function at 0x14011ea5c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetMessageW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
je 0x14011eb10
cmp qword [rsp + 0x40], 0
je 0x14011eaa7
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x14011ea65
cmp dword [rsp + 0x48], 0x8000
jne 0x14011eaf8
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.1400182b4
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14011eaed
mov edx, 1
mov rcx, qword [rsp + 0x30]
call fcn.14011a848
mov qword [rsp + 0x38], rax
jmp 0x14011eaf6
mov qword [rsp + 0x38], 0
jmp 0x14011eb0b
cmp dword [rsp + 0x48], 0x12
jne 0x14011eb0b
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x14011ea65
add rsp, 0x78
ret

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

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp qword [rsp + 0x40], 0
jne 0x1401209f1
xor al, al
jmp 0x140120a3e
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xffffffff
jne 0x140120a0b
xor al, al
jmp 0x140120a3e
movzx eax, byte [rsp + 0x48]
test eax, eax
je 0x140120a1b
mov byte [rsp + 0x21], 1
jmp 0x140120a3a
mov eax, dword [rsp + 0x24]
and eax, 0x10
test eax, eax
jne 0x140120a2d
mov byte [rsp + 0x20], 0
jmp 0x140120a32
mov byte [rsp + 0x20], 1
mov al, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
mov al, byte [rsp + 0x21]
add rsp, 0x38
ret
Function at 0x1401219c0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0x32
mov r8d, 0x32
lea rdx, [0x14025b2b8]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1401219f6
lea rax, [0x14025b2b8]
jmp 0x1401219f8
xor eax, eax
add rsp, 0x38
ret

Function at 0x140141bdc
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0x28]
xor r8d, r8d
mov edx, 0x8000
mov rcx, qword [rsp + 0x68]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov dword [rsp + 0x24], eax
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.14000b2ac
nop
cmp dword [rsp + 0x24], 0
jge 0x140141c52
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.1400152e8
lea rdx, [0x14024c798]
lea rcx, [rsp + 0x38]
call fcn.14018d0e8
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.1401411cc
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140141d50
mov rax, qword [rsp + 0x60]
add rsp, 0x58
ret

Function at 0x140142abc
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x28]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140142b04
cmp dword [rsp + 0x20], 5
je 0x140142af6
cmp dword [rsp + 0x20], 6
je 0x140142afd
cmp dword [rsp + 0x20], 9
je 0x140142af2
jmp 0x140142b0b
xor eax, eax
jmp 0x140142b10
mov eax, 1
jmp 0x140142b10
mov eax, 2
jmp 0x140142b10
mov eax, 3
jmp 0x140142b10
mov eax, 4
add rsp, 0x68
ret

Function at 0x140142b18
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
sub rsp, 0x58
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x14020cc50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140142b5d
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
imul rax, qword [rsp + 0x38], 0x3e8
jmp 0x140142ba3
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.MHz
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x140142b99
xor eax, eax
jmp 0x140142ba3
imul eax, dword [rsp + 0x34], 0xf4240
mov eax, eax
add rsp, 0x58
ret
Function at 0x1401438ec
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1402506d8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x14020cdc8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14014395b
mov rcx, qword [rsp + 0x70]
call fcn.140012f94
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x70]
jmp 0x1401439df
mov dword [rsp + 0x34], reloc.WS2_32.dll_listen
mov eax, 1
imul rax, rax, 0
lea rax, [rsp + rax + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1401439c0
mov rcx, qword [rsp + 0x70]
call fcn.140012f94
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x70]
jmp 0x1401439df
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
call fcn.1400128d0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14018b840
add rsp, 0x68
ret

Function at 0x1401439f8
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [0x1402506d8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140143a73
mov rcx, qword [rsp + 0xc0]
call fcn.140012f94
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xc0]
jmp 0x140143b06
mov dword [rsp + 0x34], 0x41
mov eax, 1
imul rax, rax, 0
lea rax, [rsp + rax + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x140143ae1
mov rcx, qword [rsp + 0xc0]
call fcn.140012f94
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xc0]
jmp 0x140143b06
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0xc0]
call fcn.1400128d0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14018b840
add rsp, 0xb8
ret
Function at 0x140146810
Capabilities:
Get common file path
Get file version info

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xc8
mov rax, qword [0x1402506d8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x78]
call fcn.140012f94
nop
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec eax
mov eax, eax
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.140028430
lea rcx, [rsp + 0x78]
call fcn.140026e80
inc rax
mov dword [rsp + 0x30], eax
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.1400174b4
mov qword [rsp + 0x48], rax
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rdx, [0x14020ce28]
lea rcx, [rsp + 0x78]
call fcn.14003b05c
lea rcx, [rsp + 0x78]
call fcn.140025d6c
xor edx, edx
mov rcx, rax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.1401469e8
lea rcx, [rsp + 0x38]
call fcn.140009e18
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x78]
call fcn.140025d6c
mov qword [rsp + 0x58], rax
mov r9, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call sub.VERSION.dll_GetFileVersionInfoA
lea rcx, [rsp + 0x38]
call fcn.140009e18
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x28]
lea rdx, [0x14020ce36]
mov rcx, rax
call sub.VERSION.dll_VerQueryValueA
mov dword [rsp + 0x60], 0
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x98]
lea rcx, [rsp + 0x60]
mov rdi, rax
mov rsi, rcx
mov ecx, shutdown
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x38]
call fcn.1400f9004
nop
lea rcx, [rsp + 0x78]
call fcn.140016068
lea rax, [rsp + 0x98]
mov rdi, qword [rsp + 0xe0]
mov rsi, rax
mov ecx, shutdown
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14018b840
add rsp, 0xc8
pop rdi
pop rsi
ret
Function at 0x140146a68
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
mov rax, qword [0x1402506d8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x40], 0x40
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x140146ad7
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
lea rax, [rsp + 0x80]
mov rdi, qword [rsp + 0xd0]
mov rsi, rax
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xd0]
jmp 0x140146b1e
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x20]
mov rdi, qword [rsp + 0xd0]
mov rsi, rax
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14018b840
add rsp, 0xb8
pop rdi
pop rsi
ret
Function at 0x1401472e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0xa8
mov rax, qword [0x1402506d8]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140147334
xor eax, eax
jmp 0x1401474b8
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x48], 4
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14020cebc]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14014737d
mov eax, dword [rsp + 0x34]
jmp 0x1401474b8
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14020cef0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1401473bb
xor eax, eax
jmp 0x1401474b8
mov eax, dword [rsp + 0x30]
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.140012fe4
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.1400174b4
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.BuildLabEx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x140147434
mov dword [rsp + 0x4c], 0
lea rcx, [rsp + 0x78]
call fcn.140016068
mov eax, dword [rsp + 0x4c]
jmp 0x1401474b8
mov qword [rsp + 0x60], 0
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.1400174b4
lea r8, [rsp + 0x60]
lea rdx, [0x14020cefc]
mov rcx, rax
call fcn.1401a389c
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x60]
lea rdx, [0x14020cf0c]
xor ecx, ecx
call fcn.1401a389c
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14014749a
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.14019f404
mov dword [rsp + 0x38], eax
jmp 0x1401474a2
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x78]
call fcn.140016068
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14018b840
add rsp, 0xa8
ret
Function at 0x14015f25c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x110]
test eax, eax
jne 0x14015f2a1
lea rdx, str.Cant_write_to_an_unopened_stdin_pipe._Please_set_open_stdintrue_when_constructing_the_process.
lea rcx, [rsp + 0x48]
call fcn.140119078
lea rdx, [0x14024cfc8]
lea rcx, [rsp + 0x48]
call fcn.14018d0e8
mov rax, qword [rsp + 0x70]
add rax, 0x118
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14001330c
mov rax, qword [rsp + 0x70]
add rax, 0x188
mov rcx, rax
call fcn.1400f9504
movzx eax, al
test eax, eax
je 0x14015f348
mov rax, qword [rsp + 0x70]
add rax, 0x188
mov rcx, rax
call fcn.140009e18
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x38]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x14015f31c
cmp dword [rsp + 0x38], 0
jne 0x14015f333
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
call fcn.140016154
mov al, byte [rsp + 0x30]
jmp 0x14015f35b
mov byte [rsp + 0x31], 1
lea rcx, [rsp + 0x40]
call fcn.140016154
mov al, byte [rsp + 0x31]
jmp 0x14015f35b
mov byte [rsp + 0x32], 0
lea rcx, [rsp + 0x40]
call fcn.140016154
mov al, byte [rsp + 0x32]
add rsp, 0x68
ret

Function at 0x14015f40c
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov rax, qword [0x1402506d8]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x2a0]
add rax, 0x20
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14001330c
mov rax, qword [rsp + 0x2a0]
cmp dword [rax], 0
jbe 0x14015f535
mov rax, qword [rsp + 0x2a0]
movzx eax, byte [rax + 0x18]
test eax, eax
jne 0x14015f535
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14015f51e
mov r8d, 0x238
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14018ce20
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14015f513
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax]
cmp dword [rsp + 0x60], eax
jne 0x14015f500
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14015f500
mov edx, 2
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14015f4b6
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 2
mov rax, qword [rsp + 0x2a0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rcx, [rsp + 0x30]
call fcn.140016154
nop
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14018b840
add rsp, 0x298
ret
Function at 0x1401605a8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rax + 0x168]
call fcn.14018b88c
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.140006b54
nop
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov eax, dword [rax + 0x168]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x40]
call fcn.140009e18
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
add rax, 0x178
mov rcx, rax
call fcn.140009e18
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x14016065a
cmp dword [rsp + 0x30], 0
jne 0x14016065c
jmp 0x1401606a1
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
add rax, 0x70
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x40]
call fcn.140009e18
mov qword [rsp + 0x68], rax
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.140139bfc
jmp 0x1401605e0
lea rcx, [rsp + 0x40]
call fcn.1400f9004
add rsp, 0x88
ret

Function at 0x1401606e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rax + 0x168]
call fcn.14018b88c
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.140006b54
nop
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov eax, dword [rax + 0x168]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x40]
call fcn.140009e18
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
add rax, 0x180
mov rcx, rax
call fcn.140009e18
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140160792
cmp dword [rsp + 0x30], 0
jne 0x140160794
jmp 0x1401607db
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
add rax, 0xb0
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x40]
call fcn.140009e18
mov qword [rsp + 0x68], rax
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.140139bfc
jmp 0x140160718
lea rcx, [rsp + 0x40]
call fcn.1400f9004
add rsp, 0x88
ret
Function at 0x1401613b4
Capabilities:
Open clipboard

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
mov byte [rax], 0
mov dword [rsp + 0x20], 0
jmp 0x1401613de
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 5
jge 0x14016140b
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1401613fe
mov rax, qword [rsp + 0x50]
mov byte [rax], 1
jmp 0x14016140b
mov ecx, shutdown
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1401613d4
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
test eax, eax
jne 0x140161439
call fcn.140142150
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140161439
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
xor ecx, ecx
call qword [rsp + 0x30]
mov rax, qword [rsp + 0x50]
add rsp, 0x48
ret
Function at 0x140161558
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov byte [rsp + 0x30], 0
call fcn.140142038
cmp qword [rsp + 0x78], rax
jne 0x14016169f
cmp qword [rsp + 0x88], 0
jbe 0x14016169a
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jle 0x14016169a
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movsxd rax, dword [rsp + 0x34]
shl rax, 1
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14016381c
nop
lea rcx, [rsp + 0x40]
call fcn.14016389c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rsp + 0x40]
call fcn.14016389c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea rcx, [rsp + 0x40]
call fcn.14016389c
mov rdx, rax
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x14016166f
mov byte [rsp + 0x31], 1
jmp 0x140161674
mov byte [rsp + 0x31], 0
mov al, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140161690
lea rcx, [rsp + 0x40]
call fcn.140163884
nop
lea rcx, [rsp + 0x40]
call fcn.140163854
jmp 0x140161782
mov rax, qword [rsp + 0x88]
add rax, 8
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14016381c
nop
lea rcx, [rsp + 0x38]
call fcn.14016389c
test rax, rax
je 0x140161778
lea rcx, [rsp + 0x38]
call fcn.14016389c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140161778
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x88]
mov qword [rax], rcx
mov rax, qword [rsp + 0x48]
add rax, 8
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.14018c770
lea rcx, [rsp + 0x38]
call fcn.14016389c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea rcx, [rsp + 0x38]
call fcn.14016389c
mov rdx, rax
mov ecx, dword [rsp + 0x78]
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x140161757
mov byte [rsp + 0x32], 1
jmp 0x14016175c
mov byte [rsp + 0x32], 0
mov al, byte [rsp + 0x32]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140161778
lea rcx, [rsp + 0x38]
call fcn.140163884
nop
lea rcx, [rsp + 0x38]
call fcn.140163854
mov al, byte [rsp + 0x30]
add rsp, 0x68
ret