Function at 0x4475f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4ef86c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x14]
push eax
push 0x2001f
xor ebp, ebp
push ebp
push str.SoftwareRealNetworksPreferencesDT_Common
push DirectSoundCreate
mov dword [esp + 0x244], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x44770f
push ebx
push edi
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x28]
push eax
push ebp
push ebp
push edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x3c], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebp
jne 0x447701
cmp dword [esp + 0x20], 1
jne 0x447701
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x28]
call fcn.00403260
push str.pnen3260.dll
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x244], 1
call fcn.00410a70
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
cmp eax, ebp
mov dword [esi + 0xe0], eax
mov eax, dword [esp + 0x20]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4476d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x238], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4476fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x447728
cmp edi, ebp
je 0x447915
push edi
jmp 0x44790f
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
add esp, 0x22c
ret
mov eax, dword [esi + 0xe0]
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.CreateEngine
push eax
call edi
mov ecx, dword [esi + 0xe0]
push str.CloseEngine
push ecx
mov dword [esi + 0xd8], eax
call edi
mov ecx, dword [esi + 0xd8]
cmp ecx, ebp
mov dword [esi + 0xdc], eax
je 0x447906
cmp eax, ebp
je 0x447906
lea edi, [esi + 0xe4]
push edi
call ecx
test eax, eax
jne 0x4478ce
mov eax, dword [edi]
mov edx, dword [eax]
lea ebp, [esi + 0xe8]
push ebp
push eax
call dword [edx + 0xc]
test eax, eax
jne 0x4478ce
mov eax, dword [ebp]
push eax
lea ecx, [esi + 0xf4]
call fcn.00446010
test eax, eax
je 0x4478ce
mov eax, dword [ebp]
push eax
lea ecx, [esi + 0xf8]
call fcn.00446040
test eax, eax
je 0x4478ce
mov eax, dword [ebp]
lea edi, [esi + 0xec]
push eax
mov ecx, edi
call fcn.00445fb0
mov eax, dword [edi]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esi + 0x20]
push edx
push eax
call dword [ecx + 0x10]
mov eax, dword [edi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
push eax
lea ecx, [esi + 0xf0]
call fcn.00445fe0
mov edi, dword [edi]
push edi
lea ecx, [esp + 0x1c]
call fcn.00446210
mov eax, dword [esp + 0x18]
test eax, eax
mov bl, 2
mov byte [esp + 0x238], bl
je 0x44781f
mov edx, dword [eax]
push 0x12c
push eax
call dword [edx + 0xc]
mov eax, dword [ebp]
push eax
lea ecx, [esp + 0x18]
call fcn.00446240
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x238], 3
je 0x44784a
mov ecx, dword [eax]
push 6
push 0
lea edx, [esi + 0xc]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp]
mov ecx, dword [eax]
lea edx, [esi + 0x10]
push edx
push eax
call dword [ecx + 0x40]
test eax, eax
je 0x447894
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x238], bl
je 0x447870
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0x238], 0
je 0x447886
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x10]
call fcn.0040b050
jmp 0x447915
mov ebp, dword [ebp]
mov eax, dword [ebp]
push esi
push ebp
call dword [eax + 0x38]
test eax, eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x238], bl
je 0x4478d9
test eax, eax
je 0x4478b8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0x238], 0
je 0x4478ce
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x10]
call fcn.0040b050
jmp 0x447915
test eax, eax
je 0x4478e3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0x238], 0
je 0x4478f9
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x10]
call fcn.0040b050
mov al, 1
jmp 0x447917
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x447915
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [esp + 0x230]
pop edi
pop ebx
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x22c
ret