joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44552c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0
push 0x80
push 2
push 0
push 2
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x44555e
xor eax, eax
jmp 0x4455a0
push 0
lea ecx, [ebp - 4]
push ecx
push 0x7388
push 0x50b7b8
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44558a
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4455a0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], 0xffffffff
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x44560b
Capabilities:
Check if file exists
Create service
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.004455a6
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x445677
cmp dword [ebp - 4], 0
je 0x445677
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x445677
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
push 1
push 3
push 1
push 0xf01ff
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x445687
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x445690
Capabilities:
Delete file
Delete registry key
Get common file path
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov dword [ebp - 0x128], ecx
mov eax, dword [ebp - 0x128]
cmp dword [eax + 0x1c], 0xffffffff
je 0x4456b5
mov eax, 1
jmp 0x445866
push 0
push 0
push 3
push 0
push 0
push closesocket
push 0x51338c
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x128]
cmp dword [edx + 0x1c], 0xffffffff
je 0x4456ff
mov eax, dword [ebp - 0x128]
mov dword [eax + 0x18], 1
mov ecx, dword [ebp - 0x128]
mov eax, dword [ecx + 0x18]
jmp 0x445866
mov edx, dword [ebp - 0x128]
cmp dword [edx + 0x18], 0
je 0x445715
mov eax, 1
jmp 0x445866
mov eax, dword [ebp - 0x128]
cmp dword [eax + 0x1c], 0xffffffff
je 0x44572b
mov eax, 1
jmp 0x445866
push 0x104
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.drivers360FkAdv.sys
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x128]
call fcn.0044552c
test eax, eax
jne 0x44576c
xor eax, eax
jmp 0x445866
lea ecx, [ebp - 0x104]
push ecx
push str.360FkAdv
mov ecx, dword [ebp - 0x128]
call fcn.0044560b
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
je 0x4457e9
lea edx, [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4457b3
cmp dword [ebp - 0x120], 4
je 0x4457cf
push 0
push 0
mov ecx, dword [ebp - 0x108]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov edx, dword [ebp - 0x128]
mov dword [edx + 0x18], eax
jmp 0x4457dc
mov eax, dword [ebp - 0x128]
mov dword [eax + 0x18], 1
mov ecx, dword [ebp - 0x108]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.SYSTEMCurrentControlSetServices360FkAdv
push SysStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov eax, dword [ebp - 0x128]
cmp dword [eax + 0x18], 0
je 0x44585d
push 0
push 0
push 3
push 0
push 0
push 0x80
push str..360FkAdv
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x128]
cmp dword [edx + 0x1c], 0xffffffff
je 0x445850
mov eax, dword [ebp - 0x128]
mov dword [eax + 0x18], 1
jmp 0x44585d
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 0x128]
mov eax, dword [edx + 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x4458d3
Capabilities:
Manipulate safe mode programs
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 8]
push eax
push 0x5133fc
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44590a
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x445a7c
push 7
push 0x51343c
push 1
push 0
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44593b
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x445a7c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 8]
push edx
push 0x513444
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x445973
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x445a7c
push 7
push 0x513480
push 1
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4459a4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x445a7c
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 8]
push ecx
push 0x513488
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4459dc
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x445a7c
push 7
push 0x5134c8
push 1
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x445a0a
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x445a7c
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 8]
push eax
push 0x5134d0
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x445a3f
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x445a7c
push 7
push str.Driver
push 1
push 0
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x445a6d
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x445a7c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x445f57
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jne 0x445f71
mov ecx, dword [ebp - 8]
call fcn.0044586a
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 0
jne 0x445f7e
xor eax, eax
jmp 0x445fef
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
add eax, 1
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 0x24], 0x64
jl 0x445f9a
xor eax, eax
jmp 0x445fef
push 0x513858
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ntdll.dll_wcslen]
add esp, 4
lea edx, [eax + eax + 2]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x222010
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x445fdf
xor eax, eax
jmp 0x445fef
push str._CSpecialModuleKiller::ProtectRegKey___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x445ff5
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jne 0x44600f
mov ecx, dword [ebp - 8]
call fcn.0044586a
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 0
jne 0x44601c
xor eax, eax
jmp 0x446061
push 0x5138b0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0
push 4
lea eax, [ebp + 8]
push eax
push 0x222014
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x446051
xor eax, eax
jmp 0x446061
push str._CSpecialModuleKiller::ProtectByPassPid___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x44619c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jne 0x4461b6
mov ecx, dword [ebp - 0x14]
call fcn.0044586a
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x18], 0
jne 0x4461c3
xor eax, eax
jmp 0x44621a
push 0x5139d8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
push 0
lea ecx, [ebp - 8]
push ecx
push 4
lea edx, [ebp - 4]
push edx
push 8
lea eax, [ebp - 0x10]
push eax
push 0x222020
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x446206
xor eax, eax
jmp 0x44621a
push str._CSpecialModuleKiller::DelRegValueKey___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
cmp dword [ebp - 4], 0
sete al
mov esp, ebp
pop ebp
ret 8
Function at 0x446220
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0
jne 0x44623a
mov ecx, dword [ebp - 0x10]
call fcn.0044586a
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x18], 0
jne 0x446247
xor eax, eax
jmp 0x4462a8
push 0x513a30
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ntdll.dll_wcslen]
add esp, 4
lea eax, [eax + eax + 2]
mov dword [ebp - 0xc], eax
push 0
lea ecx, [ebp - 8]
push ecx
push 4
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x22201c
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x446294
xor eax, eax
jmp 0x4462a8
push 0x513a58
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
cmp dword [ebp - 4], 0
sete al
mov esp, ebp
pop ebp
ret 8

Function at 0x4462db
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
cmp dword [ebp + 8], 0
jne 0x4462f1
xor eax, eax
jmp 0x4463ef
mov byte [ebp - 0x14], 0
xor eax, eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
push 2
mov ecx, dword [ebp + 8]
add ecx, 1
push ecx
lea edx, [ebp - 0x14]
push edx
call sub.ntdll.dll_memcpy
add esp, 0xc
push 2
push 0x513a80
lea eax, [ebp - 0x14]
push eax
call sub.ntdll.dll_memcmp
add esp, 0xc
test eax, eax
je 0x446331
xor eax, eax
jmp 0x4463ef
push 4
push 0
lea ecx, [ebp - 0x14]
push ecx
call sub.ntdll.dll_memset
add esp, 0xc
push 2
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x14]
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
mov ecx, dword [0x513a84]
mov dword [ebp - 0x10], ecx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], 0
jmp 0x446379
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1a
jge 0x4463ed
mov ecx, dword [ebp - 0x18]
add ecx, 0x41
mov byte [ebp - 0x10], cl
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.004463f5
test eax, eax
je 0x4463eb
mov byte [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov word [ebp - 0x1b], ax
mov byte [ebp - 0x19], al
push 2
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x28]
push edx
call sub.ntdll.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x4463eb
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.ntdll.dll__stricmp]
add esp, 8
test eax, eax
jne 0x4463eb
mov eax, 1
jmp 0x4463ef
jmp 0x446370
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4463f5
Capabilities:
Get disk information
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push edi
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0x10c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x44644f
push str.Error_GetLogicalDriveStrings__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x4464a1
mov dword [ebp - 8], 0
mov ecx, 1
test ecx, ecx
je 0x44649f
mov edx, dword [ebp - 8]
movsx eax, byte [ebp + edx - 0x10c]
test eax, eax
jne 0x446470
jmp 0x44649f
push 3
mov ecx, dword [ebp - 8]
lea edx, [ebp + ecx - 0x10c]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.ntdll.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x446494
mov eax, 1
jmp 0x4464a1
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
jmp 0x446456
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x4464a8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov dword [ebp - 0x14c], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4464c9
xor eax, eax
jmp 0x44652f
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4464f1
mov edx, dword [ebp - 8]
and edx, 0x10
test edx, edx
je 0x4464ea
xor eax, eax
jmp 0x44652f
mov eax, 1
jmp 0x44652f
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x44650f
xor eax, eax
jmp 0x44652f
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x148]
and eax, 0x10
test eax, eax
je 0x44652a
xor eax, eax
jmp 0x44652f
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x4465fe
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x108], 0
push 0x104
push str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesExplorer_run
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.ntdll.dll_strncpy]
add esp, 0xc
push 0
lea ecx, [ebp - 0x104]
push ecx
push SysStringLen
mov ecx, dword [ebp - 0x10c]
call fcn.004477f5
test eax, eax
jne 0x446658
mov dword [ebp - 0x108], 0
mov edx, dword [ebp - 0x108]
add edx, 1
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x108]
mov esp, ebp
pop ebp
ret
Function at 0x446671
Capabilities:
Print debug messages
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x110]
push eax
push 0x20019
push 0
push 0x513ae8
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x4467aa
mov dword [ebp - 0x114], 0
mov ecx, 1
test ecx, ecx
je 0x44679d
push 0x104
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x446703
jmp 0x44679d
push 0x513b34
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x44672a
mov eax, dword [ebp - 0x114]
add eax, 1
mov dword [ebp - 0x114], eax
jmp 0x4466c2
lea ecx, [ebp - 0x108]
push ecx
push 0x513b60
push 0x104
lea edx, [ebp - 0x218]
push edx
call fcn.0040a150
add esp, 0x10
push str._FixImageFileExecutionOptions___RegEnumKey_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x513be0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
lea ecx, [ebp - 0x218]
push ecx
push SysStringLen
mov ecx, dword [ebp - 0x21c]
call fcn.004477f5
test eax, eax
jne 0x44678f
mov eax, dword [ebp - 4]
jmp 0x4467ad
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x4466c2
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x44732c
Capabilities:
Print debug messages
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x544
push edi
mov dword [ebp - 0x544], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0x20c], 0
mov byte [ebp - 0x108], 0
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServices
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
jne 0x44755a
mov dword [ebp - 0x218], 0
mov ecx, 1
test ecx, ecx
je 0x44754d
mov dword [ebp - 0x324], 0
push 0x104
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x4473d7
jmp 0x44754d
lea edx, [ebp - 0x20c]
push edx
push str.SYSTEMCurrentControlSetServices_s
push 0x104
lea eax, [ebp - 0x31c]
push eax
call fcn.0040a150
add esp, 0x10
lea ecx, [ebp - 0x31c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x513e40
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [ebp - 0x320]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x31c]
push eax
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
jne 0x4474b9
mov dword [ebp - 0x328], 0x104
lea ecx, [ebp - 0x328]
push ecx
lea edx, [ebp - 0x108]
push edx
push 0
push 0
push 0x513e44
mov eax, dword [ebp - 0x320]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
jne 0x4474ac
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp - 0x544]
call fcn.00447de0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x4474ac
mov dword [ebp - 0x324], 1
mov ecx, dword [ebp - 0x320]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x324], 0
je 0x447539
push str._n_FixServices_Delete_registry_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [ebp - 0x31c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x513e74
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x330], 0
mov word [ebp - 0x538], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x536]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
lea eax, [ebp - 0x31c]
push eax
push SysStringLen
mov ecx, dword [ebp - 0x544]
call fcn.004477f5
test eax, eax
jne 0x44752b
mov eax, dword [ebp - 4]
jmp 0x44755d
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x44738c
mov edx, dword [ebp - 0x218]
add edx, 1
mov dword [ebp - 0x218], edx
jmp 0x44738c
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x44811e
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov dword [ebp - 0x434], ecx
mov eax, dword [ebp - 0x434]
cmp dword [eax + 0x18], 0
jne 0x448144
mov ecx, dword [ebp - 0x434]
call fcn.0044586a
mov ecx, dword [ebp - 0x434]
cmp dword [ecx + 0x18], 0
jne 0x448157
xor eax, eax
jmp 0x44829b
push 0x514118
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0xc], 0
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x424], edx
cmp dword [ebp - 0x424], 0
jne 0x448187
mov dword [ebp - 0x438], 0
jmp 0x4481d5
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x430]
shl eax, 1
add eax, 3
and al, 0xfc
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x43c], esp
mov ecx, dword [ebp - 0x430]
push ecx
mov edx, dword [ebp - 0x424]
push edx
mov eax, dword [ebp - 0x43c]
push eax
call fcn.00415370
mov dword [ebp - 0x438], eax
mov ecx, dword [ebp - 0x438]
push ecx
push 0x514150
push 0x104
lea edx, [ebp - 0x41c]
push edx
call fcn.00415410
add esp, 0x10
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x434]
call fcn.00447564
test eax, eax
jne 0x44821a
xor eax, eax
jmp 0x44829b
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.ntdll.dll__wcsupr]
add esp, 4
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.ntdll.dll__wcsupr]
add esp, 4
lea edx, [ebp - 0x214]
mov dword [ebp - 0x42c], edx
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x428], eax
push 0
lea ecx, [ebp - 0x420]
push ecx
push 4
lea edx, [ebp - 4]
push edx
push 8
lea eax, [ebp - 0x42c]
push eax
push 0x222020
mov ecx, dword [ebp - 0x434]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x448287
xor eax, eax
jmp 0x44829b
push str._CSpecialModuleKiller::DelRegValueKeyNormalFormat___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
cmp dword [ebp - 4], 0
sete al
lea esp, [ebp - 0x43c]
mov esp, ebp
pop ebp
ret 0xc