joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140025f14
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rcx, qword [0x1400a47f0]
mov r13, qword [rsp + 0x148]
xor r15d, r15d
mov esi, r9d
movzx r12d, r8w
mov ebp, edx
cmp rcx, r15
je 0x140026055
or r8, 0xffffffffffffffff
cmp rcx, r8
je 0x140026055
cmp esi, r15d
je 0x140026024
movzx edi, word [rsp + 0x140]
lea eax, [r15 + 8]
inc di
movzx ecx, di
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.1400025a0
mov r14, rax
cmp rax, r15
je 0x140026055
movzx ebx, word [rsp + 0x140]
mov rdx, r13
mov rcx, rax
shl rbx, 3
mov r8, rbx
call sub.msvcrt.dll_memcpy
lea r8d, [r15 + 0x7e]
lea rcx, [rsp + 0x52]
xor edx, edx
mov word [rsp + 0x50], r15w
call sub.msvcrt.dll_memset
lea r8d, [r15 + 0x10]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.msvcrt.dll__ui64tow]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r14
mov qword [rbx + r14], rax
mov rcx, qword [0x1400a47f0]
mov dword [rsp + 0x30], r15d
xor r8d, r8d
mov r9d, ebp
movzx edx, r12w
mov word [rsp + 0x28], di
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, r14
call sub.msvcrt.dll_free
jmp 0x140026055
movzx eax, word [rsp + 0x140]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r13
mov r9d, edx
mov dword [rsp + 0x30], r15d
mov word [rsp + 0x28], ax
xor r8d, r8d
movzx edx, r12w
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140001170
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140029770
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x280
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x270], rax
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
and qword [rsp + 0x60], 0
mov rdi, rcx
mov rcx, qword [rcx]
lea rax, [rsp + 0x60]
mov r9d, 0x2001f
xor r8d, r8d
mov rsi, rdx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x140029874
test rcx, rcx
je 0x1400297ea
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
test ebx, ebx
mov qword [rsp + 0x48], rcx
jmp 0x140029810
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140029770
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x140029874
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor edx, edx
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400297f8
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140029862
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x48], 0
mov rdx, rsi
mov rcx, rdi
call fcn.1400298d4
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test rcx, rcx
je 0x14002987f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140001170
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14002a614
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r12, r9
mov rdi, r8
mov rax, rdx
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x70], rbx
xor edx, edx
lea r8d, [rbx + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
cmp rax, rbx
jne 0x14002a688
call fcn.140028c78
mov ebx, eax
jmp 0x14002a7ca
mov r8, r12
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
cmp rax, rbx
jne 0x14002a6ab
call fcn.140028c78
mov ebx, eax
jmp 0x14002a7c0
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r12, rax
mov qword [rsp + 0x40], rax
cmp rax, rbx
jne 0x14002a6d0
call fcn.140028c78
mov ebx, eax
jmp 0x14002a7c0
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, edi
jae 0x14002a709
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14002a6ff
lea rcx, [rsp + 0x70]
call fcn.1400291d4
nop
mov eax, 0x8007000e
jmp 0x14002a7e3
mov ecx, eax
cmp rcx, rbx
je 0x14002a748
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x14002a73d
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14002a748
lea rcx, [rsp + 0x70]
call fcn.140029170
mov r11, qword [rsp + 0x70]
jmp 0x14002a752
mov ecx, 0x80070057
call fcn.140029690
int3
lea r11, [rsp + 0x78]
mov qword [rsp + 0x70], r11
jmp 0x14002a769
cmp r11, rbx
jne 0x14002a775
mov ebx, 0x8007000e
jmp 0x14002a7c0
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r11
mov r9d, edi
mov r8, r12
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x14002a79c
call fcn.140028c78
mov ebx, eax
jmp 0x14002a7c0
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], bx
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14002a454
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14002a7e1
lea rcx, [rsp + 0x70]
call fcn.1400291d4
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140001170
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop r12
pop rdi
pop rsi
ret
Function at 0x140039dc0
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov r8, rdx
mov rbx, rcx
and qword [rsp + 0x50], 0
test rdx, rdx
jne 0x140039e10
mov r8d, dword [rcx + 0xc8]
lea rdx, str.CRecorder__d_::GetCountryCode:_Supplied_Tune_Request_is_NULL
mov ecx, 1
call fcn.140001110
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140039e09
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
jmp 0x140039f3d
mov rax, qword [rdx]
lea rdx, [rsp + 0x50]
mov rcx, r8
call qword [rax + 0x38]
test eax, eax
jns 0x140039e55
mov r9d, eax
mov r8d, dword [rbx + 0xc8]
lea rdx, str.CRecorder__d_::GetCountryCode:_Could_not_get_Tune_Request_TuningSpace__0x_x
mov ecx, 1
call fcn.140001110
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140039e4e
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
jmp 0x140039f3d
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x140039e80
mov r9, qword [rax]
lea r8, [rsp + 0x58]
lea rdx, str.__n
mov rcx, rax
call qword [r9]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x140039ec3
mov r8d, dword [rbx + 0xc8]
lea rdx, str.CRecorder__d_::GetCountryCode:_Failed_to_get_IAnalogTVTuningSpace_interface_from_pTuningSpace.
mov ecx, 1
call fcn.140001110
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140039eaf
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140039ebf
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
jmp 0x140039f3d
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax + 0x100]
test eax, eax
jns 0x140039f16
mov r9d, eax
mov r8d, dword [rbx + 0xc8]
lea rdx, str.CRecorder__d_::GetCountryCode:_Failed_to_get_country_code_from_IAnalogTVTuningSpace__0x_x.
mov ecx, 1
call fcn.140001110
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140039f02
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140039f12
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
jmp 0x140039f3d
mov ebx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140039f2b
mov rdx, qword [rcx]
call qword [rdx + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140039f3b
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14003cc30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov r8d, dword [rcx + 0xc8]
mov rbx, rcx
mov esi, 8
lea rdx, str.CRecorder__d_::RemoveGLID__
mov ecx, esi
call fcn.140001110
xor edi, edi
cmp byte [rbx + 0x2c8], dil
jne 0x14003cc83
mov r8d, dword [rbx + 0xc8]
lea rdx, str.CRecorder__d_::RemoveGLID__:_Setting_flag_to__re_load_GLID_scan_configuration
mov ecx, esi
call fcn.140001110
mov byte [rbx + 0x2c8], 1
cmp dword [rbx + 0x118], edi
jne 0x14003cca8
cmp dword [rbx + 0x11c], edi
jne 0x14003cca8
mov r8d, dword [rbx + 0xc8]
lea rdx, str.CRecorder__d_::RemoveGLID__:_GLID_already_removed__ignoring_
mov ecx, esi
call fcn.140001110
and qword [rsp + 0x28], rdi
and dword [rsp + 0x20], edi
lea r8, [0x14003cd68]
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
jne 0x14003ccfe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, dword [rbx + 0xc8]
lea rdx, str.CRecorder__d_::RemoveGLID___Failed_to_create_thread__0x_08X_
movzx edi, ax
lea ecx, [rsi + 1]
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov r9d, edi
call fcn.140001110
test edi, edi
js 0x14003cd50
or edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14003cd47
and dword [rsp + 0x40], eax
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x14003cd47
mov edi, dword [rsp + 0x40]
test edi, edi
jns 0x14003cd47
mov r8d, dword [rbx + 0xc8]
lea rdx, str.CRecorder__d_::RemoveGLID___failed__0x_08X_
mov r9d, edi
mov ecx, 1
call fcn.140001110
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x140040120
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x460
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rdi, rdx
lea rcx, [r11 - 0x216]
xor esi, esi
xor edx, edx
mov r8d, 0x1fe
mov word [rsp + 0x250], si
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x250]
call fcn.140040050
cmp eax, esi
mov ebx, eax
jge 0x14004019a
lea rdx, str.CRecorderMgr::ConstructAlternateRecordPath:_LoadEpgResString__u_____0x_x
lea ecx, [rsi + 1]
mov r9d, eax
mov r8d, 0x116
call fcn.140001110
jmp 0x140040345
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x40], si
call sub.msvcrt.dll_memset
lea r9, [rsp + 0x30]
lea rcx, [0x140082c38]
xor r8d, r8d
mov edx, 0x400
mov qword [rsp + 0x30], rsi
call sub.SHELL32.dll_SHGetKnownFolderPath
mov ebp, 0x104
cmp eax, esi
mov ebx, eax
jl 0x140040296
mov r9, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov rdx, rbp
mov r8, r9
lea rcx, [rsp + 0x40]
mov ebx, esi
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
cmp rax, rsi
je 0x14004021b
movzx eax, word [r8 + rcx]
cmp ax, si
je 0x14004021b
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400401f8
cmp rdx, rsi
jne 0x140040229
sub rcx, 2
mov ebx, 0x8007007a
cmp ebx, esi
mov word [rcx], si
jl 0x140040262
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x40]
call fcn.14003ff60
cmp eax, esi
mov ebx, eax
jge 0x140040284
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x250]
lea rdx, str.CRecorderMgr::ConstructAlternateRecordPath:_CombineAndCreatePath__s___u___s__TRUE_____0x_x
mov qword [rsp + 0x20], rax
jmp 0x140040272
mov dword [rsp + 0x28], ebx
lea rdx, str.CRecorderMgr::ConstructAlternateRecordPath:_StringCchCopy__s___u___s_____0x_x
mov qword [rsp + 0x20], r9
lea r8, [rsp + 0x40]
mov r9d, ebp
mov ecx, 2
call fcn.140001110
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rsp + 0x30], rsi
jmp 0x1400402aa
lea rdx, str.CRecorderMgr::ConstructAlternateRecordPath:_SHGetKnownFolderPath_failed_to_retrieve_Public_folder____0x_x
mov r8d, eax
mov ecx, 2
call fcn.140001110
cmp ebx, esi
jge 0x140040333
lea rdx, [rsp + 0x40]
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, esi
je 0x140040307
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x40]
call fcn.14003ff60
cmp eax, esi
mov ebx, eax
jge 0x140040333
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x250]
lea r8, [rsp + 0x40]
lea rdx, str.CRecorderMgr::ConstructAlternateRecordPath:_CombineAndCreatePath__s___u___s__TRUE_____0x_x
mov r9d, ebp
mov ecx, 1
mov qword [rsp + 0x20], rax
call fcn.140001110
jmp 0x14004032f
lea rdx, str.CRecorderMgr::ConstructAlternateRecordPath:_GetTempPath______0x_x
mov r8d, ebx
mov ecx, 1
call fcn.140001110
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, esi
cmovle ebx, eax
cmp ebx, esi
jl 0x140040345
lea r8, [rsp + 0x40]
mov rdx, rbp
mov rcx, rdi
call fcn.1400053c8
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140001170
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400449bc
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, rdx
test rdx, rdx
jne 0x1400449e2
mov eax, 0x80004003
jmp 0x140044b1d
cmp dword [rdx + 0x250], 0
jbe 0x140044b1b
mov rdi, qword [rdx + 0x78]
mov ebp, 1
test rdi, rdi
je 0x140044a53
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rbx + 0x30]
lea rdx, str.DevPath
lea eax, [rax + rax + 2]
mov r9d, ebp
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test eax, eax
je 0x140044a53
lea rdx, str.CRecorderMgr::UpdateUpgradedRegKeys:_Failed_to_call_hKeyConfig.SetValue__0x_x.
mov r8d, eax
mov ecx, ebp
call fcn.140001110
movzx eax, si
or eax, 0x80070000
test esi, esi
cmovle eax, esi
jmp 0x140044b1d
mov rsi, qword [rbx + 0x88]
mov edi, 0x80070000
test rsi, rsi
je 0x140044ab7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rbx + 0x30]
lea rdx, str.RootDevice
lea eax, [rax + rax + 2]
mov r9d, ebp
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx esi, ax
or esi, edi
test eax, eax
cmovle esi, eax
test esi, esi
je 0x140044ab7
lea rdx, str.CRecorderMgr::UpdateUpgradedRegKeys:_Failed_to_call_hKeyConfig.SetValue__0x_x.
mov r8d, esi
mov ecx, ebp
call fcn.140001110
movzx eax, si
or eax, edi
jmp 0x140044a49
mov rsi, qword [rbx + 0x90]
test rsi, rsi
je 0x140044b1b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rbx + 0x30]
lea rdx, str.TunerInstanceId
lea eax, [rax + rax + 2]
mov r9d, ebp
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x140044b1b
lea rdx, str.CRecorderMgr::UpdateUpgradedRegKeys:_Failed_to_call_hKeyConfig.SetValue_TunerinstanceId__0x_x.
mov r8d, ebx
mov ecx, ebp
call fcn.140001110
movzx eax, bx
or eax, edi
test ebx, ebx
cmovle eax, ebx
jmp 0x140044b1d
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14004bcb4
Capabilities:
Get token membership

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
lea rax, [r11 - 0x20]
lea rcx, [r11 - 0x18]
mov qword [r11 - 0x38], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea r8d, [rbx + 0x20]
mov r9d, 0x220
mov dl, 2
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x60], ebx
mov byte [rsp + 0x70], bl
mov byte [rsp + 0x71], bl
mov dword [rsp + 0x20], ebx
mov byte [rsp + 0x72], bl
mov byte [rsp + 0x73], bl
mov byte [rsp + 0x74], bl
mov byte [rsp + 0x75], 5
mov qword [r11 - 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x60], eax
cmp eax, ebx
je 0x14004bd4d
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb eax, eax
and eax, dword [rsp + 0x60]
mov dword [rsp + 0x60], eax
mov rcx, qword [rsp + 0x68]
cmp rcx, rbx
je 0x14004bd61
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140001170
add rsp, 0x80
pop rbx
ret

Function at 0x14004da30
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x530
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14004da9b
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x14004dabb
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x530
pop rbx
ret
Function at 0x1400012f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14009d010]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]

Function at 0x1400024e0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x14009d010]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov rax, qword gs:[0x30]
mov ebp, ecx
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
mov r14, qword [rax + 0x10]
nop
mov rbx, qword [r14 + 0x30]
movsxd rax, dword [rbx + 0x3c]
mov rdx, qword [rax + rbx + 0x88]
mov r15, rdx
mov esi, edx
shr r15, 0x20
add rsi, rbx
cmp rsi, rbx
je 0x1400025bd
mov edi, dword [rsi + 0x18]
xor r11d, r11d
test edi, edi
je 0x1400025bd
mov r10d, dword [rsi + 0x20]
add r10, rbx
nop dword [rax]
nop word [rax + rax]
mov eax, dword [r10]
mov r9d, 0x811c9dc5
add rax, rbx
movzx r8d, byte [rax]
inc rax
test r8b, r8b
je 0x1400025ac
nop dword [rax + rax]
movsx ecx, r8b
lea rax, [rax + 1]
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
movzx r8d, byte [rax - 1]
cmova edx, ecx
xor edx, r9d
imul r9d, edx, 0x1000193
test r8b, r8b
jne 0x140002580
cmp r9d, ebp
je 0x1400025c5
inc r11d
add r10, 4
cmp r11d, edi
jb 0x140002560
mov r14, qword [r14]
jmp 0x140002520
mov eax, dword [rsi + 0x24]
mov ecx, dword [rsi + 0x1c]
add rax, rbx
add rcx, rbx
movzx edx, word [rax + r11*2]
mov r8d, dword [rcx + rdx*4]
add r8, rbx
cmp r8, rsi
jbe 0x1400025f9
lea rax, [r15 + rsi]
cmp r8, rax
jae 0x1400025f9
mov edx, 0x811c9dc5
mov ecx, edx
call fcn.140002630
jmp 0x1400025fc
mov rax, r8
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.140052a40
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140009130
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14009d010]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rcx
movabs rax, 0xbcdacc0c0d66a6eb
mov qword [rbp - 0x50], rax
movabs rax, 0x4707b145e59e4e8c
mov qword [rbp - 0x48], rax
movabs rax, 0x13da996e2d65b35
mov qword [rbp - 0x40], rax
movabs rax, 0xd2b6590f1cf2147e
mov qword [rbp - 0x38], rax
movabs rax, 0x1b84add8f07c19bf
mov qword [rbp - 0x30], rax
movabs rax, 0xe38b7b1182bf6a20
mov qword [rbp - 0x28], rax
movabs rax, 0x436981e2f3c7aaa9
mov qword [rbp - 0x20], rax
movabs rax, 0x7330c02bc3ab6d82
mov qword [rbp - 0x18], rax
movabs rax, 0x366d339408cbfb73
mov qword [rbp - 0x10], rax
movabs rcx, 0x6f6b9eedbddd9bf4
mov qword [rbp - 8], rcx
movabs rax, 0xbcaecc7f0d1fa6b8
mov qword [rsp + 0x20], rax
movabs rax, 0x4744b119e5f34ee9
mov qword [rsp + 0x28], rax
movabs rax, 0x158a9e4e2a45b40
mov qword [rsp + 0x30], rax
movabs rax, 0xd2d9594c1c861410
mov qword [rsp + 0x38], rax
movabs rax, 0x1bebadaaf00819d1
mov qword [rsp + 0x40], rax
movabs rax, 0xe3ff7b7482ec6a4c
mov qword [rsp + 0x48], rax
movabs rax, 0x431b8187f394aaf5
mov qword [rsp + 0x50], rax
movabs rax, 0x7355c048c3c26df4
mov qword [rsp + 0x58], rax
movabs rax, 0x366d33940897fb00
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rcx
movdqa xmm0, xmmword [rsp + 0x20]
pxor xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [rsp + 0x30]
pxor xmm1, xmmword [rbp - 0x40]
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmm0, xmmword [rsp + 0x40]
pxor xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [rsp + 0x50]
pxor xmm1, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [rsp + 0x60]
pxor xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rsp + 0x60], xmm0
xor esi, esi
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], si
lea rax, [rsp + 0x20]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x1400092f1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140004a70
nop
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140009310
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140004ba0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140009389
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009384
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009465
call fcn.140052aa4
cmp qword [rbp - 0x60], 0
je 0x1400093f9
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, 0xfffffffd
je 0x1400093f9
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov rcx, 0xffffffff80000002
call fcn.14005ee60
int3
Function at 0x140026de0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov r11d, dword [rcx + 0x24]
mov rbx, rcx
mov r8d, dword [rcx + 0x2c]
mov r15d, r11d
mov r10d, dword [rcx + 0x54]
and r15d, 0x7fff
mov esi, dword [rcx + 0x50]
mov r13d, dword [rcx + 0x28]
mov r12, qword [rcx + 0x30]
mov r14, qword [rcx + 0x38]
mov dword [rsp + 0x20], r15d
mov dword [rsp + 0x90], r11d
mov dword [rsp + 0x80], r8d
mov dword [rsp + 0x88], r10d
mov dword [rsp + 0x98], esi
nop dword [rax]
Function at 0x14002b440
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x4f]
sub rsp, 0x98
mov rbx, rcx
lea rcx, [0x140092300]
jmp 0x14073cbf6
Function at 0x140052e28
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140063ccc
Capabilities:
Parse pe header

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