Function at 0x42b230
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ed960
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push ebx
push esi
push edi
mov dword [esp + 0x23c], 0
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x23c], 1
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x23c], 2
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x23c], 3
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x14]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov ebx, esp
push eax
mov byte [esp + 0x24c], 4
lea edi, [esp + 0x38]
lea esi, [esp + 0x34]
mov dword [esp + 0x30], eax
call fcn.00406120
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.0042a930
add esp, 0xc
test al, al
jne 0x42b329
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42b7e1
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x30]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x1c], ebx
lea eax, [ebp + 8]
push eax
lea ecx, [esp + 0x30]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
push ecx
mov byte [esp + 0x248], 5
call fcn.00410b30
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [esp + 0xc]
push edx
push 0x2001f
push ebx
push eax
push reloc.DSOUND.dll_DirectSoundCreate
mov byte [esp + 0x250], 6
mov dword [esp + 0x20], ebx
call esi
cmp eax, ebx
jne 0x42b532
mov ebx, dword [esp + 0xc]
xor eax, eax
mov ecx, 0x80
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
push str.Application
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0x200
call fcn.00426d80
test eax, eax
jne 0x42b532
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.00403260
mov ecx, eax
mov byte [esp + 0x23c], 7
call fcn.00410bf0
mov ecx, eax
call fcn.0040f870
mov esi, dword [esp + 0x14]
mov eax, dword [eax]
push esi
push eax
call fcn.004b772d
mov ebx, eax
mov eax, dword [esp + 0x20]
add esp, 8
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
mov byte [esp + 0x23c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b42a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b450
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42b45f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov byte [esp + 0x23c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b481
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b4a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b4cd
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 + 0x23c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b4f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x23c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b519
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, bl
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
push 0x2001f
push 0
push ecx
push DirectSoundCreate
mov dword [esp + 0x20], 0
call esi
test eax, eax
jne 0x42b794
test ebx, ebx
je 0x42b564
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x1c], ebx
jne 0x42b794
mov ecx, 0x80
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
mov esi, 0x200
push 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], esi
call fcn.00426d80
test eax, eax
jne 0x42b794
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x14]
call fcn.00403220
mov ecx, eax
call fcn.00410bf0
mov ecx, eax
call fcn.0040f870
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x42b794
push str._shellopencommand
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00410a70
mov eax, dword [eax]
add esp, 0xc
push 0x2001f
push eax
push DirectSoundCreate
lea ecx, [esp + 0x28]
call fcn.00426d30
test eax, eax
lea ecx, [esp + 0xc]
setne bl
call fcn.00402a10
test bl, bl
jne 0x42b697
xor eax, eax
mov ecx, 0x80
lea edi, [esp + 0x30]
mov dword [esp + 0x18], esi
rep stosd dword es:[edi], eax
mov dword [esp + 0x20], eax
push str._shellopen
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x248], 8
call fcn.00410a70
mov eax, dword [eax]
add esp, 0xc
push 0x2001f
push eax
push DirectSoundCreate
lea ecx, [esp + 0x2c]
call fcn.00426d30
test eax, eax
jne 0x42b67f
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x34]
push eax
push str.LegacyDisable
lea ecx, [esp + 0x2c]
call fcn.00426d80
test eax, eax
jne 0x42b67f
mov bl, 1
jmp 0x42b681
xor bl, bl
lea ecx, [esp + 0xc]
call fcn.00402a10
test bl, bl
je 0x42b6da
lea ecx, [esp + 0x20]
call fcn.0040b050
lea ecx, [esp + 0x2c]
call fcn.00402a10
lea ecx, [esp + 0x1c]
call fcn.0040b050
lea ecx, [esp + 0x14]
call fcn.00402a10
lea ecx, [esp + 0x10]
call fcn.00402a10
lea ecx, [esp + 0x28]
call fcn.00402a10
lea ecx, [esp + 0x24]
call fcn.00402a10
lea ecx, [ebp + 8]
call fcn.00402a10
jmp 0x42b883
xor eax, eax
mov ecx, 0x80
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], esi
call fcn.00426d80
test eax, eax
jne 0x42b732
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
call fcn.00403260
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.0042a7d0
add esp, 8
lea ecx, [esp + 0xc]
mov bl, al
call fcn.00402a10
test bl, bl
je 0x42b732
mov bl, 1
jmp 0x42b734
xor bl, bl
lea ecx, [esp + 0x20]
call fcn.0040b050
lea ecx, [esp + 0x2c]
call fcn.00402a10
lea ecx, [esp + 0x1c]
call fcn.0040b050
lea ecx, [esp + 0x14]
call fcn.00402a10
lea ecx, [esp + 0x10]
call fcn.00402a10
lea ecx, [esp + 0x28]
call fcn.00402a10
lea ecx, [esp + 0x24]
call fcn.00402a10
lea ecx, [ebp + 8]
call fcn.00402a10
mov al, bl
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b7ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test ebx, ebx
je 0x42b7c5
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b7eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b811
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b837
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 + 0x23c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b85d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x23c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b883
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x234]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4