Function at 0x47c950
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x5f8800]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x54]
mov edi, ecx
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareHB_NemesisSettings
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x47cfdc
movzx eax, word [edi + 0x18c040]
cmp eax, 0x63
ja 0x47c9a0
cwde
inc eax
jmp 0x47c9a2
xor eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.Magic
push dword [ebp - 0x48]
call esi
test eax, eax
je 0x47c9dd
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005aa550
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0x18c082]
push ebx
xor ebx, ebx
mov dword [ebp - 0x50], eax
nop dword [eax]
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push ebx
lea eax, [ebp - 0x44]
push str.ShortCut_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0x50]
mov ecx, 0xc7
add esp, 0x18
movzx eax, word [eax]
cmp ax, cx
ja 0x47ca24
cwde
inc eax
jmp 0x47ca26
xor eax, eax
push 4
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
add dword [ebp - 0x50], 2
inc ebx
cmp ebx, 5
jl 0x47c9f0
movsx eax, byte [edi + 0x18dab3]
inc eax
push 4
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.DetailLevel
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x18bf94], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.ZoomMap
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x189592], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.PlaySound
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x189593], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.PlayMusic
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x194af5], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.Shout
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x194af4], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.Whisper
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x189654], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.DialogTrans
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
movsx eax, byte [edi + 0x1e]
push 4
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.Language
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
mov eax, dword [edi + 0x13f1ac]
push 4
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.Resolution
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
mov eax, dword [edi + 0x13f1a4]
push 4
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.Font_Style
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
mov eax, dword [edi + 0x13f1a8]
push 4
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.Font_Size
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x18bf8c], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.ShowFPS
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x18bf8e], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.CastingColors
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x18bf8d], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.PitsMinimap
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x18bf90], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.SendPresence
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x18bf8f], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.ShowGrid
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x18bf91], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.ChatStyle
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x18bf92], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.ShowShake
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x18bf93], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.ShowTime
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x18bf95], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.ShowServerTime
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x18bfbc], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.ShowPing
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x18bfbd], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.ShowBuffIcons
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x18bfbe], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.ShowExpProgress
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x18bfbf], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.ShowSkillProgress
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x18bfc0], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.AutoReconnect
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
movsx eax, byte [edi + 0x18bfc1]
inc eax
push 4
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.PartyInterface
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x18bfc2], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.PartyOnMiniMap
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x18bfc3], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.TakeEKSS
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x18bf76], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.ReverseMouse
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x13c679], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.ShowFightScore
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x13c694], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.ShowHPBars
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x18bfcf], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.ShowHealValues
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x18bfd0], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.ShowHungerBar
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
movsx eax, byte [edi + 0x13c695]
inc eax
push 4
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.GroundItemDetails
push dword [ebp - 0x48]
call esi
test eax, eax
jne 0x47cfd1
mov eax, dword [edi + 0x14a8e0]
xor ecx, ecx
push 4
cmp byte [eax + 0x50004], cl
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.FullScreen
push dword [ebp - 0x48]
setne cl
mov dword [ebp - 0x4c], ecx
call esi
test eax, eax
jne 0x47cfd1
cmp byte [edi + 0x13f1a0], al
push 4
setne al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 4
push 0
push str.LockMouseToWindow
push dword [ebp - 0x48]
call esi
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.005aa550
mov esp, ebp
pop ebp
ret