joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a318
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
lea rdx, [0x14006c10f]
lea rcx, [rbp + 0x67]
call qword [sym.imp.mfc140.dll_Ordinal_310]
nop
mov r8d, 0x14
lea rdx, str.iWrap.exe__CMD:_d
lea rcx, [rbp + 0x67]
call qword [sym.imp.mfc140.dll_Ordinal_4648]
mov ebx, 0x68
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x19]
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
mov dword [rbp - 0x19], ebx
xor ebx, ebx
mov qword [rbp - 0x11], rbx
mov qword [rbp + 0x2f], rbx
mov word [rbp + 0x29], bx
mov qword [rbp - 9], rbx
mov dword [rbp + 0x23], ebx
lea rcx, [rbp + 0x6f]
call fcn.140019dc8
test eax, eax
je 0x14001a40f
mov rax, qword [rbp + 0x67]
mov edx, dword [rax - 0x10]
lea rcx, [rbp + 0x67]
call qword [sym.imp.mfc140.dll_Ordinal_4937]
mov r8, rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], Ordinal_39
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor edx, edx
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
je 0x14001a40f
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp + 0x67]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
mov rbx, qword [rsp + 0x110]
add rsp, 0xf0
pop rbp
ret
Function at 0x14001a584
Capabilities:
Create directory
Get common file path
Print debug messages
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rbp + 0x170], rax
and qword [rsp + 0x38], 0
mov ebx, edx
mov rdi, rcx
mov dword [rsp + 0x40], 0x400
mov esi, Ordinal_262
mov dword [rsp + 0x44], 1
mov r8d, esi
lea rcx, [rsp + 0x50]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8d, esi
lea rcx, [rbp + 0x60]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
and qword [rsp + 0x48], 0
lea rdx, [rbp + 0x60]
mov eax, 0x2e
mov r8d, esi
xor ecx, ecx
mov word [rsp + 0x30], ax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathStripPathA]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbstok_s]
or r15, 0xffffffffffffffff
lea r8, str..dmp
mov r9, r15
lea rcx, [rbp + 0x60]
mov edx, esi
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcat_s]
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp ebx, 1
jne 0x14001a6f1
lea rax, [rsp + 0x38]
mov r9d, ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREIntelWireless
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001a761
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.InstallDir
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r9, r15
lea r8, str.UnifiedLogging_
mov edx, esi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcat_s]
mov r9, r15
lea r8, [rbp + 0x60]
mov edx, esi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcat_s]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x38], 0
jmp 0x14001a761
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x14001a761
lea rdx, str.IntelWirelessCrashDumps_
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14001a52c
test eax, eax
jne 0x14001a741
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov r9, r15
lea r8, [rbp + 0x60]
mov rdx, rsi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcat_s]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rdi + 0x14]
mov r9, r15
lea r8, [rsp + 0x50]
mov rdx, rsi
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14005d930
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
Function at 0x14001a8b8
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x440
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rdi, rcx
mov r8d, 0x400
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], r8d
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xor ebx, ebx
test eax, eax
je 0x14001a924
lea rdx, str.System
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
sete bl
mov dword [rdi + reloc.MurocApi.dll_Ordinal_280], ebx
mov eax, dword [rdi + reloc.MurocApi.dll_Ordinal_280]
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.14005d930
mov rbx, qword [rsp + 0x458]
add rsp, 0x440
pop rdi
ret
Function at 0x14001ae90
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x250
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rbp + reloc.mfc140.dll_Ordinal_320], rax
mov rsi, rcx
test rdx, rdx
jne 0x14001aed5
xor eax, eax
jmp 0x14001b071
or r9, 0xffffffffffffffff
mov r8, rdx
mov r15d, 0x200
mov edx, r15d
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ebx, eax
and ebx, 0x8000003f
jge 0x14001af13
dec ebx
or ebx, 0xffffffc0
inc ebx
mov rdi, qword [rsi]
movzx edx, bl
mov r8d, 2
mov rcx, rsi
call qword [rdi + 0x10]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1507]
mov cl, byte [rsp + 0x40]
test cl, cl
je 0x14001b016
lea r14, [rsp + 0x40]
mov rax, qword [rsi]
movzx edx, cl
mov r8d, 2
mov rcx, rsi
call qword [rax + 0x10]
mov rdx, rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140.dll_Ordinal_310]
nop
mov r8d, Ordinal_19
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
movzx ecx, bl
lea rdx, [0x14009b010]
xor al, byte [rcx + rdx]
mov rdi, qword [rsi]
movzx edx, al
mov r8d, 2
mov rcx, rsi
call qword [rdi + 0x10]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1674]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov edi, eax
mov eax, 0x80808081
imul edi
add edx, edi
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xff
sub edi, ecx
mov rax, qword [rsi]
movzx edx, dil
mov r8d, 2
mov rcx, rsi
call qword [rax + 0x10]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1674]
inc bl
movzx edi, bl
inc r14
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
mov cl, byte [r14]
xor eax, eax
cmp dil, 0x3f
cmovbe eax, edi
mov bl, al
cmp cl, 0
jne 0x14001af44
mov rdx, qword [rsp + 0x20]
mov rdi, qword [rsi]
mov r8d, dword [rdx - 0x10]
mov rcx, rsi
call qword [rdi + reloc.MurocApi.dll_Ordinal_8]
mov edx, eax
mov r8d, 4
mov rcx, rsi
call qword [rdi + 0x10]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1674]
mov r8, qword [rsp + 0x20]
mov rdx, r15
lea rcx, [rsi + 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rdi, [rsp + 0x40]
xor eax, eax
mov rcx, r15
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
lea rax, [rsi + 0x10]
mov rcx, qword [rbp + reloc.mfc140.dll_Ordinal_320]
xor rcx, rsp
call fcn.14005d930
mov rbx, qword [rsp + 0x290]
add rsp, 0x250
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001b098
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x168]
sub rsp, 0x250
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rbp + reloc.mfc140.dll_Ordinal_320], rax
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
jne 0x14001b0e1
xor eax, eax
jmp 0x14001b285
mov r14d, 0x200
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
or r9, 0xffffffffffffffff
mov r8, rbx
mov edx, r14d
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ebx, eax
and ebx, 0x8000003f
jge 0x14001b12e
dec ebx
or ebx, 0xffffffc0
inc ebx
mov r9, qword [rdi]
movzx edx, bl
mov r8d, 2
mov rcx, rdi
call qword [r9 + Ordinal_19]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1507]
mov dl, byte [rsp + 0x40]
test dl, dl
je 0x14001b235
lea rsi, [rsp + 0x40]
mov r8d, 1
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140.dll_Ordinal_301]
nop
mov dl, byte [rsi + 1]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140.dll_Ordinal_1671]
mov r8d, Ordinal_19
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
movzx ecx, bl
lea rdx, [0x14009b010]
xor al, byte [rcx + rdx]
mov r9, qword [rdi]
movzx edx, al
mov r8d, 2
mov rcx, rdi
call qword [r9 + Ordinal_19]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1674]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x80808081
imul r8d
add edx, r8d
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xff
sub r8d, ecx
mov rax, qword [rdi]
movzx edx, r8b
mov r8d, 2
mov rcx, rdi
call qword [rax + 0x10]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1674]
inc bl
movzx ebx, bl
lea rsi, [rsi + 2]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
mov dl, byte [rsi]
xor eax, eax
cmp bl, 0x3f
cmovbe eax, ebx
mov bl, al
cmp dl, 0
jne 0x14001b160
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rdi]
mov r8d, dword [rdx - 0x10]
mov rcx, rdi
call qword [rbx + reloc.MurocApi.dll_Ordinal_8]
mov edx, eax
mov r8d, 4
mov rcx, rdi
call qword [rbx + 0x10]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1674]
mov r8, qword [rsp + 0x20]
mov rdx, r14
lea rcx, [rdi + 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
lea rax, [rdi + 0x10]
mov rcx, qword [rbp + reloc.mfc140.dll_Ordinal_320]
xor rcx, rsp
call fcn.14005d930
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14001f36c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14001f392
mov r8, rdx
mov rdx, qword [rbx]
call fcn.1400213a8
jmp 0x14001f3f9
cmp byte [0x1400a5f50], 0
jne 0x14001f3d6
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14001f3c6
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a5f48], rax
jmp 0x14001f3cd
mov rax, qword [0x1400a5f48]
mov byte [0x1400a5f50], 1
jmp 0x14001f3dd
mov rax, qword [0x1400a5f48]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14001f3f3
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x14001f3f9
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140020324
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x1b0
mov qword [rax - 0x138], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rdi
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rbp, rcx
call fcn.14002052c
xor ebx, ebx
test eax, eax
je 0x14002036f
lea eax, [rbx + 1]
jmp 0x140020476
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
test rax, rax
je 0x140020476
mov r8d, Ordinal_262
lea rdx, [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
lea r8, [rsp + 0x90]
lea rdx, str.__s_
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140.dll_Ordinal_4648]
lea r8, [rbp + 0x250]
lea rdx, [rbp + 0x50]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], Ordinal_19
mov r9d, 0xf01ff
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov r14, rax
test rax, rax
je 0x140020447
lea rax, [rbp + 0x150]
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x78]
mov edx, 1
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
test eax, eax
jne 0x140020452
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140020469
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
mov eax, ebx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14005d930
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1400213a8
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14002140b
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14002141f
lea rdx, str.RegDeleteKeyTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002141f
mov rcx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call rax
jmp 0x140021424
cmp dword [rcx + 8], 0
je 0x14002141f
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x140021424
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400239e0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
jne 0x140023a0e
lea eax, [rbx + 0xd]
jmp 0x140023a43
mov rsi, rdi
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
inc eax
mov ecx, eax
add ebx, eax
add rsi, rcx
cmp eax, 1
jne 0x140023a11
mov rcx, qword [r14]
lea r9d, [rax + 6]
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140023bc0
Capabilities:
Delete service
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
call fcn.14002052c
xor edi, edi
test eax, eax
jne 0x140023bf6
lea eax, [rdi + 1]
jmp 0x140023c70
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rsi, rax
test rax, rax
jne 0x140023c12
xor eax, eax
jmp 0x140023c70
lea rdx, [rbx + 0x50]
mov r8d, 0x10020
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbp, rax
test rax, rax
jne 0x140023c38
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140023c0e
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebx, ebx
setne dil
mov eax, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14005d930
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140024f98
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, 1
mov rdi, rdx
mov r8d, ebx
call fcn.1400252b0
test eax, eax
jne 0x140024fc3
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14002509c
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x2a0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rsi, rcx
mov r9, rcx
lea r8, str._s.
mov edx, reloc.MurocApi.dll_Ordinal_261
lea rcx, [r11 - 0x128]
call fcn.1400094c4
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
mov qword [rsp + 0x30], rax
cmp rax, 0xffffffffffffffff
je 0x14002524c
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x140025236
lea rdx, [0x140072e44]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
je 0x140025112
lea rdx, [0x140072e48]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
je 0x140025112
mov edx, 0x1000
mov rcx, rsi
test byte [rsp + 0x40], 0x10
je 0x1400251cb
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov rbx, rax
mov edx, Ordinal_262
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
lea rcx, [rax + 2]
add rcx, rbx
mov r14d, ecx
mov ecx, ecx
call sub.mfc140.dll_Ordinal_265
mov rbx, rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, [0x140072e4c]
mov edx, r14d
mov rcx, rbx
call fcn.1400094c4
mov rcx, rbx
call fcn.14002509c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test rbx, rbx
je 0x140025112
jmp 0x140025229
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov rbx, rax
mov edx, Ordinal_262
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
lea rcx, [rax + 2]
add rcx, rbx
mov r14d, ecx
mov ecx, ecx
call sub.mfc140.dll_Ordinal_265
mov rbx, rax
test rax, rax
je 0x140025112
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, [0x140072e4c]
mov edx, r14d
mov rcx, rbx
call fcn.1400094c4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, rbx
call fcn.14005c3ac
jmp 0x140025112
jmp 0x14002523d
test rdi, rdi
je 0x14002524c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14005d930
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14002532c
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x440
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rsp + 0x430], rax
lea rbx, [rcx + 0x18]
mov rdi, rdx
mov rcx, rbx
lea rdx, [0x14006c10f]
call qword [sym.imp.mfc140.dll_Ordinal_1507]
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x8023
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x1400253d8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.mfc140.dll_Ordinal_1507]
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rax - 0x10]
dec edx
call qword [sym.imp.mfc140.dll_Ordinal_4903]
cmp al, 0x5c
je 0x1400253c8
lea rdx, [0x14006f88c]
mov rcx, rbx
call qword [sym.imp.mfc140.dll_Ordinal_1674]
lea rdx, [0x140072d70]
mov rcx, rbx
call qword [sym.imp.mfc140.dll_Ordinal_1674]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.mfc140.dll_Ordinal_300]
mov rax, rdi
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.14005d930
mov rbx, qword [rsp + reloc.mfc140.dll_Ordinal_1120]
add rsp, 0x440
pop rdi
ret
Function at 0x140026548
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x260
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r8d, 1
mov rbx, rdx
mov rdi, rcx
call fcn.1400252b0
test eax, eax
jne 0x140026666
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140026666
mov r14d, Ordinal_262
lea rcx, [rsp + 0x30]
mov r8d, r14d
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea r8d, [r14 - 1]
lea rcx, [rsp + reloc.mfc140.dll_Ordinal_320]
call sub.VCRUNTIME140.dll_memset
or r9, 0xffffffffffffffff
lea rcx, [rsp + reloc.mfc140.dll_Ordinal_320]
mov r8, rbx
mov edx, r14d
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
lea r8, [rsp + 0x20]
lea rdx, [0x14006f88c]
lea rcx, [rsp + reloc.mfc140.dll_Ordinal_320]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbstok_s]
test rax, rax
jne 0x1400265fc
xor eax, eax
jmp 0x14002666b
or r9, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
mov r8, rax
mov rdx, r14
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
jmp 0x14002664a
lea r8, [0x14006f88c]
mov rdx, r14
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov r8, rbx
lea rcx, [rsp + 0x30]
mov rdx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140024f98
test eax, eax
je 0x1400265f8
lea r8, [rsp + 0x20]
xor ecx, ecx
lea rdx, [0x14006f88c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbstok_s]
mov rbx, rax
test rax, rax
jne 0x140026613
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14005d930
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret