Function at 0x47d3c0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x1c
mov eax, dword [0x6a084c]
push ebx
push ebp
xor ebp, ebp
push esi
mov esi, ecx
mov dword [esp + 0x18], ebp
cmp dword [eax + 0x278], 5
push edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
jne 0x47d3ff
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push str.SoftwareGamaSoftMP_Client_MY_
jmp 0x47d417
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push str.SoftwareGamaSoftMP_Client
push 0x80000002
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
mov eax, dword [esi + 0x28]
cmp eax, ebp
mov ebx, dword [sym.imp.advapi32.dll_RegSetValueExA]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
je 0x47d474
mov ecx, eax
mov edx, dword [ecx]
mov edi, eax
call dword [edx + 0x48]
mov edx, dword [edi]
movzx eax, ax
shl eax, 0x10
mov ecx, edi
mov dword [esp + 0x28], eax
call dword [edx + 0x40]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
movzx eax, ax
or ecx, eax
push 4
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
push ecx
push 4
push ebp
push str.DlgControl
push edx
call ebx
mov eax, dword [esi + 0x2c]
cmp eax, ebp
mov dword [esp + 0x10], ebp
je 0x47d4cd
mov ecx, eax
mov edi, eax
mov eax, dword [ecx]
call dword [eax + 0x48]
mov edx, dword [edi]
movzx eax, ax
shl eax, 0x10
mov ecx, edi
mov dword [esp + 0x28], eax
call dword [edx + 0x40]
mov ecx, dword [esp + 0x28]
movzx eax, ax
or ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx]
call dword [edx + 0x60]
test eax, eax
je 0x47d4b7
or dword [esp + 0x18], 1
mov ecx, dword [esp + 0x14]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push ebp
push str.QuickSlot
push ecx
call ebx
mov eax, dword [esi + 0x24]
cmp eax, ebp
mov dword [esp + 0x10], ebp
je 0x47d526
mov ecx, eax
mov edx, dword [ecx]
mov edi, eax
call dword [edx + 0x48]
mov edx, dword [edi]
movzx eax, ax
shl eax, 0x10
mov ecx, edi
mov dword [esp + 0x28], eax
call dword [edx + 0x40]
mov ecx, dword [esp + 0x28]
movzx eax, ax
or ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
call dword [edx + 0x60]
test eax, eax
je 0x47d510
or dword [esp + 0x18], 2
mov ecx, dword [esp + 0x14]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push ebp
push str.Status
push ecx
call ebx
mov eax, dword [esi + 0x38]
cmp eax, ebp
je 0x47d53d
mov ecx, eax
mov edx, dword [ecx]
call dword [edx + 0x60]
test eax, eax
je 0x47d53d
or dword [esp + 0x18], 4
mov eax, dword [esi + 0x80]
cmp eax, ebp
mov dword [esp + 0x10], ebp
je 0x47d59c
mov ecx, eax
mov edi, eax
mov eax, dword [ecx]
call dword [eax + 0x48]
mov edx, dword [edi]
movzx eax, ax
shl eax, 0x10
mov ecx, edi
mov dword [esp + 0x28], eax
call dword [edx + 0x40]
mov ecx, dword [esp + 0x28]
movzx eax, ax
or ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x80]
mov edx, dword [ecx]
call dword [edx + 0x60]
test eax, eax
je 0x47d586
or dword [esp + 0x18], 8
mov ecx, dword [esp + 0x14]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push ebp
push str.Enchant
push ecx
call ebx
mov eax, dword [esi + 0x48]
cmp eax, ebp
mov dword [esp + 0x10], ebp
je 0x47d5e4
mov ecx, eax
mov edx, dword [ecx]
mov edi, eax
call dword [edx + 0x48]
mov edx, dword [edi]
movzx eax, ax
shl eax, 0x10
mov ecx, edi
mov dword [esp + 0x28], eax
call dword [edx + 0x40]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
movzx eax, ax
or ecx, eax
push 4
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
push ecx
push 4
push ebp
push str.Chat
push edx
call ebx
mov eax, dword [esi + 0x28]
cmp eax, ebp
je 0x47d63a
mov ecx, dword [esi + 0x2c]
cmp ecx, ebp
je 0x47d63a
mov edi, dword [eax + 0x174]
mov edx, 1
cmp edi, edx
jne 0x47d605
mov dword [esp + 0x24], edx
cmp dword [ecx + 0x158], edx
jne 0x47d611
mov dword [esp + 0x20], edx
movzx eax, word [esp + 0x20]
movzx ecx, word [esp + 0x24]
push 4
lea edx, [esp + 0x14]
push edx
shl eax, 0x10
push 4
or eax, ecx
push ebp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
push str.Vertical
push eax
call ebx
mov eax, dword [esi + 0x48]
cmp eax, ebp
je 0x47d661
mov ecx, dword [eax + 0x148]
mov eax, dword [esp + 0x14]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push ebp
push str.ChatDlgType
push eax
mov dword [esp + 0x28], ecx
call ebx
cmp dword [esi + 0x28], ebp
je 0x47d67c
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push ebp
push str.VisibleFlag
push edx
call ebx
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret