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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fdbe6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x278
mov eax, dword [0x53000c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x260], edi
mov eax, ecx
mov dword [ebp - 0x25c], eax
mov esi, dword [ebx + 8]
push 0
push 0x51c79c
mov dword [ebp - 0x264], esi
call fcn.0041a5b0
push 0
push 0x51c79c
mov ecx, edi
call fcn.0041a5b0
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004bcaf0
add esp, 0xc
mov dword [ebp - 0x228], 1
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x208
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x228]
push eax
push str.InstallLocation
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallHYLite
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
mov dword [ebp - 0x248], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4315c0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x258]
call fcn.0041a5b0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x248], 0
je 0x431836
push str.HYVideoDesktopCore.exe
lea edx, [ebp - 0x258]
lea ecx, [ebp - 0x240]
call fcn.0041ab90
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0x25c]
cmp eax, edi
je 0x43164b
mov ecx, eax
call fcn.0041a210
movups xmm0, xmmword [edi]
mov eax, dword [ebp - 0x25c]
movups xmmword [eax], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x43168b
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431681
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4319ba
push edx
push ecx
call fcn.0048e9ad
add esp, 8
mov edx, dword [ebp - 0x25c]
lea ecx, [ebp - 0x240]
call fcn.0047d300
push str.HYClock.exe
lea edx, [ebp - 0x258]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x288]
call fcn.0041ab90
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0x260]
cmp eax, edi
je 0x4316f5
mov ecx, eax
call fcn.0041a210
movups xmm0, xmmword [edi]
mov eax, dword [ebp - 0x260]
movups xmmword [eax], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x274]
cmp edx, 8
jb 0x431735
mov ecx, dword [ebp - 0x288]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43172b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4319bf
push edx
push ecx
call fcn.0048e9ad
add esp, 8
mov edi, dword [ebp - 0x260]
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x431745
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43175d
push eax
push 0x51c79c
mov ecx, edi
call fcn.0041a5b0
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
mov ecx, dword [ebp - 0x230]
mov edx, 7
cmovae eax, dword [ebp - 0x240]
mov edi, ecx
cmp ecx, edx
cmova edi, edx
mov edx, str.6.1.0.0
test edi, edi
je 0x4317ca
sub eax, edx
mov dword [ebp - 0x268], eax
movzx ecx, word [eax + edx]
mov eax, ecx
mov dword [ebp - 0x270], eax
movzx eax, word [edx]
mov esi, eax
mov dword [ebp - 0x26c], esi
mov esi, dword [ebp - 0x264]
cmp cx, ax
jne 0x43181d
mov eax, dword [ebp - 0x268]
add edx, 2
sub edi, 1
jne 0x431794
mov ecx, dword [ebp - 0x230]
cmp ecx, 7
jae 0x4317e1
mov ecx, dword [ebp - 0x25c]
push 0
push 0x51c79c
call fcn.0041a5b0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x22c]
cmp eax, 8
jb 0x431836
mov ecx, dword [ebp - 0x240]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43182c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4319c4
jmp 0x43182c
mov eax, dword [ebp - 0x26c]
cmp word [ebp - 0x270], ax
jmp 0x4317cd
push edx
push ecx
call fcn.0048e9ad
add esp, 8
cmp dword [esi + 0x14], 8
mov edi, esi
jb 0x431840
mov edi, dword [esi]
cmp dword [esi + 0x10], 1
jne 0x431865
mov ecx, 0x51fa48
mov edx, 1
sub edi, ecx
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x431865
add ecx, 2
sub edx, 1
jne 0x431852
jmp 0x4318a3
mov edx, 0x51f504
mov ecx, esi
call fcn.00437020
test al, al
je 0x4318a3
mov edx, 0x51fa4c
mov ecx, esi
call fcn.00437020
test al, al
je 0x4318a3
mov edx, 0x51fa50
mov ecx, esi
call fcn.00437020
test al, al
je 0x4318a3
push 1
push 0x51f504
mov ecx, esi
call fcn.0041a5b0
cmp dword [esi + 0x14], 8
mov edi, esi
jb 0x4318ad
mov edi, dword [esi]
cmp dword [esi + 0x10], 1
jne 0x4318ea
mov ecx, 0x51fa48
mov edx, 1
sub edi, ecx
nop
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x4318ea
add ecx, 2
sub edx, 1
jne 0x4318c0
mov eax, dword [ebp - 0x25c]
cmp dword [eax + 0x10], edx
jne 0x4318ea
push 1
push 0x51f504
mov ecx, esi
call fcn.0041a5b0
mov eax, dword [esi + 0x14]
mov edi, esi
cmp eax, 8
jb 0x4318f6
mov edi, dword [esi]
mov ecx, dword [esi + 0x10]
cmp ecx, 1
jne 0x431920
mov edx, ecx
mov ecx, 0x51f504
sub edi, ecx
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x43191a
add ecx, 2
sub edx, 1
jne 0x431907
jmp 0x431946
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov edi, esi
cmp eax, 8
jb 0x431929
mov edi, dword [esi]
cmp ecx, 1
jne 0x431960
mov edx, 0x51fa4c
sub edi, edx
mov ax, word [edi + edx]
cmp ax, word [edx]
jne 0x431960
add edx, 2
sub ecx, 1
jne 0x431935
mov eax, dword [ebp - 0x260]
cmp dword [eax + 0x10], 0
jne 0x431960
push 2
push 0x51fa50
mov ecx, esi
call fcn.0041a5b0
mov edx, dword [ebp - 0x244]
cmp edx, 8
jb 0x43199c
mov ecx, dword [ebp - 0x258]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431992
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4319c9
push edx
push ecx
call fcn.0048e9ad
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048e99c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004c5929
call fcn.004c5929
call fcn.004c5929
call fcn.004c5929
int3