joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400345a4
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x38
lea rcx, [0x140044e18]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x140044e08]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14003462d
lea rcx, [0x140044e30]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtUserSendInput
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14003462d
lea rcx, [0x140044e44]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.SendInput
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14003462d
xor al, al
jmp 0x1400346df
lea rcx, str.win32u
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x140044e50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400346af
lea rcx, [0x140044e88]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtUserGetAsyncKeyState
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400346af
lea rcx, str.user32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x140044e90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400346af
xor al, al
jmp 0x1400346df
mov r8d, 0x1e
mov rdx, qword [rsp + 0x20]
lea rcx, [0x140050628]
call fcn.14003df17
mov r8d, 0x1e
mov rdx, qword [rsp + 0x28]
lea rcx, [0x140050648]
call fcn.14003df17
mov al, 1
add rsp, 0x38
ret

Function at 0x140035280
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400352b2
xor eax, eax
jmp 0x140035308
mov r8d, 0x1e
lea rdx, [0x140050648]
mov rcx, qword [rsp + 0x28]
call fcn.14003df17
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
call qword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x20]
add rsp, 0x48
ret
Function at 0x140035f34
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x44], 0xc0000001
mov dword [rsp + 0x50], 0x30
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x68], 0x240
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
lea r8, [rsp + 0x50]
mov edx, 0xf003f
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwOpenKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x14003600b
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwSetValueKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x140035ffa
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwClose]
nop
jmp 0x14003609e
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x50]
mov edx, 0xf003f
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwCreateKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x140036092
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwSetValueKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x140036092
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwClose]
nop
mov al, byte [rsp + 0x40]
add rsp, 0x88
ret
Function at 0x140036b50
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x140036b80
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x140036c02
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x140036bce
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x140036bd6
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140036b75
mov qword [rsp + 8], 0xe3
jmp 0x140036c1a
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x140036ca1
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x140036c6b
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x140036c73
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140036c0d
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x140036cf5
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x140036cfd
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret
Function at 0x140036d44
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x140036d65
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x140036de9
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x140036db4
mov dword [rsp + 4], 0x9908b0df
jmp 0x140036dbc
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140036d58
add rsp, 0x18
ret
Function at 0x14003b760
Capabilities:
Create thread
Hide graphical window

Disassembly:
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140035920]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0xa0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x88], 0
lea rax, [0x140035ddc]
mov qword [rsp + 0x78], rax
lea rax, [0x140045218]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x70], 3
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x14003b819
lea rdx, str._n_n_Notepad
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140028bf8
nop
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x60], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000000
xor r8d, r8d
lea rdx, str.Notepad
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140050698], rax
mov edx, 5
mov rcx, qword [0x140050698]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x140045208]
mov rcx, qword [0x140050698]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x140050698]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140050698]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
add rsp, 0xc0
pop rdi
ret
Function at 0x14003da80
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003daca
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003daca
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003daca
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003daca
cmp dword [rcx + 0x84], 0xe
jbe 0x14003daca
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003dacc
xor al, al
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Enumerate processes
Set global application hook

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x2a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x290], rax
xor edx, edx
mov ecx, 2
xor edi, edi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400010c9
xor edx, edx
lea rcx, [rsp + 0x54]
mov r8d, 0x234
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x1400010c0
lea rdx, [rsp + 0x7c]
lea rcx, str.RobloxPlayerBeta.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400010bc
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x1400010c0
lea rdx, [rsp + 0x7c]
lea rcx, str.RobloxPlayerBeta.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400010bc
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140001091
jmp 0x1400010c0
mov edi, dword [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, edi
mov dword [rsp + 0x30], edi
mov edx, 1
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rdx, str.Roblox
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
lea rcx, str.Wintrust.dll
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.WinVerifyTrust
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 0x40
mov dword [rsp + 0x38], 0
mov rbx, rax
mov word [rsp + 0x34], 0xc031
lea rax, [rsp + 0x38]
mov byte [rsp + 0x36], 0xc3
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov r8d, 3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea rax, [rsp + 0x40]
mov r9d, 3
lea r8, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9d, dword [rsp + 0x38]
lea rax, [rsp + 0x38]
mov r8d, 3
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
xor edx, edx
lea rcx, str.Rebel.dll
mov r8d, 1
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rcx, rax
lea rdx, str.callback
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, edi
mov r8, rbx
mov rdx, rax
mov ecx, 3
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, edi
mov rbx, rax
call qword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
xor eax, eax
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140001230
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x2a0
pop rdi
ret
Function at 0x1400012f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor r8d, r8d
lea r9, [0x140077680]
nop word [rax + rax]
mov ecx, r8d
lea r9, [r9 + 4]
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
test r8b, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0xedb88320
test dl, 1
cmove eax, ecx
inc r8d
mov dword [r9 - 4], eax
cmp r8d, 0x100
jb 0x140001300
mov byte [0x140077a80], 1
ret
Function at 0x1400017c0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r15, rdx
mov rsi, rcx
sub r15, rcx
mov r9d, 4
mov qword [rsp + 0x38], r15
nop dword [rax]
mov r8d, 4
nop word [rax + rax]
movzx eax, byte [r15 + rcx]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x140001800
sub r9, 1
jne 0x1400017f0
mov r15, qword [rsp + 0x40]
mov r12b, 1
lea r10, [0x14005f5d0]
mov r8, rsi
mov r9d, 4
nop
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + r10]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x140001840
inc r8
sub r9, 1
jne 0x140001830
movzx eax, byte [rsi + 5]
movzx ecx, byte [rsi + 1]
mov byte [rsi + 1], al
movzx eax, byte [rsi + 9]
mov byte [rsi + 5], al
movzx eax, byte [rsi + 0xd]
mov byte [rsi + 9], al
movzx eax, byte [rsi + 0xa]
mov byte [rsi + 0xd], cl
movzx ecx, byte [rsi + 2]
mov byte [rsi + 2], al
movzx eax, byte [rsi + 0xe]
mov byte [rsi + 0xa], cl
movzx ecx, byte [rsi + 6]
mov byte [rsi + 6], al
movzx eax, byte [rsi + 0xf]
mov byte [rsi + 0xe], cl
movzx ecx, byte [rsi + 3]
mov byte [rsi + 3], al
movzx eax, byte [rsi + 0xb]
mov byte [rsi + 0xf], al
movzx eax, byte [rsi + 7]
mov byte [rsi + 0xb], al
mov byte [rsi + 7], cl
cmp r12b, 0xa
je 0x1400019ce
lea r14, [rsi + 2]
lea ebp, [rdx + 4]
nop dword [rax]
nop word [rax + rax]
movzx edi, byte [r14 - 2]
movzx r8d, byte [r14 - 1]
movzx edx, dil
movzx ebx, byte [r14 + 1]
xor dl, r8b
movzx r10d, byte [r14]
lea r14, [r14 + 4]
movzx eax, dl
movzx r9d, bl
shr al, 7
add dl, dl
movzx eax, al
xor r9b, r10b
imul ecx, eax, 0x1b
movzx r11d, r9b
xor r11b, dil
xor r11b, r8b
xor cl, dl
movzx edx, r8b
xor cl, dil
xor dl, r10b
xor cl, r11b
movzx eax, dl
mov byte [r14 - 6], cl
xor dil, bl
shr al, 7
add dl, dl
movzx eax, al
imul ecx, eax, 0x1b
movzx eax, r9b
shr al, 7
add r9b, r9b
movzx eax, al
xor cl, dl
xor cl, r8b
xor cl, r11b
mov byte [r14 - 5], cl
imul ecx, eax, 0x1b
movzx eax, dil
shr al, 7
add dil, dil
movzx eax, al
xor cl, r9b
xor cl, r10b
xor cl, r11b
mov byte [r14 - 4], cl
imul ecx, eax, 0x1b
xor cl, dil
xor cl, bl
xor cl, r11b
mov byte [r14 - 3], cl
sub rbp, 1
jne 0x1400018d0
movzx r8d, r12b
lea r9d, [rbp + 4]
shl r8, 4
mov rax, rsi
sub r8, rsi
add r8, r15
nop word [rax + rax]
mov edx, 4
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
inc rax
sub rdx, 1
jne 0x1400019b0
sub r9, 1
jne 0x1400019a0
inc r12b
jmp 0x14000181e
mov r15, qword [rsp + 0x38]
mov edx, 4
nop dword [rax + rax]
mov ecx, 4
nop word [rax + rax]
movzx eax, byte [r15 + rsi + 0xa0]
xor byte [rsi], al
inc rsi
sub rcx, 1
jne 0x1400019f0
sub rdx, 1
jne 0x1400019e0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140004c30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [0x140078450]
lea r10, [0x140077a90]
cmp edx, 0x270
jl 0x140004cf7
mov rdx, r10
lea r9, [0x140077e1c]
lea r8, [0x1400662b8]
nop word [rax + rax]
mov ecx, dword [rdx]
xor ecx, dword [rdx + 4]
btr ecx, 0x1f
xor ecx, dword [rdx]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r8 + rax*4]
xor ecx, dword [rdx + 0x634]
mov dword [rdx], ecx
add rdx, 4
cmp rdx, r9
jl 0x140004c60
lea rdx, [0x140077e1c]
lea r9, [0x14007844c]
nop word [rax + rax]
mov ecx, dword [rdx]
xor ecx, dword [rdx + 4]
btr ecx, 0x1f
xor ecx, dword [rdx]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r8 + rax*4]
xor ecx, dword [rdx - 0x38c]
mov dword [rdx], ecx
add rdx, 4
cmp rdx, r9
jl 0x140004ca0
mov eax, dword [0x14007844c]
mov ecx, dword [0x140077a90]
and eax, 0x80000000
btr ecx, 0x1f
or ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r8 + rax*4]
xor ecx, dword [0x1400780c0]
mov dword [0x14007844c], ecx
xor edx, edx
movsxd rax, edx
inc edx
mov dword [0x140078450], edx
mov ecx, dword [r10 + rax*4]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x140005e80
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
call fcn.1400055e0
mov r9d, 0x208
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], 0
lea rdx, [rbp + 0xa]
mov r8d, r9d
mov qword [rsp + 0x20], rdi
mov rcx, qword [rax]
call fcn.140039df8
test eax, eax
mov ecx, 0xffffffff
cmovs eax, ecx
lea rcx, [rbp + 0xa]
mov dword [rbp + 0x41c], eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
Function at 0x1400064c0
Capabilities:
Move file
Write file on windows

Disassembly:
mov r11, rsp
push rbp
push rsi
lea rbp, [r11 - 0x5f]
sub rsp, 0xe8
mov rax, qword [0x140074040]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov eax, dword [rcx + 0x798]
mov rsi, rcx
test eax, eax
je 0x1400066ff
movups xmm1, xmmword [rsi + 0x4d8]
mov dword [rbp - 0x35], eax
xor ecx, ecx
mov rax, qword [rsi + 0x450]
xorps xmm0, xmm0
movaps xmmword [rbp - 9], xmm0
xor r9d, r9d
movaps xmmword [rbp + 7], xmm0
movaps xmmword [rbp + 0x17], xmm0
movups xmm0, xmmword [rsi + 0x4c8]
mov qword [rbp + 0x27], rcx
mov qword [rbp - 0x31], rax
mov rax, qword [rsi + 0x790]
movaps xmmword [rbp - 0x19], xmm1
movups xmm1, xmmword [rsi + 0x518]
mov dword [rbp - 0x39], 0x1020102
movaps xmmword [rbp - 0x29], xmm0
movsd xmm0, qword [rsi + 0x4e8]
movsd qword [rbp - 9], xmm0
movups xmmword [rbp - 1], xmm1
mov rcx, qword [rax + 0x18]
mov qword [r11 + 0x10], rbx
xor ebx, ebx
mov qword [r11 - 0x18], r14
mov edx, ebx
mov qword [r11 + 0x18], rdi
movups xmm0, xmmword [rcx]
lea r8d, [rbx + 2]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rcx + 0x10]
mov rcx, rsi
mov dword [rbp + 0x2f], 0x3040304
movups xmmword [rbp + 0x1f], xmm1
call fcn.140022c50
cmp qword [rsi + 0x440], 0xffffffffffffffff
je 0x1400065f2
mov edi, ebx
mov rcx, qword [rsi + 0x440]
lea r9, [rbp - 0x41]
mov r8d, 0x6c
mov qword [rsp + 0x20], rbx
lea rdx, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400065f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [rsi + 0x420]
cmp qword [r8 + 0x18], 7
jbe 0x1400065ce
mov r8, qword [r8]
mov r9d, eax
lea rdx, str._s:_WriteFile_code:__lu
mov rcx, rsi
call fcn.140022290
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x32
jl 0x140006593
mov rcx, qword [rsi + 0x440]
cmp rcx, 0xffffffffffffffff
je 0x140006610
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 0x440], 0xffffffffffffffff
mov rdx, qword [rsi + 0x790]
lea rcx, [rbp - 0x61]
mov rdx, qword [rdx]
call fcn.140005c40
mov rcx, qword [rbp - 0x49]
mov r14, qword [rbp - 0x51]
mov rax, rcx
sub rax, r14
cmp rax, 7
jb 0x14000666a
cmp rcx, 7
lea rax, [r14 + 7]
lea rdi, [rbp - 0x61]
mov qword [rbp - 0x51], rax
cmova rdi, qword [rbp - 0x61]
lea rdx, str..x60X60
mov r8d, 0xe
lea rcx, [rdi + r14*2]
call fcn.1400520e0
mov word [rdi + r14*2 + 0xe], bx
jmp 0x14000668d
movzx r8d, byte [rbp - 0x69]
lea r9, str..x60X60
mov edx, 7
mov qword [rsp + 0x20], 7
lea rcx, [rbp - 0x61]
call fcn.140006720
mov rcx, qword [rsi + 0x790]
lea rdx, [rbp - 0x61]
cmp qword [rbp - 0x49], 7
cmova rdx, qword [rbp - 0x61]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov rdx, qword [rbp - 0x49]
mov r14, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x108]
cmp rdx, 7
jbe 0x1400066ff
mov rcx, qword [rbp - 0x61]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400066fa
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006715
call fcn.14002d030
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14002cd30
add rsp, 0xe8
pop rsi
pop rbp
ret
call fcn.14003a96c
int3