Function at 0x41eae0
Capabilities:
Delete file
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x495418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
lea eax, [esp + 0x20]
push edi
mov ebp, ecx
push eax
call fcn.00409c20
add esp, 4
push 0x4baa5c
lea ecx, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x50], 0
call fcn.004846c8
lea ebx, [ebp + 0x62c]
lea edx, [esp + 0x1c]
push ebx
push eax
push edx
mov byte [esp + 0x50], 1
call fcn.00484662
push str.UserData.ini
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x4c], 2
push eax
call fcn.004846c8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 6
call fcn.00484433
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 5
call fcn.00484433
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 4
call fcn.00484433
mov ecx, dword [0x4be818]
mov dword [esp + 0x18], ecx
mov ecx, ebp
mov byte [esp + 0x44], 7
call fcn.00424a50
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edx
push 0x63
push str.Version
push str.SYSTEM
call esi
mov edi, eax
cmp edi, 0x3e7
jbe 0x41ebb9
mov edi, 0x63
jmp 0x41ebc5
cmp edi, 0x141
jae 0x41ec88
push 0x141
lea eax, [esp + 0x1c]
push 0x4b8278
push eax
call fcn.004827a3
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
add esp, 0xc
push ecx
push edx
push str.Version
push str.SYSTEM
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp edi, 0x132
jae 0x41eca0
lea eax, [esp + 0x34]
push eax
call fcn.00409c20
add esp, 4
push 0x4baa5c
lea ecx, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x50], 8
call fcn.004846c8
push ebx
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0x50], 9
call fcn.00484662
push str.FarmStatus.mdb
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x4c], 0xa
push eax
call fcn.004846c8
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x28]
call fcn.00484433
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 9
call fcn.00484433
lea ecx, [esp + 0x30]
mov byte [esp + 0x44], 8
call fcn.00484433
lea ecx, [esp + 0x34]
mov byte [esp + 0x44], 7
call fcn.00484433
jmp 0x41eca0
jbe 0x41eca0
mov ecx, dword [ebp + 0x2c]
push 0x30
push 0x4b8478
push 0x4bad58
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x400
call fcn.00484998
mov edx, dword [0x4be818]
add esp, 4
mov ebx, eax
mov dword [esp + 0x38], edx
mov ecx, 0x100
xor eax, eax
mov edi, ebx
mov byte [esp + 0x44], 0xb
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
push eax
push 0x400
push ebx
push 0x4c2d98
push str.AllConfig
push str.CONFIG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push ebx
call fcn.004844a1
call fcn.0040a320
mov edi, eax
mov eax, dword [0x4c306c]
add esp, 8
test eax, eax
je 0x41ed29
push eax
call fcn.004849c1
add esp, 4
mov dword [0x4c306c], 0
mov eax, dword [esp + 0x14]
cmp edi, 0x16c
jne 0x41ed53
mov ecx, 0x5b
mov esi, eax
mov edi, 0x4c3010
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x4c306c], 0
push eax
call fcn.004849c1
mov ecx, 0x100
xor eax, eax
mov edi, ebx
mov dword [esp + 0x18], 0
add esp, 4
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x10]
push edx
push 0x400
push ebx
push 0x4c2d98
push str.Statistics
push str.EXPGAINLOG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push ebx
call fcn.004844a1
call fcn.0040a320
add esp, 8
cmp eax, 0x34
mov eax, dword [esp + 0x14]
jne 0x41edc6
mov ecx, 0xd
mov esi, eax
mov edi, 0x4c3180
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
call fcn.004849c1
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
push 0
push str.ExpGainTimes
push str.EXPGAINLOG
call esi
cmp eax, 0x96
mov dword [ebp + 0x78], eax
jb 0x41edf6
mov dword [ebp + 0x654], 1
mov edx, dword [esp + 0x10]
push edx
push 0
push str.McExpGain
push str.EXPGAINLOG
call esi
mov ecx, dword [0x4c368c]
mov dword [ecx + 0x988], eax
mov eax, dword [0x4c368c]
mov ecx, 0x12c
cmp dword [eax + 0x988], ecx
jb 0x41ee3d
mov dword [eax + 0x91c], 1
mov edx, dword [0x4c368c]
mov dword [edx + 0x988], ecx
mov eax, dword [esp + 0x10]
push eax
push 0
push str.FecesCnt
push str.EXPGAINLOG
call esi
mov ecx, dword [0x4c368c]
mov dword [ecx + 0x98c], eax
mov eax, dword [0x4c368c]
mov ecx, 0x64
cmp dword [eax + 0x98c], ecx
jb 0x41ee74
mov dword [eax + 0x98c], ecx
lea edx, [esp + 0x34]
push edx
call fcn.00482ecb
mov edi, dword [eax]
mov ecx, ebp
call fcn.004278d0
push ebx
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x3c], edi
call fcn.004849c1
mov edi, dword [0x4c3018]
mov esi, dword [0x4c3048]
mov edx, dword [0x4c3014]
mov ecx, dword [0x4c3028]
mov ebx, 1
mov eax, dword [0x4c3024]
and edi, ebx
and esi, ebx
mov dword [0x4c3018], edi
mov edi, dword [0x4c3040]
mov dword [0x4c3048], esi
mov esi, dword [0x4c301c]
and edx, ebx
and ecx, ebx
and edi, ebx
and esi, ebx
mov dword [0x4c3014], edx
mov edx, dword [0x4c3020]
mov dword [0x4c3028], ecx
mov ecx, dword [0x4c3044]
mov dword [0x4c3040], edi
mov edi, dword [0x4c3034]
mov dword [0x4c301c], esi
mov esi, dword [0x4c3030]
and eax, ebx
and edx, ebx
and ecx, ebx
and edi, ebx
and esi, ebx
mov dword [0x4c3024], eax
mov eax, dword [0x4c302c]
mov dword [0x4c3020], edx
mov edx, dword [0x4c3038]
mov dword [0x4c3044], ecx
mov ecx, dword [0x4c3010]
mov dword [0x4c3034], edi
mov edi, dword [0x4c3154]
mov dword [0x4c3030], esi
mov esi, dword [0x4c3160]
and eax, ebx
and edx, ebx
and ecx, 0x3ff
and edi, ebx
and esi, ebx
mov dword [0x4c302c], eax
mov eax, dword [0x4c3158]
mov dword [0x4c3038], edx
mov edx, dword [0x4c3168]
mov dword [0x4c3010], ecx
mov ecx, dword [0x4c3164]
mov dword [0x4c3154], edi
mov dword [0x4c3160], esi
mov esi, dword [0x4c3118]
mov edi, 0x3e7
add esp, 4
and eax, ebx
and edx, ebx
and ecx, ebx
cmp esi, edi
mov dword [0x4c3158], eax
mov dword [0x4c3168], edx
mov dword [0x4c3164], ecx
mov dword [0x4c3148], 0xa
jbe 0x41efc4
mov esi, edi
mov dword [0x4c3118], esi
mov ecx, dword [0x4c3120]
mov eax, 0x270f
cmp ecx, eax
jbe 0x41efd8
mov dword [0x4c3120], eax
cmp dword [0x4c3124], eax
jbe 0x41efe5
mov dword [0x4c3124], eax
cmp dword [0x4c3144], edi
jbe 0x41eff3
mov dword [0x4c3144], edi
cmp dword [0x4c311c], edi
jbe 0x41f001
mov dword [0x4c311c], edi
cmp dword [0x4c3130], edi
jbe 0x41f00f
mov dword [0x4c3130], edi
cmp dword [0x4c3110], edi
jbe 0x41f01d
mov dword [0x4c3110], edi
cmp dword [0x4c312c], edi
jbe 0x41f02b
mov dword [0x4c312c], edi
cmp dword [0x4c3138], edi
jbe 0x41f039
mov dword [0x4c3138], edi
cmp dword [0x4c3140], edi
jbe 0x41f047
mov dword [0x4c3140], edi
cmp dword [0x4c313c], edi
jbe 0x41f055
mov dword [0x4c313c], edi
mov eax, dword [ebp + 0x620]
mov ecx, dword [0x4c3050]
dec eax
cmp ecx, eax
jbe 0x41f06b
mov dword [0x4c3050], eax
mov eax, dword [0x4c3078]
cmp eax, edi
jbe 0x41f07c
mov dword [0x4c3078], edi
jmp 0x41f086
cmp eax, ebx
jae 0x41f086
mov dword [0x4c3078], ebx
mov eax, dword [0x4c307c]
cmp eax, edi
jbe 0x41f097
mov dword [0x4c307c], edi
jmp 0x41f0a1
cmp eax, ebx
jae 0x41f0a1
mov dword [0x4c307c], ebx
mov ecx, dword [0x4c3080]
mov eax, 0x1e
cmp ecx, eax
jbe 0x41f0b5
mov dword [0x4c3080], eax
mov eax, dword [0x4c3074]
mov edx, 9
cmp eax, edx
jbe 0x41f0cb
mov dword [0x4c3074], edx
jmp 0x41f0d5
cmp eax, ebx
jae 0x41f0d5
mov dword [0x4c3074], ebx
mov eax, dword [0x4c3150]
cmp eax, ebx
jae 0x41f0e6
mov dword [0x4c3150], ebx
jmp 0x41f0f0
cmp eax, edx
jbe 0x41f0f0
mov dword [0x4c3150], edx
cmp dword [0x4c314c], edi
jbe 0x41f0fe
mov dword [0x4c314c], edi
mov eax, dword [0x4c3068]
mov ecx, 0x12
cmp eax, ecx
jbe 0x41f114
mov dword [0x4c3068], ecx
jmp 0x41f123
cmp eax, 2
jae 0x41f123
mov dword [0x4c3068], 2
mov eax, dword [0x4c3064]
cmp eax, ebx
jae 0x41f134
mov dword [0x4c3064], ebx
jmp 0x41f13e
cmp eax, edx
jbe 0x41f13e
mov dword [0x4c3064], edx
mov eax, 0x17
cmp dword [0x4c305c], eax
jbe 0x41f150
mov dword [0x4c305c], eax
cmp dword [0x4c3058], eax
jbe 0x41f15d
mov dword [0x4c3058], eax
cmp dword [0x4c3060], edx
jbe 0x41f16b
mov dword [0x4c3060], edx
cmp word [0x4c3070], bx
jae 0x41f17b
mov word [0x4c3070], bx
mov eax, dword [0x4c308c]
cmp eax, ebx
jae 0x41f18c
mov dword [0x4c308c], ebx
jmp 0x41f196
cmp eax, edx
jbe 0x41f196
mov dword [0x4c308c], edx
mov eax, dword [0x4c3088]
cmp eax, ecx
jbe 0x41f1a7
mov dword [0x4c3088], ecx
jmp 0x41f1b6
cmp eax, 2
jae 0x41f1b6
mov dword [0x4c3088], 2
mov eax, dword [0x4c3084]
cmp eax, ebx
jae 0x41f1c7
mov dword [0x4c3084], ebx
jmp 0x41f1d1
cmp eax, edx
jbe 0x41f1d1
mov dword [0x4c3084], edx
mov eax, dword [0x4c3108]
mov ecx, 0x63
cmp eax, ecx
jbe 0x41f1e5
mov dword [0x4c3108], ecx
cmp dword [0x4c310c], edi
jbe 0x41f1f3
mov dword [0x4c310c], edi
cmp dword [0x4c30ec], edi
jbe 0x41f201
mov dword [0x4c30ec], edi
cmp dword [0x4c30f0], edi
jbe 0x41f20f
mov dword [0x4c30f0], edi
cmp dword [0x4c3090], edx
jbe 0x41f21d
mov dword [0x4c3090], edx
cmp dword [0x4c3094], edx
jbe 0x41f22b
mov dword [0x4c3094], edx
cmp dword [0x4c3104], edi
jbe 0x41f239
mov dword [0x4c3104], edi
mov eax, dword [0x4c3174]
cmp eax, ebx
jae 0x41f24a
mov dword [0x4c3174], ebx
jmp 0x41f254
cmp eax, ecx
jbe 0x41f254
mov dword [0x4c3174], ecx
cmp dword [0x4c3178], edx
jbe 0x41f262
mov dword [0x4c3178], edx
push esi
mov ecx, ebp
call fcn.00424260
mov dword [ebp + 0x6d4], eax
mov eax, dword [0x4c3120]
push eax
mov ecx, ebp
call fcn.00424260
mov dword [ebp + 0x6dc], eax
mov ecx, dword [0x4c3144]
push ecx
mov ecx, ebp
call fcn.00424260
mov dword [ebp + 0x6f0], eax
mov edx, dword [0x4c311c]
push edx
mov ecx, ebp
call fcn.00424260
mov dword [ebp + 0x6d8], eax
mov eax, dword [0x4c3130]
push eax
mov ecx, ebp
call fcn.00424260
mov dword [ebp + 0x6e4], eax
mov ecx, dword [0x4c3110]
push ecx
mov ecx, ebp
call fcn.00424260
mov dword [ebp + 0x6d0], eax
mov edx, dword [0x4c3138]
push edx
mov ecx, ebp
call fcn.00424260
mov dword [ebp + 0x6ec], eax
mov eax, dword [0x4c3118]
push eax
mov ecx, ebp
call fcn.00424260
mov ecx, dword [0x4c368c]
mov dword [ecx + 0x998], eax
mov edx, dword [0x4c3124]
push edx
mov ecx, ebp
call fcn.00424260
mov ecx, dword [0x4c368c]
mov dword [ecx + 0x9a0], eax
mov edx, dword [0x4c3144]
push edx
mov ecx, ebp
call fcn.00424260
mov ecx, dword [0x4c368c]
mov dword [ecx + 0x9b4], eax
mov edx, dword [0x4c311c]
push edx
mov ecx, ebp
call fcn.00424260
mov ecx, dword [0x4c368c]
mov dword [ecx + 0x99c], eax
mov edx, dword [0x4c3130]
push edx
mov ecx, ebp
call fcn.00424260
mov ecx, dword [0x4c368c]
mov dword [ecx + 0x9a8], eax
mov edx, dword [0x4c3110]
push edx
mov ecx, ebp
call fcn.00424260
mov ecx, dword [0x4c368c]
mov dword [ecx + 0x994], eax
mov edx, dword [0x4c3138]
push edx
mov ecx, ebp
call fcn.00424260
mov ecx, dword [0x4c368c]
mov byte [esp + 0x44], 7
mov dword [ecx + 0x9b0], eax
lea ecx, [esp + 0x38]
call fcn.00484433
mov byte [esp + 0x44], 4
lea ecx, [esp + 0x18]
call fcn.00484433
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call fcn.00484433
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret