joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426e90
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x80
lea edi, [ebp - 0x24c]
rep stosd dword es:[edi], eax
mov eax, dword [0x49a0e8]
xor esi, esi
test ah, 4
mov dword [ebp - 4], esi
je 0x426ec7
push str.StopGlobalService_is_called
call fcn.0040acd0
add esp, 4
push 4
push 0
push 0
call dword [0x472050]
mov ebx, eax
test ebx, ebx
jne 0x426f09
call dword [0x4722b8]
push eax
lea eax, [ebp - 0x24c]
push str.StopGlobalService._failed_to_open_SCM._err_d
push eax
call fcn.00460f01
lea ecx, [ebp - 0x24c]
push ecx
call fcn.004113d0
add esp, 0x10
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x49b638], 7
mov eax, str.Ati_HotKey_Poller
jbe 0x426f1c
mov eax, str.Ati_External_Event_Utility
push 0x34
push eax
push ebx
call dword [0x472054]
mov esi, eax
test esi, esi
jne 0x426f64
call dword [0x4722b8]
push eax
lea edx, [ebp - 0x24c]
push str.StopGlobalService._failed_to_OpenService._err_d
push edx
call fcn.00460f01
lea eax, [ebp - 0x24c]
push eax
call fcn.004113d0
add esp, 0x10
push ebx
call dword [0x472058]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
xor eax, eax
mov ecx, 0x188
lea edi, [ebp - 0x86c]
rep stosd dword es:[edi], eax
push 1
mov ecx, 0xb
lea edi, [ebp - 0x4c]
lea edx, [ebp - 0x4c]
rep stosd dword es:[edi], eax
push edx
lea eax, [ebp - 0x86c]
push eax
push str..pipeExtEventPipe_Service
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x864], 0x40
call fcn.00409e90
add esp, 0x10
test eax, eax
jne 0x426fe0
mov eax, dword [0x49a0e8]
test ah, 4
je 0x427072
push str.StopGlobalService:_enable_stop_global_service_capability_fails__n
call fcn.0040acd0
add esp, 4
jmp 0x427072
cmp dword [ebp - 0x24], 2
jne 0x427072
lea ecx, [ebp - 0x20]
push ecx
push 1
push esi
call dword [0x47205c]
test eax, eax
jne 0x427024
call dword [0x4722b8]
push eax
lea edx, [ebp - 0x24c]
push str.StopGlobalService._failed_to_ControlService._err_d
push edx
call fcn.00460f01
lea eax, [ebp - 0x24c]
push eax
call fcn.004113d0
add esp, 0x10
jmp 0x427072
mov ecx, dword [ebp - 0x40]
push ecx
push 0
push 0x100000
call dword [0x47215c]
mov edi, eax
test edi, edi
jne 0x427054
mov eax, dword [0x49a0e8]
test ah, 4
je 0x427072
push str.StopGlobalService:_open_service_process_fails__n
call fcn.0040acd0
add esp, 4
jmp 0x427072
push 0x3e8
push edi
call dword [0x4722a4]
test eax, eax
jne 0x42706b
mov dword [ebp - 4], 1
push edi
call dword [0x4722c0]
push esi
mov esi, dword [0x472058]
call esi
push ebx
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
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 fcn.0044d548
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 [0x47215c]
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 fcn.0044d542
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 fcn.0044d53c
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 [0x4722c0]
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 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 [0x4722c0]
xor edi, edi
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x4284bc
mov eax, 0x80000001
push esi
mov esi, dword [0x472074]
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 0x80000002
call esi
test eax, eax
je 0x428526
lea eax, [ebp - 4]
push eax
push 0x2001f
push ebx
push str.SoftwareWOW6432NodeATIACESettingsGraphics
push 0x80000002
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 [0x472078]
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 [0x47207c]
cmp edi, ebx
pop esi
je 0x4285a5
call dword [0x47204c]
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 [0x4723f4]
push edi
call dword [0x4722c0]
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 [0x4723ec]
test eax, eax
jne 0x42866c
call dword [0x4722b8]
push eax
push str.Fail_to_LoadUserProfile___d
call fcn.0040acd0
mov ecx, dword [esi]
add esp, 8
push ecx
call dword [0x4722c0]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov edx, dword [esi]
push edx
call dword [0x472048]
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 [0x4723f4]
mov edx, dword [esi]
push edx
call dword [0x4722c0]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x428bb0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x211c
call fcn.00461300
call dword [0x472230]
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 fcn.0044d548
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 [0x47215c]
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 fcn.0044d542
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 fcn.0044d53c
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 [0x472264]
push esi
call dword [0x4722c0]
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 0x42f770
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push 2
xor esi, esi
xor eax, eax
push esi
mov dword [ecx], eax
push esi
mov dword [ecx + 4], eax
push 0x4aa84c
mov dword [ebp - 8], esi
mov dword [ecx + 8], eax
call dword [0x472300]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42f7c6
lea edx, [ebp - 0x31c]
push edx
push ebx
mov dword [ebp - 0x31c], 0x11f
call dword [0x4722fc]
test eax, eax
jne 0x42f7ce
push ebx
call dword [0x4722f8]
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x34]
push eax
push esi
push ebx
mov dword [ebp - 0x34], 0x1c
mov dword [ebp - 4], esi
call dword [0x4722ec]
test eax, eax
je 0x42f971
push edi
lea ecx, [ecx]
mov edx, dword [ebp - 0x20]
push 0
push 0
push 0xc8
lea ecx, [ebp - 0x1fc]
push ecx
push edx
call dword [0x49b6f0]
test eax, eax
jne 0x42f8c1
push 0xc
lea eax, [ebp - 0x1fc]
push 0x4866d4
push eax
call fcn.00461fe2
add esp, 0xc
test eax, eax
jne 0x42f8c1
push 0x20019
push 1
push eax
push 1
lea ecx, [ebp - 0x34]
push ecx
push ebx
call dword [0x472304]
mov esi, eax
cmp esi, 0xffffffff
je 0x42f8b4
xor eax, eax
mov byte [ebp - 0x134], 0
mov ecx, 0x3f
lea edi, [ebp - 0x133]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [ebp - 0x14]
push edx
stosb byte es:[edi], al
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0x4866cc
push esi
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0x100
call dword [0x472078]
test eax, eax
jne 0x42f8ab
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x134]
push edx
push eax
call fcn.004619b0
add esp, 8
test eax, eax
jne 0x42f8ed
push esi
call dword [0x47207c]
jmp 0x42f8c1
push str.GetLocationInformation:_SetupDiOpenDevRegKey_function_fails_n
call fcn.0040acd0
add esp, 4
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x34]
inc eax
push ecx
push eax
push ebx
mov dword [ebp - 4], eax
call dword [0x4722ec]
test eax, eax
jne 0x42f7f0
pop edi
push ebx
call dword [0x4722f8]
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0xc]
push edx
push 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x15
lea edx, [ebp - 0x34]
push edx
push ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 4
mov dword [ebp - 4], 0
call dword [0x4722f0]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0xc]
push ecx
push 4
mov dword [edi], eax
xor eax, eax
lea edx, [ebp - 8]
push edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0x1c
lea ecx, [ebp - 0x34]
push ecx
push ebx
mov dword [ebp - 0xc], 4
call dword [0x4722f0]
mov eax, dword [ebp - 8]
mov edx, eax
shr edx, 0x10
and eax, 0xffff
push esi
mov dword [edi + 4], edx
mov dword [edi + 8], eax
call dword [0x47207c]
mov dword [ebp - 8], 1
pop edi
push ebx
call dword [0x4722f8]
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
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 [0x472074]
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 [0x472068]
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 [0x472040]
mov eax, dword [ebp - 4]
push eax
call dword [0x47207c]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4329a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push ebx
push esi
push edi
mov esi, ecx
xor eax, eax
mov ecx, 0x43
lea edi, [ebp - 0x224]
rep stosd dword es:[edi], eax
xor ebx, ebx
mov ecx, 0x41
lea edi, [ebp - 0x118]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x118]
push ebx
push eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], 3
mov dword [ebp - 0x10], 0x10c
call fcn.00416990
lea ecx, [ebp - 0x118]
push ecx
push str.CAutoDisplayProfile::ValidateAdapterIdentifier_._SubKey__s_n
call fcn.0040acd0
add esp, 0x10
lea edx, [ebp - 4]
push edx
push 0x2001f
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
push ebx
call dword [0x472074]
test eax, eax
je 0x432a69
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
lea eax, [ebp - 0x118]
push eax
push ebx
call dword [0x472068]
test eax, eax
je 0x432a69
lea ecx, [ebp - 0x118]
push ecx
push str.ValidateAdapterIdentifier._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
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push str.AdapterInfo
push edx
mov byte [ebp + 0xb], 0
call dword [0x472078]
test eax, eax
jne 0x432b33
mov edi, esi
mov ecx, 0x43
lea esi, [ebp - 0x224]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x432b2d
mov eax, dword [0x49b618]
test eax, eax
jne 0x432b2d
push str.ValidateAdapterIdentifier._The_existing_profile_contains_different_adapter_information._Delete_all_profiles_n
call fcn.0040acd0
mov edx, dword [0x4878fc]
xor eax, eax
mov ecx, 0x41
lea edi, [ebp - 0x118]
rep stosd dword es:[edi], eax
mov ecx, dword [str.HKEY_CURRENT_USER_]
mov eax, dword [0x487900]
mov dword [ebp - 0x118], ecx
mov ecx, dword [0x487904]
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x114], edx
mov dx, word [0x487908]
mov dword [ebp - 0x110], eax
mov al, byte [0x48790a]
lea ecx, [ebp - 0x118]
push 0
push ecx
mov word [ebp - 0x108], dx
mov byte [ebp - 0x106], al
call fcn.00416990
lea edx, [ebp - 0x118]
push edx
jmp 0x432ba9
mov byte [ebp + 0xb], 1
jmp 0x432bb1
push str.ValidateAdapterIdentifier._RegQueryValueEx_failed_n
call fcn.0040acd0
mov edx, dword [0x487900]
xor eax, eax
mov ecx, 0x41
lea edi, [ebp - 0x118]
rep stosd dword es:[edi], eax
mov eax, dword [str.HKEY_CURRENT_USER_]
mov ecx, dword [0x4878fc]
mov dword [ebp - 0x118], eax
mov eax, dword [0x487904]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x114], ecx
mov cx, word [0x487908]
mov dword [ebp - 0x110], edx
mov dl, byte [0x48790a]
lea eax, [ebp - 0x118]
push 0
push eax
mov word [ebp - 0x108], cx
mov byte [ebp - 0x106], dl
call fcn.00416990
lea ecx, [ebp - 0x118]
push ecx
call fcn.00414080
add esp, 0x10
mov edx, dword [ebp - 4]
push edx
call dword [0x47207c]
mov al, byte [ebp + 0xb]
test al, al
mov dword [ebp - 4], 0
jne 0x432bd8
mov ecx, dword [ebp - 0xc]
push ebx
call fcn.004328c0
test eax, eax
setne byte [ebp + 0xb]
movzx eax, byte [ebp + 0xb]
pop edi
pop esi
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 [0x472040]
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 [0x4722b8]
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 [0x4722b8]
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 [0x4722b8]
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 [0x4722b8]
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 [0x4722b8]
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 [0x4720e4]
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 [0x47234c]
test eax, eax
jne 0x43c12c
push 0
push 0x43a5c0
mov dword [0x4aaa08], 0
call dword [0x472344]
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 [0x4722c0]
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 [0x4723a8]
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