Function at 0x560cc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73ad35
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
cmp dword [ecx + 0x14], 8
mov eax, ecx
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], 0
jb 0x560cf3
mov eax, dword [ecx]
push ebx
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 0x560e76
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x560d29
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 0x560e76
cmp dword [ebp - 0x1c], 4
je 0x560d5c
mov ebx, 0x70c
jmp 0x560e79
mov eax, dword [ebp - 0x10]
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x14], eax
xor esi, esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edi
test eax, eax
je 0x560dd6
cmp eax, 0x7fffffff
ja 0x560ed3
cmp eax, 0x1000
jb 0x560dae
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x560ed8
push ecx
call fcn.00503d60
add esp, 4
test eax, eax
je 0x560ee7
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x560db9
push eax
call fcn.00503d60
add esp, 4
mov ebx, eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push ebx
lea edi, [ebx + ecx]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], edi
call fcn.006f4b50
add esp, 0xc
mov dword [ebp - 0x24], edi
mov esi, ebx
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x560de5
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 0x560e03
mov ebx, eax
jmp 0x560e4a
mov ecx, dword [ebp + 0x60]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
test ecx, ecx
je 0x560edd
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
push dword [ebp + 0xc]
call dword [eax + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 8], eax
mov dword [ebp + 0x10], ebx
mov dword [ecx], eax
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x560ee2
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
lea edx, [ebp + 0x10]
push edx
call dword [eax + 8]
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ecx], eax
test esi, esi
je 0x560e79
sub edi, esi
cmp edi, 0x1000
jb 0x560e6a
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x560ee7
mov esi, ecx
push edi
push esi
call fcn.00503df0
add esp, 8
jmp 0x560e79
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x560e87
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x560ea6
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 0x560ebe
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, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x5c
call fcn.0048d130
call fcn.0047e4c0
call fcn.006ddadd
call fcn.006ddadd
call fcn.006fee64
int3