joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423740
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x423805
mov eax, dword [edi + 4]
cmp eax, 0x100
je 0x423763
cmp eax, 0x104
jne 0x42378a
cmp dword [edi + 8], 0x73
jne 0x42378a
push 0
push 0
push esi
push 0x42c640
push 0
push 0
call fcn.005ae60d
add esp, 0x18
test eax, eax
je 0x42378a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 4]
cmp eax, 0x2a3
jne 0x4237aa
mov dword [esi + 0xc0], 0
mov dword [esi + 0xbc], 0
jmp 0x4237bb
cmp eax, 0x2a1
jne 0x4237c8
mov dword [esi + 0xbc], 1
push 1
push 0
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [edi + 4]
cmp eax, 0x100
je 0x4237fc
cmp eax, 0x104
je 0x4237fc
cmp eax, 0x201
je 0x4237e7
cmp eax, 0x202
jne 0x423803
mov ecx, esi
mov byte [esi + 0xd4], 1
push edi
call fcn.0044cce9
pop edi
pop esi
pop ebp
ret 4
mov byte [esi + 0xd4], 0
mov ecx, esi
push edi
call fcn.0044cce9
pop edi
pop esi
pop ebp
ret 4

Function at 0x423820
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push 0
push 0
push 0
push 0
push 0x183
push 0x181
push 0x182
push dword [ebp + 8]
mov esi, ecx
call fcn.0042beb0
push 0
push 0
push esi
push 0x424480
push 0
push 0
call fcn.005ae60d
add esp, 0x18
pop esi
test eax, eax
je 0x423869
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ebp
ret 4
Function at 0x423870
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d914d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x65f018]
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, ecx
cmp byte [esi + 0x88], 0
je 0x423a06
cmp byte [esi + 0x89], 0
jne 0x423a06
cmp byte [esi + 0x115], 0
je 0x42390e
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x15
movups xmmword [ecx], xmm0
push str.lenovo_vantage3:audio
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00409d40
call fcn.0041c840
add esp, 0x18
test al, al
je 0x423a06
push 3
push 0
push 0
push str.lenovo_vantage3:audio
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x423a06
mov dword [ebp - 0x18], vtable.CMixer.0
mov dword [ebp - 0x14], 0x64
push ecx
mov dword [ebp - 4], 0
call fcn.0040e420
cmp eax, 1
jne 0x423939
push eax
push ecx
call fcn.0040e510
xor eax, eax
jmp 0x423946
push 0
push ecx
call fcn.0040e510
mov eax, 1
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
push eax
mov dword [esi + 0xe0], eax
call fcn.00423a30
cmp dword [esi + 0xe0], 0
mov eax, 0x627ab0
mov edi, 0x627aa8
cmove edi, eax
call fcn.0044712b
mov ecx, eax
test ecx, ecx
je 0x423a21
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
test edi, 0xffff0000
jne 0x4239a8
movzx eax, di
lea ecx, [ebp - 0x14]
push eax
call fcn.00403100
jmp 0x4239c9
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4239b0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x14]
call fcn.00403300
mov dword [ebp - 4], 2
mov ecx, str.Features.Toolbar.QuickSettings.Micphone
mov esi, dword [ebp - 0x14]
mov edx, esi
push str.Features.Toolbar.QuickSettings
call fcn.00424f30
add esp, 4
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x423a06
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.0058fc43
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403700
int3
Function at 0x425450
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x65f018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push 0
mov ebx, ecx
mov esi, SysReAllocStringLen
push str.SoftwareLenovoBatteryGauge
push esi
mov byte [ebx], 1
call edi
test eax, eax
jne 0x42548f
mov esi, dword [ebp - 0x18]
jmp 0x4254d2
lea eax, [ebp - 0x1c]
push eax
push 0xf013f
push 0
push str.SoftwareLenovoBatteryGauge
push esi
call edi
test eax, eax
jne 0x4254ab
mov esi, dword [ebp - 0x1c]
jmp 0x4254d2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareLenovoBatteryGauge
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
cmove esi, dword [ebp - 0x20]
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.PluginInvokeIndex
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x425504
mov edi, dword [ebp - 8]
cmp edi, 2
setne al
mov byte [ebx], al
jmp 0x425530
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 2
push eax
push 4
push 0
push str.PluginInvokeIndex
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov edi, 2
mov eax, 0
cmovne edi, eax
test esi, esi
je 0x42553b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058fc43
mov esp, ebp
pop ebp
ret

Function at 0x425550
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x65f018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x10]
push edi
push eax
push 0xf003f
push 0
push str.SoftwareLenovoBatteryGauge
push SysReAllocStringLen
mov edi, ecx
call esi
test eax, eax
jne 0x42558a
mov esi, dword [ebp - 0x10]
jmp 0x4255d6
lea eax, [ebp - 0x14]
push eax
push 0xf013f
push 0
push str.SoftwareLenovoBatteryGauge
push SysReAllocStringLen
call esi
test eax, eax
jne 0x4255aa
mov esi, dword [ebp - 0x14]
jmp 0x4255d6
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareLenovoBatteryGauge
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42560c
mov esi, dword [ebp - 0x18]
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push 4
push 0
push str.PluginInvokeIndex
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x4255fa
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058fc43
mov esp, ebp
pop ebp
ret
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0058fc43
mov esp, ebp
pop ebp
ret
Function at 0x42c7d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9ff1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x65f018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [eax]
mov eax, dword [0x669bc8]
cmp eax, dword [edx + 4]
jle 0x42c878
push 0x669bc8
call fcn.0058fdb5
add esp, 4
cmp dword [0x669bc8], 0xffffffff
jne 0x42c878
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 0
push 0x629f50
mov ecx, 0x669bcc
mov dword [0x669bdc], 0
movups xmmword [0x669bcc], xmm0
mov dword [0x669be0], 0
call fcn.00409d40
push 0x5ebb20
call fcn.005900c7
push 0x669bc8
mov dword [ebp - 4], 0xffffffff
call fcn.0058fd6b
add esp, 8
cmp dword [0x669bdc], 0
jne 0x42c8fd
lea ecx, [ebp - 0x24]
call fcn.0043f130
push eax
mov ecx, 0x669bcc
call fcn.00409360
mov ecx, dword [ebp - 0x10]
cmp ecx, 8
jb 0x42c8ce
mov edx, dword [ebp - 0x24]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c8c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c959
push ecx
push edx
call fcn.0058fc74
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
cmp dword [0x669bdc], eax
jne 0x42c8fd
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x669be0], 8
lea edi, [esi + 0x9c]
mov edx, 0x669bcc
cmovae edx, dword [0x669bcc]
test edx, edx
jne 0x42c91e
xor ecx, ecx
jmp 0x42c932
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c923
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00403300
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.005ae1ee
int3

Function at 0x42cdf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push 0
push 0
push 0
push 0
push 0x17d
push 0x17b
push 0x17c
push dword [ebp + 8]
mov esi, ecx
call fcn.0042beb0
push 0
push 0
push esi
push 0x42d790
push 0
push 0
call fcn.005ae60d
add esp, 0x18
pop esi
test eax, eax
je 0x42ce39
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ebp
ret 4
Function at 0x42ce40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6ea5
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x65f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [ecx + 0x88], 0
je 0x42cf5c
cmp byte [ecx + 0x89], 0
jne 0x42cf5c
lea edi, [ecx + 0xe0]
mov eax, 1
sub eax, dword [edi]
push eax
mov dword [edi], eax
call fcn.0042d060
push 0
push 0
push edi
push 0x42cf90
push 0
push 0
call fcn.005ae60d
add esp, 0x18
test eax, eax
je 0x42ceba
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi], 0
mov eax, 0x627ab0
mov esi, 0x627aa8
cmove esi, eax
call fcn.0044712b
mov ecx, eax
test ecx, ecx
je 0x42cf77
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test esi, 0xffff0000
jne 0x42cf01
movzx eax, si
lea ecx, [ebp - 0x14]
push eax
call fcn.00403100
jmp 0x42cf1f
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42cf06
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.00403300
mov dword [ebp - 4], 1
mov ecx, str.Features.Toolbar.QuickSettings.PrivacyGuard
mov esi, dword [ebp - 0x14]
mov edx, esi
push str.Features.Toolbar.QuickSettings
call fcn.00424f30
add esp, 4
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42cf5c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.0058fc43
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403700
int3
Function at 0x42d8d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da05d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x65f018]
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 dword [ebp - 0x2c], ecx
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movlpd qword [ebp - 0x20], xmm0
mov esi, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x20], vtable.CRegistry.0
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push str.SOFTWARELenovoLCDShadow
push esi
call edi
test eax, eax
jne 0x42d94d
mov esi, dword [ebp - 0x18]
mov eax, 1
mov dword [ebp - 0x1c], esi
jmp 0x42d94f
xor eax, eax
test eax, eax
jne 0x42d9a6
lea eax, [ebp - 0x18]
push eax
push 0x20119
push 0
push str.SOFTWARELenovoLCDShadow
push esi
call edi
test eax, eax
jne 0x42d977
mov esi, dword [ebp - 0x18]
mov eax, 1
mov dword [ebp - 0x1c], esi
jmp 0x42d979
xor eax, eax
test eax, eax
jne 0x42d9a6
test esi, esi
je 0x42d988
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
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.0058fc43
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x24]
xor ebx, ebx
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push str.State
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
cmove ebx, dword [ebp - 0x24]
test esi, esi
je 0x42d9e0
push esi
call edi
xor esi, esi
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x2c]
mov ecx, eax
push ebx
mov dword [eax + 0xe0], ebx
call fcn.0042d060
test esi, esi
je 0x42d9f8
push esi
call edi
mov al, 1
jmp 0x42d98a

Function at 0x42dc60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0x298], eax
mov dword [ebp + 0xc], eax
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.004515b9
Function at 0x42e530
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x65f018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
lea eax, [ebp - 0x804]
push 0x800
push 0
push eax
mov dword [esi], 0
call fcn.005aaec0
add esp, 0xc
mov dword [ebp - 0x808], 0
lea eax, [ebp - 0x808]
xor bl, bl
push eax
push 0
push 0
push 0x61b78c
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x42e5bb
push dword [ebp - 0x808]
lea eax, [ebp - 0x804]
push str._skernel32.dll
push 0x3ff
push eax
call fcn.00409ef0
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.005b51c8
add esp, 0x18
test eax, eax
sete bl
push dword [ebp - 0x808]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test bl, bl
jne 0x42e5dd
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058fc43
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
test eax, eax
mov dword [esi], eax
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.0058fc43
mov esp, ebp
pop ebp
ret
Function at 0x4315a0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x65f018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x40], ebx
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4316fb
push 2
lea eax, [ebp - 0x34]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push 0
push str.Shell_TrayWnd
mov dword [ebp - 0x3c], eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
test ebx, ebx
jne 0x431612
xor esi, esi
jmp 0x4316ad
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push str.TrayNotifyWnd
push 0
push ebx
call esi
mov edi, eax
test edi, edi
jne 0x43162e
xor esi, esi
jmp 0x4316ad
push 0
push str.ReBarWindow32
push 0
push ebx
call esi
mov ebx, eax
test ebx, ebx
jne 0x431644
xor esi, esi
jmp 0x4316ad
push 0
push str.Lenovo_Hardware_Settings_Battery_Gauge
push 0
push ebx
call esi
mov esi, eax
test esi, esi
jne 0x43166d
call fcn.00431900
test al, al
je 0x4316ad
lea eax, [ebp - 0x14]
push eax
mov eax, dword [sym.imp.USER32.dll_GetWindowRect]
push edi
call eax
jmp 0x43167d
lea eax, [ebp - 0x14]
push eax
mov eax, dword [sym.imp.USER32.dll_GetWindowRect]
push esi
call eax
cmp esi, edi
jne 0x431694
movd xmm0, dword [ebp - 0x14]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x637db0]
cvttsd2si esi, xmm0
jmp 0x4316ad
cmp esi, ebx
jne 0x43169d
mov esi, dword [ebp - 0xc]
jmp 0x4316ad
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
add esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x38]
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
cmp esi, ecx
jge 0x4316c2
mov esi, dword [ebp - 0x34]
jmp 0x4316d7
mov edx, dword [ebp - 0x2c]
jle 0x4316d3
mov eax, edx
sub eax, esi
cmp eax, ecx
jle 0x4316d3
sub esi, ecx
jmp 0x4316d7
mov esi, edx
sub esi, edi
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x3c]
sub eax, edx
mov ecx, dword [ebp - 0x30]
test eax, eax
push 0x40
push edx
push edi
cmovg ecx, eax
mov eax, dword [ebp - 0x40]
push ecx
push esi
push 0xffffffffffffffff
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058fc43
mov esp, ebp
pop ebp
ret
Function at 0x431900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x65f018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x10]
xor esi, esi
push eax
push 0x20019
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4319ad
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push esi
lea eax, [ebp - 8]
push eax
push esi
push str.CurrentBuildNumber
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4319ad
mov eax, dword [ebp - 0xc]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
push edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045101d
mov edi, eax
mov eax, dword [ebp - 0xc]
inc eax
push eax
push esi
push edi
call fcn.005aaec0
add esp, 0x10
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 8]
push eax
push esi
push str.CurrentBuildNumber
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4319a3
push edi
call fcn.005b45d2
add esp, 4
mov esi, eax
push edi
call fcn.00451026
add esp, 4
pop edi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4319bb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x64
jle 0x4319d1
mov eax, 0xcccccccd
mul esi
mov esi, edx
shr esi, 3
cmp esi, 0x64
jg 0x4319c0
mov ecx, dword [ebp - 4]
cmp esi, 0x15
pop esi
setge al
xor ecx, ebp
call fcn.0058fc43
mov esp, ebp
pop ebp
ret

Function at 0x431dd0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x88], 0
je 0x431e4d
cmp byte [esi + 0x89], 0
jne 0x431e4d
xor eax, eax
mov byte [esi + 0x120], 0
cmp dword [esi + 0x11c], eax
sete al
push eax
mov dword [esi + 0x11c], eax
mov dword [esi + 0xe0], eax
call fcn.00431f80
cmp dword [esi + 0x11c], 0
mov eax, 0x627ab0
mov edx, 0x627aa8
mov ecx, str.Features.Toolbar.QuickSettings.RapidCharge
push str.Features.Toolbar.QuickSettings
cmove edx, eax
call fcn.00424f30
push 0
push 0
push esi
push 0x431e50
push 0
push 0
call fcn.005ae60d
add esp, 0x1c
test eax, eax
je 0x431e4d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x432ad0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x65f018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0x629f50
mov ecx, ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
call fcn.0040a140
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push edi
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x432b7b
mov eax, dword [ebp - 0xc]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045101d
mov ecx, dword [ebp - 0xc]
mov esi, eax
inc ecx
push ecx
push edi
push esi
call fcn.005aaec0
add esp, 0x10
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
push edi
push dword [ebp - 0x10]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x432b72
push esi
mov ecx, ebx
call fcn.0040a140
push esi
call fcn.00451026
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
test edi, edi
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.0058fc43
mov esp, ebp
pop ebp
ret 8

Function at 0x4367e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da8d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x65f018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 8], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov dword [edi + 0xc], 0
mov dword [edi + 0x20], 0x66998c
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [ebp - 4], 0
mov dword [edi], vtable.TiXmlDocument.0
mov dword [edi + 0x34], 0x66998c
mov byte [ebp - 4], 1
mov dword [edi + 0x40], 0xffffffff
mov dword [edi + 0x3c], 0xffffffff
push 0x3ffffffe
push 0x629f06
mov dword [edi + 0x38], 4
mov byte [edi + 0x44], 0
mov byte [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.005b4c96
add esp, 8
lea ecx, [edi + 0x34]
push eax
push 0x629f06
call fcn.004355d0
mov dword [edi + 0x40], 0
mov eax, edi
mov dword [edi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43af10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x65f018]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0xc], ebx
call fcn.0040c8c0
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov esi, SysReAllocStringLen
setne al
mov byte [ebx + 0x110], al
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPrecisionTouchPadStatus
push esi
call edi
test eax, eax
jne 0x43af66
mov esi, dword [esp + 0x10]
jmp 0x43af82
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPrecisionTouchPadStatus
push esi
call edi
test eax, eax
jne 0x43afe3
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 4
push eax
lea eax, [esp + 0x20]
mov edi, 1
push eax
lea eax, [esp + 0x28]
push eax
push 0
push str.Enabled
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43afbb
mov edi, dword [esp + 0x1c]
mov eax, 1
jmp 0x43afbd
xor eax, eax
xor ebx, ebx
test eax, eax
cmovne ebx, edi
test esi, esi
je 0x43afd7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, 1
sete bl
jmp 0x43afec
cmp ebx, 1
sete bl
test esi, esi
je 0x43afec
jmp 0x43afe5
mov bl, 1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
push 0
push 0x171
push 0x16f
push 0x170
push dword [ebp + 8]
mov byte [ecx + 0x111], bl
call fcn.0042beb0
mov ecx, dword [esp + 0x24]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0058fc43
mov esp, ebp
pop ebp
ret 4