joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400af6a0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400af765
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400af765
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x1400af77e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x1400af755
cmp byte [rcx], 0x5c
jne 0x1400af74e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x1400af74e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400af73c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x1400af74b
test r8b, 0x10
jne 0x1400af74e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x1400af74e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400ab6d0
test edi, edi
jne 0x1400af6c0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400ab6c0
int3
Function at 0x1400b51d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov r13, r9
mov r15, r8
mov r14, rdx
mov rbp, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x28], rdx
mov rbx, rdx
lea rax, [r8 - 1]
mov qword [rsp + 0x20], rax
mov r12, rax
sar r12, 1
cmp rdx, r12
jge 0x1400b52a0
nop dword [rax]
nop word [rax + rax]
lea rdi, [rbx + rbx]
lea rbx, [rdi + 2]
shl rbx, 5
add rbx, rbp
lea rdx, [rbx - 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400b3af0
or esi, 1
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400b3af0
or esi, 2
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
call fcn.1400b3880
movzx ebx, al
lea rcx, [rsp + 0x30]
call fcn.14000a870
nop
lea rcx, [rsp + 0x50]
call fcn.14000a870
xor rbx, 1
inc rbx
add rbx, rdi
mov rdx, rbx
shl rdx, 5
add rdx, rbp
shl r14, 5
lea rcx, [r14 + rbp]
call fcn.1400b2c70
mov r14, rbx
cmp rbx, r12
jl 0x1400b5220
mov rdi, rbx
cmp rbx, r12
jne 0x1400b52cb
test r15b, 1
jne 0x1400b52cb
shl r15, 5
lea rdx, [rbp - 0x20]
add rdx, r15
shl rbx, 5
lea rcx, [rbx + rbp]
call fcn.1400b2c70
mov rdi, qword [rsp + 0x20]
lea rbx, [rdi - 1]
mov r15, qword [rsp + 0x28]
sar rbx, 1
cmp r15, rdi
jge 0x1400b5329
mov rdx, r13
lea rcx, [rsp + 0x30]
call fcn.1400b3af0
or esi, 0x10
or esi, 4
mov dword [rsp + 0x20], esi
mov rdx, rbx
shl rdx, 5
add rdx, rbp
lea rcx, [rsp + 0x50]
call fcn.1400b3af0
or esi, 0x20
or esi, 8
mov dword [rsp + 0x20], esi
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
call fcn.1400b3880
test al, al
je 0x1400b5329
mov r14b, 1
jmp 0x1400b532c
xor r14b, r14b
test sil, 8
je 0x1400b5340
and esi, 0xfffffff7
lea rcx, [rsp + 0x50]
call fcn.14000a870
nop
test sil, 4
je 0x1400b5353
and esi, 0xfffffffb
lea rcx, [rsp + 0x30]
call fcn.14000a870
shl rdi, 5
lea rcx, [rdi + rbp]
test r14b, r14b
je 0x1400b537a
mov rdx, rbx
shl rdx, 5
add rdx, rbp
call fcn.1400b2c70
mov rdi, rbx
dec rbx
jmp 0x1400b52d4
mov rdx, r13
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.1400b2c70
Function at 0x1400b57e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x190
mov rax, qword [0x1400fa040]
xor rax, rsp
mov qword [rsp + 0x180], rax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor ebx, ebx
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400b581e
xor eax, eax
jmp 0x1400b5923
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x130
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400b5918
mov qword [rsp + 0x1a0], rdi
nop dword [rax]
nop dword [rax + rax]
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x7c]
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rdi, eax
test eax, eax
jle 0x1400b58ef
xorps xmm0, xmm0
mov qword [rsp + 0x40], rbx
mov r8, rdi
mov qword [rsp + 0x48], rbx
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.1400bcd80
cmp qword [rsp + 0x48], 7
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x28], edi
lea r8, [rsp + 0x7c]
cmova rcx, qword [rsp + 0x30]
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp qword [rsp + 0x48], 7
lea rcx, [rsp + 0x30]
lea rdx, str.RobloxPlayerBeta.exe
cmova rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
lea rcx, [rsp + 0x30]
test eax, eax
je 0x1400b5907
call fcn.14000a870
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400b5850
jmp 0x1400b5910
mov ebx, dword [rsp + 0x58]
call fcn.14000a870
mov rdi, qword [rsp + 0x1a0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400c5090
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x190
pop rsi
ret

Function at 0x1400b5950
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xe0
mov rax, qword [0x1400fa040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea r8, str.MachineGuid
lea rax, [rsp + 0x50]
mov dword [rsp + 0x48], 0x80
mov rbx, rcx
mov qword [rsp + 0x28], rax
xor edi, edi
lea rdx, str.SOFTWAREMicrosoftCryptography
mov r9d, 2
mov qword [rsp + 0x20], rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
test eax, eax
jne 0x1400b59f0
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x1400b59e0
lea rdx, [rsp + 0x50]
jmp 0x1400b59fd
mov r8d, 0xc
lea rdx, str.Unknown_HWID
mov rcx, rbx
call fcn.140002e80
mov rax, rbx
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400c5090
mov rbx, qword [rsp + 0xf8]
add rsp, 0xe0
pop rdi
ret
Function at 0x1400bfdd0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400fa040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x50]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x1400bfe90
lea rcx, [rbp - 0x50]
mov r8, 0xffffffffffffffff
mov rax, r8
lea rax, [rax + 1]
cmp word [rcx + rax*2], si
jne 0x1400bfe41
cmp word [rbp + rax*2 - 0x52], 0x5c
jne 0x1400bfe6c
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x1400bff96
mov word [rbp + rax - 0x50], si
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
lea rax, [rbp - 0x50]
nop
inc r8
cmp word [rax + r8*2], si
jne 0x1400bfe80
lea rdx, [rbp - 0x50]
jmp 0x1400bfea9
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
xor r8d, r8d
lea rdx, [0x1400e41f0]
lea rcx, [rbp - 0x70]
call fcn.14009f5b0
nop
mov rdi, qword [rbp - 0x60]
test rdi, rdi
jne 0x1400bfede
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
xor r8d, r8d
lea rdx, [0x1400e41f0]
mov rcx, rbx
call fcn.14009f5b0
jmp 0x1400bff5c
lea rcx, [rsp + 0x70]
call fcn.1400bfbf0
mov rsi, rax
movabs rcx, 0x7ffffffffffffffe
sub rcx, rdi
cmp rcx, 1
jb 0x1400bff90
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova r9, qword [rbp - 0x70]
mov qword [rsp + 0x30], 1
lea rax, [0x1400e41ec]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x50]
call fcn.1400c2b40
nop
mov r9, rsi
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.1400c2930
nop
lea rcx, [rsp + 0x50]
call fcn.14000a870
nop
lea rcx, [rsp + 0x70]
call fcn.14000a870
nop
lea rcx, [rbp - 0x70]
call fcn.14000a870
mov rax, rbx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400c5090
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400018d0
nop
call fcn.1400c5230
int3
Function at 0x1400c1af0
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push r13
push r14
mov eax, 0x1078
call fcn.1400c6310
sub rsp, rax
mov rax, qword [0x1400fa040]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov r14, rdx
mov qword [rsp + 0x38], r9
mov rdx, qword [rsp + 0x10c0]
xor ebp, ebp
mov qword [rsp + 0x30], rdx
mov r13, r8
mov qword [rsp + 0x40], rcx
test r8, r8
jne 0x1400c1b42
mov rdx, rbp
jmp 0x1400c1c1b
mov r9d, 0x1000
lea rdx, [rsp + 0x50]
call fcn.1400c0a40
test al, al
je 0x1400c1b3a
mov qword [rsp + 0x10a8], rsi
mov qword [rsp + 0x1070], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1068], r12
mov qword [rsp + 0x1060], r15
nop dword [rax]
inc rdi
cmp byte [r14 + rdi], bpl
jne 0x1400c1b80
movsxd rax, dword [rsp + 0x8c]
lea rcx, [rsp + 0x50]
add rcx, rax
mov esi, ebp
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
movzx r15d, word [rcx + 6]
add r12, rax
cmp bp, r15w
jae 0x1400c1bf8
nop dword [rax]
nop word [rax + rax]
mov eax, esi
mov r8, rdi
mov rdx, r14
lea rcx, [rax + rax*4]
lea rbx, [r12 + rcx*8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400c1bf1
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], bpl
jne 0x1400c1be3
cmp rdi, rax
je 0x1400c1c55
inc esi
cmp esi, r15d
jb 0x1400c1bc0
mov rdx, rbp
mov r12, qword [rsp + 0x1068]
mov rdi, qword [rsp + 0x1070]
mov rsi, qword [rsp + 0x10a8]
mov r15, qword [rsp + 0x1060]
mov rax, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov r8d, ebp
mov qword [rsp + 0x20], rax
call fcn.1400c19e0
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1400c5090
add rsp, 0x1078
pop r14
pop r13
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x1400c1bf8
mov edx, dword [rbx + 8]
lea rcx, [rsp + 0x50]
add rcx, rax
je 0x1400c1bf8
test edx, edx
je 0x1400c1bf8
lea rax, [rsp + 0x50]
mov ebp, edx
sub rcx, rax
lea rdx, [rcx + r13]
jmp 0x1400c1bfb
Function at 0x1400c2c80
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov r15, rcx
mov eax, 0x5a4d
cmp word [0x140116f30], ax
jne 0x1400c2e69
movsxd rdi, dword [0x140116f6c]
lea rsi, [0x140116f30]
add rdi, rsi
cmp dword [rdi], 0x4550
jne 0x1400c2e69
test rdi, rdi
je 0x1400c2e69
mov eax, 0x20b
cmp word [rdi + 0x18], ax
jne 0x1400c2e69
mov ebx, dword [rdi + 0x50]
mov edx, ebx
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbp, rax
test rax, rax
je 0x1400c2e69
movzx ecx, word [rdi + 0x14]
mov eax, dword [rcx + rdi + 0x24]
mov dword [rsp + 0x30], eax
sub ebx, eax
mov r13d, ebx
mov qword [rsp + 0x38], r13
mov r8d, ebx
mov rcx, r15
call fcn.1400c0c80
mov r12, rax
mov rcx, rbp
test rax, rax
jne 0x1400c2d4a
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1400c2e69
mov r8d, dword [rdi + 0x54]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
movzx ebx, word [rdi + 0x14]
add rbx, 0x24
xor eax, eax
mov esi, eax
cmp ax, word [rdi + 6]
jae 0x1400c2da2
add rbx, rdi
lea r13, [0x140116f30]
test dword [rbx + 0x18], 0x80
ja 0x1400c2d8f
mov ecx, dword [rbx]
add rcx, rbp
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 8]
add rdx, r13
call sub.VCRUNTIME140.dll_memcpy
inc esi
add rbx, 0x28
movzx eax, word [rdi + 6]
cmp esi, eax
jl 0x1400c2d72
mov r13, qword [rsp + 0x38]
mov rsi, r12
mov r14d, dword [rsp + 0x30]
sub r12, r14
mov rbx, r12
sub rbx, qword [rdi + 0x30]
mov rdx, rbp
lea rcx, [rsp + 0x40]
call fcn.1400c3510
mov rdx, rbx
mov rcx, rax
call fcn.1400c2e90
mov rdx, r12
mov rcx, rbp
call fcn.1400c2f90
test al, al
je 0x1400c2e69
mov rdx, rbp
lea rcx, [rsp + 0x40]
call fcn.1400c3670
mov rdx, rax
mov rcx, r15
call fcn.1400c3050
test al, al
je 0x1400c2e4d
lea r8, [r14 + rbp]
mov r9, r13
mov rdx, rsi
mov rcx, r15
call fcn.1400c0a40
test al, al
je 0x1400c2e4d
mov r8d, dword [rdi + 0x28]
add r8, r12
xor eax, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.1400c32f0
test al, al
je 0x1400c2e4d
xor edx, edx
mov r8d, 0x8000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rsi
jmp 0x1400c2e6b
xor edx, edx
mov r8d, 0x8000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, rsi
mov rcx, r15
call fcn.1400c0ec0
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400c2f90
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, 0x5a4d
mov r8, rdx
cmp word [rcx], ax
jne 0x1400c3036
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x1400c3036
test rax, rax
je 0x1400c3036
mov edx, dword [rax + 0xd8]
test edx, edx
je 0x1400c3029
mov rdi, qword [rdx + rcx + 0x58]
test rdi, rdi
je 0x1400c3029
sub rcx, r8
movabs rsi, 0x2b992ddfa232
add rdi, rcx
cmp qword [rdi], rsi
jne 0x1400c3036
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
movabs rax, 0x2b992ddfa233
xor rcx, rbx
mov rbx, qword [rsp + 0x30]
xor rcx, rsi
cmp rcx, rsi
cmove rcx, rax
mov al, 1
mov qword [rdi], rcx
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov al, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x38]
xor al, al
add rsp, 0x20
pop rdi
ret

Function at 0x1400c3510
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 [0x1400fa040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x1400c3636
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400c3636
test rax, rax
je 0x1400c3636
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov qword [rsp + 0x58], r8
mov ecx, dword [rax + 0xb0]
test ecx, ecx
jne 0x1400c3593
mov qword [rdi], r8
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r8
jmp 0x1400c3641
lea rbx, [rcx + rdx]
mov esi, dword [rax + 0xb4]
add rsi, rbx
mov rcx, qword [rsp + 0x50]
cmp rbx, rsi
jae 0x1400c3624
nop word [rax + rax]
mov edx, dword [rbx + 4]
test edx, edx
je 0x1400c3624
mov eax, dword [rbx]
add rax, rbp
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 0x1400c35fd
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
mov rcx, qword [rsp + 0x50]
add rcx, 0x18
mov qword [rsp + 0x50], rcx
jmp 0x1400c3614
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.1400c3b50
mov rcx, qword [rsp + 0x50]
mov eax, dword [rbx + 4]
add rbx, rax
mov r8, qword [rsp + 0x58]
cmp rbx, rsi
jb 0x1400c35b0
mov rax, qword [rsp + 0x48]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r8
jmp 0x1400c3641
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.1400c5090
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 0x1400c4290
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x1400fa040]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbx, rcx
lea rcx, [0x1400cc458]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
je 0x1400c445e
mov rcx, qword [rbx + 0x10]
movabs rdi, 0x7ffffffffffffffe
mov rax, rdi
sub rax, rcx
cmp rax, 0x34
jb 0x1400c4489
mov rax, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400c42fb
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x34
lea r9, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rsp + 0x68]
call fcn.1400c2b40
nop
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 7
cmova rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rax, qword [rbx + 0x10]
sub rdi, rax
cmp rdi, 0x22
jb 0x1400c4483
cmp qword [rbx + 0x18], 7
jbe 0x1400c435d
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0x22
lea r9, str.SYSTEMCurrentControlSetServices_
lea rcx, [rsp + 0x48]
call fcn.1400c2b40
nop
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
lea r8, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1400c43b4
cmp eax, 2
sete bl
jmp 0x1400c4446
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.NtUnloadDriver
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x88]
call rax
test eax, eax
je 0x1400c4422
lea rdx, str._trace_:_failed_to_unload
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400c2390
lea rdx, [0x1400c2600]
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]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
xor bl, bl
jmp 0x1400c4446
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
jne 0x1400c441e
mov bl, 1
lea rcx, [rsp + 0x48]
call fcn.14000a870
nop
lea rcx, [rsp + 0x68]
call fcn.14000a870
movzx eax, bl
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400c5090
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.1400018d0
nop
call fcn.1400018d0
int3
Function at 0x1400c4490
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1400fa040]
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 edi, r14d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400c4522
test rdi, rdi
je 0x1400c44e8
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
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 rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1400c44d2
test eax, eax
jns 0x1400c4543
test rdi, rdi
je 0x1400c4548
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x1400c4610
test rdi, rdi
jne 0x1400c454f
xor eax, eax
jmp 0x1400c4610
mov qword [rsp + 0x78], rbx
mov ebx, r14d
mov qword [rsp + 0x80], rbp
cmp dword [rdi], ebx
jbe 0x1400c45f0
nop word [rax + rax]
mov eax, ebx
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x28], xmm0
movzx edx, word [rcx + rdi + 0x2e]
lea rbp, [rcx + rdi]
add rdx, 0x30
mov qword [rsp + 0x38], r14
add rdx, rcx
mov qword [rsp + 0x40], r14
add rdx, rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400c45a5
lea rcx, [rsp + 0x28]
call fcn.140002e80
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x1400c45c5
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 0x1400c4626
lea rcx, [rsp + 0x28]
call fcn.140002dc0
inc ebx
cmp ebx, dword [rdi]
jb 0x1400c4570
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c5090
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
mov rbx, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rcx, [rsp + 0x28]
call fcn.140002dc0
mov rax, rbx
jmp 0x1400c4603
Function at 0x1400c46e8
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 0x1400c4722
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400c4727
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 0x1400c4770
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400cbe60]
cmp byte [rcx + rax], 0
je 0x1400c4770
dec r8
sub rdx, 1
jne 0x1400c4756
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400c5f68
Capabilities:
Parse pe header

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

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

Function at 0x1400091bc
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000922b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000922b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000922b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000922b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000922b
cmp dword [rcx + 0x84], 0xe
jbe 0x14000922b
cmp dword [rcx + 0xf8], 0
je 0x14000922b
mov ecx, ebx
call fcn.1400092dc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400090b8
nop
cmp dword [rbp + 0x20], 0
je 0x140009279
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140009284
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400091bc

Function at 0x1400093c0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400091bc