joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005750
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140022040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000577d
xor eax, eax
jmp 0x1400058e9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400057b7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400057b7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400058e9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400058dc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400057fa
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140005825
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400058e1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140005894
sub eax, 1
je 0x140005894
cmp eax, 2
jne 0x1400058dc
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400058e1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400058c2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400058dc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400058e1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000ec30
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140005cf0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140022040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140005dc3
cmp byte [rcx + 0x71], 0
je 0x140005dc3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140005dbf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140005d84
sub eax, 1
je 0x140005d88
cmp eax, 2
jne 0x140005dbf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000ec30
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140005db6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140005dbf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140005d6c
xor al, al
jmp 0x140005d6c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000ec30
add rsp, 0x60
pop rbx
ret

Function at 0x140009570
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140022040]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x20], rax
cmp rax, 0xffffffffffffffff
je 0x140009603
xor edx, edx
mov r8d, 0x238
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140009603
cmp dword [rsp + 0x38], edi
je 0x1400095ff
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400095e5
jmp 0x140009603
mov esi, dword [rsp + 0x50]
cmp rbx, 0xffffffffffffffff
je 0x140009612
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14000ec30
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140009640
Capabilities:
Get explorer pid

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140022040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_GetShellWindow]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call fcn.140009570
cmp eax, dword [rsp + 0x20]
jne 0x1400096cd
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.___Pausing_to_allow_for_debugging
call fcn.140006010
lea rdx, [0x1400061f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.___Press_enter_to_close
call fcn.140006010
lea rdx, [0x1400061f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14000ec30
add rsp, 0x38
ret
Function at 0x14000c2a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140022040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14000c3c1
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000c3c1
test rax, rax
je 0x14000c3c1
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov qword [rsp + 0x58], r8
mov ecx, dword [rax + 0xb0]
test ecx, ecx
jne 0x14000c323
mov qword [rdi], r8
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r8
jmp 0x14000c3cc
lea rbx, [rdx + rcx]
mov ebp, dword [rax + 0xb4]
add rbp, rbx
mov rcx, qword [rsp + 0x50]
cmp rbx, rbp
jae 0x14000c3af
nop word [rax + rax]
mov edx, dword [rbx + 4]
test edx, edx
je 0x14000c3af
mov eax, dword [rbx]
add rax, rsi
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [rdx - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rcx, r8
je 0x14000c388
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x50], rcx
jmp 0x14000c3a4
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.14000cc50
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rbp
jb 0x14000c340
mov rax, qword [rsp + 0x48]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r8
jmp 0x14000c3cc
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000ec30
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000de60
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x50
mov rax, qword [0x140022040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rcx
lea r9, [rsp + 0x20]
xor r14d, r14d
mov ecx, 0xb
xor r8d, r8d
mov dword [rsp + 0x20], r14d
xor edx, edx
mov ebx, r14d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14000def2
test rbx, rbx
je 0x14000deb8
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14000dea2
test eax, eax
jns 0x14000df13
test rbx, rbx
je 0x14000df18
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14000e017
test rbx, rbx
jne 0x14000df1f
xor eax, eax
jmp 0x14000e017
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rdi
mov edi, r14d
cmp dword [rbx], r14d
jbe 0x14000dff7
nop dword [rax + rax]
mov eax, edi
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x28], xmm0
movzx edx, word [rcx + rbx + 0x2e]
lea rbp, [rcx + rbx]
add rdx, 0x30
mov qword [rsp + 0x38], r14
add rdx, rcx
mov qword [rsp + 0x40], r14
add rdx, rbx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x14000df75
lea rcx, [rsp + 0x28]
call fcn.140007af0
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x14000df95
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14000e02d
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000dfed
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dfe8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e076
call fcn.14000ec50
inc edi
cmp edi, dword [rbx]
jb 0x14000df40
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000ec30
add rsp, 0x50
pop r14
pop rsi
pop rbx
ret
mov rdi, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000e082
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e07d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e07d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ec50
mov rax, rdi
jmp 0x14000e00a
Function at 0x14000e4b4
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 0x14000e4ee
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000e4f3
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 0x14000e53c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400116a0]
cmp byte [rcx + rax], 0
je 0x14000e53c
dec r8
sub rdx, 1
jne 0x14000e522
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000fb44
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000fb8e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000fb8e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000fb8e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000fb8e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000fb8e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000fb90
xor al, al
add rsp, 0x28
ret
Function at 0x180001000
Capabilities:
Check if file exists
Create thread
Get common file path

Disassembly:
sub rsp, 0x468
mov rax, qword [0x18001d008]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov qword [0x18001ebb8], rcx
cmp edx, 1
jne 0x180001121
xor edx, edx
mov qword [rsp + 0x460], rbx
mov r8d, 0x208
lea rcx, [rsp + 0x240]
call fcn.1800034f0
mov r8d, 0x104
lea rdx, [rsp + 0x240]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x240]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rcx, rax
lea rdx, str.userinit.exe
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1800010ce
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.1800034f0
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, [0x18001a8c0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180001119
lea ecx, [rax + 1]
call fcn.180001420
jmp 0x180001119
lea rdx, str.svchost.exe
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180001119
xor eax, eax
mov dword [section.ShareDat], 1
mov qword [rsp + 0x28], rax
lea r8, [0x1800022a0]
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180001119
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x460]
mov eax, 1
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1800023c0
add rsp, 0x468
ret
Function at 0x180001320
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
xor ebx, ebx
xorps xmm1, xmm1
xor eax, eax
mov dword [rbp + 0x77], ebx
mov qword [rbp - 0x29], rax
mov edi, edx
movups xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x39]
mov rdx, rcx
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm1
lea rax, [rbp - 0x19]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rbx
xor ecx, ecx
movups xmmword [rbp + 0x37], xmm1
mov qword [rsp + 0x30], rbx
movups xmmword [rbp + 0x17], xmm1
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 1
movups xmmword [rbp - 0x39], xmm0
mov dword [rbp - 0x19], 0x68
movups xmmword [rbp - 9], xmm1
mov qword [rbp + 0x23], 0x101
movups xmmword [rbp + 7], xmm1
mov qword [rbp - 0x11], rbx
mov qword [rbp + 0x2f], rbx
mov qword [rbp + 0x37], rbx
mov qword [rbp + 0x47], rbx
mov qword [rbp + 0x3f], rbx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1800013fc
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x39]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x39]
lea rdx, [rbp + 0x77]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 0x77], ebx
sete bl
mov eax, ebx
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x180001d40
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x480
mov rax, qword [0x18001d008]
xor rax, rsp
mov qword [rsp + 0x470], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov esi, eax
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180001e42
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180001e42
mov qword [rsp + 0x490], rbx
mov r8d, dword [rsp + 0x28]
cmp esi, r8d
je 0x180001e1b
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x180001e1b
xor edx, edx
lea rcx, [rsp + 0x260]
mov r8d, 0x208
call fcn.1800034f0
mov r9d, 0x104
lea r8, [rsp + 0x260]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x180001e12
lea rcx, [rsp + 0x260]
call fcn.180001e70
test eax, eax
je 0x180001e12
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180001da5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1800023c0
mov rsi, qword [rsp + 0x498]
add rsp, 0x480
pop rdi
ret
Function at 0x1407ee058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1407ee1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1407ee089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407ee06f
add dl, dl
jne 0x1407ee096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407ee0f6
xor eax, eax
add dl, dl
jne 0x1407ee0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407ee1ad
add dl, dl
jne 0x1407ee0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407ee0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407ee0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407ee0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407ee0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407ee07e
mov eax, 1
add dl, dl
jne 0x1407ee106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407ee113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407ee0fb
sub eax, ebx
mov ebx, 1
jne 0x1407ee14c
mov ecx, 1
add dl, dl
jne 0x1407ee12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407ee13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407ee123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407ee07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407ee168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407ee175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407ee15d
cmp eax, 0x7d00
jae 0x1407ee19b
cmp eax, 0x500
jb 0x1407ee196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407ee07e
cmp eax, 0x7f
ja 0x1407ee19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407ee07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407ee1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1407ee07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400029e0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14006c100]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov edi, ecx
xor esi, esi
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x40], esi
mov rbx, rdx
call qword [sym.imp.USER32.dll_GetKeyboardState]
xor edx, edx
mov ecx, edi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x40]
mov edx, eax
mov dword [rsp + 0x28], esi
lea r8, [rsp + 0x50]
mov dword [rsp + 0x20], 2
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicodeEx]
test eax, eax
jle 0x140002a91
movzx edi, word [rsp + 0x40]
test di, di
je 0x140002a8c
mov ecx, 0x14
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, 0x10
setne bl
call qword [sym.imp.USER32.dll_GetKeyState]
shr ax, 0xf
movzx ecx, di
cmp al, bl
je 0x140002a85
call fcn.14002f158
jmp 0x140002a94
call fcn.14002b640
jmp 0x140002a94
movzx eax, di
jmp 0x140002a94
movzx eax, si
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140025810
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000a9b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x38
cmp qword [r8 + 0x38], 0
lea rsi, [rcx + 0x18]
mov rbx, r8
mov r8, rdx
je 0x14000a9eb
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140019000
mov rdx, rbx
mov rcx, qword [rax]
add rcx, 0x30
call fcn.140014fb0
add rsp, 0x38
pop rsi
pop rbx
ret
cmp qword [rdx + 0x18], 0xf
mov qword [rsp + 0x30], rdi
jbe 0x14000a9fa
mov r8, qword [rdx]
mov r9, qword [rdx + 0x10]
xor ecx, ecx
movabs rbx, 0xcbf29ce484222325
test r9, r9
je 0x14000aa34
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rbx, rax
imul rbx, r10
cmp rcx, r9
jb 0x14000aa20
mov r8, rdx
mov r9, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14001c060
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x14000aabb
mov rdx, qword [rsi + 0x30]
and rdx, rbx
shl rdx, 4
add rdx, qword [rsi + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rdi
jne 0x14000aa84
cmp rax, rdi
jne 0x14000aa7a
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14000aa8f
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
jmp 0x14000aa8f
cmp rax, rdi
jne 0x14000aa8f
mov rax, qword [rdi]
mov qword [rdx], rax
mov rdx, qword [rdi]
lea rcx, [rdi + 0x10]
dec qword [rsi + 0x10]
mov rax, qword [rdi + 8]
mov qword [rax], rdx
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
call fcn.14001f030
mov edx, WSACleanup
mov rcx, rdi
call fcn.140025830
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
pop rsi
pop rbx
ret
Function at 0x14000c500
Capabilities:
Check if file exists
Copy file
Create directory
Get file attributes

Disassembly:
sub rsp, 0x148
mov rax, qword [0x14006c100]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov r8d, 0x104
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, str.C:AMDAMD_Container.exe
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14000c583
lea rcx, str.C:AMD
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14000c563
xor edx, edx
lea rcx, str.C:AMD
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x14000c583
xor r8d, r8d
lea rdx, str.C:AMDAMD_Container.exe
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x14000c583
mov byte [0x14006ff49], 1
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140025810
add rsp, 0x148
ret