joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d88f
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 0x43d8c1
xor eax, eax
jmp 0x43d903
push 0
lea ecx, [ebp - 4]
push ecx
push 0x7388
push 0x50c854
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x43d8ed
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x43d903
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 0x43d96e
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.0043d909
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43d9da
cmp dword [ebp - 4], 0
je 0x43d9da
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43d9da
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 0x43d9ea
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 0x43d9f3
Capabilities:
Delete file
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 0x43da18
mov eax, 1
jmp 0x43dbcf
push 0
push 0
push 3
push 0
push 0
push closesocket
push 0x50b8b8
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 0x43da62
mov eax, dword [ebp - 0x128]
mov dword [eax + 0x18], 1
mov ecx, dword [ebp - 0x128]
mov eax, dword [ecx + 0x18]
jmp 0x43dbcf
mov edx, dword [ebp - 0x128]
cmp dword [edx + 0x18], 0
je 0x43da78
mov eax, 1
jmp 0x43dbcf
mov eax, dword [ebp - 0x128]
cmp dword [eax + 0x1c], 0xffffffff
je 0x43da8e
mov eax, 1
jmp 0x43dbcf
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.0043d88f
test eax, eax
jne 0x43dacf
xor eax, eax
jmp 0x43dbcf
lea ecx, [ebp - 0x104]
push ecx
push str.360FkAdv
mov ecx, dword [ebp - 0x128]
call fcn.0043d96e
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
je 0x43db4c
lea edx, [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x43db16
cmp dword [ebp - 0x120], 4
je 0x43db32
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 0x43db3f
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 fcn.0043ae50
mov ecx, eax
call fcn.0043b2f8
mov eax, dword [ebp - 0x128]
cmp dword [eax + 0x18], 0
je 0x43dbc6
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 0x43dbb9
mov eax, dword [ebp - 0x128]
mov dword [eax + 0x18], 1
jmp 0x43dbc6
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 0x43dc3c
Capabilities:
Manipulate safe mode programs

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 8]
push eax
push 0x50b928
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43dc79
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
xor eax, eax
jmp 0x43de48
push 7
push 0x50b968
push 1
push 0
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b532
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43dcb6
mov eax, dword [ebp - 8]
push eax
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
xor eax, eax
jmp 0x43de48
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
lea edx, [ebp - 8]
push edx
push 0x50b970
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43dcfa
mov eax, dword [ebp - 8]
push eax
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
xor eax, eax
jmp 0x43de48
push 7
push 0x50b9ac
push 1
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b532
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43dd37
mov edx, dword [ebp - 8]
push edx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
xor eax, eax
jmp 0x43de48
mov eax, dword [ebp - 8]
push eax
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
lea ecx, [ebp - 8]
push ecx
push 0x50b9b4
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43dd7b
mov edx, dword [ebp - 8]
push edx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
xor eax, eax
jmp 0x43de48
push 7
push 0x50b9f4
push 1
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.0043ae50
mov ecx, eax
call fcn.0043b532
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43ddb8
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
xor eax, eax
jmp 0x43de48
mov edx, dword [ebp - 8]
push edx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
lea eax, [ebp - 8]
push eax
push 0x50b9fc
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43ddf9
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
xor eax, eax
jmp 0x43de48
push 7
push str.Driver
push 1
push 0
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b532
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43de33
mov eax, dword [ebp - 8]
push eax
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
xor eax, eax
jmp 0x43de48
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x43e2a9
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 0x43e2c3
mov ecx, dword [ebp - 8]
call fcn.0043dbd3
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 0
jne 0x43e2d0
xor eax, eax
jmp 0x43e341
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 0x43e2ec
xor eax, eax
jmp 0x43e341
push 0x50bcac
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 0x43e331
xor eax, eax
jmp 0x43e341
push str._CSpecialModuleKiller::ProtectRegKey___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x43e347
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 0x43e361
mov ecx, dword [ebp - 8]
call fcn.0043dbd3
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 0
jne 0x43e36e
xor eax, eax
jmp 0x43e3b3
push 0x50bd04
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 0x43e3a3
xor eax, eax
jmp 0x43e3b3
push str._CSpecialModuleKiller::ProtectByPassPid___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x43e4ee
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 0x43e508
mov ecx, dword [ebp - 0x14]
call fcn.0043dbd3
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x18], 0
jne 0x43e515
xor eax, eax
jmp 0x43e56c
push 0x50be2c
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 0x43e558
xor eax, eax
jmp 0x43e56c
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 0x43e572
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 0x43e58c
mov ecx, dword [ebp - 0x10]
call fcn.0043dbd3
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x18], 0
jne 0x43e599
xor eax, eax
jmp 0x43e5fa
push 0x50be84
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 0x43e5e6
xor eax, eax
jmp 0x43e5fa
push 0x50beac
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 0x43e62d
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
cmp dword [ebp + 8], 0
jne 0x43e643
xor eax, eax
jmp 0x43e741
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 0x50bed4
lea eax, [ebp - 0x14]
push eax
call sub.ntdll.dll_memcmp
add esp, 0xc
test eax, eax
je 0x43e683
xor eax, eax
jmp 0x43e741
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 [0x50bed8]
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 0x43e6cb
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1a
jge 0x43e73f
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.0043e747
test eax, eax
je 0x43e73d
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 0x43e73d
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 0x43e73d
mov eax, 1
jmp 0x43e741
jmp 0x43e6c2
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x43e747
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 0x43e7a1
push str.Error_GetLogicalDriveStrings__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x43e7f3
mov dword [ebp - 8], 0
mov ecx, 1
test ecx, ecx
je 0x43e7f1
mov edx, dword [ebp - 8]
movsx eax, byte [ebp + edx - 0x10c]
test eax, eax
jne 0x43e7c2
jmp 0x43e7f1
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 0x43e7e6
mov eax, 1
jmp 0x43e7f3
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
jmp 0x43e7a8
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x43e7fa
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 0x43e81b
xor eax, eax
jmp 0x43e881
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 0x43e843
mov edx, dword [ebp - 8]
and edx, 0x10
test edx, edx
je 0x43e83c
xor eax, eax
jmp 0x43e881
mov eax, 1
jmp 0x43e881
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 0x43e861
xor eax, eax
jmp 0x43e881
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 0x43e87c
xor eax, eax
jmp 0x43e881
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x43e950
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.0043fd12
test eax, eax
jne 0x43e9aa
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 0x43e9c3
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 0x50bf3c
push SysStringLen
call fcn.0043ae50
mov ecx, eax
call fcn.0043b4e0
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x43eb08
mov dword [ebp - 0x114], 0
mov ecx, 1
test ecx, ecx
je 0x43eaf5
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 0x43ea5b
jmp 0x43eaf5
push 0x50bf88
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x43ea82
mov eax, dword [ebp - 0x114]
add eax, 1
mov dword [ebp - 0x114], eax
jmp 0x43ea1a
lea ecx, [ebp - 0x108]
push ecx
push 0x50bfb4
push 0x104
lea edx, [ebp - 0x218]
push edx
call fcn.0040a2c0
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 0x50c034
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
lea ecx, [ebp - 0x218]
push ecx
push SysStringLen
mov ecx, dword [ebp - 0x21c]
call fcn.0043fd12
test eax, eax
jne 0x43eae7
mov eax, dword [ebp - 4]
jmp 0x43eb0b
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x43ea1a
mov eax, dword [ebp - 0x110]
push eax
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x43f6da
Capabilities:
Print debug messages
Query or enumerate registry key

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 fcn.0043ae50
mov ecx, eax
call fcn.0043b4e0
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
jne 0x43f92a
mov dword [ebp - 0x218], 0
mov ecx, 1
test ecx, ecx
je 0x43f917
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 0x43f78b
jmp 0x43f917
lea edx, [ebp - 0x20c]
push edx
push str.SYSTEMCurrentControlSetServices_s
push 0x104
lea eax, [ebp - 0x31c]
push eax
call fcn.0040a2c0
add esp, 0x10
lea ecx, [ebp - 0x31c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x50c294
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 fcn.0043ae50
mov ecx, eax
call fcn.0043b4e0
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
jne 0x43f883
mov dword [ebp - 0x328], 0x104
lea ecx, [ebp - 0x328]
push ecx
lea edx, [ebp - 0x108]
push edx
push 0
push 0
push 0x50c298
mov eax, dword [ebp - 0x320]
push eax
call fcn.0043ae50
mov ecx, eax
call fcn.0043b507
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
jne 0x43f870
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp - 0x544]
call fcn.00440333
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x43f870
mov dword [ebp - 0x324], 1
mov ecx, dword [ebp - 0x320]
push ecx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
cmp dword [ebp - 0x324], 0
je 0x43f903
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 0x50c2c8
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.0043fd12
test eax, eax
jne 0x43f8f5
mov eax, dword [ebp - 4]
jmp 0x43f92d
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x43f740
mov edx, dword [ebp - 0x218]
add edx, 1
mov dword [ebp - 0x218], edx
jmp 0x43f740
mov eax, dword [ebp - 0x214]
push eax
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
mov eax, dword [ebp - 4]
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x440671
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 0x440697
mov ecx, dword [ebp - 0x434]
call fcn.0043dbd3
mov ecx, dword [ebp - 0x434]
cmp dword [ecx + 0x18], 0
jne 0x4406aa
xor eax, eax
jmp 0x4407ee
push 0x50c58c
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 0x4406da
mov dword [ebp - 0x438], 0
jmp 0x440728
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.00415520
mov dword [ebp - 0x438], eax
mov ecx, dword [ebp - 0x438]
push ecx
push 0x50c5c4
push 0x104
lea edx, [ebp - 0x41c]
push edx
call fcn.004155c0
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.0043f934
test eax, eax
jne 0x44076d
xor eax, eax
jmp 0x4407ee
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 0x4407da
xor eax, eax
jmp 0x4407ee
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