Function at 0x406ac7
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x610
lea ebp, [esp - 4]
mov eax, dword [0x580e04]
xor eax, ebp
mov dword [ebp + 0x610], eax
push 0x60
mov eax, 0x5280e4
call fcn.0043bcd9
mov esi, dword [ebp + 0x61c]
push 0xc7
xor ebx, ebx
lea eax, [ebp + 0x549]
push ebx
push eax
mov edi, ecx
mov byte [ebp + 0x548], 0
call fcn.0043c2f0
mov eax, dword [edi + 0x58]
add esp, 0xc
cmp dword [eax + 8], ebx
lea eax, [edi + 0x144]
jne 0x406b25
lea eax, [edi + 0x160]
push eax
lea ecx, [ebp + 0xf0]
call fcn.00401753
cmp dword [ebp + 0x104], ebx
mov dword [ebp - 4], ebx
jne 0x406b71
push ebx
push 1
lea ecx, [ebp + 0xf0]
call fcn.0040139a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x610]
xor ecx, ebp
call fcn.0043bcca
add ebp, 0x614
leave
ret 8
lea eax, [edi + 0xdc]
cmp dword [eax + 0x18], 8
jb 0x406b82
mov eax, dword [eax + 4]
jmp 0x406b85
add eax, 4
push eax
push ebx
push str.UserID
push 0x52d2f4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x58]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xf0]
push eax
lea ecx, [ebp + 0x128]
call fcn.00401753
mov ebx, 0x52ce75
push ebx
lea ecx, [ebp + 0x144]
mov byte [ebp - 4], 1
call fcn.004017f8
push esi
lea ecx, [ebp + 0x144]
mov byte [ebp - 4], 2
call fcn.004041de
mov esi, 0x52d2f0
push esi
lea ecx, [ebp + 0x144]
call fcn.004041de
cmp dword [ebp - 0x14], 0
mov eax, 0x52d2ec
jne 0x406bfb
mov eax, 0x52d2e8
push eax
lea ecx, [ebp + 0x144]
call fcn.004041de
push esi
lea ecx, [ebp + 0x144]
call fcn.004041de
push str.1.1.2
lea ecx, [ebp + 0x144]
call fcn.004041de
push esi
lea ecx, [ebp + 0x144]
call fcn.004041de
push 0xffffffffffffffff
push 0
lea eax, [edi + 0xc0]
push eax
lea ecx, [ebp + 0x144]
call fcn.0040408e
push dword [ebp - 0x10]
mov esi, 0x52d2dc
lea eax, [ebp + 0x548]
push esi
push eax
call fcn.0043e047
add esp, 0xc
lea eax, [ebp + 0x548]
push eax
lea ecx, [ebp + 0x144]
call fcn.004041de
lea eax, [edi + 0xf8]
cmp dword [eax + 0x18], 0x10
jb 0x406c80
mov eax, dword [eax + 4]
jmp 0x406c83
add eax, 4
push eax
lea eax, [ebp + 0x548]
push 0x52d2d8
push eax
call fcn.0043e047
add esp, 0xc
lea eax, [ebp + 0x548]
push eax
lea ecx, [ebp + 0x144]
call fcn.004041de
push 9
lea eax, [ebp + 0x548]
push esi
push eax
call fcn.0043e047
add esp, 0xc
lea eax, [ebp + 0x548]
push eax
lea ecx, [ebp + 0x144]
call fcn.004041de
push ebx
lea ecx, [ebp + 0x10c]
call fcn.004017f8
lea ecx, [ebp + 0x78]
mov byte [ebp - 4], 3
call fcn.00414bbf
lea ecx, [ebp + 0x78]
mov byte [ebp - 4], 4
call fcn.00414c1d
cmp dword [ebp + 0x15c], 0x10
mov eax, dword [ebp + 0x148]
jae 0x406d07
lea eax, [ebp + 0x148]
push eax
call fcn.0043bf20
mov ebx, eax
cmp ebx, 0x384
pop ecx
mov dword [ebp - 0x10], ebx
jge 0x406dcb
push 0x3e7
lea eax, [ebp + 0x161]
push 0
push eax
mov byte [ebp + 0x160], 0
call fcn.0043c2f0
mov eax, dword [ebp + 0x148]
add esp, 0xc
cmp dword [ebp + 0x15c], 0x10
jae 0x406d51
lea eax, [ebp + 0x148]
push eax
lea eax, [ebp + 0x160]
push eax
call fcn.0043c490
push str.GUANGSU
call fcn.0043bf20
add esp, 0xc
xor ecx, ecx
xor edx, edx
test ebx, ebx
mov esi, eax
jle 0x406d8e
mov al, byte [ecx + str.GUANGSU]
xor byte [ebp + edx + 0x160], al
inc ecx
cmp ecx, esi
jl 0x406d89
xor ecx, ecx
inc edx
cmp edx, ebx
jl 0x406d75
push ebx
lea eax, [ebp + 0x160]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp + 0x78]
call fcn.00414c2b
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp + 0x10c]
mov byte [ebp - 4], 5
call fcn.0040162c
push 0
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.0040139a
jmp 0x406e65
mov eax, dword [ebp + 0x158]
inc eax
push eax
call fcn.0041b8d2
cmp dword [ebp + 0x15c], 0x10
mov esi, eax
mov eax, dword [ebp + 0x148]
pop ecx
jae 0x406df0
lea eax, [ebp + 0x148]
push eax
push esi
call fcn.0043c490
push str.GUANGSU
call fcn.0043bf20
add esp, 0xc
xor ecx, ecx
xor edx, edx
test ebx, ebx
mov dword [ebp - 0x14], eax
jle 0x406e28
mov al, byte [ecx + str.GUANGSU]
xor byte [edx + esi], al
inc ecx
cmp ecx, dword [ebp - 0x14]
jl 0x406e20
xor ecx, ecx
mov ebx, dword [ebp - 0x10]
inc edx
cmp edx, ebx
jl 0x406e0f
push ebx
push esi
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp + 0x78]
call fcn.00414c2b
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp + 0x10c]
mov byte [ebp - 4], 6
call fcn.0040162c
push 0
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.0040139a
test esi, esi
je 0x406e65
push esi
call fcn.0041b8d7
pop ecx
push str.param
lea ecx, [ebp + 0x128]
call fcn.004041de
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x10c]
push eax
lea ecx, [ebp + 0x128]
call fcn.0040408e
push 0x48
call fcn.0041b8a7
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
mov byte [ebp - 4], 7
je 0x406eaa
mov ecx, eax
call fcn.00410d23
mov dword [ebp - 0x10], eax
jmp 0x406eae
and dword [ebp - 0x10], 0
cmp dword [ebp + 0x140], 0x10
mov eax, dword [ebp + 0x12c]
mov byte [ebp - 4], 4
jae 0x406ec7
lea eax, [ebp + 0x12c]
mov ecx, dword [ebp - 0x10]
push eax
call fcn.00410de5
mov ecx, dword [ebp - 0x10]
call fcn.00410352
lea esi, [eax + 0xc]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x406ee9
mov eax, dword [esi + 8]
sub eax, ecx
jne 0x406eec
xor eax, eax
inc eax
lea ebx, [eax + 1]
push ebx
call fcn.0041b8d2
push ebx
xor ebx, ebx
push ebx
push eax
mov dword [ebp - 0x14], eax
call fcn.0043c2f0
add esp, 0x10
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x406f28
mov eax, dword [esi + 8]
sub eax, ecx
cmp ebx, eax
jae 0x406f28
push ebx
mov ecx, esi
call fcn.00403e90
mov al, byte [eax]
mov ecx, dword [ebp - 0x14]
mov byte [ebx + ecx], al
inc ebx
jmp 0x406f05
mov ecx, dword [ebp - 0x10]
xor esi, esi
inc esi
test ecx, ecx
je 0x406f37
mov eax, dword [ecx]
push esi
call dword [eax]
lea ecx, [ebp - 0x28]
call fcn.00410e69
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp]
call fcn.00412211
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.00413e9f
push dword [ebp - 0x14]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 9
call fcn.004017f8
push esi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0xa
call fcn.00413137
push ebx
push esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x15], al
mov byte [ebp - 4], 9
call fcn.0040139a
cmp byte [ebp - 0x15], bl
jne 0x406fe2
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.00413f1c
lea ecx, [ebp]
call fcn.004042dd
lea ecx, [ebp + 0x78]
mov byte [ebp - 4], 3
call fcn.00414c0f
push ebx
push esi
lea ecx, [ebp + 0x10c]
call fcn.0040139a
push ebx
push esi
lea ecx, [ebp + 0x144]
call fcn.0040139a
push ebx
push esi
lea ecx, [ebp + 0x128]
call fcn.0040139a
push ebx
push esi
jmp 0x406b3f
mov ecx, dword [edi + 0x58]
call fcn.004049b7
mov esi, str.status
push esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], ebx
call fcn.00414874
mov ecx, eax
call fcn.004132ab
test al, al
je 0x407066
xor edi, edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.00413f1c
lea ecx, [ebp]
call fcn.004042dd
lea ecx, [ebp + 0x78]
mov byte [ebp - 4], 3
call fcn.00414c0f
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp + 0x10c]
call fcn.0040139a
push ebx
push esi
lea ecx, [ebp + 0x144]
call fcn.0040139a
push ebx
push esi
lea ecx, [ebp + 0x128]
call fcn.0040139a
push ebx
push esi
lea ecx, [ebp + 0xf0]
call fcn.0040139a
mov eax, edi
jmp 0x406b4c
push esi
lea ecx, [ebp - 0x38]
call fcn.00414874
mov ecx, eax
call fcn.004132b4
test al, al
je 0x407094
push esi
lea ecx, [ebp - 0x38]
call fcn.00414874
mov ecx, eax
call fcn.00413917
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x407094
mov dword [edi + 0x3c], ecx
mov esi, str.chinese
push esi
lea ecx, [ebp - 0x38]
call fcn.00414874
mov ecx, eax
call fcn.004132ab
test al, al
jne 0x40713d
lea eax, [ebp - 0x24]
push eax
push esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], ebx
call fcn.00414874
mov ecx, eax
call fcn.00413628
jmp 0x40711c
lea ecx, [ebp - 0x24]
call fcn.00413534
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
call fcn.00413883
cmp dword [eax + 0x18], 0x10
jb 0x4070e8
mov eax, dword [eax + 4]
jmp 0x4070eb
add eax, 4
mov ecx, dword [edi + 0x58]
push eax
push dword [ebp - 0x10]
call fcn.00404a1e
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.0040139a
inc dword [ebp - 0x14]
inc dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00413176
lea ecx, [ebp - 0x24]
call fcn.0041353d
lea eax, [ebp - 0x60]
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.00414874
mov ecx, eax
call fcn.00413673
push eax
lea ecx, [ebp - 0x24]
call fcn.00413435
test al, al
je 0x4070ca
mov esi, str.pinyin
push esi
lea ecx, [ebp - 0x38]
call fcn.00414874
mov ecx, eax
call fcn.004132ab
test al, al
jne 0x4071e3
lea eax, [ebp - 0x24]
push eax
push esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], ebx
call fcn.00414874
mov ecx, eax
call fcn.00413628
jmp 0x4071c2
lea ecx, [ebp - 0x24]
call fcn.00413534
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
call fcn.00413883
cmp dword [eax + 0x18], 0x10
jb 0x407191
mov eax, dword [eax + 4]
jmp 0x407194
add eax, 4
mov ecx, dword [edi + 0x58]
push eax
push dword [ebp - 0x10]
call fcn.00404a52
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.0040139a
inc dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00413176
lea ecx, [ebp - 0x24]
call fcn.0041353d
lea eax, [ebp - 0x60]
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.00414874
mov ecx, eax
call fcn.00413673
push eax
lea ecx, [ebp - 0x24]
call fcn.00413435
test al, al
je 0x407173
cmp dword [ebp - 0x14], ebx
jle 0x407201
push dword [ebp + 0x620]
mov eax, dword [edi + 0x58]
mov eax, dword [eax + 0xc]
push ebx
push 0x4ca
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi + 0x44]
cmp eax, dword [ebp + 0x620]
je 0x407214
push eax
mov ecx, edi
call fcn.0040697a
xor edi, edi
inc edi
jmp 0x407008