Function at 0x572330
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74bf45
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
cmp dword [ecx + 0x14], 8
mov eax, ecx
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], 0
jb 0x572363
mov eax, dword [ecx]
push esi
push edi
lea edx, [ebp - 0x18]
push edx
push dword [ecx + 0x18]
push 0
push eax
push dword [ecx + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x57255a
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x572398
mov ecx, dword [eax]
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push ecx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x57255a
cmp dword [ebp - 0x1c], 1
je 0x5723cb
mov edi, 0x70c
jmp 0x57255d
mov eax, dword [ebp - 0x10]
xor edi, edi
xor esi, esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
test eax, eax
je 0x572443
cmp eax, 0x7fffffff
ja 0x5725b6
cmp eax, 0x1000
jb 0x57241b
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x5725bb
push ecx
call fcn.00516cd0
add esp, 4
test eax, eax
je 0x5725ca
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x572426
push eax
call fcn.00516cd0
add esp, 4
mov edi, eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push edi
lea esi, [edi + ecx]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], esi
call fcn.007051b0
mov dword [ebp - 0x24], esi
add esp, 0xc
mov esi, edi
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x572452
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push esi
push 0
push 0
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x572473
mov edi, eax
jmp 0x57252b
mov ecx, dword [ebp + 0x60]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
test ecx, ecx
je 0x5725c0
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
push dword [ebp + 0xc]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 8], eax
mov dword [ebp + 0x10], edi
mov dword [ecx], eax
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x5725c5
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
lea edx, [ebp + 0x10]
push edx
lea edx, [ebp - 0x40]
push edx
call dword [eax + 8]
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
cmp edi, eax
je 0x572521
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x5724fc
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x5724f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5725ca
mov eax, edx
push ecx
push eax
call fcn.00516d60
add esp, 8
movups xmm0, xmmword [ebp - 0x40]
xor eax, eax
mov word [ebp - 0x40], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x40]
call fcn.00484ba0
xor edi, edi
test esi, esi
je 0x57255d
mov ecx, dword [ebp - 0x20]
sub ecx, esi
cmp ecx, 0x1000
jb 0x57254e
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x5725ca
mov esi, edx
push ecx
push esi
call fcn.00516d60
add esp, 8
jmp 0x57255d
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x57256b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x57258a
mov edx, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp + 0x38], 0
mov ecx, dword [ebp + 0x60]
test ecx, ecx
je 0x5725a2
mov esi, dword [ecx]
lea eax, [ebp + 0x3c]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x5c
call fcn.00495500
call fcn.00486850
call fcn.006ee13d
call fcn.006ee13d
call fcn.0070f5b4
int3