joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e670
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a3ab
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push esi
push edi
mov eax, dword [0x49e280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x9c
lea eax, [ebp - 0xb0]
push 0
push eax
mov dword [ebp - 4], 0
call fcn.0045acf0
add esp, 0xc
lea ecx, [ebp - 0xb0]
push ecx
mov dword [ebp - 0xb0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xac], 6
jb 0x41e712
push 0x1c
call fcn.00457cb7
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x41e741
push eax
call fcn.0041dff0
mov dword [0x4a44c8], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x34
call fcn.00457cb7
add esp, 4
test eax, eax
je 0x41e741
call fcn.0041d290
mov dword [0x4a44c8], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [0x4a44c8], eax
mov eax, 1
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 0x41f3e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4759a4
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push esi
push edi
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov eax, dword [esp + 0x268]
xor esi, esi
mov ebx, 1
mov dword [esp + 0x10], eax
lea edi, [esi + 7]
test byte [0x4a4ce4], bl
jne 0x41f481
or dword [0x4a4ce4], ebx
mov dword [esp + 0x260], esi
xor ecx, ecx
push esi
mov word [0x4a4ccc], cx
push 0x489754
mov ecx, 0x4a4cc8
mov dword [0x4a4ce0], edi
mov dword [0x4a4cdc], esi
call fcn.00401cd0
push 0x47b390
call fcn.004584f9
add esp, 4
mov dword [esp + 0x260], 0xffffffff
cmp dword [0x4a4cdc], esi
jne 0x41f544
lea edx, [esp + 0x4c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xa
xor eax, eax
push 0x489758
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.00401cd0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x26c], ebx
call fcn.0041f650
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
mov ecx, 0x4a4cc8
mov byte [esp + 0x26c], 2
call fcn.004018f0
mov ebx, 8
cmp dword [esp + 0x48], ebx
jb 0x41f508
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00457c05
add esp, 4
xor edx, edx
mov dword [esp + 0x260], 0xffffffff
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], esi
mov word [esp + 0x34], dx
cmp dword [esp + 0x2c], ebx
jb 0x41f535
mov eax, dword [esp + 0x18]
push eax
call fcn.00457c05
add esp, 4
xor ecx, ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], esi
mov word [esp + 0x18], cx
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push esi
push 0x4a4cc8
call fcn.004018f0
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.00457c10
add esp, 0x254
ret

Function at 0x41f580
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x476048
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor eax, eax
push eax
push 0x4897c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
call fcn.00401cd0
lea ecx, [esp + 4]
push ecx
mov dword [esp + 0x30], 0
call fcn.0041f3e0
mov eax, dword [esp + 0xc]
add esp, 4
cmp dword [esp + 0x1c], 8
jae 0x41f5f8
lea eax, [esp + 8]
push eax
push 0
push str.Answer
push str.Result
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [esp + 0x1c], 8
mov dword [esi], eax
jb 0x41f621
mov edx, dword [esp + 8]
push edx
call fcn.00457c05
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00457c10
add esp, 0x2c
ret
Function at 0x41f7a0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x476007
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0x2a8]
mov dword fs:[0], eax
push 0x100
lea eax, [esp + 0xa8]
push eax
push str._WinDir_eHomeehshell.exe
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebx, 7
xor ebp, ebp
xor ecx, ecx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x9c], ebp
mov word [esp + 0x8c], cx
lea edi, [esp + 0x88]
mov dword [esp + 0x2b0], ebp
call fcn.0041f710
push 0x49fdf4
lea edx, [esp + 0x54]
push 0x48952c
push edx
call fcn.0041f650
add esp, 0xc
lea ecx, [esp + 0xa4]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x2bc], 1
call fcn.00406d60
add esp, 0xc
push 0x49fdf4
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x2bc], 2
call fcn.0041fed0
add esp, 0xc
mov ecx, edi
push ecx
push eax
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0x2bc], 3
call fcn.0041fed0
add esp, 0xc
mov esi, 8
cmp dword [esp + 0x30], esi
jb 0x41f8a8
mov eax, dword [esp + 0x1c]
push eax
call fcn.00457c05
add esp, 4
xor ecx, ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], cx
cmp dword [esp + 0x4c], esi
jb 0x41f8ca
mov edx, dword [esp + 0x38]
push edx
call fcn.00457c05
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebp
mov word [esp + 0x38], ax
mov byte [esp + 0x2b0], bl
cmp dword [esp + 0x68], esi
jb 0x41f8f3
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00457c05
add esp, 4
xor edx, edx
mov word [esp + 0x54], dx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebp
cmp dword [esp + 0x84], esi
jae 0x41f913
lea edx, [esp + 0x70]
call fcn.00401120
cmp dword [esp + 0x84], esi
jb 0x41f92e
mov eax, dword [esp + 0x70]
push eax
call fcn.00457c05
add esp, 4
xor ecx, ecx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], ebp
mov word [esp + 0x70], cx
cmp dword [esp + 0xa0], esi
jb 0x41f95c
mov edx, dword [esp + 0x8c]
push edx
call fcn.00457c05
add esp, 4
mov ecx, dword [esp + 0x2a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.00457c10
add esp, 0x2a0
ret
Function at 0x420210
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x475b88
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x18], 0
jne 0x420279
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call edx
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x38], 0
call fcn.004018f0
cmp dword [esp + 0x20], 8
jb 0x420273
mov eax, dword [esp + 0xc]
push eax
call fcn.00457c05
add esp, 4
cmp dword [esi + 0x18], 0
je 0x4202a8
cmp dword [esi + 0x1c], 8
jb 0x420284
mov esi, dword [esi + 8]
jmp 0x420287
add esi, 8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4202a8
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret

Function at 0x420470
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x474748
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x14], 0
call edx
mov dword [esp + 0x40], 0
cmp dword [eax + 0x18], 8
jb 0x4204c0
mov eax, dword [eax + 4]
jmp 0x4204c3
add eax, 4
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, esi
call edx
test eax, eax
sete bl
cmp dword [esp + 0x34], 8
jb 0x4204eb
mov eax, dword [esp + 0x20]
push eax
call fcn.00457c05
add esp, 4
test bl, bl
jne 0x42055b
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x420650
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ecx
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42055b
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x420539
mov eax, dword [esp + 0x18]
push 0
push 0xf120
push 0x112
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x38
ret
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x38
ret
Function at 0x4206e6
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x22c
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push edi
mov edi, dword [esp + 0x240]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x14], ebx
call edx
mov ebp, 8
cmp dword [eax + 0x18], ebp
jb 0x420718
mov eax, dword [eax + 4]
jmp 0x42071b
add eax, 4
push ebx
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0x20019
push ebx
push ebx
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
cmp dword [esp + 0x34], ebp
jb 0x42074b
mov edx, dword [esp + 0x20]
push edx
call fcn.00457c05
add esp, 4
test ebx, ebx
jne 0x4207eb
cmp dword [esp + 0x10], ebx
je 0x4207eb
xor eax, eax
push 0x1fe
push eax
lea ecx, [esp + 0x42]
push ecx
mov word [esp + 0x44], ax
call fcn.0045acf0
mov edx, dword [esi]
mov edx, dword [edx + 0x20]
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x200
call edx
cmp dword [eax + 0x18], ebp
jb 0x42079f
mov eax, dword [eax + 4]
jmp 0x4207a2
add eax, 4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esp + 0x34], ebp
jb 0x4207d2
mov eax, dword [esp + 0x20]
push eax
call fcn.00457c05
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x38]
push edx
mov ecx, edi
call fcn.00401dc0
jmp 0x42080c
xor eax, eax
push eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], 0
push 0x48926c
mov ecx, edi
mov word [edi + 4], ax
call fcn.00401cd0
mov ecx, dword [esp + 0x238]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00457c10
add esp, 0x22c
ret 4
Function at 0x422440
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
jne 0x422456
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
call edx
cmp dword [esi + 0x18], 0
je 0x422476
cmp dword [esi + 0x1c], 8
jb 0x422461
mov esi, dword [esi + 8]
jmp 0x422464
add esi, 8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422476
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x423a50
Capabilities:
Check if file exists

Disassembly:
cmp dword [edi + 0x14], 0
push esi
je 0x423a91
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x423a64
mov eax, dword [esi]
jmp 0x423a66
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423a91
cmp dword [edi + 0x18], 8
jb 0x423a79
mov esi, dword [esi]
push 0
push 0
push esi
push 0
call dword [sym.imp.ComFnUtl.dll_ComFnUtl_ExecuteCommandW]
add esp, 0x10
test eax, eax
je 0x423a91
mov al, 1
pop esi
ret
xor al, al
pop esi
ret

Function at 0x423d60
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x476048
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
cmp dword [esi + 0x14], 0
je 0x423de4
cmp dword [esi + 0x18], 8
jb 0x423d9f
mov eax, dword [esi + 4]
jmp 0x423da2
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423de4
push 0x4885c0
lea eax, [esp + 8]
push esi
push eax
call fcn.00406d60
add esp, 0xc
movzx eax, word [esp + 0x34]
mov dword [esp + 0x2c], 0
lea ecx, [esp + 4]
cmp eax, 0x1770
je 0x423df4
cmp eax, 0x1f40
je 0x423de8
call fcn.00401820
xor al, al
jmp 0x423e3f
push str.8000
call fcn.00406420
jmp 0x423e00
push 4
push str.6000
call fcn.004066d0
lea ecx, [esp + 4]
push ecx
call section..text
add esp, 4
test al, al
jne 0x423e29
cmp dword [esp + 0x1c], 8
jb 0x423e25
mov edx, dword [esp + 8]
push edx
call fcn.00457c05
add esp, 4
xor al, al
jmp 0x423e3f
cmp dword [esp + 0x1c], 8
jb 0x423e3d
mov eax, dword [esp + 8]
push eax
call fcn.00457c05
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00457c10
add esp, 0x2c
ret 4
Function at 0x424460
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [esp + 0x218]
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
mov dword [esp + 0x10], eax
jne 0x4244a2
xor al, al
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00457c10
add esp, 0x214
ret 4
cmp dword [esi + 0x18], 8
push edi
lea edi, [esi + 4]
jb 0x4244b0
mov eax, dword [edi]
jmp 0x4244b2
mov eax, edi
mov edx, dword [0x4a441c]
neg edx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
sbb edx, edx
lea ecx, [esp + 0xc]
push ecx
and edx, 0x100
add edx, 0x20019
push edx
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
je 0x424503
cmp dword [esi + 0x18], 8
jb 0x4244eb
mov edi, dword [edi]
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x424582
xor ecx, ecx
push 0x1fe
push ecx
lea edx, [esp + 0x26]
push edx
mov word [esp + 0x28], cx
call fcn.0045acf0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push str.FilePath
push eax
mov dword [esp + 0x28], 0x200
mov dword [esp + 0x2c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0xc]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x424582
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
call fcn.0041f270
test al, al
jne 0x424582
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
call fcn.004063f0
mov al, 1
jmp 0x424584
xor al, al
mov ecx, dword [esp + 0x21c]
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.00457c10
add esp, 0x214
ret 4
Function at 0x4245a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x4245d5
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00457c10
add esp, 0x210
ret
cmp dword [esi + 0x18], 8
push edi
lea edi, [esi + 4]
jb 0x4245e3
mov eax, dword [edi]
jmp 0x4245e5
mov eax, edi
mov edx, dword [0x4a441c]
neg edx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
sbb edx, edx
lea ecx, [esp + 0xc]
push ecx
and edx, 0x100
add edx, 0x20019
push edx
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
je 0x42463a
cmp dword [esi + 0x18], 8
jb 0x42461e
mov edi, dword [edi]
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x4246c2
xor ecx, ecx
push 0x1fe
push ecx
lea edx, [esp + 0x22]
push edx
mov word [esp + 0x24], cx
call fcn.0045acf0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push str.BaseFolder
push eax
mov dword [esp + 0x28], 0x200
mov dword [esp + 0x2c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0xc]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4246c2
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
call fcn.0041f270
test al, al
jne 0x4246c2
pop ebx
pop edi
lea eax, [esi + 1]
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00457c10
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
pop ebx
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00457c10
add esp, 0x210
ret
Function at 0x424f40
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x476268
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push esi
push edi
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x424fa2
mov ecx, SysReAllocString
mov eax, esi
mov edi, edi
cmp word [eax], 0
je 0x424f95
add eax, 2
sub ecx, 1
jne 0x424f80
xor eax, eax
jmp 0x42517f
test ecx, ecx
je 0x424fa2
mov eax, SysReAllocString
sub eax, ecx
jne 0x424fa9
xor eax, eax
jmp 0x42517f
lea eax, [esp + 0x4c]
push eax
call fcn.004238f0
mov dword [esp + 0x78], 0
cmp dword [esp + 0x60], 0
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, 8
je 0x42503f
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x64], ebx
jae 0x424fdb
lea eax, [esp + 0x50]
push eax
call edi
test eax, eax
je 0x42503f
cmp dword [esp + 0x68], 3
je 0x42502a
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
push 0x48f248
push 0
call edi
test eax, eax
setne al
test al, al
je 0x42502a
push 0x48f248
push 0
call edi
test eax, eax
je 0x425167
push 0
push 0x30fb6
push 0x906
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x425167
xor edi, edi
call fcn.0040ee20
lea edi, [esp + 0x4c]
call fcn.00423a50
jmp 0x425167
push 0x4880e0
call edi
test eax, eax
je 0x4250c5
cmp dword [0x4a441c], 0
je 0x4250b7
push 0x488170
lea ecx, [esp + 0x18]
push 0x49feb8
push ecx
call fcn.00406d60
add esp, 0xc
push 0x49feb8
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x84], 1
call fcn.0041fed0
add esp, 0xc
cmp dword [eax + 0x18], ebx
jb 0x42508f
mov eax, dword [eax + 4]
jmp 0x425092
add eax, 4
mov ecx, eax
call fcn.0041cd50
lea ecx, [esp + 0x30]
call fcn.00401820
lea ecx, [esp + 0x14]
call fcn.00401820
xor edi, edi
call fcn.0040ee20
jmp 0x425167
push 0
push 0
push str.C:AcerEmpowering_Technologyempower.exe
jmp 0x425147
push 0x488134
call edi
test eax, eax
je 0x42515b
cmp dword [0x4a441c], 0
je 0x42513e
push 0x4881c4
lea eax, [esp + 0x34]
push 0x49feb8
push eax
call fcn.00406d60
add esp, 0xc
push 0x49feb8
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x84], 2
call fcn.0041fed0
add esp, 0xc
cmp dword [eax + 0x18], ebx
jb 0x425119
mov eax, dword [eax + 4]
jmp 0x42511c
add eax, 4
mov ecx, eax
call fcn.0041cd50
lea ecx, [esp + 0x14]
call fcn.00401820
lea ecx, [esp + 0x30]
call fcn.00401820
xor edi, edi
call fcn.0040ee20
jmp 0x425167
push 0
push 0
push str.C:AcereManagereManager.exe
push 0
call dword [sym.imp.ComFnUtl.dll_ComFnUtl_ExecuteCommandW]
add esp, 0x10
xor edi, edi
call fcn.0040ee20
jmp 0x425167
xor edi, edi
call fcn.0040ee20
call fcn.00424a40
cmp dword [esp + 0x64], ebx
jb 0x42517a
mov edx, dword [esp + 0x50]
push edx
call fcn.00457c05
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00457c10
add esp, 0x6c
ret
Function at 0x4251d0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4761c0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x425335
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x425335
lea eax, [esp + 0x44]
push eax
call fcn.004238f0
mov dword [esp + 0x74], 0
cmp dword [esp + 0x58], 0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
je 0x425278
cmp dword [esp + 0x5c], 8
mov eax, dword [esp + 0x48]
jae 0x425248
lea eax, [esp + 0x48]
push eax
call esi
test eax, eax
je 0x425278
call fcn.00423950
test al, al
je 0x425278
lea ecx, [esp + 0x44]
call fcn.00423aa0
test al, al
je 0x42531a
mov esi, str.eSetting
call fcn.004256c0
jmp 0x42531a
push 0x488290
call esi
test eax, eax
je 0x425315
cmp dword [0x4a441c], 0
je 0x4252f5
push 0x488300
lea ecx, [esp + 0x10]
push 0x49feb8
push ecx
call fcn.00406d60
add esp, 0xc
push 0x49feb8
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x80], 1
call fcn.0041fed0
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x4252cd
mov eax, dword [eax + 4]
jmp 0x4252d0
add eax, 4
mov ecx, eax
call fcn.0041cd50
lea ecx, [esp + 0x28]
call fcn.00401820
lea ecx, [esp + 0xc]
call fcn.00401820
mov esi, str.eSetting
call fcn.004256c0
jmp 0x42531a
push 0
push 0
push str.C:AcerEmpowering_TechnologyeSettingseSettingsN.exe
push 0
call dword [sym.imp.ComFnUtl.dll_ComFnUtl_ExecuteCommandW]
add esp, 0x10
mov esi, str.eSetting
call fcn.004256c0
jmp 0x42531a
call fcn.00424c50
cmp dword [esp + 0x5c], 8
jb 0x42532e
mov eax, dword [esp + 0x48]
push eax
call fcn.00457c05
add esp, 4
mov eax, 1
jmp 0x425337
xor eax, eax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00457c10
add esp, 0x70
ret
Function at 0x425360
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x476180
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x58], eax
push esi
push edi
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4254c6
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4254c6
lea eax, [esp + 0x44]
push eax
call fcn.004238f0
mov dword [esp + 0x74], 0
cmp dword [esp + 0x58], 0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
je 0x425409
cmp dword [esp + 0x5c], 8
mov eax, dword [esp + 0x48]
jae 0x4253d9
lea eax, [esp + 0x48]
push eax
call esi
test eax, eax
je 0x425409
call fcn.004239d0
test al, al
je 0x425409
lea edi, [esp + 0x44]
call fcn.00423be0
test al, al
je 0x4254ab
mov esi, 0x4885b4
call fcn.004256c0
jmp 0x4254ab
push 0x4883e0
call esi
test eax, eax
je 0x4254a6
cmp dword [0x4a441c], 0
je 0x425486
push 0x488460
lea ecx, [esp + 0x10]
push 0x49feb8
push ecx
call fcn.00406d60
add esp, 0xc
push 0x49feb8
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x80], 1
call fcn.0041fed0
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x42545e
mov eax, dword [eax + 4]
jmp 0x425461
add eax, 4
mov ecx, eax
call fcn.0041cd50
lea ecx, [esp + 0x28]
call fcn.00401820
lea ecx, [esp + 0xc]
call fcn.00401820
mov esi, 0x4885b4
call fcn.004256c0
jmp 0x4254ab
push 0
push 0
push str.C:AcerEmpowering_TechnologyePowerAcer_ePower_Management.exe
push 0
call dword [sym.imp.ComFnUtl.dll_ComFnUtl_ExecuteCommandW]
add esp, 0x10
mov esi, 0x4885b4
call fcn.004256c0
jmp 0x4254ab
call fcn.00424e40
cmp dword [esp + 0x5c], 8
jb 0x4254bf
mov eax, dword [esp + 0x48]
push eax
call fcn.00457c05
add esp, 4
mov eax, 1
jmp 0x4254c8
xor eax, eax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00457c10
add esp, 0x6c
ret