joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b1e0
Capabilities:
Delete registry value
Get common file path
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0x204
lea eax, [esp]
mov dword [esp], 0
push eax
push 2
push 0
push str.https_shellopencommand
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x42b215
or eax, 0xffffffff
add esp, 0x204
ret
push esi
push edi
lea ecx, [esp + 0xc]
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0xc]
lea eax, [esp + 0x10c]
push edx
push str._sProgram_FilesInternet_Exploreriexplore.exe
push eax
mov byte [esp + 0x1a], 0
call fcn.0047a8f8
lea ecx, [esp + 0x118]
push ecx
call fcn.00483565
mov edx, dword [esp + 0x18]
add esp, 0x10
mov esi, eax
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push 1
push eax
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 0x204
ret

Function at 0x42b2a0
Capabilities:
Get common file path
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0x304
lea eax, [esp]
mov dword [esp], 0
push eax
push 2
push 0
push str.hlpfile_shellopencommand
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x42b2d5
or eax, 0xffffffff
add esp, 0x304
ret
push edi
lea ecx, [esp + 0x208]
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x108]
push 0x100
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x108]
push 0x49bccc
push eax
lea ecx, [esp + 0x10]
push str._sSystem32winhlp32.exe__s
push ecx
call fcn.0047a8f8
lea edx, [esp + 0x18]
push edx
call fcn.00483565
lea eax, [esp + 0x1c]
push eax
call fcn.00483565
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 8]
push edx
push 1
push eax
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
add esp, 0x304
ret
Function at 0x42b370
Capabilities:
Get common file path
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0x304
lea eax, [esp]
mov dword [esp], 0
push eax
push 2
push 0
push str.chm.file_shellopencommand
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x42b3a5
or eax, 0xffffffff
add esp, 0x304
ret
push edi
lea ecx, [esp + 0x208]
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x108]
push 0x100
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x108]
push 0x49bccc
push eax
lea ecx, [esp + 0x10]
push str._shh.exe__s
push ecx
call fcn.0047a8f8
lea edx, [esp + 0x18]
push edx
call fcn.00483565
lea eax, [esp + 0x1c]
push eax
call fcn.00483565
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 8]
push edx
push 1
push eax
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
add esp, 0x304
ret
Function at 0x42b740
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x18c
lea eax, [esp]
mov dword [esp], 0
push eax
push 3
push 0
push 0x48b270
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x42b775
or eax, 0xffffffff
add esp, 0x18c
ret
push esi
push edi
push str.exefile
call fcn.00483565
add esp, 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
mov esi, eax
lea edx, [esp + 0x94]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ecx
mov dword [esp + 0x28], 0x100
mov dword [esp + 0x24], 1
call edi
lea edx, [esp + 0x10]
lea eax, [esp + 0x94]
push edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push edx
call edi
test eax, eax
jne 0x42b807
lea eax, [esp + 0x94]
lea ecx, [esp + 0x14]
push eax
push 0x48b2f4
push ecx
call fcn.0047a8f8
lea edx, [esp + 0x20]
push str.exefile
push edx
call fcn.0047fde0
add esp, 0x14
test eax, eax
je 0x42b823
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push 1
push eax
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 0x18c
ret

Function at 0x42b840
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x18c
lea eax, [esp]
mov dword [esp], 0
push eax
push 3
push 0
push str..txt
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x42b875
or eax, 0xffffffff
add esp, 0x18c
ret
push esi
push edi
push str.txtfile
call fcn.00483565
add esp, 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
mov esi, eax
lea edx, [esp + 0x94]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ecx
mov dword [esp + 0x28], 0x100
mov dword [esp + 0x24], 1
call edi
lea edx, [esp + 0x10]
lea eax, [esp + 0x94]
push edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push edx
call edi
test eax, eax
jne 0x42b907
lea eax, [esp + 0x94]
lea ecx, [esp + 0x14]
push eax
push 0x48b2f4
push ecx
call fcn.0047a8f8
lea edx, [esp + 0x20]
push str.txtfile
push edx
call fcn.0047fde0
add esp, 0x14
test eax, eax
je 0x42b923
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push 1
push eax
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 0x18c
ret
Function at 0x42b940
Capabilities:
Delete registry value
Get common file path
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0x204
lea eax, [esp]
mov dword [esp], 0
push eax
push 2
push 0
push str.SOFTWAREClientsStartMenuInternetIEXPLORE.EXE_shellopencommand
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x42b975
or eax, 0xffffffff
add esp, 0x204
ret
push esi
push edi
lea ecx, [esp + 0xc]
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0xc]
lea eax, [esp + 0x10c]
push edx
push str._sProgram_FilesInternet_Exploreriexplore.exe
push eax
mov byte [esp + 0x1a], 0
call fcn.0047a8f8
lea ecx, [esp + 0x118]
push ecx
call fcn.00483565
mov edx, dword [esp + 0x18]
add esp, 0x10
mov esi, eax
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push 1
push eax
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 0x204
ret

Function at 0x42ba00
Capabilities:
Delete registry value
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
mov dword [esp], 0
push eax
push 2
push 0
push str.WindowFiles_shellopencommand
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x42ba2f
or eax, 0xffffffff
add esp, 0x10
ret
mov cl, 0x22
push esi
mov byte [esp + 8], cl
mov byte [esp + 0xb], cl
lea ecx, [esp + 8]
push edi
mov al, 0x25
push ecx
mov byte [esp + 0x11], al
mov byte [esp + 0x12], 0x31
mov byte [esp + 0x14], 0x20
mov byte [esp + 0x15], al
mov byte [esp + 0x16], 0x2a
mov byte [esp + 0x17], 0
call fcn.00483565
mov edx, dword [esp + 0xc]
add esp, 4
mov esi, eax
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push 1
push eax
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret
Function at 0x42bab0
Capabilities:
Delete registry value
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
mov dword [esp], 0
push eax
push 2
push 0
push str.winfiles_shellopencommand
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x42badf
or eax, 0xffffffff
add esp, 0x10
ret
mov cl, 0x22
push esi
mov byte [esp + 8], cl
mov byte [esp + 0xb], cl
lea ecx, [esp + 8]
push edi
mov al, 0x25
push ecx
mov byte [esp + 0x11], al
mov byte [esp + 0x12], 0x31
mov byte [esp + 0x14], 0x20
mov byte [esp + 0x15], al
mov byte [esp + 0x16], 0x2a
mov byte [esp + 0x17], 0
call fcn.00483565
mov edx, dword [esp + 0xc]
add esp, 4
mov esi, eax
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push 1
push eax
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret
Function at 0x42c530
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483910
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push 0x40
mov dword [ebp - 4], ebx
call fcn.0047afc7
add esp, 4
push 0x100
call fcn.0047afc7
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push 8
call fcn.0047afc7
add esp, 4
lea eax, [ebp - 0x14]
push eax
push 0x20019
push ebx
push ebx
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42c5ff
mov ecx, dword [ebp - 0x14]
push 0x100
push edi
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
je 0x42c5db
mov ecx, dword [ebp + 8]
mov edx, ebx
shl edx, 6
add edx, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebx
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x18]
jmp 0x42c596
mov ecx, dword [ebp + 0xc]
mov dword [ecx], ebx
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, str.NULL
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [ebp + 0xc]
mov edx, ecx
mov esi, edi
mov edi, dword [ebp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42cff0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x100
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp]
push ebp
mov ebp, dword [esp + 0x108]
push esi
push edi
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
cmp edx, 3
jl 0x42d0f0
test edx, edx
jle 0x42d07c
mov cl, 0x5c
cmp byte [esp + eax + 0xc], 0x3a
jne 0x42d04f
cmp byte [esp + eax + 0xd], cl
je 0x42d056
inc eax
cmp eax, edx
jl 0x42d042
jmp 0x42d07c
cmp eax, edx
jge 0x42d07c
mov ecx, edx
lea esi, [eax + ebp - 1]
mov eax, ecx
lea edi, [esp + 0xc]
shr ecx, 2
mov byte [esp + 0xc], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + edx + 0xc], 0
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x42d09b
mov al, 0x2e
cmp byte [esp + ecx + 0xc], al
je 0x42d09b
dec ecx
test ecx, ecx
jg 0x42d090
mov byte [esp + ecx + 0x10], 0
push 0x100
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.0047c2ae
add esp, 0xc
cmp eax, 0xffffffff
je 0x42d0d1
push eax
call fcn.0047c183
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
add esp, 0x100
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42d0f0
cmp eax, 3
je 0x42d0f0
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x100
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x100
ret

Function at 0x42d100
Capabilities:
Delete service
Stop service

Disassembly:
sub esp, 0x1c
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
mov eax, dword [esp + 0x28]
push 0xf01ff
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x42d142
lea ecx, [esp + 8]
push ecx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
pop edi
mov eax, 1
pop esi
add esp, 0x1c
ret
Function at 0x431e80
Capabilities:
Disable system features via registry on windows
Get common file path
Set registry value

Disassembly:
sub esp, 0x30c
push ebx
push ebp
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
mov dword [esp + 0x18], 4
call fcn.00483565
add esp, 4
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0x57d044
push 0
push eax
push closesocket
call esi
test eax, eax
jne 0x431ee5
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push str.SFCDisable
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebp
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
mov dword [esp + 0x18], 0xffffffff
call fcn.00483565
add esp, 4
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0x57d044
push 0
push eax
push closesocket
call esi
test eax, eax
jne 0x431f48
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push str.SfcQuota
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
push edx
call ebp
lea eax, [esp + 0x218]
push 0x100
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x218]
lea edx, [esp + 0x18]
push ecx
push str._sdllcache
push edx
call fcn.0047a8f8
lea eax, [esp + 0x224]
lea ecx, [esp + 0x124]
push eax
push str._sdllcache_bk
push ecx
call fcn.0047a8f8
lea edx, [esp + 0x130]
lea eax, [esp + 0x30]
push edx
push eax
call fcn.0047c57e
lea ecx, [esp + 0x38]
push ecx
call fcn.0047c0d3
add esp, 0x24
test eax, eax
jne 0x431fc7
lea edx, [esp + 0x18]
push edx
call fcn.00483565
add esp, 4
mov ebx, eax
jmp 0x431fcb
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x118]
push eax
call fcn.0047c0d3
add esp, 4
test eax, eax
jne 0x431ff1
lea ecx, [esp + 0x118]
push ecx
call fcn.00483565
add esp, 4
mov ebx, eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
call fcn.00483565
add esp, 4
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push edx
push ecx
push 0
push 0xf003f
push 0
push 0x57d044
push 0
push eax
push closesocket
call esi
test eax, eax
jne 0x432044
push edi
mov edi, ebx
or ecx, 0xffffffff
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
push ecx
push ebx
push 1
push eax
push str.SFCDllCacheDir
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
mov eax, dword [esp + 0xc]
push eax
call ebp
push str.c:endpcache
call fcn.0047c0d3
add esp, 4
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x30c
ret
Function at 0x433ca0
Capabilities:
Delete registry key

Disassembly:
sub esp, 0xb0
xor edx, edx
push ebp
push esi
push edi
mov edi, dword [esp + 0xc0]
mov cl, byte [edi]
cmp cl, 0x5c
je 0x433cce
lea esi, [esp + 0xc]
mov eax, edi
sub esi, edi
mov byte [esi + eax], cl
mov cl, byte [eax + 1]
inc edx
inc eax
cmp cl, 0x5c
jne 0x433cc1
mov byte [esp + edx + 0xc], 0
inc edx
add edx, edi
xor ecx, ecx
mov al, byte [edx]
test al, al
je 0x433cef
cmp al, 0x24
mov byte [esp + ecx + 0x3c], al
je 0x433cef
mov al, byte [edx + 1]
inc edx
inc ecx
test al, al
jne 0x433cde
mov byte [esp + ecx + 0x3d], 0
or edi, 0xffffffff
mov esi, str.HKCU
lea ecx, [esp + 0xc]
mov al, byte [ecx]
mov dl, al
cmp al, byte [esi]
jne 0x433d24
test dl, dl
je 0x433d20
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x433d24
add ecx, 2
add esi, 2
test dl, dl
jne 0x433d00
xor ecx, ecx
jmp 0x433d29
sbb ecx, ecx
sbb ecx, 0xffffffff
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test ecx, ecx
jne 0x433d49
lea ecx, [esp + 0x3c]
push ecx
push closesocket
call ebp
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xfffffffe
inc edi
mov esi, str.HKCR
lea ecx, [esp + 0xc]
mov al, byte [ecx]
mov dl, al
cmp al, byte [esi]
jne 0x433d76
test dl, dl
je 0x433d72
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x433d76
add ecx, 2
add esi, 2
test dl, dl
jne 0x433d52
xor ecx, ecx
jmp 0x433d7b
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x433d95
lea ecx, [esp + 0x3c]
push ecx
push closesocket
call ebp
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xfffffffe
inc edi
mov esi, str.HKLM
lea ecx, [esp + 0xc]
mov al, byte [ecx]
mov dl, al
cmp al, byte [esi]
jne 0x433dc2
test dl, dl
je 0x433dbe
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x433dc2
add ecx, 2
add esi, 2
test dl, dl
jne 0x433d9e
xor ecx, ecx
jmp 0x433dc7
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x433de1
lea ecx, [esp + 0x3c]
push ecx
push closesocket
call ebp
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xfffffffe
inc edi
mov esi, 0x49c3e4
lea ecx, [esp + 0xc]
mov al, byte [ecx]
mov dl, al
cmp al, byte [esi]
jne 0x433e0e
test dl, dl
je 0x433e0a
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x433e0e
add ecx, 2
add esi, 2
test dl, dl
jne 0x433dea
xor ecx, ecx
jmp 0x433e13
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x433e34
lea ecx, [esp + 0x3c]
push ecx
push reloc.WS2_32.dll_closesocket
call ebp
neg eax
sbb eax, eax
pop edi
and al, 0xfe
pop esi
inc eax
pop ebp
add esp, 0xb0
ret
mov ax, di
pop edi
pop esi
pop ebp
add esp, 0xb0
ret
Function at 0x433e50
Capabilities:
Delete registry key

Disassembly:
sub esp, 0xb0
push edi
mov edi, dword [esp + 0xb8]
push str.Administrtor
push edi
call fcn.0047bec0
add esp, 8
test eax, eax
je 0x433e7c
mov ax, 1
pop edi
add esp, 0xb0
ret
push str.Administrtors
push edi
call fcn.0047bec0
add esp, 8
test eax, eax
je 0x433e9a
mov ax, 1
pop edi
add esp, 0xb0
ret
mov cl, byte [edi]
xor edx, edx
push ebp
cmp cl, 0x5c
push esi
je 0x433eba
lea esi, [esp + 0xc]
mov eax, edi
sub esi, edi
mov byte [esi + eax], cl
mov cl, byte [eax + 1]
inc edx
inc eax
cmp cl, 0x5c
jne 0x433ead
mov byte [esp + edx + 0xc], 0
inc edx
add edx, edi
xor ecx, ecx
mov al, byte [edx]
test al, al
je 0x433edb
cmp al, 0x28
mov byte [esp + ecx + 0x3c], al
je 0x433edb
mov al, byte [edx + 1]
inc edx
inc ecx
test al, al
jne 0x433eca
mov byte [esp + ecx + 0x3b], 0
or edi, 0xffffffff
mov esi, str.HKCU
lea ecx, [esp + 0xc]
mov dl, byte [ecx]
mov al, dl
cmp dl, byte [esi]
jne 0x433f10
test al, al
je 0x433f0c
mov dl, byte [ecx + 1]
mov al, dl
cmp dl, byte [esi + 1]
jne 0x433f10
add ecx, 2
add esi, 2
test al, al
jne 0x433eec
xor eax, eax
jmp 0x433f15
sbb eax, eax
sbb eax, 0xffffffff
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x433f35
lea eax, [esp + 0x3c]
push eax
push closesocket
call ebp
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xfffffffe
inc edi
mov esi, str.HKCR
lea eax, [esp + 0xc]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x433f62
test cl, cl
je 0x433f5e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x433f62
add eax, 2
add esi, 2
test cl, cl
jne 0x433f3e
xor eax, eax
jmp 0x433f67
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x433f81
lea eax, [esp + 0x3c]
push eax
push closesocket
call ebp
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xfffffffe
inc edi
mov esi, str.HKLM
lea eax, [esp + 0xc]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x433fae
test cl, cl
je 0x433faa
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x433fae
add eax, 2
add esi, 2
test cl, cl
jne 0x433f8a
xor eax, eax
jmp 0x433fb3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x433fcd
lea eax, [esp + 0x3c]
push eax
push closesocket
call ebp
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xfffffffe
inc edi
mov esi, 0x49c3e4
lea eax, [esp + 0xc]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x433ffa
test cl, cl
je 0x433ff6
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x433ffa
add eax, 2
add esi, 2
test cl, cl
jne 0x433fd6
xor eax, eax
jmp 0x433fff
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x434019
lea eax, [esp + 0x3c]
push eax
push reloc.WS2_32.dll_closesocket
call ebp
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xfffffffe
inc edi
pop esi
mov ax, di
pop ebp
pop edi
add esp, 0xb0
ret
Function at 0x4343f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4839f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push 0x100
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
call fcn.0047afc7
add esp, 4
mov edi, eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], edi
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerSharedTaskScheduler
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4344de
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x128]
push ecx
lea eax, [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
push 0
push ecx
push edi
push edx
push eax
mov dword [ebp - 0x1c], 0x80
mov dword [ebp - 0x24], 0x1f4
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x4344de
mov edx, ebx
or ecx, 0xffffffff
shl edx, 8
xor eax, eax
add edx, 0x6309bc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebx
cmp ebx, 0x100
rep movsb byte es:[edi], byte [esi]
jle 0x4344cf
mov ax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x434450
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
mov dword [0x65cd50], ebx
call fcn.0047afbc
add esp, 4
mov ax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret