Function at 0x452e70
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x61231e
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x7161c0]
xor eax, esp
mov dword [esp + 0x25c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x274]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push str.SoftwareRealNetworksPreferences
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], ebx
call fcn.00401eb0
mov dword [esp + 0x27c], ebx
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov byte [esp + 0x27c], 1
push str.DT_Common
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00403170
add esp, 0xc
mov byte [esp + 0x27c], 2
mov eax, dword [eax]
lea edx, [esp + 0x24]
push edx
push 0x20019
push ebx
push eax
push DirectSoundCreate
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x452f26
mov ebp, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x18], ebp
cmp eax, ebx
setne byte [esp + 0x17]
mov byte [esp + 0x27c], 1
lea ecx, [esp + 0x28]
call fcn.00401a50
cmp byte [esp + 0x17], 0
je 0x452f98
mov byte [esp + 0x27c], 0
cmp ebp, ebx
je 0x452f5a
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x27c], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00401a50
xor al, al
mov ecx, dword [esp + 0x274]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.005d8d34
add esp, 0x26c
ret
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x6c]
push ecx
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x48], 0x104
call fcn.0041adb0
test eax, eax
jne 0x452f43
cmp ebp, ebx
je 0x452fc9
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebp, ebp
mov dword [esp + 0x18], ebp
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x20]
call fcn.00401eb0
mov byte [esp + 0x27c], 3
mov ecx, dword [esp + 0x1c]
mov edi, dword [ecx - 0xc]
lea eax, [edi - 1]
test eax, eax
jl 0x4530d0
cmp eax, edi
jg 0x4530d0
mov al, byte [eax + ecx]
cmp al, 0x5c
je 0x45304e
cmp al, 0x2f
je 0x45304e
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, edx
jge 0x453026
push esi
lea ecx, [esp + 0x20]
call fcn.00401990
mov ecx, dword [esp + 0x1c]
test esi, esi
mov byte [edi + ecx], 0x5c
jl 0x4530d0
mov eax, dword [esp + 0x1c]
cmp esi, dword [eax - 8]
jg 0x4530d0
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x1c]
mov byte [esi + eax], 0
mov esi, dword [esp + 0x38]
push str.pnen3260.dll
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00403170
add esp, 0xc
mov byte [esp + 0x27c], 4
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0xf0], eax
sete byte [esp + 0x17]
mov byte [esp + 0x27c], 3
lea ecx, [esp + 0x24]
call fcn.00401a50
cmp byte [esp + 0x17], 0
je 0x4530da
mov byte [esp + 0x27c], 1
lea ecx, [esp + 0x1c]
call fcn.00401a50
mov byte [esp + 0x27c], 0
test ebp, ebp
je 0x452f5a
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], 0
jmp 0x452f5a
push 0x80070057
call fcn.00401470
mov eax, dword [esi + 0xf0]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateEngine
push eax
call edi
mov ecx, dword [esi + 0xf0]
push str.CloseEngine
push ecx
mov dword [esi + 0xe4], eax
call edi
mov edx, dword [esi + 0xf0]
push str.SetDLLAccessPath
push edx
mov dword [esi + 0xe8], eax
call edi
xor edi, edi
cmp dword [esi + 0xe4], edi
mov dword [esi + 0xec], eax
je 0x4535e9
cmp dword [esi + 0xe8], edi
je 0x4535e9
cmp eax, edi
je 0x4535e9
mov eax, dword [esp + 0x20]
push 0x20019
push eax
push DirectSoundCreate
lea ecx, [esp + 0x24]
call fcn.0041ad20
test eax, eax
jne 0x453403
lea ecx, [esp + 0x28]
call fcn.004019e0
mov byte [esp + 0x27c], 5
mov ebp, 0x104
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x28]
push edi
push edi
push edi
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x7c]
push eax
push ecx
push edx
mov dword [esp + 0x5c], ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x45334f
mov dword [esp + 0x34], edi
mov byte [esp + 0x27c], 6
push 0x630bfc
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x64], ebp
call fcn.00403170
mov byte [esp + 0x288], 7
lea edx, [esp + 0x74]
push edx
push eax
lea eax, [esp + 0x64]
or ebx, 1
push eax
mov dword [esp + 0x58], ebx
call fcn.00403170
add esp, 0x18
mov dword [esp + 0x27c], 8
or ebx, 2
mov dword [esp + 0x40], ebx
mov eax, dword [eax]
push 0x20019
push eax
push DirectSoundCreate
lea ecx, [esp + 0x40]
call fcn.0041ad20
test eax, eax
jne 0x453238
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x170]
push edx
push edi
lea ecx, [esp + 0x40]
call fcn.0041adb0
test eax, eax
mov byte [esp + 0x17], 0
je 0x45323d
mov byte [esp + 0x17], 1
mov dword [esp + 0x27c], 7
test bl, 2
je 0x45325d
and ebx, 0xfffffffd
lea ecx, [esp + 0x50]
mov dword [esp + 0x40], ebx
call fcn.00401a50
mov dword [esp + 0x27c], 6
test bl, 1
je 0x45327d
and ebx, 0xfffffffe
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], ebx
call fcn.00401a50
cmp byte [esp + 0x17], 0
jne 0x453334
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x48]
call fcn.00401eb0
mov byte [esp + 0x27c], 9
push 0x3d
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.00434500
mov byte [esp + 0x288], 0xa
lea edx, [esp + 0x178]
push edx
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00403170
mov byte [esp + 0x294], 0xb
push 0x7c
push eax
lea ecx, [esp + 0x74]
push ecx
call fcn.00434500
add esp, 0x24
mov byte [esp + 0x27c], 0xc
push eax
lea ecx, [esp + 0x2c]
call fcn.004335c0
mov byte [esp + 0x27c], 0xb
lea ecx, [esp + 0x54]
call fcn.00401a50
mov byte [esp + 0x27c], 0xa
lea ecx, [esp + 0x5c]
call fcn.00401a50
mov byte [esp + 0x27c], 9
lea ecx, [esp + 0x4c]
call fcn.00401a50
mov byte [esp + 0x27c], 6
lea ecx, [esp + 0x44]
call fcn.00401a50
mov byte [esp + 0x27c], 5
lea ecx, [esp + 0x34]
call fcn.0040aea0
add dword [esp + 0x24], 1
jmp 0x453178
lea ecx, [esp + 0x18]
call fcn.0040add0
mov edx, dword [esp + 0x28]
mov eax, dword [edx - 0xc]
cmp eax, edi
je 0x4533f2
add eax, 1
push eax
call fcn.005b4663
mov esi, eax
add esp, 4
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x48]
call fcn.00402bc0
mov byte [esp + 0x27c], 0xd
mov ecx, dword [eax]
mov edx, esi
nop
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x453390
mov byte [esp + 0x27c], 5
lea ecx, [esp + 0x44]
call fcn.00401a50
mov eax, esi
xor ecx, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4533b6
sub eax, edi
test eax, eax
jle 0x4533d6
cmp byte [ecx + esi], 0x7c
jne 0x4533cf
mov byte [ecx + esi], 0
add ecx, 1
cmp ecx, eax
jl 0x4533c5
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 0xec]
push esi
call edx
push esi
call fcn.005b465e
mov esi, dword [esp + 0x3c]
add esp, 4
xor edi, edi
mov byte [esp + 0x27c], 3
lea ecx, [esp + 0x28]
call fcn.00401a50
mov eax, dword [esi + 0xe4]
lea ebx, [esi + 0xf4]
push ebx
call eax
test eax, eax
je 0x45344b
mov byte [esp + 0x27c], 1
lea ecx, [esp + 0x1c]
call fcn.00401a50
mov byte [esp + 0x27c], 0
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x452f5a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], edi
jmp 0x452f5a
mov eax, dword [ebx]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
lea edi, [esi + 0xf8]
push edi
push eax
call edx
test eax, eax
jne 0x453555
mov eax, dword [edi]
push eax
lea ecx, [esi + 0x104]
call fcn.00451120
test eax, eax
je 0x453555
mov eax, dword [edi]
push eax
lea ecx, [esi + 0x108]
call fcn.00451160
test eax, eax
je 0x453555
mov eax, dword [edi]
add esi, 0xfc
push eax
mov ecx, esi
call fcn.004510e0
mov eax, dword [esi]
mov ebp, dword [esp + 0x38]
mov ecx, dword [eax]
push 0
push 0
lea edx, [ebp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
push eax
lea ecx, [ebp + 0x100]
call fcn.00465380
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x30]
call fcn.00451830
mov bl, 0xe
mov byte [esp + 0x27c], bl
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4534f6
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push 0x12c
push eax
call edx
mov eax, dword [edi]
push eax
lea ecx, [esp + 0x34]
call fcn.004518a0
mov byte [esp + 0x27c], 0xf
mov eax, dword [esp + 0x30]
test eax, eax
je 0x453522
mov ecx, dword [eax]
push 6
push 0
lea edx, [ebp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [ebp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
test eax, eax
je 0x45357c
mov byte [esp + 0x27c], bl
lea ecx, [esp + 0x30]
call fcn.00451610
mov byte [esp + 0x27c], 3
lea ecx, [esp + 0x2c]
call fcn.004515c0
mov byte [esp + 0x27c], 1
lea ecx, [esp + 0x1c]
call fcn.00401a50
mov byte [esp + 0x27c], 0
lea ecx, [esp + 0x18]
call fcn.0040aea0
jmp 0x452f5a
mov edi, dword [edi]
mov ecx, dword [edi]
mov edx, dword [ecx + 0x38]
push ebp
push edi
call edx
test eax, eax
jne 0x453534
mov byte [esp + 0x27c], bl
lea ecx, [esp + 0x30]
call fcn.00451610
mov byte [esp + 0x27c], 3
lea ecx, [esp + 0x2c]
call fcn.004515c0
mov byte [esp + 0x27c], 1
lea ecx, [esp + 0x1c]
call fcn.00401a50
mov byte [esp + 0x27c], 0
lea ecx, [esp + 0x18]
call fcn.0040aea0
mov dword [esp + 0x27c], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00401a50
mov al, 1
jmp 0x452f70
mov byte [esp + 0x27c], 1
lea ecx, [esp + 0x1c]
call fcn.00401a50
mov byte [esp + 0x27c], 0
cmp ebp, edi
je 0x452f5a
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], edi
jmp 0x452f5a