Function at 0x40c5c0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x88
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SoftwareSoftnyxGunBoundWC
push reloc.WS2_32.dll_bind
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c851
mov ecx, dword [0x89e864]
mov edx, dword [esp]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
push 4
add ecx, 0x1e9dc
push ecx
push 4
push eax
push str.LastServer
push edx
call esi
mov eax, dword [0x89e864]
mov ecx, dword [esp + 8]
push 1
add eax, 0x553ac
push eax
push 3
push 0
push str.ShootingMode
push ecx
call esi
mov edx, dword [0x89e864]
mov eax, dword [esp + 8]
push 4
add edx, 0x553b0
push edx
push 4
push 0
push str.MouseSpeed
push eax
call esi
mov ecx, dword [0x89e864]
mov dl, byte [ecx + 0x553b4]
mov ecx, dword [esp + 8]
push 1
lea eax, [esp + 0x13]
push eax
push 3
push 0
test dl, dl
push str.MidiMode
sete dl
push ecx
mov byte [esp + 0x27], dl
call esi
mov edx, dword [0x89e864]
mov eax, dword [esp + 8]
push 4
add edx, 0x553b8
push edx
push 4
push 0
push str.MusicVolume
push eax
call esi
mov ecx, dword [0x89e864]
mov edx, dword [esp + 8]
push 4
add ecx, 0x553bc
push ecx
push 4
push 0
push str.EffectVolume
push edx
call esi
mov eax, dword [esp + 8]
push 4
push 0x89e74c
push 4
push 0
push str.AutoRefresh
push eax
call esi
mov ecx, dword [0x89e864]
push 1
add ecx, 0x553c2
push ecx
push 3
push 0
mov edx, dword [esp + 0x18]
push str.Effect3D
push edx
call esi
mov eax, dword [0x89e864]
mov ecx, dword [esp + 8]
push 1
add eax, 0x553c3
push eax
push 3
push 0
push str.Background
push ecx
call esi
mov edx, dword [0x89e864]
mov eax, dword [esp + 8]
push 1
add edx, 0x553c0
push edx
push 3
push 0
push str.MusicUse
push eax
call esi
mov ecx, dword [0x89e864]
mov edx, dword [esp + 8]
push 1
add ecx, 0x553c1
push ecx
push 3
push 0
push str.EffectUse
push edx
call esi
mov eax, dword [0x89e864]
mov ecx, dword [esp + 8]
push 1
add eax, 0x7f865
push eax
push 3
push 0
push str.ShowTurn
push ecx
call esi
mov edx, dword [0x89e864]
mov eax, dword [esp + 8]
push 1
add edx, 0x7f864
push edx
push 3
push 0
push str.ShowMoon
push eax
call esi
mov ecx, dword [0x89e864]
mov edx, dword [esp + 8]
push 1
add ecx, 0x80b18
push ecx
push 3
push 0
push str.ShowOnlineUser
push edx
call esi
mov eax, dword [0x89e864]
mov ecx, dword [esp + 8]
push 1
add eax, 0x80b78
push eax
push 3
push 0
push str.InterfaceMode
push ecx
call esi
mov eax, 0x89e6c0
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40c7d0
mov edx, dword [esp + 8]
sub eax, ecx
inc eax
push eax
push 0x89e6c0
push 3
push 0
push str.GameName
push edx
call esi
mov eax, 0x89cdd8
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40c7f8
sub eax, ecx
inc eax
push eax
mov eax, dword [esp + 0xc]
push 0x89cdd8
push 3
push 0
push str.ChannelName
push eax
call esi
mov edx, dword [esp + 8]
mov byte [esp + 0x10], 0
xor eax, eax
push 1
mov ecx, 0x1f
lea edi, [esp + 0x15]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push ecx
push 3
push 0
stosw word es:[edi], ax
push str.LastID
push edx
stosb byte es:[edi], al
call esi
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0x88
ret