joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427090
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x211c
call fcn.00461300
push esi
xor esi, esi
mov eax, str.ati2evxx.exe
push edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4270b0
sub eax, edx
mov dword [ebp - 0x14], eax
xor eax, eax
mov ecx, 0x400
lea edi, [ebp - 0x211c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push 0x1000
lea ecx, [ebp - 0x211c]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x4271e5
push ebx
mov ebx, dword [ebp - 0xc]
shr ebx, 2
xor edi, edi
cmp ebx, esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], edi
jbe 0x4271dc
nop
mov edx, dword [ebp + edi*4 - 0x211c]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
xor edx, edx
cmp esi, edx
je 0x4271c6
xor eax, eax
mov dword [ebp - 0x111c], edx
mov ecx, 0x3ff
lea edi, [ebp - 0x1118]
rep stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
push 0x1000
lea ecx, [ebp - 0x111c]
push ecx
push esi
mov dword [ebp - 8], edx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4271b9
mov eax, dword [ebp - 8]
xor ebx, ebx
test eax, 0xfffffffc
jbe 0x4271b9
nop
xor eax, eax
push 0x104
mov ecx, 0x41
lea edi, [ebp - 0x11c]
lea edx, [ebp - 0x11c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + ebx*4 - 0x111c]
push edx
push eax
push esi
call sub.PSAPI.DLL_GetModuleBaseNameA
test eax, eax
je 0x4271a9
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x11c]
push str.ati2evxx.exe
push edx
call fcn.00461fe2
add esp, 0xc
test eax, eax
je 0x4271b6
mov eax, dword [ebp - 8]
inc ebx
shr eax, 2
cmp ebx, eax
jb 0x427160
jmp 0x4271b9
inc dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
inc edi
cmp edi, ebx
mov dword [ebp - 0x10], edi
jb 0x427100
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4271f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, ebx
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
push esi
rep stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x427231
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427221
sub eax, edx
add eax, 0x2f
cmp eax, ebx
jb 0x427238
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427240
push str.GlobalAti_VariBrightMonitorEvent
sub eax, edx
push str.atibtmon.exe
add eax, esi
push 0x482544
push eax
call fcn.00460f01
add esp, 0x10
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
Function at 0x4272a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
xor eax, eax
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push str.GlobalAti_VariBrightMonitorEvent
push eax
mov ecx, 0x11
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
push 2
mov dword [ebp - 4], eax
mov dword [ebp - 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_OpenEventA]
test eax, eax
pop edi
je 0x4272e7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x254]
push 0x200
push ecx
call fcn.004271f0
add esp, 8
test eax, eax
jne 0x427310
push str.VBMonitorProcessStart:_Failed_to_retreive_VBMonitor_Full_Name_n
call fcn.0040acd0
add esp, 4
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
lea ecx, [ebp - 0x254]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x42734f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.VBMonitorProcessStart:_Failed_to_create_VariBright_Monitor_Process._WinAPI_Error_Code__lu_n
call fcn.0040acd0
add esp, 8
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0xc]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x10]
push eax
call esi
mov ecx, dword [ebp - 8]
push ecx
push str.VBMonitorProcessStart:_VariBright_Monitor_Process__ProcessID__lu__created_n
call fcn.0040acd0
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x428430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x4285a6
mov dword [eax], 0xffffffff
mov ecx, dword [0x49b704]
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
push edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push ebx
push ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], eax
call fcn.00424c50
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x4284b0
lea edx, [ebp - 0x30]
push edx
push edi
call fcn.00426530
add esp, 8
test eax, eax
jne 0x4284b0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x4284bc
mov eax, SysReAllocString
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 4]
push ecx
push 0x2001f
push ebx
push str.SoftwareATIACESettingsGraphics
push eax
call esi
test eax, eax
je 0x428526
lea edx, [ebp - 4]
push edx
push 0x2001f
push ebx
push str.SoftwareATIACESettingsGraphics
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x428526
lea eax, [ebp - 4]
push eax
push 0x2001f
push ebx
push str.SoftwareWOW6432NodeATIACESettingsGraphics
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x428514
push str.GetACEPrbPath___ACE_REMAP_PATH_is_OK
jmp 0x42852b
push str.GetACEPrbPath___ACE_PATH_failed_n
call fcn.0040acd0
add esp, 4
mov dword [ebp - 4], ebx
jmp 0x428577
push str.GetACEPrbPath___ACE_PATH_is_OK
call fcn.0040acd0
mov eax, dword [ebp - 4]
add esp, 4
cmp eax, ebx
je 0x428577
mov ecx, 4
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push str.Notification
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42856d
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
pop esi
je 0x4285a5
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
test eax, eax
jne 0x428593
push str.RevertToOriginalUser:_RevertToSelf_failed
call fcn.0040acd0
add esp, 4
mov edx, dword [ebp - 0x14]
push edx
push edi
call dword [sym.imp.USERENV.dll_UnloadUserProfile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4285e0
Capabilities:
Impersonate user

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push ebx
push esi
mov dword [esi], 0
call fcn.00424d00
add esp, 8
test eax, eax
jne 0x428612
push str.ImpersonateTheUser__GetCurrentUserInfo_failed
call fcn.0040acd0
add esp, 4
pop esi
xor eax, eax
pop ebx
pop ebp
ret
cmp dword [esi], 0
jne 0x42862d
push str.ImpersonateTheUser__GetCurrentUserInfo_returns_NULL_hToken
call fcn.0040acd0
add esp, 4
pop esi
mov eax, 1
pop ebx
pop ebp
ret
push edi
mov edi, dword [ebp + 0xc]
mov dword [edi], 0x20
mov dword [edi + 8], ebx
mov eax, dword [esi]
push edi
push eax
call dword [sym.imp.USERENV.dll_LoadUserProfileA]
test eax, eax
jne 0x42866c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Fail_to_LoadUserProfile___d
call fcn.0040acd0
mov ecx, dword [esi]
add esp, 8
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov edx, dword [esi]
push edx
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x428690
push str.ImpersonateLoggedOnUser_success_n
call fcn.0040acd0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
push str.Fail_to_impersonate
call fcn.0040acd0
mov eax, dword [edi + 0x1c]
mov ecx, dword [esi]
add esp, 4
push eax
push ecx
call dword [sym.imp.USERENV.dll_UnloadUserProfile]
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x428bb0
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x211c
call fcn.00461300
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x14], eax
mov eax, str.ati2evxx.exe
mov dword [ebp - 8], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x428bd5
sub eax, edx
mov dword [ebp - 0x10], eax
call fcn.00426e90
test eax, eax
jne 0x428c01
mov eax, dword [0x49a0e8]
test ah, 4
je 0x428c01
push str.StopGlobalService_fails
call fcn.0040acd0
add esp, 4
push edi
xor eax, eax
mov ecx, 0x400
lea edi, [ebp - 0x211c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
push 0x1000
lea ecx, [ebp - 0x211c]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x428d3a
push ebx
mov ebx, dword [ebp - 8]
shr ebx, 2
xor edi, edi
test ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], edi
jbe 0x428d39
push esi
jmp 0x428c50
mov eax, dword [ebp + edi*4 - 0x211c]
cmp dword [ebp - 0x14], eax
je 0x428d2c
push eax
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x428d2c
xor ebx, ebx
xor eax, eax
lea edx, [ebp - 4]
push edx
mov dword [ebp - 0x111c], ebx
mov ecx, 0x3ff
lea edi, [ebp - 0x1118]
rep stosd dword es:[edi], eax
push 0x1000
lea eax, [ebp - 0x111c]
push eax
push esi
mov dword [ebp - 4], ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x428d1f
test dword [ebp - 4], 0xfffffffc
jbe 0x428d1f
jmp 0x428cc0
mov edx, dword [ebp + ebx*4 - 0x111c]
xor eax, eax
mov ecx, 0x41
lea edi, [ebp - 0x11c]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x11c]
push ecx
push edx
push esi
call sub.PSAPI.DLL_GetModuleBaseNameA
test eax, eax
je 0x428d09
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x11c]
push str.ati2evxx.exe
push ecx
call fcn.00461fe2
add esp, 0xc
test eax, eax
je 0x428d16
mov edx, dword [ebp - 4]
inc ebx
shr edx, 2
cmp ebx, edx
jb 0x428cc0
jmp 0x428d1f
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0xc]
inc edi
cmp edi, ebx
mov dword [ebp - 0xc], edi
jb 0x428c50
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x429c90
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x750
push ebx
push esi
mov esi, dword [0x4a9158]
push edi
or edi, 0xffffffff
xor edx, edx
mov ecx, edi
xor eax, eax
jmp 0x429cb0
cmp ecx, edi
jne 0x429cbe
cmp dword [eax + 0x4a9160], edi
jne 0x429cbe
mov ecx, edx
cmp dword [eax + 0x4a9160], esi
je 0x429cd5
add eax, 0x120
inc edx
cmp eax, 0x1680
jb 0x429cb0
jmp 0x429cd9
cmp edx, edi
jne 0x429d02
mov eax, dword [0x49a0e8]
test dword [0x49a2e8], eax
je 0x429cf7
mov ecx, dword [ebp + 8]
push ecx
push str.SessionTaskHandler:_task__d__cannot_find_active_session
call fcn.0040acd0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp + 0x10]
cmp ebx, edi
jne 0x429d0f
mov ebx, dword [0x49b704]
mov esi, dword [ebp + 8]
xor eax, eax
cmp esi, 8
mov ecx, 0x188
lea edi, [ebp - 0x750]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x130]
mov dword [ebp - 0x748], esi
mov dword [ebp - 0x740], ebx
rep stosd dword es:[edi], eax
je 0x429d67
cmp esi, 7
je 0x429d67
lea edx, [edx + edx*8]
shl edx, 5
add edx, 0x4a9164
push edx
lea eax, [ebp - 0x130]
push 0x4837e0
push eax
call fcn.00460f01
add esp, 0xc
jmp 0x429d8d
lea ecx, [edx + edx*8]
shl ecx, 5
push str._poller
add ecx, 0x4a9164
push ecx
lea edx, [ebp - 0x130]
push 0x4837d0
push edx
call fcn.00460f01
add esp, 0x10
xor eax, eax
mov ecx, 0xb
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
test edi, edi
sete al
lea ecx, [ebp + 8]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x750], 0x8001
mov dword [ebp - 0x74c], 0x620
push eax
push ecx
push 0x2c
push edx
push 0x620
lea eax, [ebp - 0x750]
push eax
lea ecx, [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
test eax, eax
je 0x429de3
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42e0a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov esi, dword [ebp + 0xc]
mov ebx, eax
call edi
mov ecx, eax
sub ecx, ebx
mov eax, 0x10624dd3
mul ecx
shr edx, 6
cmp edx, esi
ja 0x42e0e6
mov edx, dword [ebp + 8]
push 0
push edx
call fcn.0044e6b0
add esp, 8
test eax, eax
je 0x42e0ed
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42e0b3
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret

Function at 0x42e100
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov esi, dword [ebp + 0xc]
mov ebx, eax
call edi
mov ecx, eax
sub ecx, ebx
mov eax, 0x10624dd3
mul ecx
shr edx, 6
cmp edx, esi
ja 0x42e153
mov edx, dword [ebp + 8]
push 0
push edx
call fcn.0044e6b0
add esp, 8
test eax, eax
jne 0x42e153
push str.CDisplayDeviceMan::WaitUntilDeviceAttached__Driver_not_attached_yet_n
call fcn.0040acd0
add esp, 4
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42e113
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
Function at 0x4328c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
mov ebx, ecx
xor eax, eax
xor esi, esi
mov ecx, 0x41
lea edi, [ebp - 0x10c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10c]
push esi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call fcn.00416990
lea ecx, [ebp - 0x10c]
push ecx
push str.CAutoDisplayProfile::SaveAdapterIdentifier_._SubKey__s_n
call fcn.0040acd0
add esp, 0x10
lea edx, [ebp - 4]
push edx
push 0x2001f
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43296b
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x43296b
lea ecx, [ebp - 0x10c]
push ecx
push str.Failed_to_open_registry_key__s.
call fcn.0040acd0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 4]
push 0x10c
push ebx
push 3
push 0
push str.AdapterInfo
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x432cf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x200
mov esi, ecx
lea eax, [esi + 0x10c]
push eax
push 3
push 0
push str.DisplayLimits
push edi
mov dword [ebp - 4], 0
call ebx
test eax, eax
je 0x432d42
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DisplayLimits
push str.CAutoDisplayProfile::FlushToRegistry.__s_failed._err_d_n
call fcn.0040acd0
add esp, 0xc
jmp 0x432d49
mov dword [ebp - 4], 1
push 0xe4
lea ecx, [esi + 0x4ac]
push ecx
push 3
push 0
push str.Device1
push edi
call ebx
test eax, eax
je 0x432d80
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Device1
push str.CAutoDisplayProfile::FlushToRegistry.__s_failed._err_d_n
call fcn.0040acd0
add esp, 0xc
jmp 0x432d87
mov dword [ebp - 4], 1
push 0xe4
lea edx, [esi + 0x590]
push edx
push 3
push 0
push str.Device2
push edi
call ebx
test eax, eax
je 0x432dbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Device2
push str.CAutoDisplayProfile::FlushToRegistry.__s_failed._err_d_n
call fcn.0040acd0
add esp, 0xc
jmp 0x432dc5
mov dword [ebp - 4], 1
push 4
lea eax, [esi + 0x674]
push eax
push 4
push 0
push str.ProfileFlags
push edi
call ebx
test eax, eax
je 0x432df9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ProfileFlags
push str.CAutoDisplayProfile::FlushToRegistry.__s_failed._err_d_n
call fcn.0040acd0
add esp, 0xc
jmp 0x432e00
mov dword [ebp - 4], 1
push 0x1a0
lea ecx, [esi + 0x30c]
push ecx
push 3
push 0
push str.DeviceProfile
push edi
call ebx
test eax, eax
je 0x432e8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeviceProfile
push str.CAutoDisplayProfile::FlushToRegistry.__s_failed._err_d_n
call fcn.0040acd0
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
je 0x432e83
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], edx
push eax
mov dword [ebp - 8], edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push 3
push 0
push str.Timestamp
push edi
call ebx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
add esi, 0x678
mov dword [esi], edx
mov edx, dword [ebp - 8]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 1
jmp 0x432e3c
Function at 0x43c0d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
cmp dword [ebp + 8], 3
push esi
mov esi, ecx
mov dword [ebp - 4], 0
jb 0x43c0fc
push str.bPostMessageToCCC:_ulAceCommand_out_of_range
call fcn.0040acd0
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x4aaa08]
test eax, eax
je 0x43c115
push str.04874F40_A61B_405c_8206_7116B598FD8A
push eax
call dword [sym.imp.USER32.dll_GetPropA]
test eax, eax
jne 0x43c12c
push 0
push 0x43a5c0
mov dword [0x4aaa08], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x4aaa08]
test eax, eax
jne 0x43c14b
push str.bPostMessageToCCC:_failed_to_get_CCC_window_handle
call fcn.0040acd0
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
push edi
je 0x43c15e
mov eax, dword [ebp + 0xc]
push eax
call fcn.0043a2e0
jmp 0x43c167
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0043a280
add esp, 4
mov edi, eax
push edi
mov ecx, esi
call fcn.0043b380
test al, al
je 0x43c203
push str.bPostMessageToCCC:_PowerXpress_related_msg
call fcn.0040acd0
push 0xc
call fcn.00462380
mov esi, eax
add esp, 8
test esi, esi
je 0x43c203
mov edx, dword [0x4aaa08]
push edi
push 0x8486
push edx
lea eax, [ebp - 0x68]
push str.SendMessage_to__.8X_with_message_id:_.8X__lparam:__.8x
push eax
call fcn.00460f01
lea ecx, [ebp - 0x68]
push ecx
call fcn.004113d0
mov edx, dword [0x4aaa08]
push 0
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x43a5f0
mov dword [esi], edx
mov dword [esi + 4], 0x8486
mov dword [esi + 8], edi
call fcn.00423be0
add esp, 0x2c
test eax, eax
je 0x43c1fa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc
push esi
call fcn.0046226a
add esp, 4
mov ecx, dword [0x4aaa08]
push edi
push 0
push 0x8486
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
test eax, eax
je 0x43c23d
mov edx, dword [0x4aaa08]
push edx
push str.bPostMessageToCCC:_PostMessage_success_ccc0x_x
call fcn.0040acd0
add esp, 8
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x4aaa08]
push eax
push str.bPostMessageToCCC:_PostMessage_failed_ccc0x_x
call fcn.0040acd0
add esp, 8
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4412a0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 0x10]
test al, al
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
jne 0x441325
push ebx
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi + 4], eax
je 0x44130e
cmp eax, 0xffffffff
je 0x44130e
push edi
push str.CSharedDataBase::Init:_success_to_CreateFileMapping_for__s
call fcn.0040acd0
mov eax, dword [esi + 4]
add esp, 8
push ebx
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 8], eax
push edi
jne 0x44135a
push str.CSharedDataBase::Init:_failed_to_MapViewOfFile_for__s
call fcn.0040acd0
add esp, 8
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
push edi
push str.CSharedDataBase::Init:_failed_to_CreateFileMapping_for__s
call fcn.0040acd0
add esp, 8
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
test eax, eax
mov dword [esi + 4], eax
je 0x441343
cmp eax, 0xffffffff
je 0x441343
push edi
push str.CSharedDataBase::Init:_success_to_OpenFileMapping_for__s
jmp 0x4412d7
push edi
push str.CSharedDataBase::Init:_failed_to_OpenFileMapping_for__s
call fcn.0040acd0
add esp, 8
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
push str.CSharedDataBase::Init:_success_to_MapViewOfFile_for__s
call fcn.0040acd0
add esp, 8
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
Function at 0x443650
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push 0xffffffffffffffff
mov ecx, 0x4a8358
call fcn.00415ff0
test eax, eax
jne 0x44368a
test dword [0x49a0e8], 0x10000
je 0x443775
push str.PowerXpressCreateProcess:_failed_to_acquire_PX_mutex_lock
call fcn.0040acd0
add esp, 4
mov esp, ebp
pop ebp
ret
mov ecx, 0x4a8358
call fcn.00415f80
test eax, eax
je 0x44375c
push edi
xor eax, eax
mov ecx, 0x19
lea edi, [ebp - 0xb8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
push edx
push eax
lea ecx, [ebp - 0xb8]
push str.Ati2evxx.exe__PowerXpress__d__d__d
push ecx
call fcn.00460f01
add esp, 0x14
xor edx, edx
xor eax, eax
mov dword [ebp - 0x10], edx
mov ecx, 0x11
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
lea ecx, [ebp - 0x54]
push ecx
push edx
push edx
push 0x20
push edx
push edx
push edx
mov dword [ebp - 4], edx
lea edx, [ebp - 0xb8]
push edx
push 0
mov dword [ebp - 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
mov eax, dword [0x49a0e8]
pop edi
je 0x443744
test eax, 0x10000
je 0x44372c
push str.PowerXpressCreateProcess:_create_PowerXpress_process_n
call fcn.0040acd0
add esp, 4
mov eax, dword [ebp - 0xc]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x10]
push ecx
call esi
pop esi
mov esp, ebp
pop ebp
ret
test eax, 0x10000
je 0x443775
push str.PowerXpressCreateProcess:_failed_to_create_PowerXpress_process_n
call fcn.0040acd0
add esp, 4
mov esp, ebp
pop ebp
ret
test dword [0x49a0e8], 0x10000
je 0x443775
push str.PowerXpressCreateProcess:_failed_to_unlock_PX_mutex
call fcn.0040acd0
add esp, 4
mov esp, ebp
pop ebp
ret