Function at 0x430fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8398
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x51eee0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xf4], eax
mov eax, dword [0x51eab0]
xor ebx, ebx
cmp byte [0x520a34], bl
mov ecx, 0x51eab0
sete bl
mov dword [ebp - 4], 1
add ebx, 0x80000001
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xdc], eax
or edi, 0xffffffff
cmp byte [ebp + 0x14], 0
mov byte [ebp - 4], 2
je 0x431102
cmp byte [0x51a24c], 0
jne 0x4310b2
mov eax, dword [0x520b74]
cmp dword [eax - 0xc], 0
jne 0x431061
mov ebx, SysReAllocStringLen
jmp 0x4310b2
push 0x4d95f8
lea eax, [ebp - 0xd0]
push 0x520b74
push eax
mov ebx, VariantInit
call fcn.0040b720
add esp, 0xc
push eax
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 3
call fcn.00402af0
mov edx, dword [ebp - 0xd0]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4310b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00432bf0
test al, al
jne 0x431102
mov esi, dword [0x520340]
xor edx, edx
jmp 0x4310d0
mov eax, dword [ebp + edx*4 - 0xbc]
add eax, dword [ebp + edx*4 - 0xc0]
add edx, 4
add eax, dword [ebp + edx*4 - 0xd4]
add eax, dword [ebp + edx*4 - 0xd8]
imul eax, eax, 0x17
add esi, eax
cmp edx, 0xb8
jb 0x4310d0
mov dword [0x520340], esi
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
mov eax, dword [0x51eab0]
mov ecx, 0x51eab0
mov byte [ebp - 4], 4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xcc], eax
mov eax, str.Software_
mov byte [ebp - 4], 5
test eax, 0xffff0000
jne 0x43116b
movzx esi, ax
push 0
push esi
call fcn.00403b80
add esp, 8
test eax, eax
je 0x43117b
push esi
push eax
lea ecx, [ebp - 0xcc]
call fcn.00407650
jmp 0x43117b
push str.Software_
lea ecx, [ebp - 0xcc]
call fcn.0040b410
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xd8]
push eax
mov byte [ebp - 4], 6
call fcn.0040b660
push 0x520b78
push eax
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 7
call fcn.0040b660
push 0x4d95f8
push eax
lea eax, [ebp - 0xd4]
push eax
mov byte [ebp - 4], 8
call fcn.0040b720
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0xd0]
push eax
mov byte [ebp - 4], 9
call fcn.0040b660
add esp, 0x30
lea ecx, [ebp - 0xf0]
push 0x20019
push dword [eax]
push ebx
call fcn.0040bf10
mov edx, dword [ebp - 0xd0]
test eax, eax
setne bl
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x431214
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xd4]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x431237
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xe0]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43125a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xd8]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43127d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xcc]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4312a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x4312ca
call fcn.00432b30
test al, al
jne 0x4312bf
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov eax, dword [ebp - 0xf0]
jmp 0x43140f
mov esi, dword [ebp - 0xf0]
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xe0]
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0xe4], 0
push esi
mov dword [ebp - 0xd8], 4
mov dword [ebp - 0xcc], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x431402
cmp dword [ebp - 0xe0], 4
jne 0x431402
test esi, esi
je 0x431333
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0xcc], eax
call fcn.00432a70
test al, al
jne 0x4313ab
mov edi, dword [0x520340]
mov eax, edi
cdq
sub eax, edx
xor ecx, ecx
mov ebx, eax
sar ebx, 1
mov esi, 5
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xd4], ebx
mov edi, edi
test ebx, ebx
jle 0x43139d
mov eax, edi
cdq
and edx, 3
lea edi, [edx + eax]
sar edi, 2
xor edx, edx
test edi, edi
jle 0x43138c
mov eax, edx
mov ecx, edi
lea ebx, [ebx]
add esi, eax
dec eax
dec ecx
jne 0x431380
mov ecx, dword [ebp - 0xd0]
add edx, ecx
dec ebx
jne 0x431372
mov ebx, dword [ebp - 0xd4]
mov edi, dword [0x520340]
inc ecx
mov dword [ebp - 0xd0], ecx
cmp ecx, esi
jl 0x431360
or edi, 0xffffffff
mov ecx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0xe4]
mov dword [ecx], eax
mov ecx, dword [0x520340]
mov ebx, 0x18
lea esi, [ecx + 1]
mov eax, esi
imul eax, ecx
cdq
idiv ebx
cmp edx, 0x16
jne 0x4313fe
sub ecx, 0
je 0x4313f4
dec ecx
je 0x4313e6
mov dword [0x520340], esi
mov bl, 1
jmp 0x431417
mov dword [0x520340], 0
mov bl, 1
jmp 0x431417
mov dword [0x520340], 2
mov bl, 1
jmp 0x431417
test esi, esi
je 0x431415
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0xcc], eax
xor bl, bl
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x431428
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0xdc]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43144b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43146b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x43148c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a63c4
mov esp, ebp
pop ebp
ret