Function at 0x100027ae
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
fld dword [0x10035da0]
fcomp dword [0x10035d98]
fnstsw ax
test ah, 1
je 0x100027dc
fld dword [0x10035da0]
fcomp dword [0x10035d94]
fnstsw ax
test ah, 0x41
jne 0x100027dc
jmp 0x1000281a
fld dword [0x10035da0]
fcomp dword [0x10035d98]
fnstsw ax
test ah, 1
jne 0x100027fb
mov eax, dword [0x10035d98]
mov dword [0x10035da0], eax
jmp 0x1000281a
fld dword [0x10035da0]
fcomp dword [0x10035d94]
fnstsw ax
test ah, 0x41
je 0x1000281a
mov ecx, dword [0x10035d94]
mov dword [0x10035da0], ecx
fld dword [0x10035dac]
fcomp dword [0x10035d78]
fnstsw ax
test ah, 1
je 0x10002842
fld dword [0x10035dac]
fcomp dword [0x10035d74]
fnstsw ax
test ah, 0x41
jne 0x10002842
jmp 0x10002880
fld dword [0x10035dac]
fcomp dword [0x10035d78]
fnstsw ax
test ah, 1
jne 0x10002863
mov edx, dword [0x10035d78]
mov dword [0x10035dac], edx
jmp 0x10002880
fld dword [0x10035dac]
fcomp dword [0x10035d74]
fnstsw ax
test ah, 0x41
je 0x10002880
mov eax, dword [0x10035d74]
mov dword [0x10035dac], eax
fld dword [0x10035db0]
fcomp dword [0x10035d88]
fnstsw ax
test ah, 1
je 0x100028a8
fld dword [0x10035db0]
fcomp dword [0x10035d84]
fnstsw ax
test ah, 0x41
jne 0x100028a8
jmp 0x100028e8
fld dword [0x10035db0]
fcomp dword [0x10035d88]
fnstsw ax
test ah, 1
jne 0x100028c9
mov ecx, dword [0x10035d88]
mov dword [0x10035db0], ecx
jmp 0x100028e8
fld dword [0x10035db0]
fcomp dword [0x10035d84]
fnstsw ax
test ah, 0x41
je 0x100028e8
mov edx, dword [0x10035d84]
mov dword [0x10035db0], edx
fld dword [0x10035da4]
fcomp dword [0x10035d80]
fnstsw ax
test ah, 1
je 0x10002910
fld dword [0x10035da4]
fcomp dword [0x10035d7c]
fnstsw ax
test ah, 0x41
jne 0x10002910
jmp 0x1000294e
fld dword [0x10035da4]
fcomp dword [0x10035d80]
fnstsw ax
test ah, 1
jne 0x1000292f
mov eax, dword [0x10035d80]
mov dword [0x10035da4], eax
jmp 0x1000294e
fld dword [0x10035da4]
fcomp dword [0x10035d7c]
fnstsw ax
test ah, 0x41
je 0x1000294e
mov ecx, dword [0x10035d7c]
mov dword [0x10035da4], ecx
fld dword [0x10035da8]
fcomp dword [0x10035d90]
fnstsw ax
test ah, 1
je 0x10002976
fld dword [0x10035da8]
fcomp dword [0x10035d8c]
fnstsw ax
test ah, 0x41
jne 0x10002976
jmp 0x100029b4
fld dword [0x10035da8]
fcomp dword [0x10035d90]
fnstsw ax
test ah, 1
jne 0x10002997
mov edx, dword [0x10035d90]
mov dword [0x10035da8], edx
jmp 0x100029b4
fld dword [0x10035da8]
fcomp dword [0x10035d8c]
fnstsw ax
test ah, 0x41
je 0x100029b4
mov eax, dword [0x10035d8c]
mov dword [0x10035da8], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 8]
push ecx
push 0xf003f
push 0
push 0x100326cc
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002b5f
lea edx, [ebp - 0x1c]
push edx
push 5
fld dword [0x10035da0]
sub esp, 8
fstp qword [esp]
call fcn.1001c94b
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
call fcn.10002b6d
add esp, 4
lea ecx, [ebp - 0x1c]
push ecx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x1c]
push edx
push 1
push 0
push 0x100326e8
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x1c]
push ecx
push 5
fld dword [0x10035da8]
sub esp, 8
fstp qword [esp]
call fcn.1001c94b
add esp, 0x10
lea edx, [ebp - 0x1c]
push edx
call fcn.10002b6d
add esp, 4
lea eax, [ebp - 0x1c]
push eax
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 1
push 0
push 0x100326f0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [ebp - 0x1c]
push eax
push 5
fld dword [0x10035db0]
sub esp, 8
fstp qword [esp]
call fcn.1001c94b
add esp, 0x10
lea ecx, [ebp - 0x1c]
push ecx
call fcn.10002b6d
add esp, 4
lea edx, [ebp - 0x1c]
push edx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
push 0
push 0x100326fc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [ebp - 0x1c]
push edx
push 5
fld dword [0x10035da4]
sub esp, 8
fstp qword [esp]
call fcn.1001c94b
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
call fcn.10002b6d
add esp, 4
lea ecx, [ebp - 0x1c]
push ecx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x1c]
push edx
push 1
push 0
push 0x10032708
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x1c]
push ecx
push 5
fld dword [0x10035dac]
sub esp, 8
fstp qword [esp]
call fcn.1001c94b
add esp, 0x10
lea edx, [ebp - 0x1c]
push edx
call fcn.10002b6d
add esp, 4
lea eax, [ebp - 0x1c]
push eax
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 1
push 0
push 0x10032714
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret