joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4767f0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x61c]
push ecx
lea ecx, [ebp - 0x624]
call dword [sym.imp.mfc100.dll_Ordinal_306]
push 0x410
lea edx, [ebp - 0x414]
push 0
push edx
mov dword [ebp - 0x620], 0
call sub.MSVCR100.dll_memset
push 0x4bb200
lea eax, [ebp - 0x414]
push 0x208
push eax
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
mov edi, dword [sym.imp.MSVCR100.dll_wcscat_s]
lea ecx, [ebp - 0x61c]
push ecx
lea edx, [ebp - 0x414]
push 0x208
push edx
call edi
push 0x4bb1f8
lea eax, [ebp - 0x414]
push 0x208
push eax
call edi
add esp, 0x30
test esi, esi
je 0x4768ae
push esi
lea ecx, [ebp - 0x414]
push 0x208
push ecx
call edi
add esp, 0xc
push 0
lea edx, [ebp - 0x620]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x47690e
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4768e1
sub eax, edx
mov edx, dword [ebp - 0x620]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x414]
push ecx
push 1
push 0
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x620]
pop edi
pop esi
pop ebx
test eax, eax
je 0x47692c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x620], 0
lea ecx, [ebp - 0x624]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
Function at 0x476950
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0c39
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [ebp - 0x30]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x476a2f
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
push 0
push 0
push 0x10
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x28]
push 0
push edx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x476a2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4ae26b
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov esi, dword [ebp + 8]
push esi
lea eax, [ebp - 0x24]
push str.Your_system_will_be_restart_in__d_seconds._Please_save_your_files_and_close_programs._Note:_Solution_will_be_continue_after_restart
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0xc
push SysReAllocStringLen
push 1
push 1
push esi
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExA]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x476ad9
test al, 0x10
je 0x476ad9
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov al, 1
pop ebp
ret
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
xor al, al
pop ebp
ret
Function at 0x4780a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0e6f
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
lea eax, [ebp - 0x114]
push eax
push edi
push edi
push 5
push edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ecx, [ebp - 0x114]
push ecx
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_310]
push 0x4c4fe0
mov dword [ebp - 4], edi
lea edx, [ebp - 0x118]
push esi
mov edi, 1
push edx
mov dword [ebp - 0x11c], edi
call fcn.004019e0
add esp, 0xc
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret

Function at 0x478230
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0ecf
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], 0
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea eax, [ebp - 0x114]
push eax
push 0
push 0
push 5
push 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x11c], 1
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x4782e1
lea ecx, [ebp - 0x114]
push ecx
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_1316]
push 0x4c4fe0
lea edx, [ebp - 0x118]
push esi
push edx
call fcn.004019e0
add esp, 0xc
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
Function at 0x478380
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0ecf
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], 0
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea eax, [ebp - 0x114]
push eax
push 0
push 0
push 5
push 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x11c], 1
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x478431
lea ecx, [ebp - 0x114]
push ecx
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_1316]
push str.AnakageCommon_
lea edx, [ebp - 0x118]
push esi
push edx
call fcn.004019e0
add esp, 0xc
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
Function at 0x479050
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1103
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x4ae26b
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x120], 0
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 4], 0
mov dword [ebp - 0x120], 1
call sub.mfc100.dll_Ordinal_1929
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, eax
call fcn.0040a6d0
push str.inplace
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
jne 0x4790fb
lea edx, [ebp - 0x118]
push edx
call fcn.00478160
add esp, 4
mov byte [ebp - 4], 2
jmp 0x479156
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc100.dll_Ordinal_310]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_901]
push str.Anakage_
lea edx, [ebp - 0x118]
push esi
push edx
call fcn.004019e0
add esp, 0xc
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x11c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
Function at 0x479c60
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a13b5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4e3ec8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc100.dll_Ordinal_300]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_7322]
test al, al
jne 0x479e0f
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
call fcn.00473a70
add esp, 4
test al, al
je 0x479e0f
lea ecx, [ebp - 0x38]
call sub.mfc100.dll_Ordinal_423
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc100.dll_Ordinal_300]
push 1
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc100.dll_Ordinal_11781]
push 0x4b0cd8
mov ecx, eax
mov byte [ebp - 4], 4
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
lea ecx, [ebp - 0x18]
setne bl
mov byte [ebp - 4], 3
call dword [sym.imp.mfc100.dll_Ordinal_901]
test bl, bl
je 0x479d32
push 0x4b0cd8
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1483]
push 0x4c53e8
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1483]
push 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x38]
call sub.mfc100.dll_Ordinal_4188
test eax, eax
je 0x479dfa
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov bl, 5
lea ecx, [ebp - 0x38]
call sub.mfc100.dll_Ordinal_4207
lea ecx, [ebp - 0x38]
mov edi, eax
call sub.mfc100.dll_Ordinal_7317
test eax, eax
jne 0x479daf
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x40]
push 0x10
lea ecx, [ebp - 0x38]
call eax
test eax, eax
jne 0x479daf
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x38]
call sub.mfc100.dll_Ordinal_4939
mov ecx, eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x40]
push 0x10
lea ecx, [ebp - 0x38]
call eax
test eax, eax
je 0x479df2
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x38]
call sub.mfc100.dll_Ordinal_4939
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call esi
test edi, edi
jne 0x479d64
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call sub.mfc100.dll_Ordinal_979
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47a6c0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1582
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4e3ec8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
push ecx
mov byte [ebp - 4], 1
call fcn.0047a520
add esp, 8
lea edx, [ebp - 0x10]
push edx
push 0xf003f
push 0
lea ecx, [ebp + 8]
mov dword [ebp - 0x10], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x47a748
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47b980
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
mov dword [ebp - 0x114], ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x47b9da
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x47ba0f
cmp eax, 2
jne 0x47b9ef
push str.Key_not_found._n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
push str.Error_opening_key._n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [edi + eax - 1], 0x5c
lea esi, [edi + eax]
je 0x47ba28
mov byte [esi], 0x5c
inc esi
mov byte [esi], 0
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, dword [ebp - 0x10c]
push 0
push 0
push 0
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x108]
push eax
push 0
push ecx
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x47baf3
lea ebx, [ebp - 0x108]
sub ebx, esi
lea esp, [esp]
mov edx, 0x208
mov eax, esi
jmp 0x47ba80
lea ecx, [edx + 0x7ffffdf6]
test ecx, ecx
je 0x47ba99
mov cl, byte [ebx + eax]
test cl, cl
je 0x47ba99
mov byte [eax], cl
inc eax
dec edx
jne 0x47ba80
jmp 0x47ba9d
test edx, edx
jne 0x47ba9e
dec eax
mov edx, dword [ebp - 0x114]
push edi
push edx
mov byte [eax], 0
call fcn.0047b980
add esp, 8
test eax, eax
je 0x47baed
lea eax, [ebp - 0x11c]
push eax
mov eax, dword [ebp - 0x10c]
push 0
push 0
push 0
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x108]
push edx
push 0
push eax
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x47ba70
mov ebx, dword [ebp - 0x114]
mov byte [esi - 1], 0
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 4]
neg eax
pop esi
sbb eax, eax
pop edi
xor ecx, ebp
inc eax
pop ebx
call fcn.0048e770
mov esp, ebp
pop ebp
ret
Function at 0x47c3d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a19ab
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4e3ec8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x18], edi
mov esi, dword [ebp + 8]
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
push str.Outlook.ApplicationCurVer
mov ecx, esi
mov dword [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_1316]
push 0x32
call sub.mfc100.dll_Ordinal_265
add esp, 4
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_316]
push 0x20019
mov ecx, esi
mov byte [ebp - 4], 2
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push SysReAllocStringLen
lea ecx, [ebp - 0x28]
call fcn.004733a0
cmp eax, edi
jne 0x47c4be
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
push ecx
push edi
lea edx, [ebp - 0x1c]
push edx
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
push 0x4ae26b
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, edi
jne 0x47c4be
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x47c491
cmp eax, 2
jne 0x47c4be
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call dword [sym.imp.mfc100.dll_Ordinal_4498]
push eax
push 0x4ae26b
lea ecx, [ebp - 0x28]
call fcn.00473450
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_11439]
push str.Outlook.Application.15
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
jne 0x47c4d7
push str.SOFTWAREMicrosoftOffice15.0
jmp 0x47c520
push str.Outlook.Application.16
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
jne 0x47c4f0
push str.SOFTWAREMicrosoftOffice16.0
jmp 0x47c520
push str.Outlook.Application.14
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
jne 0x47c509
push str.SOFTWAREMicrosoftOffice14.0
jmp 0x47c520
push str.Outlook.Application.12
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
jne 0x47c528
push str.SOFTWAREMicrosoftOffice12.0
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, dword [ebp - 0x28]
cmp eax, edi
je 0x47c53f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47c560
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1a18
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ebx, ebx
push SysReAllocStringLen
push ebx
push ebx
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
cmp esi, ebx
jne 0x47c5f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x144], esp
push 0x4ae26b
call dword [sym.imp.mfc100.dll_Ordinal_310]
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
push str.OpenSCManager_failed
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], bl
call fcn.0047c140
add esp, 0xc
jmp 0x47c6c5
push SysReAllocStringLen
push str.HealITService
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
cmp edi, ebx
jne 0x47c65b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
push 0x4ae26b
call dword [sym.imp.mfc100.dll_Ordinal_310]
push ecx
mov ecx, esp
mov dword [ebp - 0x13c], esp
push str.OpenService_failed___d__n
mov byte [ebp - 4], 2
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], bl
call fcn.0047c140
add esp, 0xc
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x144]
mov dword [ecx], ebx
jmp 0x47c6c5
lea edx, [ebp - 0x140]
push edx
push 0x24
lea eax, [ebp - 0x138]
push eax
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x47c7e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x13c], esp
push 0x4ae26b
call dword [sym.imp.mfc100.dll_Ordinal_310]
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
push str.QueryServiceStatusEx_failed___d__n
mov byte [ebp - 4], 3
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], bl
call fcn.0047c140
add esp, 0xc
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x134]
cmp eax, 1
je 0x47c6b9
cmp eax, 3
je 0x47c6b9
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
mov eax, 1
jmp 0x47c6c7
Function at 0x47cff0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1bc2
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
mov eax, dword [0x4e3ec8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_13125]
push 0x38
xor ebx, ebx
lea eax, [ebp - 0x44]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp + 8]
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x40
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.mfc100.dll_Ordinal_1448]
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ebx
call dword [sym.imp.mfc100.dll_Ordinal_7322]
test al, al
je 0x47d06d
mov dword [ebp - 0x34], ebx
jmp 0x47d079
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x48]
push ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp byte [ebp + 0x10], bl
je 0x47d09f
mov edx, dword [ebp - 0x10]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x47d0c5
mov esi, dword [ebp - 0x10]
call sub.mfc100.dll_Ordinal_1929
mov eax, dword [eax + 4]
mov dword [eax + 0x14c], esi
call fcn.004764f0
mov esi, eax
call sub.mfc100.dll_Ordinal_1929
mov ecx, dword [eax + 4]
mov dword [ecx + 0x140], esi
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_901]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret