Function at 0x417490
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531c4f
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x579258]
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, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xac], 0
cmp dword [ebp + 0x24], 8
lea edx, [ebp - 0xa4]
push edx
push 0x20019
lea eax, [ebp + 0x10]
mov dword [ebp - 4], 3
cmovae eax, dword [ebp + 0x10]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41759d
movups xmm0, xmmword [ebp + 0x40]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp + 0x40], ax
movq xmm0, qword [ebp + 0x50]
movq qword [esi + 0x10], xmm0
mov dword [ebp + 0x50], 0
mov dword [ebp + 0x54], 7
lea ecx, [ebp + 0x10]
call fcn.00419a40
lea ecx, [ebp + 0x28]
call fcn.00419a40
mov edx, dword [ebp + 0x54]
cmp edx, 8
jb 0x417580
mov ecx, dword [ebp + 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417576
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417889
push edx
push ecx
call fcn.00460404
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 - 0x10]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x38], 0x53ddf8
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x9c], eax
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.00419ca0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0
test ecx, ecx
je 0x4175f6
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0x3c], 8
lea ecx, [ebp - 0xa0]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp + 0x28]
cmovae eax, dword [ebp + 0x28]
push ecx
push 0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 6
push ecx
push 0
push eax
push dword [ebp - 0xa4]
call edi
test eax, eax
jne 0x41780a
cmp dword [ebp - 0xa8], 1
je 0x4176a7
movups xmm0, xmmword [ebp + 0x40]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
movups xmmword [esi], xmm0
mov word [ebp + 0x40], ax
movq xmm0, qword [ebp + 0x50]
movq qword [esi + 0x10], xmm0
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], 7
mov dword [ebp - 0xac], 1
mov byte [ebp - 4], 7
cmp byte [ebp - 0x40], al
jne 0x41767f
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x417884
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x417536
mov edx, dword [ecx]
lea eax, [ebp - 0x68]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x44], 0
jmp 0x417536
mov eax, dword [ebp - 0xa0]
add eax, 2
push eax
call fcn.004fdee8
mov ecx, eax
mov eax, dword [ebp - 0xa0]
add eax, 2
mov dword [ebp - 0x9c], ecx
push eax
push 0
push ecx
call fcn.004ecad0
sub esp, 0x18
lea ecx, [ebp - 0x9c]
mov eax, esp
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x98]
mov dword [eax], 0x53de10
mov dword [eax + 0x24], eax
call fcn.00419980
cmp dword [ebp + 0x3c], 8
lea ecx, [ebp - 0xa0]
push ecx
push dword [ebp - 0x9c]
lea ecx, [ebp - 0xa8]
push ecx
lea eax, [ebp + 0x28]
cmovae eax, dword [ebp + 0x28]
push 0
push eax
push dword [ebp - 0xa4]
call edi
test eax, eax
jne 0x4177ff
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov edx, dword [ebp - 0x9c]
mov ecx, edx
mov byte [ebp - 4], 9
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417741
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00416d70
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004198b0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41779f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417795
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417889
push edx
push ecx
call fcn.00460404
add esp, 8
lea ecx, [ebp - 0x98]
call fcn.00419b20
lea ecx, [ebp - 0x68]
call fcn.00419b20
lea ecx, [ebp + 0x10]
call fcn.00419a40
lea ecx, [ebp + 0x28]
call fcn.00419a40
mov edx, dword [ebp + 0x54]
cmp edx, 8
jb 0x417580
mov ecx, dword [ebp + 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417576
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417889
jmp 0x417576
lea ecx, [ebp - 0x98]
call fcn.00419b20
movups xmm0, xmmword [ebp + 0x40]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp + 0x40], ax
movq xmm0, qword [ebp + 0x50]
movq qword [esi + 0x10], xmm0
mov dword [ebp + 0x50], 0
mov dword [ebp + 0x54], 7
mov dword [ebp - 0xac], 1
mov byte [ebp - 4], 0xa
cmp byte [ebp - 0x40], al
jne 0x41785c
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x41788e
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x4177b2
mov edx, dword [ecx]
lea eax, [ebp - 0x68]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x44], 0
jmp 0x4177b2
call fcn.0045f14f
call fcn.004f5b2a
call fcn.0045f14f
int3