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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140004650], rbx
je 0x1400025dc
cmp rax, rbx
jne 0x1400025cf
mov ebx, 1
mov esi, ebx
jmp 0x1400025e1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400025b4
mov ebx, 1
mov eax, dword [0x140004658]
cmp eax, ebx
jne 0x1400025f7
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x14000265c
mov eax, dword [0x140004658]
test eax, eax
jne 0x140002656
mov dword [0x140004658], ebx
lea r15, [0x1400033c0]
lea rdi, [0x1400033a8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140002648
test eax, eax
jne 0x14000264c
cmp qword [rdi], 0
je 0x14000263d
mov rax, qword [rdi]
mov rcx, qword [0x140003388]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000261e
test eax, eax
je 0x14000265c
mov eax, 0xff
jmp 0x140002738
mov dword [0x140004064], ebx
mov eax, dword [0x140004658]
cmp eax, ebx
jne 0x140002683
lea rdx, [0x1400033a0]
lea rcx, [0x140003390]
call sub.msvcrt.dll__initterm
mov dword [0x140004658], 2
test esi, esi
jne 0x140002690
xor eax, eax
xchg qword [0x140004650], rax
cmp qword [0x140004660], 0
je 0x1400026c4
lea rcx, [0x140004660]
call fcn.140002940
test eax, eax
je 0x1400026c4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140004660]
mov r9, qword [0x140003388]
call r9
mov r8, qword [0x140004078]
mov rdx, qword [0x140004070]
mov ecx, dword [0x140004068]
call fcn.1400019b0
mov dword [0x140004060], eax
cmp dword [0x140004080], 0
jne 0x1400026f4
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140004064], 0
jne 0x140002709
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140004060]
jmp 0x140002738
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140120000
add rsp, 0x28
jmp 0x140002590

Function at 0x14000282c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140002878
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140002870
cmp dword [rcx + 0x3c], edx
jl 0x140002870
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140002870
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140002878
mov rax, rdx
add rsp, 0x18
ret
Function at 0x59e670
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x59e67d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x59e68d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x59e675
lea eax, [rcx + 1]
jmp 0x59e69b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x59e6ae
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x59e694
sub eax, 3
jb 0x59e6ce
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x59e71d
sar eax, 1
movsxd rbp, eax
jb 0x59e704
jmp 0x59e6dc
add ebx, ebx
jne 0x59e6da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x59e704
inc ecx
add ebx, ebx
jne 0x59e6ea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x59e704
call r11
adc ecx, ecx
add ebx, ebx
jne 0x59e6fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x59e6ec
add ecx, 2
jmp 0x59e709
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.0059e632
jmp 0x59e67d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x89c00
mov dl, 0x1d
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x59e769
cmp rsi, rcx
jae 0x59e771
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x59e750
cmp al, 0x8f
ja 0x59e750
cmp byte [rsi - 2], 0xf
je 0x59e756
sub al, 0xe8
cmp al, 1
ja 0x59e73a
cmp rsi, rcx
jae 0x59e771
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x59e740
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x59e771
lodsb al, byte [rsi]
jmp 0x59e750
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x19b000]
mov eax, dword [rdi]
or eax, eax
je 0x59e7ce
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x19e000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x59e77e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x59e7c8
mov qword [rbx], rax
add rbx, 8
jmp 0x59e79e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x59e808
cmp al, 0xef
ja 0x59e7fa
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x59e7da
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x59e7e9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x59e85c
sub rsp, 0xffffffffffffff80
jmp 0x45e2e0
Function at 0x140043124
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14001a020]
xor rax, rsp
mov qword [rbp - 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor r12d, r12d
mov dword [rbp - 0x30], 0x30c930d2
mov ecx, r12d
mov dword [rbp - 0x2c], 0x30d330da
mov r14, rax
mov dword [rbp - 0x28], 0x30ef30ac
mov dword [rbp - 0x24], 0x30af30a6
mov r15d, 0x30bc
mov dword [rbp - 0x20], 0x30a8
mov byte [rbp - 0x1c], 1
nop dword [rax]
lea eax, [r15 + rcx]
xor word [rbp + rcx*2 - 0x30], ax
inc rcx
cmp rcx, 9
jb 0x140001850
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x1c], r12b
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, r12d
lea rbx, [0x14001a200]
mov rdi, rax
nop dword [rax]
mov rdx, qword [rbx - 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx - 0x18], rax
mov rcx, rdi
mov rdx, qword [rbx - 8]
invalid
invalid
invalid
invalid
pop rsp

Function at 0x140001a10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rdx, qword [rcx + 0x10]
mov eax, dword [rdx + 0x30]
add eax, 0x100000
mov dword [rdx + 0x40], eax
xor eax, eax
ret
Function at 0x140001e70
Capabilities:
Create thread
Enumerate processes
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x14001a020]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rdi, str.FiveM_b2060_GameProcess.exe
lea rsi, str.C:WindowsTEMPROS_Launcher.dll
Function at 0x1400031f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14001a020]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.1400054d4
mov qword [rax], rbx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400034d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x140003269
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400053d0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x1400035d0
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, [0x140008c30]
mov rbx, rdx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor r9d, r9d
lea r8, str.NightWare_protection
mov rdx, rbx
xor ecx, ecx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_MessageBoxA]

Function at 0x140003610
Capabilities:
Check for time delay via gettickcount
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x14001a020]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x64]
mov dword [rsp + 0x68], 1
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x64], 0x404040
mov ecx, 1
call qword [sym.imp.USER32.dll_SetSysColors]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
mov dword [rsp + 0x54], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov dword [rsp + 0x50], eax
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r8d, 0x3000
mov ebp, eax
lea ecx, [rax + 1]
imul ecx, ebx
shl ecx, 2
movsxd rdx, ecx
xor ecx, ecx
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14d, ebp
mov r15, rax
imul r14d, ebx

Function at 0x140003910
Capabilities:
Check for debugger via api

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14001a020]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0x20], 0
jne 0x140003958
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400053d0
add rsp, 0x38
ret
call fcn.140003610
int3
Function at 0x1400039a0
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x4e0
mov rax, qword [0x14001a020]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
lea rax, str.cheatengine_x86_64.exe
xor edx, edx
mov qword [r11 - 0x48], rax
lea rcx, [r11 - 0x284]
lea rax, str.ollydbg.exe
mov r8d, 0x234
mov qword [r11 - 0x40], rax
lea rax, str.ida.exe
mov qword [r11 - 0x38], rax
lea rax, str.ida64.exe
mov qword [r11 - 0x30], rax
lea rax, str.radare2.exe
mov qword [r11 - 0x28], rax
lea rax, str.x64dbg.exe
mov qword [r11 - 0x20], rax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov r8d, 0x234
lea rcx, [rsp + 0x24]
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x260]
mov edx, 4
lea rax, [rsp + 0x20]
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140003a50
movups xmm0, xmmword [rax]
lea rdx, [rsp + 0x260]
mov qword [rsp + 0x4f0], rbx
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
mov rax, qword [rax + 0x30]
movups xmmword [rcx + 0x10], xmm1
movups xmmword [rcx + 0x20], xmm0
mov qword [rcx + 0x30], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140003af0
lea rcx, [0x1400172d8]
call fcn.140003510
jmp 0x140003b3b
lea rbx, [rsp + 0x4a0]
nop dword [rax + rax]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x28c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140003b65
add rbx, 8
lea rax, [rsp + 0x4d0]
cmp rbx, rax
jne 0x140003b00
lea rdx, [rsp + 0x260]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140003af0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x4f0]
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.1400053d0
add rsp, 0x4e0
pop rdi
ret
lea rdx, [0x1400172d8]
call fcn.1400035d0
mov ecx, 0x1009
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x140003be0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.140005267
test eax, eax
je 0x140003c05
lea rdx, [0x1400172d8]
call fcn.1400035d0
mov ecx, 0x1003
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x28
ret

Function at 0x140003cd0
Capabilities:
Hide thread from debugger

Disassembly:
sub rsp, 0x28
lea rcx, str.ntdll.dll
Function at 0x140003d40
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x14001a020]
xor rax, rsp
mov qword [rbp + 0x300], rax
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea r8, str.antidbg
mov rbx, rcx
mov dword [rbp - 0x2c], eax
xor edi, edi
mov qword [rsp + 0x60], rax
xor ecx, ecx
mov dword [rsp + 0x68], edi
xor edx, edx
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140003de7
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_DebugActiveProcess]
test eax, eax
jne 0x140003e9c
mov ecx, 0x22b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]

Function at 0x140003f50
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14001a020]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call fcn.14000527f
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x20]
sub rax, qword [rsp + 0x28]
cmp rax, 0x1e
jg 0x140003fa0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400053d0
add rsp, 0x48
ret
call fcn.140003610
int3

Function at 0x140003fb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call fcn.14000528e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x1e
ja 0x140003fd6
add rsp, 0x20
pop rbx
ret
call fcn.140003610
int3

Function at 0x140004180
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str._s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140004193
add rsp, 0x28
ret
Function at 0x1400041b0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test rcx, rcx
je 0x140004353
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140004353
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140004353
mov edx, 0x20b
cmp word [rax + rcx + 0x18], dx
jne 0x140004353
mov qword [rbx], rcx
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
mov qword [rsp + 0x40], rdi
mov qword [rbx + 8], rcx
xor edi, edi
mov qword [rsp + 0x48], r14
lea rax, [rcx + 4]
mov qword [rbx + 0x10], rax
lea r14, [rcx + 0x18]
lea rax, [rcx + 0x18]
mov qword [rbx + 0x18], rax
lea rax, [rcx + 0x88]
mov qword [rbx + 0x20], rax
lea rax, [rcx + 0x90]
mov qword [rbx + 0x28], rax
lea rax, [rcx + 0x98]
mov qword [rbx + 0x30], rax
lea rax, [rcx + 0xa0]
mov qword [rbx + 0x38], rax
lea rax, [rcx + 0xa8]
mov qword [rbx + 0x40], rax
lea rax, [rcx + 0xb0]
mov qword [rbx + 0x48], rax
lea rax, [rcx + 0xb8]
mov qword [rbx + 0x50], rax
lea rax, [rcx + 0xc0]
mov qword [rbx + 0x58], rax
lea rax, [rcx + 0xc8]
mov qword [rbx + 0x60], rax
lea rax, [rcx + 0xd0]
mov qword [rbx + 0x68], rax
lea rax, [rcx + 0xd8]
mov qword [rbx + 0x70], rax
lea rax, [rcx + 0xe0]
mov qword [rbx + 0x78], rax
lea rax, [rcx + 0xe8]
mov qword [rbx + 0x80], rax
lea rax, [rcx + 0xf0]
mov qword [rbx + 0x88], rax
lea rax, [rcx + 0xf8]
mov qword [rbx + 0x90], rax
lea rax, [rcx + 0x100]
mov qword [rbx + 0x98], rax
movzx eax, word [rcx + 0x14]
add r14, rax
cmp di, word [rcx + 6]
jae 0x140004341
mov qword [rsp + 0x38], rsi
nop dword [rax]
mov rdx, qword [rbx + 0xa8]
movsxd rax, edi
lea rcx, [rax + rax*4]
lea rax, [r14 + rcx*8]
mov qword [rsp + 0x30], rax
cmp rdx, qword [rbx + 0xb0]
je 0x14000431d
mov qword [rdx], rax
add qword [rbx + 0xa8], 8
jmp 0x14000432e
lea r8, [rsp + 0x30]
lea rcx, [rbx + 0xa0]
call fcn.140004360
mov rax, qword [rbx + 0x10]
inc edi
movzx ecx, word [rax + 2]
cmp edi, ecx
jl 0x1400042f0
mov rsi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x48]
mov al, 1
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140004e30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x14001a020]
xor rax, rsp
mov qword [rbp + 0x20], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
lea rdx, [rsp + 0x30]
call fcn.1400041b0
test al, al
je 0x140004fe3
mov dword [rsp + 0x20], 0x637f6d36
mov word [rsp + 0x24], 0x68
mov byte [rsp + 0x26], 1
xor ecx, ecx
lea eax, [rcx + 0x18]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 5
jb 0x140004e90
mov byte [rsp + 0x26], 0
mov rbx, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
cmp rbx, rdi
je 0x140004ed6
mov rsi, qword [rbx]
mov r8d, 8
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140004ed8
add rbx, 8
cmp rbx, rdi
jne 0x140004eb2
xor esi, esi
mov dword [rsp + 0x28], 0x7a7e6b36
mov dword [rsp + 0x2c], 0x1007c68
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx + 0x18]
xor byte [rsp + rcx + 0x28], al
inc rcx
cmp rcx, 6
jb 0x140004ef0
mov byte [rsp + 0x2f], 0
mov rbx, qword [rbp - 0x30]
mov r14, qword [rbp - 0x28]
cmp rbx, r14
je 0x140004f36
mov rdi, qword [rbx]
mov r8d, 8
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140004f38
add rbx, 8
cmp rbx, r14
jne 0x140004f12
xor edi, edi
test rsi, rsi
je 0x140004fe3
cmp rsi, rdi
jae 0x140004fe3
mov dword [rbp - 0x10], 1
mov dword [rbp - 0xc], 2
mov dword [rbp - 8], 4
mov dword [rbp - 4], 8
mov dword [rbp], 0x10
mov dword [rbp + 4], 0x20
mov dword [rbp + 8], 0x40
mov dword [rbp + 0xc], pe_nt_image_headers64
mov dword [rbp + 0x10], 0x100
mov dword [rbp + 0x14], 0x200
mov dword [rbp + 0x18], 0x400
mov dword [rbp + 0x1c], 0x80000000
lea r14, [rbp - 0x10]
mov r8d, dword [rsi + 8]
add r8d, 0x1000
mov r9d, dword [r14]
mov rdx, qword [rsp + 0x48]
mov rdx, qword [rdx + 0x18]
call fcn.140005050
mov r8d, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
mov rax, qword [rsp + 0x48]
add rdx, qword [rax + 0x18]
mov r9d, dword [r14]
call fcn.140005050
add r14, 4
lea rax, [rbp + 0x20]
cmp r14, rax
jne 0x140004fa2
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140005024
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000501f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000501f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005760
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400053d0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140005250
Capabilities:
Check for peb beingdebugged flag

Disassembly:
xor rax, rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 2]
and rax, 0xff
ret

Function at 0x140005267
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
xor rax, rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0xbc]
and rax, 0x70
ret
Function at 0x14000529d
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
mov qword [rcx], rdx
mov qword [rcx + 8], rax
xor rax, rax
mov rax, 5
shr rax, 2
sub rax, rbx
cmp rax, rcx
rdtsc
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rax
ret

Function at 0x140005f08
Capabilities:
Parse pe header

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

Function at 0x14001dda0
Capabilities:
Execute shellcode via indirect call

Disassembly:
push rbp
movabs rbp, 0x9d939ab72e2dac89
pushfq
add qword [rsp + 0x10], 0xffffffffffeded3f
or ebp, 0x18a1ccb3
movabs rdx, 0x59b2df13f61c5c2b
jne 0x14013bd07
jle 0x1401507f8
or rbp, 0x511e3f2f
shl bp, 0x9d
test rbp, 0x34a12d1d
bswap ebp
mov rbp, r8
lea rcx, [rcx + r8*2 - 0x23db8585]
xor bp, word [rsp + r8 + 0x2ba43]
or word [rsp + rbp*2 + 0x5b976], 0x6596
je 0x1400bcf07
neg r8w
push r15
test r8b, bpl
xchg qword [rsp + r8 + 0x245ff], rcx
mov rbp, qword [rsp + 8]
js fcn.14017420f
or r15, qword [rsp + r8*8 + 0x122e38]
neg word [rsp + r8*8 + 0x122e48]
or r8, qword [rsp + 0x10]
xor r8d, r15d
or r8, 0xffffffffea0aeb1f
mov r8w, 0x4434
mov r15, qword [rsp + r8 + 0x485bbe4]
movabs r14, 0xccb48827b5858104

Function at 0x140021afa
Capabilities:
Execute command

Disassembly:
mov r13, qword [rsp + 0x28]
not dword [rsp + 0x20]
jb 0x1400d6210
int3
mov r15, qword [rsp + 0x40]
mov qword [rsp + 0x38], 0x55297523
cmp dword [rsp + 0x30], 0xdebfb8a5
jo 0x1400036e2
add qword [rsp + 0x30], 0xffffffffe1835638
test byte [rsp + 0x30], 0x25
push qword [rsp + 0x50]
popfq
lea rsp, [rsp + 0x60]
ret
xor qword [rsp + 0x20], r15
or qword [rsp + 0x20], r15
jbe 0x14017a843
seta byte [rsp + 0x38]
jno 0x1400bb454
Function at 0x14002a4d0
Capabilities:
Execute shellcode via indirect call

Disassembly:
jno 0x140190d19
invalid
test r12, r15
call fcn.1400377b6

Function at 0x140034ea0
Capabilities:
Encode data using base64

Disassembly:
mov rbx, qword [rsp + 0x20]
mov rbx, qword [rbx]
neg r15w
and r15w, dx
test r15d, 0xb847421
lea rbx, [rbx - 0x63e10dc1]
not r15
mov qword [rsp + 0x20], r11

Function at 0x1400445a0
Capabilities:
Encode data using xor

Disassembly:
mov rdi, rbx
ja 0x1401cc2e1
neg r8w
ja 0x1400312b3
lea rax, [rax + r8 - 0x560f50a8]
add qword [rsp + r12 + 0x60c42851], 0xffffffffbff2e0cf
not ebx
or edi, r12d
jb 0x1400a6ed1
xchg qword [rsp + r12 + 0x60c428a9], rax
mov rdi, qword [rsp + 0x38]
mov rbp, rbx
and r12w, r8w
xor rbx, 0xffffffffaf902e88
jae 0x1401d9a14
invalid
mov ebp, 0xa7a1250d
out 0xa8, eax
cld
jne 0x1400445d9
ror esp, 1
int3

Function at 0x1400a6441
Capabilities:
Encode data using xor

Disassembly:
shr r8w, 0x21
push r10
add qword [rsp + 8], 0xffffffffffffa9c2
movabs r10, 0x45031b097d12803e
call fcn.140195b0f
ror byte [rbx + rbx*8 - 0x7e], 1
pop rsi
invalid

Function at 0x1400bafef
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rbx, qword [rsp + 0x28]
mov rbx, qword [rbx]
movabs r14, 0x7e3110a4fc8d0497
and r9b, r10b
add r14, 0xffffffffba1a9d37
seto r14b
neg r11b
lea rbx, [rbx - 0x3bec73ee]
movsx r9, r10w
sub r12d, r11d
jns fcn.140138e4b
not r12b