Function at 0x42fae0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x410]
sub esp, 0x410
push 0xffffffffffffffff
push 0x6879b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x725fec]
xor eax, ebp
mov dword [ebp + 0x40c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edi, edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push edi
push str.Sound_
push str._s_d
lea eax, [ebp + 0x20c]
push 0xff
push eax
call fcn.00432a60
add esp, 0x14
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp + 0x20c]
push eax
push ebx
call esi
test eax, eax
jne 0x42fc72
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp + 0x20c]
push eax
push ebx
call esi
cmp edi, 0x10
jge 0x42fc72
call fcn.004fc414
test eax, eax
je 0x42fd76
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x42fbc8
movzx eax, ax
lea ecx, [ebp - 0x10]
push eax
call fcn.00403830
jmp 0x42fbec
lea ecx, [ebp]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42fbd0
sub ecx, edx
lea eax, [ebp]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00403bb0
mov dword [ebp - 4], 1
mov esi, dword [0x734140]
test esi, esi
je 0x42fc07
lock inc dword [esi + 4]
mov esi, dword [0x734140]
mov ecx, dword [0x73413c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
push edi
call fcn.0042bf50
mov byte [ebp - 4], 3
test esi, esi
je 0x42fc4a
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x42fc4a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x42fc4a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42fc6c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
inc edi
cmp edi, 0x10
jl 0x42fb31
xor edi, edi
nop
push edi
push 0x6e507c
push str._s_d
lea eax, [ebp + 0x20c]
push 0xff
push eax
call fcn.00432a60
add esp, 0x14
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp + 0x20c]
push eax
push ebx
call esi
test eax, eax
jne 0x42fd49
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp + 0x20c]
push eax
push ebx
call esi
test eax, eax
jne 0x42fd49
mov esi, dword [0x734140]
test esi, esi
je 0x42fcf0
lock inc dword [esi + 4]
mov esi, dword [0x734140]
mov eax, dword [0x73413c]
mov ecx, dword [eax + 0xbc]
mov eax, dword [eax + 0xc0]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x42fd10
mov eax, dword [ebp - 0x10]
mov dword [ecx + edi*4], eax
mov dword [ebp - 4], 4
test esi, esi
je 0x42fd3c
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x42fd3c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x42fd3c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
inc edi
cmp edi, 0x10
jl 0x42fc80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x40c]
xor ecx, ebp
call fcn.0063db0b
lea esp, [ebp + 0x410]
pop ebp
ret
push 0x80004005
call fcn.00403b60
int3