Function at 0x42ff20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c92f6
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x51fee0]
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 + 0xc]
mov dword [ebp - 0x83c], eax
mov ecx, dword [0x521340]
xor eax, eax
cmp byte [0x52195c], al
mov dword [ebp - 4], 0
sete al
add eax, 0x80000001
mov dword [ebp - 0x818], eax
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 0xd
idiv ecx
cmp edx, 5
jne 0x42ff9d
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetMailslotInfo]
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x820], eax
or ebx, 0xffffffff
cmp byte [ebp + 0x10], 0
mov byte [ebp - 4], 1
je 0x43002e
cmp byte [0x51b24c], 0
jne 0x43002e
mov eax, dword [0x521a88]
cmp dword [eax - 0xc], 0
jne 0x42ffdb
mov esi, SysReAllocStringLen
jmp 0x430034
push 0x4da458
lea eax, [ebp - 0x81c]
push 0x521a88
push eax
mov esi, VariantInit
call fcn.0040b790
add esp, 0xc
push eax
lea ecx, [ebp - 0x820]
mov byte [ebp - 4], 2
call fcn.00402b30
mov edx, dword [ebp - 0x81c]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x430034
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x430034
mov esi, dword [ebp - 0x818]
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x828], 0
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
mov byte [ebp - 4], 3
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x818], eax
mov eax, str.Software_
mov byte [ebp - 4], 4
test eax, 0xffff0000
jne 0x43009d
movzx edi, ax
push 0
push edi
call fcn.00403bc0
add esp, 8
test eax, eax
je 0x4300ad
push edi
push eax
lea ecx, [ebp - 0x818]
call fcn.004075c0
jmp 0x4300ad
push str.Software_
lea ecx, [ebp - 0x818]
call fcn.0040b480
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x840]
push eax
mov byte [ebp - 4], 5
call fcn.0040b6d0
push 0x521a8c
push eax
lea eax, [ebp - 0x838]
push eax
mov byte [ebp - 4], 6
call fcn.0040b6d0
push 0x4da458
push eax
lea eax, [ebp - 0x834]
push eax
mov byte [ebp - 4], 7
call fcn.0040b790
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x81c]
push eax
mov byte [ebp - 4], 8
call fcn.0040b6d0
add esp, 0x30
lea ecx, [ebp - 0x830]
push 1
push dword [eax]
push esi
call fcn.0040bf80
mov edx, dword [ebp - 0x81c]
test eax, eax
setne byte [ebp - 0x811]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x430147
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x834]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43016a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x838]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43018d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x840]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4301b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x818]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4301d3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x811], 0
je 0x4301ee
mov eax, dword [ebp - 0x830]
mov byte [ebp - 0x811], 0
jmp 0x430371
mov ecx, dword [0x521340]
lea edx, [ecx + 1]
mov eax, edx
imul eax, ecx
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x430208
dec eax
or eax, 0xfffffff8
inc eax
cmp eax, 3
jne 0x430233
sub ecx, 0
je 0x430229
dec ecx
je 0x43021d
mov dword [0x521340], edx
jmp 0x430233
mov dword [0x521340], 0
jmp 0x430233
mov dword [0x521340], 2
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
mov dword [ebp - 0x824], 0x400
call fcn.004a8550
mov eax, dword [ebp - 0x830]
add esp, 0xc
xor edi, edi
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x824]
push ecx
lea ecx, [ebp - 0x810]
push ecx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
inc edi
mov dword [ebp - 0x81c], edi
test esi, esi
je 0x43029a
cmp esi, 0x103
jne 0x43034f
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x818], eax
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 9
test eax, 0xffff0000
jne 0x4303e2
movzx edi, ax
push 0
push edi
call fcn.00403bc0
add esp, 8
test eax, eax
je 0x4302e4
push edi
push eax
lea ecx, [ebp - 0x818]
call fcn.004075c0
mov edi, dword [ebp - 0x81c]
mov eax, dword [ebp - 0x818]
mov byte [ebp - 4], 0xa
cmp dword [eax - 0xc], 0
je 0x43030c
mov ecx, dword [ebp - 0x83c]
lea eax, [ebp - 0x818]
push eax
call fcn.0042a8c0
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
mov dword [ebp - 0x824], 0x400
call fcn.004a8550
mov edx, dword [ebp - 0x818]
add edx, 0xfffffff0
add esp, 0xc
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43034f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x830]
test esi, esi
je 0x430263
test eax, eax
je 0x43036a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov byte [ebp - 0x811], 1
test eax, eax
je 0x43037c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x820]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43039f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4303c0
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x811]
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.004a7434
mov esp, ebp
pop ebp
ret
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4303e5
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x818]
call fcn.004097a0
jmp 0x4302ea