Function at 0x423e60
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x868
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x864], eax
push ebx
push ebp
mov ebp, dword [esp + 0x874]
push esi
push edi
lea eax, [ebp + 0x1c]
push eax
call fcn.00424110
cmp dword [eax + 0x18], 8
jb 0x423e93
mov eax, dword [eax + 4]
jmp 0x423e96
add eax, 4
mov edx, dword [0x4a441c]
neg edx
sbb edx, edx
lea ecx, [esp + 0x14]
push ecx
and edx, 0x100
add edx, 0x20019
push edx
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x423ecb
xor al, al
jmp 0x4240f1
xor eax, eax
push 0x1fe
push eax
lea ecx, [esp + 0x67a]
push ecx
mov word [esp + 0x67c], ax
call fcn.0045acf0
add esp, 0xc
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x674]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0x488628
push edx
mov dword [esp + 0x30], 0x200
mov dword [esp + 0x34], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x423ec4
lea eax, [esp + 0x270]
lea ebx, [esp + 0x670]
mov ecx, eax
mov edx, 0x200
sub ebx, ecx
jmp 0x423f50
lea ecx, [edx + 0x7ffffdfe]
test ecx, ecx
je 0x423f70
movzx ecx, word [ebx + eax]
test cx, cx
je 0x423f70
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x423f50
jmp 0x423f74
test edx, edx
jne 0x423f77
sub eax, 2
xor edx, edx
push 0x488640
lea edi, [esp + 0x274]
mov word [eax], dx
call fcn.004246e0
mov ecx, 0x13
mov esi, str.Acer.Empowering.Framework.Launcher.exe
lea edi, [esp + 0x470]
rep movsd dword es:[edi], dword [esi]
push 0x1b2
lea eax, [esp + 0x4c2]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.0045acf0
push 0
push 0
push 1
push 0x200
lea ecx, [esp + 0x48c]
push ecx
push 0x488644
push 0
call dword [sym.imp.SzUPFUtl.dll_SzUPFUtl_GetProfileStringExW]
add esp, 0x28
lea edx, [esp + 0x470]
push edx
lea edi, [esp + 0x274]
call fcn.004246e0
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4240be
mov edx, 0x200
mov eax, edi
lea ecx, [edx + 0x7ffffdfe]
test ecx, ecx
je 0x424025
movzx ecx, word [ebx + eax]
test cx, cx
je 0x424025
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x424005
jmp 0x424029
test edx, edx
jne 0x42402c
sub eax, 2
xor edx, edx
push 0x4886b8
lea edi, [esp + 0x274]
mov word [eax], dx
call fcn.004246e0
push 0x4886bc
call fcn.004246e0
lea eax, [esp + 0x20]
push eax
mov ecx, edi
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4240be
mov edx, 0x200
mov eax, edi
jmp 0x424070
lea ecx, [edx + 0x7ffffdfe]
test ecx, ecx
je 0x424090
movzx ecx, word [ebx + eax]
test cx, cx
je 0x424090
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x424070
jmp 0x424094
test edx, edx
jne 0x424097
sub eax, 2
xor edx, edx
push 0x4886dc
lea edi, [esp + 0x274]
mov word [eax], dx
call fcn.004246e0
lea eax, [esp + 0x4c]
push eax
call fcn.004246e0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x270]
lea edx, [eax + 2]
jmp 0x4240d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4240d0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x274]
push ecx
mov ecx, ebp
call fcn.00401cd0
mov al, 1
mov ecx, dword [esp + 0x874]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00457c10
add esp, 0x868
ret 4