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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2120
call fcn.0045f430
push ebx
push ebp
xor ebx, ebx
push esi
xor ebp, ebp
mov eax, str.ati2evxx.exe
push edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427a18
sub eax, edx
mov dword [esp + 0x20], eax
xor eax, eax
mov ecx, 0x400
lea edi, [esp + 0x1130]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
push 0x1000
lea ecx, [esp + 0x1138]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x427b4e
mov edi, dword [esp + 0x1c]
shr edi, 2
cmp edi, ebx
mov dword [esp + 0x24], edi
jbe 0x427b4e
jmp 0x427a70
mov edx, dword [esp + ebx*4 + 0x1130]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
xor edx, edx
cmp esi, edx
je 0x427b45
xor eax, eax
mov dword [esp + 0x130], edx
mov ecx, 0x3ff
lea edi, [esp + 0x134]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
push 0x1000
lea ecx, [esp + 0x138]
push ecx
push esi
mov dword [esp + 0x28], edx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x427b36
mov eax, dword [esp + 0x18]
xor ebp, ebp
test eax, 0xfffffffc
jbe 0x427b36
jmp 0x427ae0
xor eax, eax
push 0x104
mov ecx, 0x41
lea edi, [esp + 0x2c]
lea edx, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + ebp*4 + 0x134]
push edx
push eax
push esi
call sub.PSAPI.DLL_GetModuleBaseNameA
test eax, eax
je 0x427b24
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push str.ati2evxx.exe
push edx
call fcn.0045fc11
add esp, 0xc
test eax, eax
je 0x427b32
mov eax, dword [esp + 0x18]
inc ebp
shr eax, 2
cmp ebp, eax
jb 0x427ae0
jmp 0x427b36
inc dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x14]
inc ebx
cmp ebx, edi
jb 0x427a70
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x427b60
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
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 0x427ba0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427b90
sub eax, edx
add eax, 0x30
cmp eax, ebx
jb 0x427ba6
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, esi
lea edx, [eax + 1]
jmp 0x427bb0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427bb0
push str.GlobalAti_VariBrightMonitorEvent
sub eax, edx
push str.atibrtmon.exe
add eax, esi
push 0x47a4bc
push eax
call fcn.0045ebd9
add esp, 0x10
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x427c10
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x254
xor eax, eax
push edi
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
push str.GlobalAti_VariBrightMonitorEvent
push eax
mov ecx, 0x11
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
push 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0x44
call dword [sym.imp.KERNEL32.dll_OpenEventA]
test eax, eax
pop edi
je 0x427c5d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x254
ret
lea ecx, [esp + 0x54]
push 0x200
push ecx
call fcn.00427b60
add esp, 8
test eax, eax
jne 0x427c87
push str.VBMonitorProcessStart:_Failed_to_retreive_VBMonitor_Full_Name_n
call fcn.0040aab0
add esp, 4
add esp, 0x254
ret
lea edx, [esp]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
lea ecx, [esp + 0x74]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x427cc8
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.0040aab0
add esp, 8
add esp, 0x254
ret
mov edx, dword [esp + 4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 4]
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
push str.VBMonitorProcessStart:_VariBright_Monitor_Process__ProcessID__lu__created_n
call fcn.0040aab0
add esp, 8
pop esi
add esp, 0x254
ret
Function at 0x427e70
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2124
call fcn.0045f430
push ebx
push esi
xor esi, esi
mov eax, str.dwm.exe
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427e95
sub eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor eax, eax
mov ecx, 0x400
lea edi, [esp + 0x1130]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push ecx
push 0x1000
lea edx, [esp + 0x1138]
push edx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x427fe6
mov ebx, dword [esp + 0x18]
shr ebx, 2
xor edi, edi
cmp ebx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], edi
jbe 0x427fe6
nop
mov eax, dword [esp + edi*4 + 0x1130]
push eax
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
xor edx, edx
cmp esi, edx
je 0x427fce
mov dword [esp + 0x130], edx
xor eax, eax
mov ecx, 0x3ff
lea edi, [esp + 0x134]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], edx
push 0x1000
lea edx, [esp + 0x138]
push edx
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x427fbf
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, 0xfffffffc
jbe 0x427fbf
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + ebx*4 + 0x130]
push 0x104
lea eax, [esp + 0x2c]
push eax
push ecx
push esi
call sub.PSAPI.DLL_GetModuleBaseNameA
test eax, eax
je 0x427f99
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push str.dwm.exe
push eax
call fcn.0045fc11
add esp, 0xc
test eax, eax
je 0x427fa7
mov ecx, dword [esp + 0x14]
inc ebx
shr ecx, 2
cmp ebx, ecx
jb 0x427f55
jmp 0x427fbf
mov edx, dword [esp + 0x10]
mov eax, dword [esp + edx*4 + 0x1130]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x1c], 1
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
inc edi
cmp edi, ebx
mov dword [esp + 0x10], edi
jb 0x427ef0
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427ff0
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x208
cmp dword [0x491098], 7
push ebx
push ebp
push esi
push edi
jbe 0x4280a1
xor eax, eax
push 4
push eax
mov ecx, 0x80
lea edi, [esp + 0x20]
push eax
mov dword [esp + 0x20], 1
rep stosd dword es:[edi], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
mov dword [esp + 0x10], esi
jne 0x428063
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x1c]
push str.StartDWMService._failed_to_open_SCM._err_d
push eax
call fcn.0045ebd9
lea ecx, [esp + 0x24]
push ecx
call fcn.00411050
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
push str.UxSms
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
jne 0x4280ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x1c]
push str.StartDWMService._failed_to_OpenService._err_d
push edx
call fcn.0045ebd9
lea eax, [esp + 0x24]
push eax
call fcn.00411050
add esp, 0x10
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea esp, [esp]
push 0
push 0
push edi
inc esi
call ebx
test eax, eax
jne 0x4280d8
push 0x1f4
call ebp
cmp esi, 0xa
jl 0x4280c0
cmp esi, 0xa
jne 0x428104
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x1c]
push str.StartDWMService._failed_to_StartService._err_d
push ecx
call fcn.0045ebd9
lea edx, [esp + 0x24]
push edx
call fcn.00411050
add esp, 0x10
xor ebx, ebx
jmp 0x428108
mov ebx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
pop edi
mov eax, ebx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428130
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x491098]
push ebx
push esi
xor esi, esi
cmp eax, 7
push edi
mov dword [esp + 0x10], esi
ja 0x428158
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, 0x80
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov eax, dword [0x4900e8]
test ah, 4
je 0x42817c
push str.StopDWMService_is_called
call fcn.0040aab0
add esp, 4
push 4
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
cmp ebx, esi
jne 0x4281ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x34]
push str.StopDWMService._failed_to_open_SCM._err_d
push eax
call fcn.0045ebd9
lea ecx, [esp + 0x3c]
push ecx
call fcn.00411050
mov eax, dword [esp + 0x20]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x34
push str.UxSms
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
cmp edi, esi
jne 0x428203
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x34]
push str.StopDWMService._failed_to_OpenService._err_d
push edx
call fcn.0045ebd9
lea eax, [esp + 0x3c]
push eax
call fcn.00411050
add esp, 0x10
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x28], ecx
push 1
mov dword [esp + 0x30], ecx
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x38], ecx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x42825c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x34]
push str.StopDWMService._failed_to_ControlService._err_d
push eax
call fcn.0045ebd9
lea ecx, [esp + 0x3c]
push ecx
call fcn.00411050
add esp, 0x10
mov dword [esp + 0x10], esi
jmp 0x4282a6
mov edx, dword [ebp + 8]
push edx
push esi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x42828b
mov eax, dword [0x4900e8]
test ah, 4
je 0x4282a6
push str.StopDWMService:_open_service_process_fails__n
call fcn.0040aab0
add esp, 4
jmp 0x4282a6
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push ebx
call esi
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428850
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x2c
push ebx
push ebp
mov ebp, dword [esp + 0x38]
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 8], ebx
je 0x4289e5
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push edi
mov dword [ebp], 0xffffffff
mov ecx, dword [0x491164]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push ebx
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x3c], eax
call fcn.00424ff0
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x4288e2
lea edx, [esp + 0x18]
push edx
push edi
call fcn.00426cc0
add esp, 8
test eax, eax
jne 0x4288e2
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push edi
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x4288ef
mov eax, SysReAllocString
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push ebx
push str.SoftwareATIACESettingsGraphics
push eax
call esi
test eax, eax
je 0x42895d
lea edx, [esp + 0x10]
push edx
push 0x2001f
push ebx
push str.SoftwareATIACESettingsGraphics
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x42895d
lea eax, [esp + 0x10]
push eax
push 0x2001f
push ebx
push str.SoftwareWOW6432NodeATIACESettingsGraphics
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x42894a
push str.GetACEPrbPath___ACE_REMAP_PATH_is_OK
jmp 0x428962
push str.GetACEPrbPath___ACE_PATH_failed_n
call fcn.0040aab0
add esp, 4
mov dword [esp + 0x10], ebx
jmp 0x4289b5
push str.GetACEPrbPath___ACE_PATH_is_OK
call fcn.0040aab0
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, ebx
je 0x4289b5
mov ecx, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x20]
push ecx
push ebx
push str.Notification
push eax
mov dword [esp + 0x58], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4289aa
mov edx, dword [esp + 0x40]
mov dword [ebp], edx
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
pop esi
je 0x4289e4
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
test eax, eax
jne 0x4289d1
push str.RevertToOriginalUser:_RevertToSelf_failed
call fcn.0040aab0
add esp, 4
mov ecx, dword [esp + 0x34]
push ecx
push edi
call dword [sym.imp.USERENV.dll_UnloadUserProfile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x428a20
Capabilities:
Impersonate user

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
push ebx
push esi
mov dword [esi], 0
call fcn.004250a0
add esp, 8
test eax, eax
jne 0x428a50
push str.ImpersonateTheUser__GetCurrentUserInfo_failed
call fcn.0040aab0
add esp, 4
pop esi
xor eax, eax
pop ebx
ret
cmp dword [esi], 0
jne 0x428a6a
push str.ImpersonateTheUser__GetCurrentUserInfo_returns_NULL_hToken
call fcn.0040aab0
add esp, 4
pop esi
mov eax, 1
pop ebx
ret
push edi
mov edi, dword [esp + 0x14]
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 0x428aa9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Fail_to_LoadUserProfile___d
call fcn.0040aab0
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
ret
mov edx, dword [esi]
push edx
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x428acc
push str.ImpersonateLoggedOnUser_success_n
call fcn.0040aab0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
ret
push str.Fail_to_impersonate
call fcn.0040aab0
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
ret
Function at 0x428b00
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2120
call fcn.0045f430
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x20], eax
xor ebp, ebp
mov eax, str.ati2evxx.exe
mov dword [esp + 0x18], ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x428b30
sub eax, edx
mov dword [esp + 0x1c], eax
call fcn.004277f0
test eax, eax
jne 0x428b5d
mov eax, dword [0x4900e8]
test ah, 4
je 0x428b5d
push str.StopGlobalService_fails
call fcn.0040aab0
add esp, 4
xor eax, eax
mov ecx, 0x400
lea edi, [esp + 0x1130]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
push 0x1000
lea ecx, [esp + 0x1138]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x428c81
mov edi, dword [esp + 0x18]
shr edi, 2
xor ebx, ebx
cmp edi, ebp
mov dword [esp + 0x24], edi
jbe 0x428c81
mov eax, dword [esp + ebx*4 + 0x1130]
cmp dword [esp + 0x20], eax
je 0x428c78
push eax
push ebp
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebp
je 0x428c78
xor eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x134], ebp
mov ecx, 0x3ff
lea edi, [esp + 0x138]
rep stosd dword es:[edi], eax
push 0x1000
lea eax, [esp + 0x138]
push eax
push esi
mov dword [esp + 0x24], ebp
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x428c6b
test dword [esp + 0x14], 0xfffffffc
jbe 0x428c6b
lea ebx, [ebx]
mov edx, dword [esp + ebp*4 + 0x130]
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x28]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x2c]
push ecx
push edx
push esi
call sub.PSAPI.DLL_GetModuleBaseNameA
test eax, eax
je 0x428c54
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push str.ati2evxx.exe
push ecx
call fcn.0045fc11
add esp, 0xc
test eax, eax
je 0x428c62
mov edx, dword [esp + 0x14]
inc ebp
shr edx, 2
cmp ebp, edx
jb 0x428c10
jmp 0x428c6b
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x24]
xor ebp, ebp
inc ebx
cmp ebx, edi
jb 0x428ba1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42de50
Capabilities:
Check for time delay via gettickcount

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

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

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
push edi
mov ebx, ecx
xor eax, eax
xor esi, esi
mov ecx, 0x41
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push esi
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
call fcn.00416280
lea ecx, [esp + 0x20]
push ecx
push str.CAutoDisplayProfile::SaveAdapterIdentifier_._SubKey__s_n
call fcn.0040aab0
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push 0x2001f
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4326c7
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4326c7
lea ecx, [esp + 0x18]
push ecx
push str.Failed_to_open_registry_key__s.
call fcn.0040aab0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esp + 0x10]
push 0x44
push ebx
push 3
push 0
push str.AdapterInfo
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
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 0x432a20
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
push 0x70
mov esi, ecx
lea eax, [esi + 0x44]
push eax
push 3
xor ebp, ebp
push ebp
push str.DisplayLimits
push edi
call ebx
test eax, eax
je 0x432a65
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DisplayLimits
push str.CAutoDisplayProfile::FlushToRegistry.__s_failed._err_d_n
call fcn.0040aab0
add esp, 0xc
jmp 0x432a6a
mov ebp, 1
push 0xe4
lea ecx, [esi + 0x254]
push ecx
push 3
push 0
push str.Device1
push edi
call ebx
test eax, eax
je 0x432aa1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Device1
push str.CAutoDisplayProfile::FlushToRegistry.__s_failed._err_d_n
call fcn.0040aab0
add esp, 0xc
jmp 0x432aa6
mov ebp, 1
push 0xe4
lea edx, [esi + 0x338]
push edx
push 3
push 0
push str.Device2
push edi
call ebx
test eax, eax
je 0x432add
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Device2
push str.CAutoDisplayProfile::FlushToRegistry.__s_failed._err_d_n
call fcn.0040aab0
add esp, 0xc
jmp 0x432ae2
mov ebp, 1
push 4
lea eax, [esi + 0x41c]
push eax
push 4
push 0
push str.ProfileFlags
push edi
call ebx
test eax, eax
je 0x432b16
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ProfileFlags
push str.CAutoDisplayProfile::FlushToRegistry.__s_failed._err_d_n
call fcn.0040aab0
add esp, 0xc
jmp 0x432b1b
mov ebp, 1
push 0x1a0
lea ecx, [esi + 0xb4]
push ecx
push 3
push 0
push str.DeviceProfile
push edi
call ebx
test eax, eax
je 0x432bb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeviceProfile
push str.CAutoDisplayProfile::FlushToRegistry.__s_failed._err_d_n
call fcn.0040aab0
add esp, 0xc
test ebp, ebp
je 0x432ba5
xor edx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
lea eax, [esp + 0x10]
mov dword [esp + 0x18], edx
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x10
lea ecx, [esp + 0x14]
push ecx
push 3
push 0
push str.Timestamp
push edi
call ebx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add esi, 0x420
mov dword [esi], edx
mov edx, dword [esp + 0x1c]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x10
ret 4
mov ebp, 1
jmp 0x432b54