joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bfde0
Capabilities:
Delete registry value
Get common file path
Set registry value

Disassembly:
sub esp, 0x104
push ebx
lea eax, [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push 0x20006
push 0
push 0
push closesocket
mov dword [esp + 0x1c], 0
call esi
test eax, eax
jne 0x4bfe24
lea ecx, [esp + 8]
push ecx
push str.SOFTWAREClassesDrive_shell_findcommand
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov edx, dword [esp + 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebx
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push str.SOFTWAREClassesDrive_shell_findcommand
push closesocket
call esi
test eax, eax
je 0x4bfe59
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x104
ret
push edi
lea ecx, [esp + 0x10]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0x10]
lea eax, [esp + 0x90]
push edx
push str._sExplorer.exe
push eax
call fcn.004f175f
lea ecx, [esp + 0x9c]
push ecx
call fcn.004fa6c0
mov edx, dword [esp + 0x1c]
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 2
push eax
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x104
ret

Function at 0x4bfee0
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc250
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], esp
push str.ImagePath
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesendpstart
call fcn.004ab480
add esp, 8
push str.c:endp_bin_spoolsu.exe
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x4bffa1
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
mov edi, str.c:endp_bin_spoolsu.exe
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x110]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [ebp - 0x110]
push 0
push ecx
push 0
push 2
push 0x10
push 0xf01ff
push str.endpstart
push str.endpstart
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
call esi
push ebx
call esi
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 0x4c0a20
Capabilities:
Disable system features via registry on windows
Persist via windows service
Set registry value

Disassembly:
sub esp, 0xc
push str.SYSTEMCurrentControlSetServicesEventlog
mov dword [esp + 8], 2
call fcn.004fa6c0
add esp, 4
lea ecx, [esp + 8]
lea edx, [esp]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0xc30c0c
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4c0a7d
mov ecx, dword [esp]
lea eax, [esp + 4]
push 4
push eax
push 4
push 0
push str.Start
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 0xc
ret
Function at 0x4c1b70
Capabilities:
Get common file path
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc2f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
push 0x100
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
call fcn.004f266a
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x22c]
push 0x100
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x18]
push ecx
push 0xf003f
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push str.err_code_1...
mov ecx, 0xf558a0
mov dword [ebp - 0x1c], eax
call fcn.004f0087
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
call fcn.004f0509
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4c1d59
mov ecx, dword [ebp - 0x18]
push 0
mov eax, 0x80
push 0
push 0
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
push 0
push edx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
mov dword [ebp - 0x1c], eax
je 0x4c1d47
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x20]
push edx
push 0xf003f
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x12c]
push ecx
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push edx
push eax
push 0
push str.Debugger
push ecx
mov dword [ebp - 0x24], 1
call edi
test eax, eax
jne 0x4c1cd8
mov eax, dword [ebp + 8]
lea edx, [esi + esi*2]
shl edx, 7
push ebx
push 0x50d39c
lea edi, [edx + eax]
push edi
call fcn.004f175f
lea ecx, [ebp - 0x12c]
push ecx
call fcn.004fa6c0
push eax
add edi, 0x80
push 0x50d39c
push edi
call fcn.004f175f
add esp, 0x1c
inc esi
cmp esi, 0x200
je 0x4c1d59
jmp 0x4c1d3a
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x12c]
push edx
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
push eax
push ecx
push 0
push str.Debugger
push edx
call edi
test eax, eax
jne 0x4c1d3a
mov ecx, dword [ebp + 8]
lea eax, [esi + esi*2]
shl eax, 7
push ebx
push 0x50d39c
lea edi, [eax + ecx]
push edi
call fcn.004f175f
lea edx, [ebp - 0x12c]
push edx
call fcn.004fa6c0
push eax
add edi, 0x80
push 0x50d39c
push edi
call fcn.004f175f
add esp, 0x1c
inc esi
cmp esi, 0x200
je 0x4c1d59
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
inc edx
cmp eax, 0x103
mov dword [ebp - 0x14], edx
jne 0x4c1c19
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
push edx
mov dword [ecx], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.004f265f
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
Function at 0x4c1db0
Capabilities:
Delete registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x104
lea ecx, [esp + 4]
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options_s
push ecx
call fcn.004f175f
add esp, 0xc
lea edx, [esp]
lea eax, [esp + 4]
push edx
push 0xf003f
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c1dfd
mov ecx, dword [esp]
push str.Debugger
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, 1
add esp, 0x104
ret

Function at 0x4c2200
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_SettingsZones0
mov dword [esp + 0x14], 1
call fcn.004fa6c0
add esp, 4
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0xc30c0c
push 0
push eax
push closesocket
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4c2264
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push 4
push eax
push 4
push 0
push str.Security_HKLM_only
push ecx
call ebx
mov edx, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_SettingsZones3
call fcn.004fa6c0
add esp, 4
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0xc30c0c
push 0
push eax
push closesocket
call esi
test eax, eax
jne 0x4c22bb
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push 4
push eax
push 4
push 0
push str.Security_HKLM_only
push ecx
call ebx
mov edx, dword [esp + 0xc]
push edx
call edi
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xc
ret

Function at 0x4c2350
Capabilities:
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 0x4c238b
lea ecx, [esp + 8]
push ecx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
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 0x4c2fe0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub esp, 0xc
push ebx
push esi
lea eax, [esp + 0x10]
push edi
lea ecx, [esp + 0xc]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push 0
push 0xf003f
push 0
push 0xc30c0c
push 0
push str.SYSTEMCurrentControlSetServicesRasMan
push closesocket
mov dword [esp + 0x34], 4
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4c303b
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push 4
push edx
push 4
push 0
push str.Start
push eax
call ebx
mov ecx, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0xf003f
push 0
push 0xc30c0c
push 0
push str.SYSTEMCurrentControlSetServicesRasPppoe
push closesocket
call esi
test eax, eax
jne 0x4c3088
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push eax
push str.Start
push edx
call ebx
mov eax, dword [esp + 0xc]
push eax
call edi
pop edi
pop esi
mov ax, 1
pop ebx
add esp, 0xc
ret

Function at 0x4c30a0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub esp, 0xc
push ebx
push esi
lea eax, [esp + 0x10]
push edi
lea ecx, [esp + 0xc]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push 0
push 0xf003f
push 0
push 0xc30c0c
push 0
push str.SYSTEMCurrentControlSetServicesRasMan
push closesocket
mov dword [esp + 0x34], 2
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4c30fb
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push 4
push edx
push 4
push 0
push str.Start
push eax
call ebx
mov ecx, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0xf003f
push 0
push 0xc30c0c
push 0
push str.SYSTEMCurrentControlSetServicesRasPppoe
push closesocket
mov dword [esp + 0x34], 3
call esi
test eax, eax
jne 0x4c3150
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push eax
push str.Start
push edx
call ebx
mov eax, dword [esp + 0xc]
push eax
call edi
pop edi
pop esi
mov ax, 1
pop ebx
add esp, 0xc
ret

Function at 0x4c3270
Capabilities:
Delete file

Disassembly:
push str.c:endpcache
call fcn.004f2beb
add esp, 4
push str.os_sys_list.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.proc_bin2____os_sys_list.txt
call fcn.004f2ce2
add esp, 4
mov ax, 1
ret
Function at 0x4c6910
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc4d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x310
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
shl eax, 8
add eax, 0xf2336c
mov dword [ebp - 0x10], esp
push eax
lea ecx, [ebp - 0x21c]
xor ebx, ebx
push 0x50d39c
push ecx
mov dword [ebp - 4], ebx
call fcn.004f175f
push 0x100
mov byte [ebp - 4], 1
call fcn.004f266a
mov dword [ebp - 0x14], eax
mov edi, 0x528484
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
lea edx, [ebp - 0x31c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp - 0x1c], 1
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
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov cl, byte [ebp + eax - 0x21c]
cmp cl, 0x5c
je 0x4c69b1
mov byte [ebp + eax - 0x9c], cl
inc eax
jmp 0x4c699b
mov byte [ebp + eax - 0x9c], bl
inc eax
xor edx, edx
mov cl, byte [ebp + eax - 0x21c]
cmp cl, bl
je 0x4c69d1
mov byte [ebp + edx - 0x11c], cl
inc eax
inc edx
jmp 0x4c69bb
lea ecx, [ebp - 0x9c]
push str.HKLM
push ecx
mov byte [ebp + edx - 0x11c], bl
mov dword [ebp - 0x18], 0x100
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4c6a5e
lea edx, [ebp + 8]
lea eax, [ebp - 0x11c]
push edx
push 0x20019
push ebx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4c6abe
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x1c]
push ecx
push edi
push edx
push ebx
push str.Group
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x4c6a5e
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x31c]
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
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
push edx
call fcn.004f265f
add esp, 4
xor esi, esi
cmp esi, 0xa
jge 0x4c6abe
mov eax, esi
lea ecx, [ebp - 0x31c]
shl eax, 6
add eax, str.Base
push eax
push ecx
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4c6aaf
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc esi
jmp 0x4c6a76
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
or eax, 0xffffffff
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c6c30
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc500
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
push 0x100
mov dword [ebp - 4], esi
call fcn.004f266a
add esp, 4
lea ecx, [ebp - 0x1c]
mov ebx, eax
mov eax, dword [ebp + 0xc]
push ecx
push 0x20019
push esi
push 0xc30c0c
push reloc.WS2_32.dll_closesocket
mov dword [eax], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x4c6d71
mov dword [ebp - 0x18], esi
jmp 0x4c6c99
xor esi, esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push esi
push esi
push esi
lea edx, [ebp - 0x24]
push esi
push edx
push ebx
push eax
push ecx
mov dword [ebp - 0x24], 0x80
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
cmp esi, 0x103
mov dword [ebp - 0x28], esi
je 0x4c6d2e
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jle 0x4c6d52
push str.lasses
push ebx
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x4c6d52
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
shl edx, 7
push ebx
push 0x50d39c
lea esi, [edx + eax]
push esi
call fcn.004f175f
add esp, 0xc
mov ecx, 0xf558a0
push esi
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x4c6d52
push str.get_user_id_defeat
mov ecx, 0xf558a0
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov eax, dword [ebp - 0x20]
inc eax
cmp eax, 0x3f
mov dword [ebp - 0x20], eax
jg 0x4c6d71
mov ecx, dword [ebp - 0x18]
inc ecx
cmp esi, 0x103
mov dword [ebp - 0x18], ecx
jne 0x4c6c97
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
push ebx
mov dword [eax], edx
call fcn.004f265f
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

Function at 0x4c6dd0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub esp, 0x108
lea eax, [esp + 8]
push esi
push str.Extended_Base
push 0x50d39c
push eax
call fcn.004f175f
lea ecx, [esp + 0x18]
push ecx
call fcn.004fa6c0
push str.SYSTEMCurrentControlSetServicesprocM
mov esi, eax
call fcn.004fa6c0
add esp, 0x14
lea edx, [esp + 8]
lea ecx, [esp + 4]
push edx
push ecx
push 0
push 0xf003f
push 0
push 0xc30c0c
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4c6e4e
push edi
mov edi, esi
or ecx, 0xffffffff
mov edx, dword [esp + 8]
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push 1
push eax
push str.group
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 0x108
ret
Function at 0x4c6e70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc510
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], esp
push 0x100
call fcn.004f266a
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 1
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesTcpip
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c6f3d
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x11c]
push ecx
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push str.ImagePath
push ecx
mov dword [ebp - 0x18], 0x1f4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c6f1a
lea edi, [ebp - 0x11c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x4c6f38
mov edi, 0x50e258
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, dword [ebp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.004f265f
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
Function at 0x4c8460
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc560
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2110
call fcn.004f2630
push ebx
push esi
push edi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x2120]
xor ebx, ebx
push eax
push ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], 0x145
mov dword [ebp - 0x1c], ebx
call fcn.004c6c30
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
add esp, 8
xor esi, esi
cmp esi, dword [ebp - 0x1c]
jge 0x4c852e
mov edx, esi
lea ecx, [ebp - 0x120]
shl edx, 7
mov byte [ebp - 0x120], bl
lea eax, [ebp + edx - 0x2120]
push eax
push str._sSOFTWAREMICROSOFTWINDOWSCURRENTVERSIONPOLICIESEXPLORER
push ecx
call fcn.004f175f
add esp, 0xc
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x120]
push edx
push eax
push ebx
push 0xf003f
push ebx
push 0xc30c0c
push ebx
push ecx
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 0x18], ebx
call edi
test eax, eax
jne 0x4c8521
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.NoDriveTypeAutoRun
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
jmp 0x4c84b3
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 0x4c8780
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x108
lea ecx, [esp + 8]
push esi
push eax
push str._sControl_PanelDesktop
push ecx
call fcn.004f175f
push str.2000
call fcn.004fa6c0
add esp, 0x10
mov esi, eax
lea edx, [esp + 8]
lea eax, [esp + 4]
push edx
push eax
push 0
push 0xf003f
push 0
push 0xc30c0c
lea ecx, [esp + 0x24]
push 0
push ecx
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4c87ee
mov edx, dword [esp + 4]
push 4
push esi
push 1
push eax
push str.WaitToKillAppTimeout
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 0x108
ret

Function at 0x4c8810
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x108
lea ecx, [esp + 8]
push esi
push eax
push str._sControl_PanelDesktop
push ecx
call fcn.004f175f
push str.1000
call fcn.004fa6c0
add esp, 0x10
mov esi, eax
lea edx, [esp + 8]
lea eax, [esp + 4]
push edx
push eax
push 0
push 0xf003f
push 0
push 0xc30c0c
lea ecx, [esp + 0x24]
push 0
push ecx
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4c887e
mov edx, dword [esp + 4]
push 4
push esi
push 1
push eax
push str.HungAppTimeout
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 0x108
ret
Function at 0x4c88a0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x108
lea ecx, [esp + 8]
push esi
push eax
push str._sControl_PanelDesktop
push ecx
call fcn.004f175f
push 0x50e258
call fcn.004fa6c0
add esp, 0x10
mov esi, eax
lea edx, [esp + 8]
lea eax, [esp + 4]
push edx
push eax
push 0
push 0xf003f
push 0
push 0xc30c0c
lea ecx, [esp + 0x24]
push 0
push ecx
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4c890e
mov edx, dword [esp + 4]
push 4
push esi
push 1
push eax
push str.AutoEndTasks
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 0x108
ret

Function at 0x4c8930
Capabilities:
Set registry value

Disassembly:
sub esp, 0x108
lea eax, [esp + 8]
push esi
push str.SYSTEMCurrentControlSetControl
push 0x50d39c
push eax
call fcn.004f175f
push str.4000
call fcn.004fa6c0
add esp, 0x10
lea ecx, [esp + 8]
lea edx, [esp + 4]
mov esi, eax
push ecx
push edx
push 0
push 0xf003f
push 0
push 0xc30c0c
lea eax, [esp + 0x24]
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4c899e
mov ecx, dword [esp + 4]
push 4
push esi
push 1
push eax
push str.WaitToKillServiceTimeout
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 esi
add esp, 0x108
ret