Function at 0x52efd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6085c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push edi
mov edi, ecx
mov ecx, dword [edi + 0x34]
mov edx, dword [edi + 0x30]
sub ecx, edx
lea eax, [edi + 0x30]
jne 0x52f00e
xor al, al
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov cl, byte [edi + 0x41d]
test cl, cl
je 0x52f07e
mov al, byte [edi + 0x41e]
test al, al
jne 0x52effb
push 1
mov ecx, edi
call fcn.00524f60
mov byte [edi + 0x464], 1
push 0
add edi, 0x438
push 1
mov ecx, edi
call fcn.005116e0
test eax, eax
je 0x52effb
mov ecx, edi
call fcn.005117e0
mov edx, dword [ebp + 0xc]
mov ecx, edi
mov dword [edx], eax
call fcn.005117e0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push eax
mov dword [ecx], eax
push edx
mov ecx, edi
call fcn.00511820
mov al, 1
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push ebx
push esi
push eax
lea eax, [ebp - 0x34]
push str.SOFTWARE_
push eax
call fcn.00418830
push eax
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 4], 0
call fcn.00518a60
add esp, 0x14
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0041d780
lea ecx, [ebp - 0x1c]
call fcn.00402680
mov ebx, dword [ebp + 8]
push 0xffffffffffffffff
push 0x5c
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00509580
mov esi, eax
cmp esi, 0xffffffff
je 0x52f15e
push esi
push 0
lea edx, [ebp - 0x40]
push edx
mov ecx, ebx
call fcn.0050cd80
push eax
lea eax, [ebp - 0x34]
push 0x60cb74
push eax
mov byte [ebp - 4], 4
call fcn.00418830
add esp, 0xc
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [ebp + 0xf]
push edx
push ecx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00402c10
lea ecx, [ebp - 0x34]
call fcn.0041d780
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0041d780
push 0xffffffffffffffff
inc esi
push esi
lea eax, [ebp - 0x40]
push eax
mov ecx, ebx
call fcn.0050cd80
lea ecx, [ebp - 0x1c]
cmp eax, ecx
mov byte [ebp - 4], 6
je 0x52f150
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [ebp + 0xf]
push edx
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040c800
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0041d780
jmp 0x52f178
lea eax, [ebp - 0x1c]
cmp ebx, eax
je 0x52f178
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
lea ecx, [ebp + 0xf]
push ecx
push edx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040c800
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push 0
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x52f254
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1c]
push ebx
push eax
mov eax, dword [ebp - 0x10]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x52f24a
mov al, byte [edi + 0x41c]
test al, al
je 0x52f21b
mov ecx, edi
call fcn.00524ec0
push 1
lea esi, [edi + 0x438]
push 0
mov ecx, esi
call fcn.00515cb0
push 5
push 0xb
mov ecx, esi
call fcn.00515cb0
push 1
push 1
mov ecx, esi
call fcn.00515cb0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov ecx, esi
call fcn.00515db0
mov eax, dword [ebx]
push eax
mov ecx, esi
call fcn.00515db0
mov ecx, dword [ebx]
mov edx, dword [ebp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.00515e40
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
call fcn.0041d780
lea ecx, [ebp - 0x28]
call fcn.0041d780
pop esi
pop ebx
mov al, 1
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [edi + 0x41c]
test al, al
je 0x52f28c
mov ecx, edi
call fcn.00524ec0
push 1
add edi, 0x438
push 0
mov ecx, edi
call fcn.00515cb0
push 5
push 0xb
mov ecx, edi
call fcn.00515cb0
push 1
push 0
mov ecx, edi
call fcn.00515cb0
lea ecx, [ebp - 0x1c]
call fcn.0041d780
lea ecx, [ebp - 0x28]
call fcn.0041d780
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
xor al, al
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10