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

Disassembly:
push 0xffffffffffffffff
push 0x673f7d5c
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x67460ecc]
xor eax, esp
mov dword [esp + 0x74], eax
push ebp
push esi
push edi
mov eax, dword [0x67460ecc]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [esp + 0x98]
mov edi, dword [esp + 0x9c]
xor esi, esi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [esp + 0x90], esi
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_3927]
test al, al
jne 0x673798f0
lea eax, [esp + 0x18]
push eax
push 0x2000000
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x673798f0
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x673798f0
lea ecx, [esp + 0x14]
push ecx
push 1
push 2
push esi
push 0x2000000
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x673798e9
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x79], eax
mov word [esp + 0x81], ax
mov byte [esp + 0x83], al
push 0x14
lea eax, [esp + 0x20]
push eax
push 0x19
lea edx, [esp + 0x84]
mov dword [esp + 0x2c], esi
push ecx
mov byte [esp + 0x88], 1
mov byte [esp + 0x89], 1
mov byte [esp + 0x8f], 0x10
mov dword [esp + 0x90], 0x1000
mov dword [esp + 0x30], 0x20
mov dword [esp + 0x2c], edx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x673798e2
push 0x40
xor eax, eax
lea edx, [esp + 0x3c]
push esi
push edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], esi
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x67430ec8
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
push edi
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x38]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
mov edx, dword [esp + 0x34]
push eax
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
cmp eax, esi
je 0x673798e2
cmp dword [esp + 0xa0], esi
je 0x673798e2
mov eax, dword [esp + 0x24]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x14]
push ecx
call ebp
mov edx, dword [esp + 0x18]
push edx
call ebp
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.673f06fa
add esp, 0x84
ret
Function at 0x6737a0d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x673f7e98
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x67460ecc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
call sym.ImUtilsU.dll_Ordinal_2421
mov ecx, eax
call sym.ImUtilsU.dll_Ordinal_2426
cmp eax, 1
je 0x6737a0ce
cmp eax, 2
je 0x6737a0ce
xor bl, bl
jmp 0x6737a0d0
mov bl, 1
push 0
push 0x8000
call sym.ImUtilsU.dll_Ordinal_782
mov ecx, eax
call sym.ImUtilsU.dll_Ordinal_2432
test eax, eax
je 0x6737a0eb
test bl, bl
jne 0x6737a14d
push 0
push 0x8000
call sym.ImUtilsU.dll_Ordinal_782
mov ecx, eax
call sym.ImUtilsU.dll_Ordinal_2432
test eax, eax
jne 0x6737a14d
test bl, bl
jne 0x6737a11d
push 0
push 0x100
call sym.ImUtilsU.dll_Ordinal_782
mov ecx, eax
call sym.ImUtilsU.dll_Ordinal_2432
test eax, eax
jne 0x6737a14d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push 0
call sym.ImUtilsU.dll_Ordinal_517
add esp, 4
push eax
mov ecx, esi
call fcn.67379fd0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 8
mov ecx, esi
call fcn.67379d20
test eax, eax
je 0x6737a184
push 0xa
push 0
push 0
push str.IncrediBackup.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 8
lea ecx, [esp + 0x1c]
call sym.ImUtilsU.dll_Ordinal_1141
mov dword [esp + 0x14], 0
push str.IM_BACKUP
lea ecx, [esp + 0x20]
call sym.ImUtilsU.dll_Ordinal_1695
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x1c]
call sym.ImUtilsU.dll_Ordinal_1139
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 8

Function at 0x6737ccb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x673f8339
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x67460ecc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
mov ecx, esi
mov dword [esp + 0xc], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_2121]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xc]
push eax
push edi
push ecx
call sub.ImNtUtilU.dll_Ordinal_59
mov edx, dword [esp + 0x18]
add esp, 0xc
push edi
push edx
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC80U.DLL_Ordinal_288]
mov dword [esp + 0x18], 0
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x6737cd46
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x6737f100
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x673f8988
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x67460ecc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.CIncrediDeCompression.0
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
xor edi, edi
mov dword [esp + 0x18], edi
lea ecx, [esi + 0x38]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [esp + 0x18], 1
mov dword [esi + 0x30], edi
mov dword [esi + 0x140], edi
mov dword [esi + 0x194], edi
mov dword [esi + 0x198], edi
mov dword [esi + 0x19c], edi
mov dword [esi + 0x1a0], edi
mov dword [esi + 8], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x1a4], edi
mov dword [esi + 0x1b0], edi
mov dword [esi + 0x1a8], edi
mov dword [esi + 0x1ac], edi
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x6737f340
Capabilities:
Create directory
Print debug messages
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x673f8a0b
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67460ecc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
push eax
push ecx
push 0x67413a98
push esi
call dword [sym.imp.MSVCR80.dll__swprintf]
add esp, 0x10
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
push ebx
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push ebx
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
push ebx
push 0x6742eef0
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
mov esi, eax
cmp esi, 0xffffffff
je 0x6737f4b4
mov edi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
mov byte [esp + 0x1c], 1
lea ecx, [esp + 0x24]
add esi, 1
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call edi
test eax, eax
jne 0x6737f430
push ebx
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x6737f457
mov byte [esp + 0x1c], bl
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push esi
push 0x6742eef0
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
mov esi, eax
cmp esi, 0xffffffff
jne 0x6737f3f1
jmp 0x6737f4b4
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call sym.ImUtilsU.dll_Ordinal_1312
push eax
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
push str.DeCompress:_failed_to_create_path__s__Last_error:__d_
push ecx
call dword [sym.imp.MFC80U.DLL_Ordinal_2311]
add esp, 0x10
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [esp + 0x1c], 1
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov byte [esp + 0x1c], bl
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x67380850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x673f8ca9
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x67460ecc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
push 0
push 0
push 0
push ecx
lea edx, [esp + 0x30]
push edx
push eax
mov ecx, edi
call sym.ImUtilsU.dll_Ordinal_1604
mov esi, eax
test esi, esi
jl 0x673808cf
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
push 0
mov ecx, edi
call sym.ImUtilsU.dll_Ordinal_1601
mov esi, eax
test esi, esi
jl 0x673808cf
mov ecx, edi
call sym.ImUtilsU.dll_Ordinal_315
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x14

Function at 0x673816e0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
jne 0x673816eb
ret 8
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 4]
push ecx
push eax
push 1
push edx
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x10
ret 8

Function at 0x67381710
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
jne 0x6738171b
ret 8
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 4]
push ecx
push eax
push 1
push edx
call dword [sym.imp.MSVCR80.dll_fwrite]
add esp, 0x10
ret 8
Function at 0x673902a0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x673fb3da
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebp
push esi
push edi
mov eax, dword [0x67460ecc]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x3c]
push edi
call sym.ImUtilsU.dll_Ordinal_675
mov ecx, eax
call sym.ImUtilsU.dll_Ordinal_1551
mov ebp, eax
test ebp, ebp
jl 0x67390405
lea ecx, [esp + 0x14]
call sub.MFC80U.DLL_Ordinal_386
mov dword [esp + 0x34], 0
push 0
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC80U.DLL_Ordinal_2271
cmp eax, 1
jne 0x673903ed
lea ecx, [esp + 0x14]
call sub.MFC80U.DLL_Ordinal_2279
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call sub.MFC80U.DLL_Ordinal_2745
mov byte [esp + 0x34], 1
push eax
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
mov byte [esp + 0x34], 0
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [esp + 0x34], 2
push str.t2_.7_._
lea ecx, [esp + 0x40]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
lea ecx, [esp + 0x3c]
xor esi, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_2895]
test eax, eax
jle 0x673903aa
push esi
lea ecx, [esp + 0x40]
call dword [sym.imp.MFC80U.DLL_Ordinal_860]
movzx eax, ax
add eax, 0x17
cdq
mov ecx, 0x5f
idiv ecx
lea ecx, [esp + 0x3c]
add edx, 0x20
push edx
push esi
call dword [sym.imp.MFC80U.DLL_Ordinal_5705]
lea ecx, [esp + 0x3c]
add esi, 1
call dword [sym.imp.MFC80U.DLL_Ordinal_2895]
cmp esi, eax
jl 0x67390371
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
push edi
call sym.ImUtilsU.dll_Ordinal_1356
add esp, 8
push 0
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x6742eef0
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
mov byte [esp + 0x34], 0
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x673903f2
mov ebp, 0x80004005
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x14]
call sub.MFC80U.DLL_Ordinal_631
mov eax, ebp
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4
Function at 0x67391bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x673fb719
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x67460ecc]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CIncrediLicense.0
call fcn.67390890
xor ebx, ebx
mov dword [esp + 0x20], ebx
lea ecx, [esi + 0x30]
call fcn.67374f20
mov byte [esp + 0x20], 1
lea edi, [esi + 0x50]
mov eax, edi
mov dword [esp + 0x14], eax
mov dword [eax], ebx
mov byte [esp + 0x20], 3
push 0x14
mov dword [esi + 0xc], ebx
call sub.MFC80U.DLL_Ordinal_265
mov dword [esi + 8], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov eax, dword [edi]
add esp, 4
cmp eax, ebx
je 0x67391c33
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi], ebx
mov dword [esp + 0x20], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x67396950
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x1c]
mov dword [edi], 0
mov dword [ebx], 0
lea esp, [esp]
mov eax, dword [edi]
mov ecx, dword [esp + 0x14]
push ebx
push eax
push 0
push 0
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x800411a0
cmp dword [edi], 0
jne 0x673969aa
mov eax, dword [ebx]
test eax, eax
je 0x673969aa
push eax
call sub.MFC80U.DLL_Ordinal_265
add esp, 4
test esi, esi
mov dword [edi], eax
jge 0x67396970
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 0x10

Function at 0x67396a40
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0xc
push esi
push edi
mov edi, dword [esp + 0x20]
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x400
mov ecx, edi
mov dword [esp + 0x20], 0x400
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
neg esi
sbb esi, esi
push 0xffffffffffffffff
mov ecx, edi
and esi, 0x800411a0
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret 0xc

Function at 0x67397010
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 8]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esp], 4
je 0x6739704d
mov eax, 0xd
add esp, 8
ret 8
Function at 0x67397460
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x673fc0bb
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x67460ecc]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67460ecc]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x240]
xor esi, esi
mov ebp, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x238], esi
mov eax, dword [ebp]
lea ecx, [esp + 0x1c]
push ecx
push 0x2001f
push esi
push ebx
push eax
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, esi
jne 0x67397592
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, esi
je 0x673974ee
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
cmp eax, esi
mov ecx, dword [esp + 0x1c]
mov edi, eax
mov dword [esp + 0x14], ecx
jne 0x67397592
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x24]
push edx
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x40]
push edx
push esi
push ecx
mov dword [esp + 0x38], 0x100
call edi
test eax, eax
jne 0x67397572
jmp 0x67397530
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.67397460
mov ebx, eax
cmp ebx, esi
jne 0x673975dc
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push esi
push esi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x40]
push eax
push esi
push ecx
mov dword [esp + 0x38], 0x100
call edi
test eax, eax
je 0x67397530
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x67397585
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
mov edx, dword [ebp]
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
mov dword [esp + 0x238], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x673975b0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
mov eax, edi
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.673f06fa
add esp, 0x228
ret 4
mov dword [esp + 0x238], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x673975fa
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
mov eax, ebx
jmp 0x673975b2
Function at 0x67397a50
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x673fc190
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67460ecc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], ebx
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov byte [esp + 0x28], 1
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x1c]
push eax
push 0x2001f
push ebx
push ecx
push edx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x67397abb
mov edi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x18], edi
neg eax
sbb eax, eax
and eax, 0x800411a0
mov esi, eax
jl 0x67397b7c
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x67397b46
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x38]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push eax
push edi
mov dword [esp + 0x58], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x67397b01
mov ebp, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x14], ebp
neg eax
sbb eax, eax
and eax, 0x800411a0
mov esi, eax
jl 0x67397b6b
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push eax
push ecx
push 3
push ebx
push edx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x800411a0
cmp ebp, ebx
je 0x67397b6b
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x67397b6b
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push eax
push ecx
push 3
push ebx
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x800411a0
cmp edi, ebx
je 0x67397b7c
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [esp + 0x18], edi
mov byte [esp + 0x28], bl
cmp ebp, ebx
je 0x67397b8f
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 0xffffffff
cmp edi, ebx
je 0x67397ba6
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x18
Function at 0x67397bc0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x673fc1c0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67460ecc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], ebx
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov byte [esp + 0x28], 1
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x1c]
push eax
push 0x2001f
push ebx
push ecx
push edx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x67397c2b
mov edi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x18], edi
neg eax
sbb eax, eax
and eax, 0x800411a0
mov esi, eax
jl 0x67397d2d
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x67397cda
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x38]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push eax
push edi
mov dword [esp + 0x58], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x67397c75
mov ebp, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x14], ebp
neg eax
sbb eax, eax
and eax, 0x800411a0
mov esi, eax
jl 0x67397d1c
mov esi, dword [esp + 0x40]
xor eax, eax
cmp esi, ebx
setne al
cmp eax, ebx
jne 0x67397c9f
push 0x80004005
call fcn.67346d60
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x3c]
add eax, 1
add eax, eax
push eax
push esi
push 1
push ebx
push ecx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
and eax, 0x800411a0
cmp ebp, ebx
mov esi, eax
je 0x67397d1c
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x67397d1c
mov esi, dword [esp + 0x40]
xor eax, eax
cmp esi, ebx
setne al
cmp eax, ebx
jne 0x67397cf3
push 0x80004005
call fcn.67346d60
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
lea edx, [eax + eax]
mov eax, dword [esp + 0x3c]
push edx
push esi
push 1
push ebx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
and eax, 0x800411a0
mov esi, eax
cmp edi, ebx
je 0x67397d2d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [esp + 0x18], edi
mov byte [esp + 0x28], bl
cmp ebp, ebx
je 0x67397d40
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 0xffffffff
cmp edi, ebx
je 0x67397d57
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x14