Function at 0x417260
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53300f
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x57b300]
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 0x41736d
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.00419810
lea ecx, [ebp + 0x28]
call fcn.00419810
mov edx, dword [ebp + 0x54]
cmp edx, 8
jb 0x417350
mov ecx, dword [ebp + 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417346
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417659
push edx
push ecx
call fcn.00461701
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.0046170f
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x38], 0x53ee0c
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.00419a70
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0
test ecx, ecx
je 0x4173c6
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 0x4175da
cmp dword [ebp - 0xa8], 1
je 0x417477
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 0x41744f
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x417654
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x417306
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 0x417306
mov eax, dword [ebp - 0xa0]
add eax, 2
push eax
call fcn.004ff308
mov ecx, eax
mov eax, dword [ebp - 0xa0]
add eax, 2
mov dword [ebp - 0x9c], ecx
push eax
push 0
push ecx
call fcn.004edf00
sub esp, 0x18
lea ecx, [ebp - 0x9c]
mov eax, esp
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x98]
mov dword [eax], 0x53ee24
mov dword [eax + 0x24], eax
call fcn.00419750
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 0x4175cf
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 0x417511
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00416d80
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00419680
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41756f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417565
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417659
push edx
push ecx
call fcn.00461701
add esp, 8
lea ecx, [ebp - 0x98]
call fcn.004198f0
lea ecx, [ebp - 0x68]
call fcn.004198f0
lea ecx, [ebp + 0x10]
call fcn.00419810
lea ecx, [ebp + 0x28]
call fcn.00419810
mov edx, dword [ebp + 0x54]
cmp edx, 8
jb 0x417350
mov ecx, dword [ebp + 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417346
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417659
jmp 0x417346
lea ecx, [ebp - 0x98]
call fcn.004198f0
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 0x41762c
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x41765e
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x417582
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 0x417582
call fcn.0046044c
call fcn.004f6f4a
call fcn.0046044c
int3