joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c1970
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x506e0c], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
je 0x4c1a3d
push str.Advapi32.dll
mov dword [ebp - 0x114], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4c1a49
push str.RegDeleteKeyExA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c19d9
push 0
push 0x100
push edi
push ebx
call eax
mov dword [ebp - 0x114], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x114], 0
je 0x4c1a49
cmp dword [0x506e0c], 0
mov dword [ebp - 0x114], 0
je 0x4c1a5f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4c1a35
push str.RegDeleteKeyExA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c1a2e
push 0
push 0x200
push edi
push ebx
call eax
mov dword [ebp - 0x114], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x114]
jmp 0x4c1a45
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x4c1a5f
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4f8b78]
lea eax, [ebp - 0x118]
push eax
push ecx
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4c1a96
xor edx, edx
cmp eax, 2
sete dl
mov eax, edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [edi + eax - 1], 0x5c
lea esi, [edi + eax]
je 0x4c1aae
mov byte [esi], 0x5c
inc esi
mov byte [esi], 0
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebp - 0x118]
push 0
push 0
push 0
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x110]
push edx
push 0
push eax
mov dword [ebp - 0x11c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4c1b3a
lea ecx, [ebp - 0x110]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push ebx
call fcn.004c1970
add esp, 8
test eax, eax
je 0x4c1b3a
lea edx, [ebp - 0x124]
push edx
mov edx, dword [ebp - 0x118]
push 0
push 0
push 0
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x110]
push ecx
push 0
push edx
mov dword [ebp - 0x11c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x4c1ae6
mov byte [esi - 1], 0
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x506e0c], 0
je 0x4c1b65
push 0x100
push edi
push ebx
call fcn.004bfe70
add esp, 0xc
jmp 0x4c1b6d
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor ecx, ecx
test eax, eax
sete cl
pop edi
pop esi
pop ebx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x4c3060
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c30f2
push ebx
push edi
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xfffffbff
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push esi
call ebx
mov edi, eax
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4c30cc
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push 2
push esi
call ebx
push 0x20
lea edx, [ebp - 0x24]
mov ecx, 0x130
mov esi, eax
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret

Function at 0x4c37e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
inc eax
push ebx
push edi
mov dword [ebp - 0x214], eax
mov eax, dword [esi + 0x1c]
lea edi, [esi + 0x1c]
inc ecx
inc edx
inc eax
cmp dword [esi], 4
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x218], eax
jne 0x4c390e
cmp dword [esi + 0xc], 1
jne 0x4c390e
mov edx, dword [esi + 0x14]
push 0x200
lea ecx, [ebp - 0x208]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esi + 0x18]
push 1
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [0x4fb7a4]
test eax, eax
je 0x4c3869
mov ecx, dword [esi + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, 0x4e6e68
lea ecx, [ebp - 0x208]
call fcn.0047bb80
mov edx, dword [esi + 0x18]
test eax, eax
je 0x4c38c8
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
push 0xc0c0c0
push edx
call ebx
mov edx, dword [esi + 0x18]
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x208]
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [0x500330]
mov ecx, dword [esi + 0x18]
push eax
push ecx
call ebx
mov eax, dword [esi + 0x18]
push 0x10
push edi
push 0xffffffffffffffff
lea edx, [ebp - 0x208]
push edx
push eax
jmp 0x4c38e9
mov ecx, dword [0x500330]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esi + 0x18]
push 0x1124
push edi
push 0xffffffffffffffff
lea eax, [ebp - 0x208]
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawTextA]
mov dword [0x500330], 0x404040
mov eax, 1
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x4c4890
Capabilities:
Create process on windows
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x1c8]
push eax
mov dword [0x506e94], 0
mov dword [ebp - 0x1c8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x1b8], 1
jne 0x4c4995
push str.SYSTEM_AGENT_COM_WINDOW
push str.SAGEWINDOWCLASS
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x4c4a2d
push 0x44
push eax
lea ecx, [ebp - 0x228]
push ecx
call fcn.004d29c0
add esp, 0xc
lea edx, [ebp - 0x1cc]
push edx
lea eax, [ebp - 0x110]
push eax
push 0x104
push 0
push str.mstask.exe
push 0
mov dword [ebp - 0x228], 0x44
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
je 0x4c49d9
lea ecx, [ebp - 0x1dc]
push ecx
lea edx, [ebp - 0x228]
push edx
push 0
push 0
push 0x210
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4c49d9
mov ecx, dword [ebp - 0x1dc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov dword [0x506e94], 1
call esi
mov edx, dword [ebp - 0x1d8]
push edx
call esi
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x4c49d9
push 0x14
push str.Schedule
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
call edi
test esi, esi
je 0x4c49d9
lea eax, [ebp - 0x12c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x4c49ef
push esi
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x128], 4
je 0x4c4a2a
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x4c4a2a
push esi
call edi
mov dword [0x506e94], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x4c4a40
Capabilities:
Find taskbar
Query service status
Stop service
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x148]
mov esi, 1
push eax
mov dword [ebp - 0x14c], esi
mov dword [0x506e94], 0
mov dword [ebp - 0x148], 0x94
call edi
cmp dword [ebp - 0x138], esi
jne 0x4c4b64
push ebx
mov ebx, dword [sym.imp.USER32.dll_FindWindowA]
push str.SYSTEM_AGENT_COM_WINDOW
push str.SAGEWINDOWCLASS
call ebx
test eax, eax
je 0x4c4b51
lea ecx, [ebp - 0x14c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x4c4b34
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4c4b34
lea edx, [ebp - 0x150]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4c4af6
mov eax, dword [ebp - 0x150]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xb4]
push ecx
mov dword [ebp - 0xb4], 0x94
call edi
cmp dword [ebp - 0xa4], 2
je 0x4c4b34
push 0x4e27f8
push str.Shell_TrayWnd
call ebx
test eax, eax
je 0x4c4b34
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
pop edi
mov dword [0x506e94], 0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
push esi
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x4c4ba4
push 0x24
push str.Schedule
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
call edi
test esi, esi
je 0x4c4ba4
lea edx, [ebp - 0x20]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x4c4bba
push esi
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x1c], 4
jne 0x4c4beb
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
test eax, eax
jne 0x4c4be9
call edi
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x4c57a0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x80000000
push ebx
push ebx
mov edi, ecx
mov dword [ebp - 0x130], 0x100
mov dword [ebp - 0x12c], ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
cmp esi, ebx
je 0x4c5862
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x104]
push ecx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_GetServiceKeyNameA]
test eax, eax
jne 0x4c580c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
push 0x80000000
lea edx, [ebp - 0x104]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
cmp edi, ebx
je 0x4c585b
lea eax, [ebp - 0x12c]
push eax
push 0x24
lea ecx, [ebp - 0x128]
push ecx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x4c5854
movzx ebx, word [ebp - 0x124]
movzx edx, word [ebp - 0x128]
shl ebx, 0x10
or ebx, edx
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret

Function at 0x4c5a50
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x80000000
xor ebx, ebx
push ebx
push ebx
mov edi, ecx
mov dword [ebp - 0x124], 0x100
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
je 0x4c5af2
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x104]
push ecx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_GetServiceKeyNameA]
test eax, eax
jne 0x4c5ab2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
push 0xf01ff
lea edx, [ebp - 0x104]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
je 0x4c5aeb
lea eax, [ebp - 0x120]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4c5ae4
mov ebx, 1
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x4ca680
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x20
lea edx, [ebp - 0x24]
mov ecx, 2
call fcn.004ca1e0
add esp, 4
cmp dword [ebp + 8], 0
push 1
je 0x4ca7bd
call fcn.004ccb10
add esp, 4
lea edi, [ebp - 0x130]
call fcn.0047c070
mov edx, 0x104
mov eax, edi
mov edi, edi
cmp byte [eax], 0
je 0x4ca6db
inc eax
dec edx
jne 0x4ca6d0
jmp 0x4ca703
test edx, edx
je 0x4ca703
mov ecx, 0x104
sub ecx, edx
mov eax, 0x104
sub eax, ecx
push str.winpatrol.exe
lea ecx, [ebp + ecx - 0x130]
mov edx, 0x7fffffff
call fcn.004010b0
cmp dword [0x506e0c], 0
je 0x4ca72e
mov edi, dword [0x4f8b78]
mov ebx, dword [0x4f8b7c]
mov dword [0x4f8b78], 0x20019
mov dword [0x4f8b7c], 0x20106
jmp 0x4ca73a
mov edi, dword [ebp - 0x134]
mov ebx, dword [ebp - 0x134]
cmp dword [ebp + 0xc], 0
je 0x4ca74b
lea eax, [ebp - 0x24]
push eax
mov edx, CreateStatusWindowA
jmp 0x4ca754
lea ecx, [ebp - 0x24]
push ecx
mov edx, 0x80000001
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x130]
call fcn.004c0250
mov esi, eax
add esp, 8
test esi, esi
je 0x4ca777
mov dword [0x506e78], 1
lea edx, [ebp - 0x130]
push edx
push str.SoftwareBillP_StudiosWinPatrolRun
mov ecx, 0x4e2ca8
mov edx, 0x80000001
call fcn.004c0250
add esp, 8
cmp dword [0x506e0c], 0
mov eax, esi
je 0x4ca7cf
mov dword [0x4f8b78], edi
mov dword [0x4f8b7c], ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
call fcn.004ccb10
add esp, 4
mov dword [0x506e78], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret

Function at 0x4caa10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.004ca450
push 0x20
lea edx, [ebp - 0x24]
mov ecx, 2
mov dword [0x506de0], eax
mov esi, eax
call fcn.004ca1e0
mov eax, esi
add esp, 4
sub eax, 0
pop esi
je 0x4caa51
dec eax
jne 0x4caa63
mov ecx, 0x26e
jmp 0x4caa56
mov ecx, 4
push 0x20
lea edx, [ebp - 0x24]
call fcn.004ca1e0
add esp, 4
call fcn.004ca5f0
test eax, eax
je 0x4caa7e
push 0x20
lea edx, [ebp - 0x24]
mov ecx, 0x14
call fcn.004ca1e0
add esp, 4
lea eax, [ebp - 0x24]
push eax
mov edx, 0x7ffffffe
mov eax, 0x20
mov ecx, 0x5016f0
call fcn.004010b0
cmp dword [0x5082a0], 0
jle 0x4caac7
cmp dword [0x508094], 1
je 0x4caac7
push edi
push str.__Newsletter_available__see_PLUS_tab._
push str.__Newsletter_available__see_PLUS_tab._
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0x21
mov edi, 0x5016f0
call fcn.00401040
pop edi
mov ecx, dword [0x4fbdcc]
push 0x5016f0
push 0
push 0xc
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x4fbdcc]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x4fbdcc]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x4cae70
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4f83a4], 0x2328
jg 0x4caebc
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [ebp - 0x224]
push ecx
push str._ld___
lea edx, [ebp - 0x208]
push 0x200
push edx
call fcn.00402ee0
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x4cbc00
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push str.Cleanup_and_Initialize_Registry
mov esi, str.winpatrol.c
call fcn.0047da70
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 4
push str.SoftwareBillP_StudiosWinPatrolRun
push 0x80000001
call esi
push str.SoftwareBillP_StudiosWinPatrolIEHelpers
push 0x80000001
call esi
push str.SoftwareBillP_StudiosWinPatrolTasks
push 0x80000001
call esi
mov edx, dword [0x4f8b7c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push edx
push 0
push 0
push 0
push str.SoftwareBillP_StudiosWinPatrolRun
push 0x80000001
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4cbc7d
mov eax, dword [ebp - 4]
push eax
call edi
mov eax, dword [0x4f8b7c]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push eax
push 0
push 0
push 0
push str.SoftwareBillP_StudiosWinPatrolIEHelpers
push 0x80000001
call esi
test eax, eax
jne 0x4cbca9
mov ecx, dword [ebp - 4]
push ecx
call edi
mov ecx, dword [0x4f8b7c]
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
push 0
push ecx
push 0
push 0
push 0
push str.SoftwareBillP_StudiosWinPatrolTasks
push 0x80000001
call esi
test eax, eax
jne 0x4cbcd6
mov edx, dword [ebp - 4]
push edx
call edi
call fcn.004caed0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4cbcf0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x20
push 0x4e27f8
push str.SoftwareBillP_StudiosWinPatrolServices
lea ecx, [ebp - 0x24]
mov edx, 0x80000001
call fcn.004bff10
add esp, 0xc
cmp byte [ebp - 0x24], 0x50
je 0x4cbebc
test eax, eax
jle 0x4cbd40
push str.SoftwareBillP_StudiosWinPatrolServices
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [0x4f8b7c]
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x23c]
push ecx
push 0
push edx
push 0
push 0
push 0
push str.SoftwareBillP_StudiosWinPatrolServices
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4cbd7e
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4f3f80
lea ecx, [ebp - 0x130]
push 0x104
push ecx
call fcn.00402ee0
add esp, 0xc
push 0x4e27f8
push str.SoftwareBillP_StudiosWinPatrolServices
lea ecx, [ebp - 0x130]
mov edx, 0x80000001
call fcn.004c0250
add esp, 8
cmp dword [0x505890], 0
je 0x4cbdc2
call fcn.004c2580
call fcn.0048a730
xor ebx, ebx
cmp dword [0x505890], ebx
jle 0x4cbebc
mov edx, dword [ebx*4 + 0x501878]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x4cbe41
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
call edi
test eax, eax
mov edx, 0x7ffffffe
lea ecx, [ebp - 0x130]
mov eax, 0x80
jne 0x4cbe17
push str.Title_Not_Found
call fcn.004010b0
push str.Title_Not_Found
jmp 0x4cbe1e
push esi
call fcn.004010b0
push esi
call edi
push str.Title
lea esi, [ebp - 0x130]
call fcn.0047da70
mov eax, dword [ebx*4 + 0x501878]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebx*4 + 0x501878]
push ecx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4cbe69
mov edx, dword [ebx*4 + 0x501878]
mov esi, dword [eax + 0x288]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0x4e8d64
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.00402ee0
lea ecx, [ebp - 0x130]
push ecx
push str.SoftwareBillP_StudiosWinPatrolServices
lea ecx, [ebp - 0x24]
mov edx, 0x80000001
call fcn.004c0250
lea edi, [ebp - 0x130]
call fcn.004c22f0
lea edx, [ebp - 0x238]
push edx
mov ecx, edi
call fcn.0047cea0
inc ebx
add esp, 0x1c
cmp ebx, dword [0x505890]
jl 0x4cbdd5
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x4cbed0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x20
push 0x4e27f8
push str.SoftwareBillP_StudiosWinPatrolHidden
lea ecx, [ebp - 0x24]
mov edx, 0x80000001
call fcn.004bff10
add esp, 0xc
cmp byte [ebp - 0x24], 0x50
je 0x4cc043
test eax, eax
jle 0x4cbf20
push str.SoftwareBillP_StudiosWinPatrolHidden
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [0x4f8b7c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x24c]
push ecx
push 0
push edx
push 0
push 0
push 0
push str.SoftwareBillP_StudiosWinPatrolHidden
push 0x80000001
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4cbf62
mov eax, dword [ebp - 0x24c]
push eax
call edi
mov eax, dword [0x4f8b7c]
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x24c]
push edx
push 0
push eax
push 0
push 0
push 0
push str.SoftwareBillP_StudiosDetected
push 0x80000001
call esi
test eax, eax
jne 0x4cbf97
mov ecx, dword [ebp - 0x24c]
push ecx
call edi
push 0x4f3f80
lea edx, [ebp - 0x130]
push 0x104
push edx
call fcn.00402ee0
add esp, 0xc
push 0x4e27f8
push str.SoftwareBillP_StudiosWinPatrolHidden
lea ecx, [ebp - 0x130]
mov edx, 0x80000001
call fcn.004c0250
add esp, 8
cmp dword [0x505890], 0
je 0x4cbfdb
call fcn.004c2580
call fcn.00487bc0
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [ebp - 0x130]
push ecx
lea ecx, [ebp - 0x248]
call fcn.0047fb70
xor ebx, ebx
add esp, 4
cmp dword [0x505890], ebx
jle 0x4cc043
lea esp, [esp]
lea edi, [ebp - 0x238]
call fcn.004c22f0
test eax, eax
je 0x4cc03a
mov edx, edi
push edx
push str.SoftwareBillP_StudiosWinPatrolHidden
lea ecx, [ebp - 0x130]
mov edx, 0x80000001
call fcn.004c0250
add esp, 8
inc ebx
cmp ebx, dword [0x505890]
jl 0x4cc010
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret