Function at 0x40cc60
Capabilities:
Resolve function by parsing pe exports
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a7cfd
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x130], edi
call fcn.00472c20
test eax, eax
jne 0x40cd16
call fcn.00472cc0
test eax, eax
jne 0x40cd16
lea eax, [esp + 0x20]
push eax
push 0x2001f
push edi
push str.SOFTWARETencentQQPinyin
push closesocket
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x40ccee
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x18], ebx
mov ebp, ebx
jmp 0x40ce50
push str.SOFTWARETencentQQPinyin
push closesocket
xor edx, edx
lea esi, [esp + 0x20]
call fcn.0040cb60
test eax, eax
mov ebx, dword [esp + 0x18]
jne 0x40ce54
mov ebp, ebx
jmp 0x40ce50
mov dword [esp + 0xe8], 7
mov dword [esp + 0xe4], edi
mov word [esp + 0xd4], di
lea ecx, [esp + 0x28]
mov byte [esp + 0x130], 1
call fcn.00472d40
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0xd8]
mov byte [esp + 0x138], 2
call fcn.0040b6f0
mov esi, 8
mov byte [esp + 0x130], 1
cmp dword [esp + 0x40], esi
jb 0x40cd78
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00578327
add esp, 4
push 1
push 0x5bd0e8
lea ecx, [esp + 0xd8]
call fcn.0040f950
push 0x19
push str.SOFTWARETencentQQPinyin
lea ecx, [esp + 0xd8]
call fcn.0040f950
cmp dword [esp + 0xe8], esi
mov eax, dword [esp + 0xd4]
jae 0x40cdb5
lea eax, [esp + 0xd4]
lea edx, [esp + 0x24]
push edx
push 0x2001f
push edi
push eax
push reloc.WS2_32.dll_closesocket
mov dword [esp + 0x38], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x40cdde
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x18], ebx
jmp 0x40ce13
cmp dword [esp + 0xe8], esi
mov eax, dword [esp + 0xd4]
jae 0x40cdf5
lea eax, [esp + 0xd4]
push eax
push reloc.WS2_32.dll_closesocket
xor edx, edx
lea esi, [esp + 0x20]
call fcn.0040cb60
test eax, eax
mov ebx, dword [esp + 0x18]
mov esi, 8
jne 0x40ce15
mov ebp, ebx
mov byte [esp + 0x130], 0
cmp dword [esp + 0xe8], esi
jb 0x40ce36
mov eax, dword [esp + 0xd4]
push eax
call fcn.00578327
add esp, 4
mov dword [esp + 0xe8], 7
mov dword [esp + 0xe4], edi
mov word [esp + 0xd4], di
cmp ebp, edi
jne 0x40ce66
cmp ebx, edi
je 0x40ce5f
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x40dc82
cmp dword [esp + 0x13c], 0
mov eax, dword [0x5fe584]
mov esi, dword [esp + 0x138]
mov ecx, 0x304
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x1c], 1
jne 0x40cea2
test ebx, ebx
je 0x40ce98
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x40dc82
mov eax, dword [eax + 4]
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jne 0x40cec9
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
xor edi, edi
push edi
push 0x5bd0ec
push ebp
mov dword [esp + 0x2c], edi
call esi
jmp 0x40cede
cmp eax, 1
jne 0x40cedc
push ebp
mov edx, 0x5bd0ec
call fcn.00473e70
add esp, 4
xor edi, edi
mov edx, dword [0x5fe584]
mov eax, dword [edx + 0x988]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push edi
push str.QQPyRape
push ebp
mov dword [esp + 0x2c], eax
call esi
mov eax, dword [0x5fe584]
xor ecx, ecx
cmp dword [eax + 8], edi
je 0x40cf11
mov ecx, 0x800
cmp dword [eax + 0xc], edi
je 0x40cf19
or ecx, 2
cmp dword [eax + 0x424], edi
je 0x40cf24
or ecx, 4
cmp dword [eax + 0x42c], edi
je 0x40cf2f
or ecx, 8
cmp dword [eax + 0x428], edi
je 0x40cf3a
or ecx, 0x10
cmp dword [eax + 0x44c], edi
je 0x40cf45
or ecx, 0x40
cmp dword [eax + 0x970], edi
je 0x40cf53
or ecx, 0x80
cmp dword [eax + 0x448], edi
je 0x40cf5e
or ecx, 0x20
cmp dword [eax + 0x458], edi
je 0x40cf6c
or ecx, 0x100
cmp dword [eax + 0x90c], edi
je 0x40cf7a
or ecx, 0x200
cmp dword [eax + 0x45c], edi
je 0x40cf88
or ecx, 0x400
cmp dword [eax + 0x460], edi
je 0x40cf93
or ecx, 1
push 4
lea edx, [esp + 0x18]
push edx
push 4
push edi
push str.CommonSet
push ebp
mov dword [esp + 0x2c], ecx
call esi
test eax, eax
je 0x40cfb1
mov dword [esp + 0x1c], edi
mov eax, dword [0x5fe584]
mov eax, dword [eax + 0x430]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push edi
push str.EnlishSymbol
push ebp
mov dword [esp + 0x2c], eax
call esi
test eax, eax
je 0x40cfda
mov dword [esp + 0x1c], edi
mov edx, dword [0x5fe584]
mov eax, dword [edx + 0x444]
push 4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 4
push edi
push str.CandNum
push ebp
call esi
test eax, eax
je 0x40d004
mov dword [esp + 0x1c], edi
mov ecx, dword [0x5fe584]
mov eax, dword [ecx + 0x454]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push edi
push str.FuzzySet
push ebp
mov dword [esp + 0x2c], eax
call esi
test eax, eax
je 0x40d02e
mov dword [esp + 0x1c], edi
mov ecx, dword [0x5fe584]
xor eax, eax
cmp dword [ecx + 0x87c], edi
je 0x40d043
mov eax, 1
cmp dword [ecx + 0x880], edi
je 0x40d04e
or eax, 2
cmp dword [ecx + 0x884], edi
je 0x40d059
or eax, 4
cmp dword [ecx + 0x888], edi
je 0x40d064
or eax, 8
cmp dword [ecx + 0x890], edi
je 0x40d06f
or eax, 0x20
cmp dword [ecx + 0x894], edi
je 0x40d07a
or eax, 0x40
cmp dword [ecx + 0x898], edi
je 0x40d087
or eax, 0x80
cmp dword [ecx + 0x89c], edi
je 0x40d094
or eax, 0x100
push 4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 4
push edi
push str.KeySet
push ebp
call esi
test eax, eax
je 0x40d0b2
mov dword [esp + 0x1c], edi
mov ecx, dword [0x5fe584]
mov edx, dword [ecx + 0x878]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [esp + 0x18]
push eax
push 4
push 0
push str.ChangeLanguage
push ebp
mov dword [esp + 0x2c], edx
call esi
mov ecx, dword [0x5fe584]
mov edx, dword [ecx + 0x88c]
push 4
lea eax, [esp + 0x18]
push eax
push 4
push 0
push str.TwoThreeCand
push ebp
mov dword [esp + 0x2c], edx
call esi
mov edx, dword [0x5fe584]
add edx, 0x21c
lea eax, [esp + 0x7c]
call fcn.0040b240
mov edi, eax
mov byte [esp + 0x130], 3
mov edx, dword [0x5fe584]
add edx, 0x14
lea eax, [esp + 0x44]
call fcn.0040b240
push eax
mov ebx, 0x5bd000
lea esi, [esp + 0x9c]
mov byte [esp + 0x134], 4
call fcn.0040fa50
push edi
push eax
lea edi, [esp + 0x114]
mov byte [esp + 0x13c], 5
call fcn.0040c440
add esp, 0xc
cmp dword [esp + 0xb0], 8
jb 0x40d17c
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.00578327
add esp, 4
xor ebx, ebx
mov esi, 7
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], bx
mov edi, 8
cmp dword [esp + 0x5c], edi
jb 0x40d1b1
mov edx, dword [esp + 0x48]
push edx
call fcn.00578327
add esp, 4
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
mov byte [esp + 0x130], 9
cmp dword [esp + 0x94], edi
jb 0x40d1df
mov eax, dword [esp + 0x80]
push eax
call fcn.00578327
add esp, 4
mov dword [esp + 0x94], esi
mov esi, dword [0x5fe584]
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
mov ecx, 0x5bcc3c
lea eax, [esi + 0x14]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40d229
cmp dx, bx
je 0x40d225
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40d229
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x40d203
xor eax, eax
jmp 0x40d22e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x40d2a0
mov ecx, 0x5bcc3c
lea eax, [esi + 0x21c]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40d266
cmp dx, bx
je 0x40d262
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40d266
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x40d240
xor eax, eax
jmp 0x40d26b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x40d2a0
cmp dword [esp + 0x120], edi
mov esi, dword [esp + 0x10c]
jae 0x40d286
lea esi, [esp + 0x10c]
push str.ShuangpinFile
mov edi, ebp
call fcn.00473660
mov esi, dword [0x5fe584]
add esp, 4
mov edi, 8
mov ecx, dword [esi + 0x8fc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.ColorHue
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x900]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.ColorSat
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x904]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.ColorLight
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x974]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.AutocheckSet
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x910]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.EnableCellDict
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x914]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.EnableCellDictUpdate
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov ecx, dword [0x5fe584]
xor eax, eax
cmp dword [ecx + 0x980], ebx
je 0x40d37c
mov eax, 1
cmp dword [ecx + 0x97c], ebx
je 0x40d389
or eax, 0x200
cmp dword [ecx + 0x940], ebx
je 0x40d394
or eax, 4
cmp dword [ecx + 0x948], ebx
je 0x40d39e
or eax, edi
cmp dword [ecx + 0x908], ebx
je 0x40d3a9
or eax, 0x10
cmp dword [ecx + 0x94c], ebx
je 0x40d3b6
or eax, 0x400
cmp dword [ecx + 0x950], ebx
je 0x40d3c1
or eax, 0x20
cmp dword [ecx + 0x438], ebx
je 0x40d3cc
or eax, 0x40
cmp dword [ecx + 0x43c], ebx
je 0x40d3d9
or eax, 0x80
cmp dword [ecx + 0x8dc], ebx
je 0x40d3e6
or eax, 0x100
push 4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 4
push ebx
push str.AdvanceSet
push ebp
call esi
test eax, eax
je 0x40d404
mov dword [esp + 0x1c], ebx
mov ecx, dword [0x5fe584]
mov edx, dword [ecx + 0x440]
push 4
lea eax, [esp + 0x18]
push eax
push 4
push ebx
push str.ABCStrokeMod
push ebp
mov dword [esp + 0x2c], edx
call esi
mov ecx, dword [0x5fe584]
movzx edx, word [ecx + 0x8a4]
push 4
lea eax, [esp + 0x18]
push eax
push 4
push ebx
push str.StatusBarKey
push ebp
mov dword [esp + 0x2c], edx
call esi
mov ecx, dword [0x5fe584]
movzx edx, word [ecx + 0x8aa]
push 4
lea eax, [esp + 0x18]
push eax
push 4
push ebx
push str.SoftBoardKey
push ebp
mov dword [esp + 0x2c], edx
call esi
mov ecx, dword [0x5fe584]
movzx edx, word [ecx + 0x8a6]
push 4
lea eax, [esp + 0x18]
push eax
push 4
push ebx
push str.BIG5Key
push ebp
mov dword [esp + 0x2c], edx
call esi
mov ecx, dword [0x5fe584]
movzx edx, word [ecx + 0x8a8]
push 4
lea eax, [esp + 0x18]
push eax
push 4
push ebx
push str.QuanShuang
push ebp
mov dword [esp + 0x2c], edx
call esi
mov ecx, dword [0x5fe584]
movzx edx, word [ecx + 0x8ac]
push 4
lea eax, [esp + 0x18]
push eax
push 4
push ebx
push str.EngKey
push ebp
mov dword [esp + 0x2c], edx
call esi
mov ecx, dword [0x5fe584]
movzx edx, word [ecx + 0x8ae]
push 4
lea eax, [esp + 0x18]
push eax
push 4
push ebx
push str.ConfigKey
push ebp
mov dword [esp + 0x2c], edx
call esi
mov ecx, dword [0x5fe584]
mov edx, dword [ecx + 0x944]
mov dword [esp + 0x14], edx
push 4
lea eax, [esp + 0x18]
push eax
push 4
push ebx
push str.NetSet
push ebp
call esi
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push ebx
push str.CheckRegStatus
push ebp
mov dword [esp + 0x2c], ebx
call esi
mov edx, dword [0x5fe584]
mov eax, dword [edx + 0x918]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push ebx
push str.UpdateIME
push ebp
mov dword [esp + 0x2c], eax
call esi
mov edx, dword [0x5fe584]
mov eax, dword [edx + 0x91c]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push ebx
push str.UpdateDict
push ebp
mov dword [esp + 0x2c], eax
call esi
mov edx, dword [0x5fe584]
mov eax, dword [edx + 0x438]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push ebx
push str.SpaceConvert
push ebp
mov dword [esp + 0x2c], eax
call esi
mov edx, dword [0x5fe584]
mov eax, dword [edx + 0x43c]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push ebx
push str.LetterSelect
push ebp
mov dword [esp + 0x2c], eax
call esi
mov edx, dword [0x5fe584]
mov eax, dword [edx + 0x434]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push ebx
push str.InputStyle
push ebp
mov dword [esp + 0x2c], eax
call esi
mov edx, dword [0x5fe584]
mov eax, dword [edx + 0x8dc]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push ebx
push str.CandWndVertical
mov dword [esp + 0x28], eax
push ebp
call esi
mov edx, dword [0x5fe584]
mov eax, dword [edx + 0x8e0]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push ebx
push str.CandHRelate
push ebp
mov dword [esp + 0x2c], eax
call esi
mov ecx, dword [0x5fe584]
xor eax, eax
cmp dword [ecx + 0x8d4], ebx
je 0x40d633
mov eax, 1
cmp dword [ecx + 0x8c8], ebx
je 0x40d63e
or eax, 2
cmp dword [ecx + 0x8cc], ebx
je 0x40d649
or eax, 4
cmp dword [ecx + 0x8d0], ebx
je 0x40d653
or eax, edi
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.UISet
push ebp
mov dword [esp + 0x2c], eax
call esi
test eax, eax
je 0x40d671
mov dword [esp + 0x1c], ebx
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x954]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.WordImage
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x958]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.ImaginationLocation
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x95c]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.ImaginationLength
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x960]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.ImaginationNumber
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x964]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.EnablePhrase
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x968]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.NotSingleNumber
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x96c]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.ZeroJump
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x8a0]
mov dword [esp + 0x14], ecx
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.UserWordDeleteShortCut
push ebp
call esi
mov eax, dword [0x5fe584]
movzx ecx, word [eax + 0x978]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.Seperator
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x984]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.GlobalState
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x9c0]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.EnablePreferredWord
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x92c]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.SyncInterval
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x8c0]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.NumpadSelect
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x8c4]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.NumKeySelect
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x98c]
push 4
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ecx
push 4
push ebx
push str.Lookup
push ebp
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x8b4]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.EnableHotKey
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x8b8]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.Modifier
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x8bc]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.VirtualKey
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x93c]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.ContextImagine
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x464]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.FixOrder
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov edx, dword [0x5fe584]
add edx, 0x670
lea eax, [esp + 0x28]
call fcn.0040b240
mov edi, eax
mov byte [esp + 0x130], 0xa
mov edx, dword [0x5fe584]
add edx, 0x468
lea eax, [esp + 0x60]
call fcn.0040b240
push eax
mov ebx, 0x5bd000
lea esi, [esp + 0xb8]
mov byte [esp + 0x134], 0xb
call fcn.0040fa50
push edi
mov byte [esp + 0x138], 0xc
push eax
lea edi, [esp + 0xf8]
call fcn.0040c440
add esp, 0xc
cmp dword [esp + 0xcc], 8
jb 0x40d98d
mov eax, dword [esp + 0xb8]
push eax
call fcn.00578327
add esp, 4
xor ebx, ebx
mov edi, 7
mov dword [esp + 0xcc], edi
mov dword [esp + 0xc8], ebx
mov word [esp + 0xb8], bx
mov esi, 8
cmp dword [esp + 0x78], esi
jb 0x40d9c2
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00578327
add esp, 4
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
mov byte [esp + 0x130], 0x10
cmp dword [esp + 0x40], esi
jb 0x40d9ea
mov edx, dword [esp + 0x2c]
push edx
call fcn.00578327
add esp, 4
cmp dword [esp + 0x104], esi
mov esi, dword [esp + 0xf0]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
jae 0x40da0e
lea esi, [esp + 0xf0]
push str.FixOrderFileName
mov edi, ebp
call fcn.00473660
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x8b0]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esp, 4
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.AutoSynch
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x934]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.AutoSyncCfgSet
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x450]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.FuzzyTips
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x8d8]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.NoticeTipsWnd
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x9c4]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.EnglishMixMode
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x9c8]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.EnglishCapsMode
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0x9cc]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.EnglishVMode
mov dword [esp + 0x28], ecx
push ebp
call esi
mov eax, dword [0x5fe584]
mov ecx, dword [eax + 0xbe8]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push ebx
push str.EnablePicFace
push ebp
mov dword [esp + 0x2c], ecx
call esi
mov eax, dword [0x5fe584]
mov eax, dword [eax + 0xbec]
push ebp
mov edx, str.EnableAllPicFaceInCmpWnd
call fcn.00473e70
mov ecx, dword [0x5fe584]
mov eax, dword [ecx + 0xbf0]
push ebp
mov edx, str.EnableCharFace
call fcn.00473e70
mov edx, dword [0x5fe584]
mov eax, dword [edx + 0xbf4]
push ebp
mov edx, str.EnbaleAllCharFaceInCmpWnd
call fcn.00473e70
mov eax, dword [0x5fe584]
mov eax, dword [eax + 0xc00]
push ebp
mov edx, str.PicFaceEnableAllProc
call fcn.00473e70
mov ecx, dword [0x5fe584]
mov eax, dword [ecx + 0x990]
push ebp
mov edx, str.SupportUrlGuide
call fcn.00473e70
mov edx, dword [0x5fe584]
mov eax, dword [edx + 0x994]
push ebp
mov edx, str.SupportSplitWord
call fcn.00473e70
mov eax, dword [0x5fe584]
mov eax, dword [eax + 0x998]
push ebp
mov edx, str.SupportNameStyle
call fcn.00473e70
mov ecx, dword [0x5fe584]
mov eax, dword [ecx + 0xc08]
push ebp
mov edx, str.EnableNewWordUpDateTips
call fcn.00473e70
mov edx, dword [0x5fe584]
mov eax, dword [edx + 0xc0c]
push ebp
mov edx, str.SupportFixtopTips
call fcn.00473e70
mov esi, dword [esp + 0x3c]
add esp, 0x24
cmp esi, ebx
je 0x40dc0b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov ebp, 8
cmp dword [esp + 0x104], ebp
jb 0x40dc29
mov eax, dword [esp + 0xf0]
push eax
call fcn.00578327
add esp, 4
cmp dword [esp + 0x120], ebp
mov edi, 7
mov dword [esp + 0x104], edi
mov dword [esp + 0x100], ebx
mov word [esp + 0xf0], bx
jb 0x40dc5d
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.00578327
add esp, 4
cmp esi, ebx
mov dword [esp + 0x120], edi
mov dword [esp + 0x11c], ebx
mov word [esp + 0x10c], bx
je 0x40dc7e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.005787fd
add esp, 0x120
ret 8