Function at 0x402630
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x100
lea eax, [esp]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.._chuanzhang_config.ini
push 0x80
push eax
push 0x410518
push str.username
mov esi, ecx
push str.system
call edi
lea ecx, [esp + 8]
push ecx
lea ecx, [esi + 0x168]
call sub.MFC42.DLL_CString::operator
push str.._chuanzhang_config.ini
lea edx, [esp + 0xc]
push 0x80
push edx
push 0x410518
push 0x40c2b0
push str.system
call edi
lea eax, [esp + 8]
lea ecx, [esi + 0x16c]
push eax
call sub.MFC42.DLL_CString::operator
push str.._chuanzhang_config.ini
lea ecx, [esp + 0xc]
push 0x80
push ecx
push 0x410518
push str.barLevel
push str.system
call edi
lea edx, [esp + 8]
lea ecx, [esi + 0x170]
push edx
call sub.MFC42.DLL_CString::operator
push str.._chuanzhang_config.ini
lea eax, [esp + 0xc]
push 0x80
push eax
push 0x410518
push str.stoneLevel
push str.system
call edi
lea ecx, [esp + 8]
push ecx
lea ecx, [esi + 0x178]
call sub.MFC42.DLL_CString::operator
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str.._chuanzhang_config.ini
push 0
push str.barType
push str.system
call edi
push str.._chuanzhang_config.ini
push 0
push str.stoneType
push str.system
mov dword [esi + 0x174], eax
call edi
push str.._chuanzhang_config.ini
push 0
push str.autoCrop
push str.system
mov dword [esi + 0x17c], eax
call edi
test eax, eax
push str.._chuanzhang_config.ini
push 0
setne dl
push str.aotoDoTask
push str.system
mov byte [esi + 0x180], dl
call edi
test eax, eax
setne al
push str.._chuanzhang_config.ini
push 0
push str.PickNo1
push str.system
mov byte [esi + 0x181], al
call edi
test eax, eax
push str.._chuanzhang_config.ini
push 0
setne cl
push str.PickNo2
push str.system
mov byte [esi + 0x182], cl
call edi
test eax, eax
push str.._chuanzhang_config.ini
push 0
setne dl
push str.PickNo3
push str.system
mov byte [esi + 0x183], dl
call edi
test eax, eax
push str.._chuanzhang_config.ini
push 0
setne al
push str.PickNo4
push str.system
mov byte [esi + 0x184], al
call edi
test eax, eax
push str.._chuanzhang_config.ini
push 0
setne cl
push str.PickTower1
push str.system
mov byte [esi + 0x185], cl
call edi
test eax, eax
push str.._chuanzhang_config.ini
push 0
setne dl
push str.PickTower2
push str.system
mov byte [esi + 0x186], dl
call edi
test eax, eax
push str.._chuanzhang_config.ini
push 0
setne al
push str.PickTower3
push str.system
mov byte [esi + 0x187], al
call edi
test eax, eax
push str.._chuanzhang_config.ini
push 0
setne cl
push str.PickTower4
push str.system
mov byte [esi + 0x188], cl
call edi
test eax, eax
push str.._chuanzhang_config.ini
push 0
setne dl
push str.PickTower5
push str.system
mov byte [esi + 0x189], dl
call edi
test eax, eax
push str.._chuanzhang_config.ini
push 0
setne al
push str.PickTower6
push str.system
mov byte [esi + 0x18a], al
call edi
test eax, eax
setne cl
mov byte [esi + 0x18b], cl
push str.._chuanzhang_config.ini
push 0
push str.PickTower7
push str.system
call edi
test eax, eax
push str.._chuanzhang_config.ini
push 0
setne dl
push str.PickTower8
push str.system
mov byte [esi + 0x18c], dl
call edi
test eax, eax
push str.._chuanzhang_config.ini
push 0
setne al
push 0x40c1e8
push str.system
mov byte [esi + 0x18d], al
call edi
test eax, eax
push str.._chuanzhang_config.ini
push 0
setne cl
push str.ambush
push str.system
mov byte [esi + 0x18e], cl
call edi
test eax, eax
push str.._chuanzhang_config.ini
push 0
setne dl
push str.gold
push str.system
mov byte [esi + 0x18f], dl
call edi
test eax, eax
setne al
mov byte [esi + 0x190], al
pop edi
pop esi
add esp, 0x100
ret