Function at 0x40a3a0
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59eca7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x8c8
mov eax, dword [0x629a40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8d8], ecx
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.00578b50
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x208
push 0
push eax
call fcn.00578b50
add esp, 0xc
mov dword [ebp - 0x89c], 7
xor eax, eax
mov dword [ebp - 0x8a0], 0
lea ecx, [ebp - 0x8b0]
mov word [ebp - 0x8b0], ax
push eax
push 0x61b488
call fcn.00404030
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x61b488
lea ecx, [ebp - 0x898]
mov dword [ebp - 0x884], 7
mov dword [ebp - 0x888], 0
mov word [ebp - 0x898], ax
call fcn.00404030
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x61b488
lea ecx, [ebp - 0x880]
mov dword [ebp - 0x86c], 7
mov dword [ebp - 0x870], 0
mov word [ebp - 0x880], ax
call fcn.00404030
xor eax, eax
mov byte [ebp - 4], 2
push eax
push 0x61b488
lea ecx, [ebp - 0x868]
mov dword [ebp - 0x854], 7
mov dword [ebp - 0x858], 0
mov word [ebp - 0x868], ax
call fcn.00404030
push ecx
push 0x2b
lea edx, [ebp - 0x428]
mov byte [ebp - 4], 3
call fcn.004259c0
lea edi, [ebp - 0x428]
add esp, 8
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x40a500
mov eax, dword [0x61b718]
lea edx, [ebp - 0x428]
mov dword [edi], eax
add edx, 0xfffffffe
nop dword [eax]
mov cx, word [edx + 2]
lea edx, [edx + 2]
test cx, cx
jne 0x40a520
mov esi, dword [0x61b71c]
lea edi, [ebp - 0x428]
mov ecx, dword [str.iNengPY]
add edi, 0xfffffffe
mov dword [edx], esi
mov dword [edx + 4], ecx
mov ecx, dword [0x61b724]
mov dword [edx + 8], ecx
mov ecx, dword [0x61b728]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x61b72c]
mov dword [edx + 0x10], ecx
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x40a561
lea ecx, [ebp - 0x428]
mov dword [edi], eax
add ecx, 0xfffffffe
nop dword [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x40a580
mov eax, dword [str.iNengPY]
mov dword [ecx], esi
mov dword [ecx + 4], eax
mov eax, dword [0x61b724]
mov dword [ecx + 8], eax
mov eax, dword [0x61b728]
mov dword [ecx + 0xc], eax
mov eax, dword [0x61b72c]
mov dword [ecx + 0x10], eax
lea ecx, [ebp - 0x428]
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x40a5c0
mov eax, dword [str..ini]
mov dword [ecx], eax
mov eax, dword [0x61b734]
mov dword [ecx + 4], eax
mov ax, word [0x61b738]
mov word [ecx + 8], ax
lea eax, [ebp - 0x428]
push eax
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0x61b488
push str.CfgUserPath
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a616
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x40a715
lea eax, [ebp - 0x220]
push eax
call esi
test eax, eax
jle 0x40a715
lea eax, [ebp - 0x8d4]
mov dword [ebp - 0x8b4], 0
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0x220]
push 0
push eax
movups xmmword [ebp - 0x8d4], xmm0
movups xmmword [ebp - 0x8c4], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
setne al
test al, al
je 0x40a715
cmp word [ebp - 0x220], 0
jne 0x40a690
xor ecx, ecx
jmp 0x40a6af
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a6a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x8b0]
call fcn.00404030
cmp word [ebp - 0x220], 0
jne 0x40a6d0
xor ecx, ecx
jmp 0x40a6ef
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a6e0
sub ecx, edx
sar ecx, 1
mov edi, dword [ebp - 0x8d8]
lea eax, [ebp - 0x220]
push ecx
push eax
lea ecx, [edi + 0x14]
call fcn.00404030
cmp byte [edi + 8], 0
mov byte [edi + 7], 1
je 0x40ab7a
jmp 0x40a71b
mov edi, dword [ebp - 0x8d8]
push 0x208
lea eax, [ebp - 0x630]
push 0
push eax
call fcn.00578b50
add esp, 0xc
lea eax, [ebp - 0x838]
push 0x208
push 0
push eax
call fcn.00578b50
lea ecx, [edi + 0x5c]
add esp, 0xc
cmp dword [ecx + 0x14], 8
jb 0x40a752
mov ecx, dword [ecx]
lea edx, [ebp - 0x838]
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x40a760
push str.ZhiNengPYInfo.ini
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x630]
push str._s_s
push eax
call fcn.00409380
add esp, 0x10
lea eax, [ebp - 0x630]
push eax
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0x61b488
push str.CfgUserPath
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a7c2
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x40a8ad
lea eax, [ebp - 0x220]
push eax
call esi
test eax, eax
jle 0x40a8ad
lea eax, [ebp - 0x8d4]
mov dword [ebp - 0x8b4], 0
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0x220]
push 0
push eax
movups xmmword [ebp - 0x8d4], xmm0
movups xmmword [ebp - 0x8c4], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
setne al
test al, al
je 0x40a8ad
cmp word [ebp - 0x220], 0
jne 0x40a836
xor ecx, ecx
jmp 0x40a84f
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a840
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x898]
call fcn.00404030
cmp word [ebp - 0x220], 0
jne 0x40a870
xor ecx, ecx
jmp 0x40a88f
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a880
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x14]
call fcn.00404030
cmp byte [edi + 8], 0
mov byte [edi + 7], 1
je 0x40ab7a
cmp dword [edi + 0x88], 8
lea eax, [edi + 0x74]
jb 0x40a8bb
mov eax, dword [eax]
push str.ZhiNengPYInfo.ini
push eax
lea eax, [ebp - 0x630]
push str._s_s
push eax
call fcn.00409380
add esp, 0x10
lea eax, [ebp - 0x630]
push eax
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0x61b488
push str.CfgUserPath
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a906
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x40a9ed
lea eax, [ebp - 0x220]
push eax
call esi
test eax, eax
jle 0x40a9ed
lea eax, [ebp - 0x8d4]
mov dword [ebp - 0x8b4], 0
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0x220]
push 0
push eax
movups xmmword [ebp - 0x8d4], xmm0
movups xmmword [ebp - 0x8c4], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
setne al
test al, al
je 0x40a9ed
cmp word [ebp - 0x220], 0
jne 0x40a97a
xor ecx, ecx
jmp 0x40a992
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a983
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x880]
call fcn.00404030
cmp word [ebp - 0x220], 0
jne 0x40a9b3
xor ecx, ecx
jmp 0x40a9cf
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a9c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x14]
call fcn.00404030
cmp byte [edi + 8], 0
mov byte [edi + 7], 1
je 0x40ab7a
push 0x61b488
push str.CfgUserPath
push str.AppInfo
lea eax, [ebp - 0x850]
push eax
call fcn.0040c3b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x850]
mov edx, dword [ebp - 0x83c]
cmp edx, 8
mov esi, dword [ebp - 0x850]
cmovae ecx, esi
lea eax, [ecx + 2]
mov dword [ebp - 0x8d8], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40aa30
sub ecx, dword [ebp - 0x8d8]
sar ecx, 1
test ecx, ecx
jle 0x40aadc
cmp edx, 8
jb 0x40aa5a
test esi, esi
je 0x40aadc
jmp 0x40aa60
lea esi, [ebp - 0x850]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x40aad6
lea eax, [ebp - 0x8d4]
mov dword [ebp - 0x8b4], 0
push eax
xorps xmm0, xmm0
push 0
push esi
movups xmmword [ebp - 0x8d4], xmm0
movups xmmword [ebp - 0x8c4], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
setne al
test al, al
je 0x40aad6
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x850]
push eax
lea ecx, [ebp - 0x868]
call fcn.00404130
lea ecx, [edi + 0x14]
lea eax, [ebp - 0x850]
cmp ecx, eax
je 0x40aacc
push 0xffffffffffffffff
push 0
push eax
call fcn.00404130
cmp byte [edi + 8], 0
mov byte [edi + 7], 1
je 0x40ab3e
mov esi, dword [ebp - 0x850]
cmp byte [edi + 8], 0
je 0x40ab44
cmp byte [edi + 7], 0
je 0x40ab44
lea eax, [ebp - 0x898]
push eax
lea ecx, [ebp - 0x8b0]
call fcn.00404db0
test eax, eax
je 0x40ab02
mov byte [edi + 9], 1
lea eax, [ebp - 0x880]
push eax
lea ecx, [ebp - 0x8b0]
call fcn.00404db0
test eax, eax
je 0x40ab1c
mov byte [edi + 9], 1
lea eax, [ebp - 0x868]
push eax
lea ecx, [ebp - 0x8b0]
call fcn.00404db0
test eax, eax
je 0x40ab44
push ecx
lea ecx, [ebp - 0x8b0]
call fcn.0040c620
mov esi, dword [ebp - 0x850]
mov eax, dword [ebp - 0x83c]
cmp eax, 8
jb 0x40ab5d
inc eax
lea ecx, [ebp - 0x850]
push eax
push esi
call fcn.004043b0
xor eax, eax
mov dword [ebp - 0x83c], 7
mov dword [ebp - 0x840], 0
mov word [ebp - 0x850], ax
mov eax, dword [ebp - 0x854]
cmp eax, 8
jb 0x40ab98
inc eax
lea ecx, [ebp - 0x868]
push eax
push dword [ebp - 0x868]
call fcn.004043b0
xor eax, eax
mov dword [ebp - 0x854], 7
mov word [ebp - 0x868], ax
mov eax, dword [ebp - 0x86c]
mov dword [ebp - 0x858], 0
cmp eax, 8
jb 0x40abd3
inc eax
lea ecx, [ebp - 0x880]
push eax
push dword [ebp - 0x880]
call fcn.004043b0
xor eax, eax
mov dword [ebp - 0x86c], 7
mov word [ebp - 0x880], ax
mov eax, dword [ebp - 0x884]
mov dword [ebp - 0x870], 0
cmp eax, 8
jb 0x40ac0e
inc eax
lea ecx, [ebp - 0x898]
push eax
push dword [ebp - 0x898]
call fcn.004043b0
xor eax, eax
mov dword [ebp - 0x884], 7
mov word [ebp - 0x898], ax
mov eax, dword [ebp - 0x89c]
mov dword [ebp - 0x888], 0
cmp eax, 8
jb 0x40ac49
inc eax
lea ecx, [ebp - 0x8b0]
push eax
push dword [ebp - 0x8b0]
call fcn.004043b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00572ac9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret