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

Disassembly:
jmp 0x140012d60
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011267
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400140b0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400140d0
xor al, al
jmp 0x140014151
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400140e3
xor al, al
jmp 0x140014151
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001410d
xor al, al
jmp 0x140014151
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014121
xor al, al
jmp 0x140014151
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014133
xor al, al
jmp 0x140014151
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001414f
xor al, al
jmp 0x140014151
mov al, 1
add rsp, 0x38
ret
Function at 0x140002e10
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140004970
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140004970
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140002e80
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000a0a4]
mov rbx, rcx
test esi, esi
jle 0x140002fb0
mov rax, qword [0x14000a0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002ecb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002f55
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002eb0
mov rcx, rbx
call fcn.1400038d0
mov rdi, rax
test rax, rax
je 0x140002fd2
mov rax, qword [0x14000a0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003a10
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000a0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002fb7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002f4e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002f60
add dword [0x14000a0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000a0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002f4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002e10
nop dword [rax]
xor esi, esi
jmp 0x140002ed8
mov rax, qword [0x14000a0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002e10
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002e10
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003540
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000a100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000a0e0]
test rbx, rbx
je 0x14000359c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140003593
test rsi, rsi
je 0x140003593
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003578
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400038d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140006b10]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400038f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400038f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400038f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000394d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003944
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400038f0
add rax, 0x28
cmp rax, r9
jne 0x140003930
xor eax, eax
ret

Function at 0x140003950
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006b10]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000396f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003978
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000396f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140003a10
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006b10]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140003a2f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003a38
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140004907
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.1400123e0
mov r15, qword [0x14002048c]
cmp r15, 1
jne 0x1400049d6
push qword [0x14002057c]
pop rcx
call fcn.14000d5b4
mov r15, rax
and r15, r15
jle 0x14000496c
mov rcx, qword [0x14002057c]
call fcn.14000d5bc
mov rcx, qword [0x14002057c]
call fcn.14000d5d0
or rax, rax
je 0x14000496c
mov rbp, qword [0x140020584]
push qword [rbp + 0x10]
pop rcx
call fcn.14000da6c
jmp 0x140004949
push qword [0x14002056c]
pop rcx
call fcn.14000d5b4
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x1400049d6
push 5
push 0
push 1
push qword [0x14002056c]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009070
mov rcx, qword [0x14002056c]
call fcn.14000d5bc
mov rcx, qword [0x14002056c]
call fcn.14000d5d0
or rax, rax
je 0x1400049d6
mov rbp, qword [0x140020574]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x1400049b3
mov rax, 1
jmp 0x1400049e2
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006a58
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
invalid
in al, 0x39
lea rbp, [rbx]
sal byte [rdi], 0xbe
mov byte [rsi], dl
pop rbx
and r15d, edi
int 0x51
push rsp
stosb byte [rdi], al
add ecx, ebp
invalid
sub eax, eax
invalid
adc esp, dword [rdx + 0x32e37f26]
invalid
scasb al, byte [rdi]
pop rsp
sub dword [rsi], 0xffffffad
idiv edi
push rsi
or al, 0xe2
retf 0x83d7
stc
push rdx
jrcxz 0x14003f638
adc bl, byte [rsi]
invalid
in eax, 0xe0
std
fsub dword cs:[rbx]
push rbp
add bl, byte [rdx - 0x5e]
pop rdx
movabs byte [0x1f9a3d811f788bf], al
and dword [rdi - 0x4c2aeb62], esp
pop rdx
movabs byte [0x1f9a3d811f788bf], al
and dword [rdi - 0x4c2aeb62], esp
in al, dx
invalid
jmp 0x190162609
stosb byte [rdi], al
fld dword [rbp + 0xe]
invalid
Function at 0x7ffdbb6011f4
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rdi
mov eax, 0x1038
call fcn.7ffdbb6011b0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1020], rax
xor ebx, ebx
cmp dword [0x7ffdbb642008], ebx
jne 0x7ffdbb61114b
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call int.7ffdbb601000
add rsp, 0x1038
pop rdi
pop rbx
ret
mov r8, rcx
mov edi, 0x7ff
lea r9, [rsp + 0x1058]
lea rcx, [rsp + 0x20]
mov rdx, rdi
call qword [sym.imp.msvcrt.dll__vsnwprintf]
cmp eax, ebx
jl 0x7ffdbb611176
cdqe
cmp rax, rdi
ja 0x7ffdbb611176
jne 0x7ffdbb61117e
mov word [rsp + 0x101e], bx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
jmp 0x7ffdbb601236

Function at 0x7ffdbb6058a4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x30
mov rdi, rcx
mov dword [rcx + 0x58], edx
lea rcx, str.CStateThread::Initialize__
call fcn.7ffdbb6011f4
mov edx, dword [rdi + 0x24]
cmp edx, 4
jne 0x7ffdbb61307f
xor eax, eax
mov ebp, 0x80070000
xchg dword [rdi + 0x24], eax
mov rcx, qword [rdi + 0x10]
and dword [rdi + 0x20], 0
test rcx, rcx
jne 0x7ffdbb6130b9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x7ffdbb6130a4
mov rcx, qword [rdi + 0x18]
test rcx, rcx
jne 0x7ffdbb6130c7
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x18], rax
test rax, rax
je 0x7ffdbb6130c5
xor ebx, ebx
test ebx, ebx
js 0x7ffdbb613090
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x7ffdbb602080]
mov r9, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 8], rax
test rax, rax
je 0x7ffdbb6130d3
xor ebx, ebx
test ebx, ebx
js 0x7ffdbb613090
mov rcx, qword [rdi + 0x18]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movzx ebx, ax
or ebx, ebp
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x7ffdbb613090
mov ebx, dword [rdi + 0x20]
jmp 0x7ffdbb605993
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea rcx, str.CStateThread::Initialize___called_in_wrong_state___d_
call fcn.7ffdbb6011f4
mov ebx, 0x8004d011
lea rcx, str.CStateThread::Initialize___failed_with_0x_08X
mov edx, ebx
call fcn.7ffdbb6011f4
nop
jmp 0x7ffdbb605993
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, ebp
test eax, eax
cmovle ebx, eax
jmp 0x7ffdbb605931
call qword [sym.imp.KERNEL32.dll_ResetEvent]
nop
jmp 0x7ffdbb605907
jmp 0x7ffdbb6130a4
call qword [sym.imp.KERNEL32.dll_ResetEvent]
nop
jmp 0x7ffdbb60592f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, ebp
test eax, eax
cmovle ebx, eax
jmp 0x7ffdbb605967
Function at 0x7ffdbb6063e4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
lea rax, [0x7ffdbb63a128]
xor ebx, ebx
mov rbp, r8
mov qword [rsp + 0x38], rax
mov edi, edx
mov rsi, rcx
mov rax, qword [rsp + 0x38]
cmp edx, 1
jne 0x7ffdbb60644a
and qword [r11 - 0x28], rbx
lea rax, [r11 - 0x28]
mov qword [0x7ffdbb642270], rcx
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionMedia_CenterServiceITV
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x38], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x7ffdbb6110e8
mov r8, rbp
mov edx, edi
mov rcx, rsi
call fcn.7ffdbb606478
mov edi, eax
test rbx, rbx
jne 0x7ffdbb61113c
mov eax, edi
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [0x7ffdbb642008]
lea rdx, str.Trace
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test rbx, rbx
je 0x7ffdbb60644a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
jmp 0x7ffdbb60644a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x7ffdbb606462

Function at 0x7ffdbb607d14
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x40
mov rsi, qword [rsp + 0x70]
lea rax, str.iTV_Data_In
xor edx, edx
mov qword [r11 - 0x20], rax
mov rbx, r8
mov rdi, rcx
mov qword [r11 - 0x28], rsi
call fcn.7ffdbb607770
lea rax, [0x7ffdbb6388e0]
mov qword [rdi + 0x18], rax
lea rax, [0x7ffdbb63a888]
lea r11, [0x7ffdbb6383e0]
mov qword [rdi + 0x20], rax
lea rax, [0x7ffdbb6385f0]
lea rcx, [rdi + 0x138]
mov qword [rdi], r11
mov qword [rdi + 0x130], rbx
mov qword [rdi + 0xd8], rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
and dword [rdi + 0x160], 0
cmp qword [rdi + 0x40], 0
je 0x7ffdbb6111c6
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionMedia_CenterServiceITV
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x7ffdbb6111d1
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
mov rax, rdi
add rsp, 0x40
pop rdi
ret
mov dword [rsi], 0x8007000e
jmp 0x7ffdbb607d99
and dword [rsp + 0x50], eax
mov rbx, qword [rsp + 0x38]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x30]
lea rdx, str.DataTestMode
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x7ffdbb611227
cmp dword [rsp + 0x30], 4
jne 0x7ffdbb611227
test eax, eax
jne 0x7ffdbb611227
mov eax, dword [rsp + 0x50]
mov dword [rdi + 0x160], eax
test rbx, rbx
je 0x7ffdbb607dce
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x7ffdbb607dce
Function at 0x7ffdbb608944
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
jmp 0x7ffdbb609cc4
jne 0x7ffdbb60a25d
mov rdx, qword [r10 + 0x30]
btr ecx, 4
movzx r11d, bx
movsxd rax, dword [rdx + 0x3c]
shl r10w, cl
shrd r10d, edi, 0x44
adc sil, 0x4a
mov ecx, dword [rax + rdx + 0x88]
neg dil
jmp 0x7ffdbb60a37a
xor eax, r9d
imul r9d, eax, 0x5bd1e995
movsx ax, r11b
mov eax, r9d
cmp r8b, r12b
stc
shr eax, 0xf
cmp r14d, esp
clc
xor r9d, eax
mov al, byte [rcx]
test ch, 0x3a
test al, al
jmp 0x7ffdbb609aaa
call rsi
lea rax, [rdi + 0x6d44]
not ecx
mov rcx, 0x11dc05da
lea rcx, [rbp + 0x48]
jmp 0x7ffdbb609eab
jmp 0x7ffdbb608aff
jne 0x7ffdbb608aec
xor ebx, ebx
jmp 0x7ffdbb60a2d2
lock dec dword [rbp + 0x40]
test r10b, 0xc5
sub rax, r12
jmp 0x7ffdbb608adf
add rdi, r12
cmp dword [rdi], eax
jmp 0x7ffdbb609e30
ret
jne 0x7ffdbb609ca1
cmp r9d, 0x64098594
je 0x7ffdbb60a36a
add r11w, r12w
add r10, 4
sbb ah, 0xca
movzx rax, r10w
movzx eax, r11w
stc
test ah, 0x5c
cmc
add r8, 2
stc
cmp eax, esi
jmp 0x7ffdbb60a348
and eax, 3
stc
mov al, byte [rbp + rax + 0x48]
clc
cmp ax, r14w
test r12, r10
xor byte [rdx], al
add rdx, r12
test r11b, 0x4f
test edx, esi
sub r14, r12
jne 0x7ffdbb609e99
lea rax, [rbp + 0x50]
bt r9d, 0x57
sal rdx, 0xb2
test r14w, dx
mov qword [rbp - 8], r15
test r10d, r13d
adc r9w, 0x153d
lea r9d, [r14 + 0x20]
not r8b
mov qword [rsp + 0x20], rax
bsr r8w, r13w
bswap dx
lea r8, [rbp + 0x58]
movzx dx, sil
not dh
or rcx, 0xffffffffffffffff
cqo
lea rdx, [rbp - 8]
jmp 0x7ffdbb608abf
je 0x7ffdbb609abd
movsx eax, al
cmp si, 0x6d6
cmc
add rcx, r12
jmp 0x7ffdbb608a93
xor r8d, eax
movsx rax, r10w
cdqe
movzx eax, word [r9]
jmp 0x7ffdbb609fea
push rbp
push rbx
push rsi
btc ebp, 0x61
movsx eax, sp
push rdi
mov ax, 0x3689
rcl ah, 0x88
push r12
movzx bp, r12b
push r14
lahf
push r15
cmp r11b, 0xf0
or ax, ax
mov rbp, rsp
cmp spl, 0x3c
sub rsp, 0x40
cmovge r12, rsp
nop
mov eax, 0x7fffffff
not r12d
mov r12b, 0x30
movsxd r12, ebp
mov r12d, 1
jmp 0x7ffdbb60a106
jne 0x7ffdbb60a290
cmp r8d, 0x66b65ce9
jmp 0x7ffdbb609e1e
je 0x7ffdbb608a63
mov rcx, qword [rcx]
cmc
cmp rcx, rdx
jmp 0x7ffdbb608a5d
jne 0x7ffdbb608afc
lea rax, [rbp + 0x50]
shrd r15w, si, 0xc9
shr dh, 2
mov r14d, 0x2660f
bsf edx, r14d
xor r8b, 0x40
lea r15, [rdi + 4]
mov qword [rbp + 0x58], r14
mov r9d, 4
clc
bsf r8d, r15d
movzx r8, r13w
mov qword [rbp - 0x10], r15
shl dh, 0xa5
movzx r8w, r14b
lea r8, [rbp + 0x58]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x10]
cmc
or rcx, 0xffffffffffffffff
call rsi
mov rdx, r15
bt rax, r15
sub ah, 2
mov dword [rbp + 0x48], 0xf2726598
mov rax, rbx
cmp dl, r13b
lea rbx, [rbx + r12]
test rbx, r13
jmp 0x7ffdbb609b4f
call rax
xor eax, eax
stc
add rsp, 0x40
xchg r14b, dil
movzx r14, dx
movzx edi, bp
pop r15
pop r14
mov rbx, r14
bswap bx
pop r12
movzx ebp, sp
cmovae edi, ecx
pop rdi
pop rsi
pop rbx
movsxd rbp, r8d
movzx bp, spl
pop rbp
invalid
invalid
in al, dx
invalid
Function at 0x7ffdbb617fb4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
rdtsc
shl rdx, 0x20
or rax, rdx
cdqe
mov qword [0x7ffdbb645490], rax
call qword [sym.imp.KERNEL32.dll_GetVersion]
xor ebx, ebx
and eax, 0x80000000
lea rbp, [0x7ffdbb600000]
mov dword [0x7ffdbb642c70], eax
cmp dword [0x7ffdbb645540], ebx
jne 0x7ffdbb618012
lea rcx, [0x7ffdbb645498]
call fcn.7ffdbb617d70
cmp eax, ebx
jl 0x7ffdbb618204
mov dword [0x7ffdbb645540], 1
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movsxd rdx, dword [0x7ffdbb60003c]
mov rdi, qword [rsp + 0x28]
mov edx, dword [rdx + rbp + 0x50]
mov r8d, 0x80000000
lea rcx, [0x7ffdbb600000]
lea rax, [rdi + r8]
add rdx, rcx
cmp rdx, rax
jb 0x7ffdbb61804d
lea rdi, [rdx - 0x80000000]
lea rdx, [rdi + 0xffff]
mov rdi, qword [rsp + 0x30]
and rdx, 0xffffffffffff0000
lea rax, [rdi - 0x80000000]
mov qword [0x7ffdbb645488], rdx
cmp rcx, rax
jbe 0x7ffdbb61807c
mov qword [0x7ffdbb645480], rdi
jmp 0x7ffdbb618086
add rcx, r8
mov qword [0x7ffdbb645480], rcx
mov word [0x7ffdbb645480], bx
mov rax, qword [0x7ffdbb645480]
sub rax, rdx
shr rax, 0x10
mov qword [0x7ffdbb6454c0], rax
mov eax, ebx
cmp eax, ebx
jl 0x7ffdbb618204
mov rax, qword [0x7ffdbb645a10]
mov edi, 0x100
cmp rax, rdi
jae 0x7ffdbb6180f5
lea rax, [rax + rax*4]
lea rcx, [rbp + rax*8 + 0x42c80]
call fcn.7ffdbb617d70
cmp eax, ebx
mov edx, eax
jl 0x7ffdbb6180ee
mov rax, qword [0x7ffdbb645a10]
inc rax
mov qword [0x7ffdbb645a10], rax
cmp rax, rdi
jb 0x7ffdbb6180bd
cmp edx, ebx
jge 0x7ffdbb6180f5
mov eax, edx
jmp 0x7ffdbb618204
mov eax, dword [0x7ffdbb63d854]
cmp eax, ebx
je 0x7ffdbb61818f
mov edx, dword [0x7ffdbb63d850]
mov eax, dword [0x7ffdbb63d854]
lea rsi, [0x7ffdbb645a08]
imul edx, eax
lea r9, [rsp + 0x78]
mov r8d, 0x40
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, ebx
jne 0x7ffdbb618151
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x54f
cmp eax, ebx
cmove eax, ecx
movzx ecx, ax
or ecx, 0x80070000
cmp eax, ebx
cmovle ecx, eax
jmp 0x7ffdbb618191
mov eax, dword [0x7ffdbb63d854]
mov r8, rbx
cmp eax, ebx
jbe 0x7ffdbb61818f
mov edi, dword [0x7ffdbb63d850]
mov ecx, dword [0x7ffdbb63d850]
xor eax, eax
mov dword [rbp + r8*4 + 0x45570], 0xc32d
imul rdi, r8
add rdi, rsi
inc r8
rep stosb byte [rdi], al
mov eax, dword [0x7ffdbb63d854]
cmp r8, rax
jb 0x7ffdbb61815e
mov ecx, ebx
cmp ecx, ebx
jge 0x7ffdbb618199
mov eax, ecx
jmp 0x7ffdbb618204
mov ecx, dword [0x7ffdbb645510]
cmp ecx, ebx
je 0x7ffdbb6181eb
mov edx, dword [0x7ffdbb645508]
lea rdi, [0x7ffdbb645538]
lea rax, [rdx + rbp + 0x45538]
mov qword [0x7ffdbb645518], rdi
mov qword [0x7ffdbb645520], rax
mov eax, dword [0x7ffdbb64550c]
add rdx, rax
add rcx, rdx
lea rax, [rdx + rbp + 0x45538]
add rcx, rdi
mov qword [0x7ffdbb645528], rax
mov qword [0x7ffdbb645530], rcx
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], ebx
call fcn.7ffdbb617dec
cmp dword [rsp + 0x70], ebx
cmovl ebx, dword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x7ffdbb633e74
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x280
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
mov rcx, rdx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x7ffdbb633eb0
mov eax, 0x80004005
jmp 0x7ffdbb633f54
lea rax, [rsp + 0x48]
mov r9d, 0x2000000
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r11d, eax
test eax, eax
jne 0x7ffdbb633f44
jmp 0x7ffdbb633eeb
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.7ffdbb633e74
test eax, eax
jne 0x7ffdbb633f2a
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x60]
xor edx, edx
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x7ffdbb633ed8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov r11d, eax
movzx eax, r11w
or eax, 0x80070000
test r11d, r11d
cmovle eax, r11d
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call int.7ffdbb601000
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop rdi
ret