Function at 0x41c680
Capabilities:
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 0x4715b9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x4d100c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x44], esi
xor edi, edi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x30]
push 0xa
mov dword [ebp - 0x30], edi
push str.MachineKey
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.00411c40
mov byte [ebp - 4], 2
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x41c781
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x41ca67
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push ecx
cmovae eax, dword [ebx + 8]
push eax
push 1
push 0x4c8104
push ecx
push dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
call fcn.00413e50
mov edi, 2
mov dword [ebp - 0x3c], edi
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x30]
call fcn.00411de0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x41c781
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c777
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ca6c
push edx
push ecx
call fcn.00451449
add esp, 8
push 0
mov dword [esi], 0
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x47c352
mov byte [esi], 0
call fcn.00411c40
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push 0x20219
push 0
push str.SoftwareTwitch_Desktop
or edi, 1
push 0x80000001
mov dword [ebp - 0x3c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x41c7fa
lea eax, [ebp - 0x34]
push eax
push 0x20019
push ecx
push str.SoftwareTwitch_Desktop
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x41c8a7
cmp dword [ebp - 0x1c], 0x10
lea edx, [ebp - 0x38]
push edx
push 0
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push edx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], 0
cmovae eax, dword [ebp - 0x30]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x41c89e
xor eax, eax
add ecx, 2
setb al
neg eax
or eax, ecx
push eax
push 1
call fcn.00454560
add esp, 8
lea edx, [ebp - 0x38]
cmp dword [ebp - 0x1c], 0x10
mov ecx, eax
mov dword [ebp - 0x40], ecx
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push edx
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 0x38], 0
je 0x41c893
mov edx, dword [ebp - 0x40]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x44], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c880
sub ecx, dword [ebp - 0x44]
push ecx
push edx
mov ecx, esi
call fcn.00411c40
push dword [ebp - 0x40]
call fcn.004605b8
add esp, 4
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi + 0x10], 0
jne 0x41c9d1
lea ecx, [ebp - 0x78]
call fcn.0041e080
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x41c8c5
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.00417a90
or edi, 4
lea eax, [ebp - 0x60]
mov dword [ebp - 0x3c], edi
cmp esi, eax
je 0x41c933
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x41c90f
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x41c905
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ca71
mov eax, edx
push ecx
push eax
call fcn.00451449
add esp, 8
movups xmm0, xmmword [ebp - 0x60]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x50]
movq qword [esi + 0x10], xmm0
jmp 0x41c967
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x41c967
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c95d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ca71
push edx
push ecx
call fcn.00451449
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x41c9a5
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c99b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ca71
push edx
push ecx
call fcn.00451449
add esp, 8
sub esp, 0x18
lea eax, [ebx + 8]
mov ecx, esp
mov dword [ebp - 0x44], esp
push eax
call fcn.00411890
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
push esi
call fcn.00411890
mov byte [ebp - 4], 2
call fcn.0041ca80
add esp, 0x30
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x41ca05
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c9fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ca76
push edx
push ecx
call fcn.00451449
add esp, 8
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x41ca47
mov ecx, dword [ebx + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ca3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ca76
push edx
push ecx
call fcn.00451449
add esp, 8
mov eax, esi
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.00450db2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00401630
call fcn.00460976
call fcn.00460976
call fcn.00460976
int3