Function at 0x407531
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x610
lea ebp, [esp - 4]
mov eax, dword [0x581de4]
xor eax, ebp
mov dword [ebp + 0x610], eax
push 0x60
mov eax, 0x528efa
call fcn.0043ca31
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.0043d050
mov eax, dword [edi + 0x58]
add esp, 0xc
cmp dword [eax + 8], ebx
lea eax, [edi + 0x180]
jne 0x40758f
lea eax, [edi + 0x19c]
push eax
lea ecx, [ebp + 0xf0]
call fcn.00401e00
cmp dword [ebp + 0x104], ebx
mov dword [ebp - 4], ebx
jne 0x4075db
push ebx
push 1
lea ecx, [ebp + 0xf0]
call fcn.004012b0
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.0043ca22
add ebp, 0x614
leave
ret 8
lea eax, [edi + 0xdc]
cmp dword [eax + 0x18], 8
jb 0x4075ec
mov eax, dword [eax + 4]
jmp 0x4075ef
add eax, 4
push eax
push ebx
push str.UserID
push 0x52e304
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.00401e00
mov ebx, 0x5741ab
push ebx
lea ecx, [ebp + 0x144]
mov byte [ebp - 4], 1
call fcn.004010c0
push esi
lea ecx, [ebp + 0x144]
mov byte [ebp - 4], 2
call fcn.004049aa
mov esi, 0x52e300
push esi
lea ecx, [ebp + 0x144]
call fcn.004049aa
cmp dword [ebp - 0x14], 0
mov eax, 0x52e2fc
jne 0x407665
mov eax, 0x52e2f8
push eax
lea ecx, [ebp + 0x144]
call fcn.004049aa
push esi
lea ecx, [ebp + 0x144]
call fcn.004049aa
push str.1.1.2
lea ecx, [ebp + 0x144]
call fcn.004049aa
push esi
lea ecx, [ebp + 0x144]
call fcn.004049aa
push 0xffffffffffffffff
push 0
lea eax, [edi + 0xc0]
push eax
lea ecx, [ebp + 0x144]
call fcn.00404867
push dword [ebp - 0x10]
mov esi, 0x52e2ec
lea eax, [ebp + 0x548]
push esi
push eax
call fcn.0043efb8
add esp, 0xc
lea eax, [ebp + 0x548]
push eax
lea ecx, [ebp + 0x144]
call fcn.004049aa
lea eax, [edi + 0xf8]
cmp dword [eax + 0x18], 0x10
jb 0x4076ea
mov eax, dword [eax + 4]
jmp 0x4076ed
add eax, 4
push eax
lea eax, [ebp + 0x548]
push 0x52e2e8
push eax
call fcn.0043efb8
add esp, 0xc
lea eax, [ebp + 0x548]
push eax
lea ecx, [ebp + 0x144]
call fcn.004049aa
push 0xc
lea eax, [ebp + 0x548]
push esi
push eax
call fcn.0043efb8
add esp, 0xc
lea eax, [ebp + 0x548]
push eax
lea ecx, [ebp + 0x144]
call fcn.004049aa
push ebx
lea ecx, [ebp + 0x10c]
call fcn.004010c0
lea ecx, [ebp + 0x78]
mov byte [ebp - 4], 3
call fcn.00414e72
lea ecx, [ebp + 0x78]
mov byte [ebp - 4], 4
call fcn.00414ed0
cmp dword [ebp + 0x15c], 0x10
mov eax, dword [ebp + 0x148]
jae 0x407771
lea eax, [ebp + 0x148]
push eax
call fcn.0043cc80
mov ebx, eax
cmp ebx, 0x384
pop ecx
mov dword [ebp - 0x10], ebx
jge 0x407835
push 0x3e7
lea eax, [ebp + 0x161]
push 0
push eax
mov byte [ebp + 0x160], 0
call fcn.0043d050
mov eax, dword [ebp + 0x148]
add esp, 0xc
cmp dword [ebp + 0x15c], 0x10
jae 0x4077bb
lea eax, [ebp + 0x148]
push eax
lea eax, [ebp + 0x160]
push eax
call fcn.0043d1f0
push str.GUANGSU
call fcn.0043cc80
add esp, 0xc
xor ecx, ecx
xor edx, edx
test ebx, ebx
mov esi, eax
jle 0x4077f8
mov al, byte [ecx + str.GUANGSU]
xor byte [ebp + edx + 0x160], al
inc ecx
cmp ecx, esi
jl 0x4077f3
xor ecx, ecx
inc edx
cmp edx, ebx
jl 0x4077df
push ebx
lea eax, [ebp + 0x160]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp + 0x78]
call fcn.00414ede
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp + 0x10c]
mov byte [ebp - 4], 5
call fcn.004011a0
push 0
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.004012b0
jmp 0x4078cf
mov eax, dword [ebp + 0x158]
inc eax
push eax
call fcn.0041c5f7
cmp dword [ebp + 0x15c], 0x10
mov esi, eax
mov eax, dword [ebp + 0x148]
pop ecx
jae 0x40785a
lea eax, [ebp + 0x148]
push eax
push esi
call fcn.0043d1f0
push str.GUANGSU
call fcn.0043cc80
add esp, 0xc
xor ecx, ecx
xor edx, edx
test ebx, ebx
mov dword [ebp - 0x14], eax
jle 0x407892
mov al, byte [ecx + str.GUANGSU]
xor byte [edx + esi], al
inc ecx
cmp ecx, dword [ebp - 0x14]
jl 0x40788a
xor ecx, ecx
mov ebx, dword [ebp - 0x10]
inc edx
cmp edx, ebx
jl 0x407879
push ebx
push esi
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp + 0x78]
call fcn.00414ede
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp + 0x10c]
mov byte [ebp - 4], 6
call fcn.004011a0
push 0
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.004012b0
test esi, esi
je 0x4078cf
push esi
call fcn.0041c5f2
pop ecx
push str.param
lea ecx, [ebp + 0x128]
call fcn.004049aa
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x10c]
push eax
lea ecx, [ebp + 0x128]
call fcn.00404867
push 0x4c
call fcn.0041c5c7
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
mov byte [ebp - 4], 7
je 0x407914
mov ecx, eax
call fcn.0041055d
mov dword [ebp - 0x10], eax
jmp 0x407918
and dword [ebp - 0x10], 0
cmp dword [ebp + 0x140], 0x10
mov eax, dword [ebp + 0x12c]
mov byte [ebp - 4], 4
jae 0x407931
lea eax, [ebp + 0x12c]
mov ecx, dword [ebp - 0x10]
push eax
call fcn.00410638
mov ecx, dword [ebp - 0x10]
call fcn.0040fbbd
lea esi, [eax + 0xc]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x407953
mov eax, dword [esi + 8]
sub eax, ecx
jne 0x407956
xor eax, eax
inc eax
lea ebx, [eax + 1]
push ebx
call fcn.0041c5f7
push ebx
xor ebx, ebx
push ebx
push eax
mov dword [ebp - 0x14], eax
call fcn.0043d050
add esp, 0x10
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x407992
mov eax, dword [esi + 8]
sub eax, ecx
cmp ebx, eax
jae 0x407992
push ebx
mov ecx, esi
call fcn.00404c23
mov al, byte [eax]
mov ecx, dword [ebp - 0x14]
mov byte [ebx + ecx], al
inc ebx
jmp 0x40796f
mov ecx, dword [ebp - 0x10]
xor esi, esi
inc esi
test ecx, ecx
je 0x4079a1
mov eax, dword [ecx]
push esi
call dword [eax]
lea ecx, [ebp - 0x28]
call fcn.004106b8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp]
call fcn.0041239b
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.004140aa
push dword [ebp - 0x14]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 9
call fcn.004010c0
push esi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0xa
call fcn.004132f5
push ebx
push esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x15], al
mov byte [ebp - 4], 9
call fcn.004012b0
cmp byte [ebp - 0x15], bl
jne 0x407a4c
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.00414127
lea ecx, [ebp]
call fcn.004062d4
lea ecx, [ebp + 0x78]
mov byte [ebp - 4], 3
call fcn.00414ec2
push ebx
push esi
lea ecx, [ebp + 0x10c]
call fcn.004012b0
push ebx
push esi
lea ecx, [ebp + 0x144]
call fcn.004012b0
push ebx
push esi
lea ecx, [ebp + 0x128]
call fcn.004012b0
push ebx
push esi
jmp 0x4075a9
mov ecx, dword [edi + 0x58]
call fcn.00404a4e
mov esi, str.status
push esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], ebx
call fcn.00414a7f
mov ecx, eax
call fcn.00413469
test al, al
je 0x407ad0
xor edi, edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.00414127
lea ecx, [ebp]
call fcn.004062d4
lea ecx, [ebp + 0x78]
mov byte [ebp - 4], 3
call fcn.00414ec2
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp + 0x10c]
call fcn.004012b0
push ebx
push esi
lea ecx, [ebp + 0x144]
call fcn.004012b0
push ebx
push esi
lea ecx, [ebp + 0x128]
call fcn.004012b0
push ebx
push esi
lea ecx, [ebp + 0xf0]
call fcn.004012b0
mov eax, edi
jmp 0x4075b6
push esi
lea ecx, [ebp - 0x38]
call fcn.00414a7f
mov ecx, eax
call fcn.00413472
test al, al
je 0x407afe
push esi
lea ecx, [ebp - 0x38]
call fcn.00414a7f
mov ecx, eax
call fcn.00413b22
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x407afe
mov dword [edi + 0x3c], ecx
mov esi, str.chinese
push esi
lea ecx, [ebp - 0x38]
call fcn.00414a7f
mov ecx, eax
call fcn.00413469
test al, al
jne 0x407ba7
lea eax, [ebp - 0x24]
push eax
push esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], ebx
call fcn.00414a7f
mov ecx, eax
call fcn.00413833
jmp 0x407b86
lea ecx, [ebp - 0x24]
call fcn.0041373f
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
call fcn.00413a8e
cmp dword [eax + 0x18], 0x10
jb 0x407b52
mov eax, dword [eax + 4]
jmp 0x407b55
add eax, 4
mov ecx, dword [edi + 0x58]
push eax
push dword [ebp - 0x10]
call fcn.00404ab5
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.004012b0
inc dword [ebp - 0x14]
inc dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00413334
lea ecx, [ebp - 0x24]
call fcn.00413748
lea eax, [ebp - 0x60]
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.00414a7f
mov ecx, eax
call fcn.0041387e
push eax
lea ecx, [ebp - 0x24]
call fcn.004135f3
test al, al
je 0x407b34
mov esi, str.pinyin
push esi
lea ecx, [ebp - 0x38]
call fcn.00414a7f
mov ecx, eax
call fcn.00413469
test al, al
jne 0x407c4d
lea eax, [ebp - 0x24]
push eax
push esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], ebx
call fcn.00414a7f
mov ecx, eax
call fcn.00413833
jmp 0x407c2c
lea ecx, [ebp - 0x24]
call fcn.0041373f
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
call fcn.00413a8e
cmp dword [eax + 0x18], 0x10
jb 0x407bfb
mov eax, dword [eax + 4]
jmp 0x407bfe
add eax, 4
mov ecx, dword [edi + 0x58]
push eax
push dword [ebp - 0x10]
call fcn.00404ae9
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.004012b0
inc dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00413334
lea ecx, [ebp - 0x24]
call fcn.00413748
lea eax, [ebp - 0x60]
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.00414a7f
mov ecx, eax
call fcn.0041387e
push eax
lea ecx, [ebp - 0x24]
call fcn.004135f3
test al, al
je 0x407bdd
cmp dword [ebp - 0x14], ebx
jle 0x407c6b
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 0x407c7e
push eax
mov ecx, edi
call fcn.004072e0
xor edi, edi
inc edi
jmp 0x407a72