Function at 0x470e60
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4f7b1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_4
xor esi, esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x138], esi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x138], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x30]
mov byte [esp + 0x138], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x38]
mov byte [esp + 0x138], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x50]
mov byte [esp + 0x138], 4
call fcn.0044a000
push esi
lea ecx, [esp + 0x114]
mov byte [esp + 0x13c], 5
call fcn.0044e9a0
push esi
lea ecx, [esp + 0x100]
mov byte [esp + 0x13c], 6
call fcn.0044e9a0
push esi
lea ecx, [esp + 0xf0]
mov byte [esp + 0x13c], 7
call fcn.0044e9a0
mov edi, dword [esp + 0x140]
lea ecx, [esp + 0x20]
mov byte [esp + 0x138], 8
mov dword [esp + 0x10], esi
lea ebp, [edi + 0x48]
mov dword [esp + 0x4c], esi
call fcn.00463770
mov eax, dword [0x536d10]
push 1
push 1
mov byte [esp + 0x140], 9
mov edx, dword [eax + 0x17c]
lea ecx, [eax + 0x17c]
call dword [edx + 4]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
mov ecx, ebx
call fcn.00466ee0
mov ecx, dword [ebx + 0x5c]
mov eax, dword [edi + 0x18]
push esi
push ecx
cmp eax, ecx
mov ecx, esp
jne 0x4710c3
mov dword [esp + 0x1c], esp
push 0x525f58
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
call fcn.00463980
mov ecx, dword [esp + 0x148]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.foodnum
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
call fcn.00463980
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x140], 0xa
mov ecx, esp
mov dword [esp + 0x20], esp
push str.farmTime
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 9
call fcn.004637f0
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x140], 0xb
mov ecx, esp
mov dword [esp + 0x20], esp
push str.pastureKey
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 9
call fcn.004637f0
mov ecx, dword [ebx + 0x5c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.uIdx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
call fcn.00463980
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x140], 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push str.farmKey
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 9
call fcn.004637f0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
call fcn.004637d0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x13c], 0xd
call sub.MFC42.DLL_CString::operator_2
mov byte [esp + 0x138], 9
lea ecx, [esp + 0x1c]
jmp 0x47126b
mov dword [esp + 0x1c], esp
push 0x525f58
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
call fcn.00463980
mov ecx, dword [edi + 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x52627c
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
call fcn.00463980
mov edx, dword [ebx + 0x5c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.uIdx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
call fcn.00463980
mov ecx, dword [0x536d10]
mov eax, dword [edi + 0x44]
push ecx
mov esi, esp
mov dword [esp + 0x18], esp
push ecx
lea edx, [ecx + eax*4 + 0xb44]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push esi
call fcn.0040ca40
add esp, 4
mov byte [esp + 0x140], 0xe
mov ecx, esp
mov dword [esp + 0x20], esp
push str.nick
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 9
call fcn.004637f0
mov eax, dword [esp + 0x148]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.foodnum
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
call fcn.00463980
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x140], 0xf
mov ecx, esp
mov dword [esp + 0x20], esp
push str.farmTime
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 9
call fcn.004637f0
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x140], 0x10
mov ecx, esp
mov dword [esp + 0x20], esp
push str.pastureKey
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 9
call fcn.004637f0
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x140], 0x11
mov ecx, esp
mov dword [esp + 0x20], esp
push str.farmKey
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 9
call fcn.004637f0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
call fcn.004637d0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x13c], 0x12
call sub.MFC42.DLL_CString::operator_2
mov byte [esp + 0x138], 9
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
mov ecx, ebx
call fcn.004d3560
cdq
push 1
push 1
push 1
lea ecx, [esp + 0x34]
mov esi, eax
mov dword [esp + 0x4c], edx
call fcn.00404830
push eax
push 0
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x5366d8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [edi + 0x44]
mov edx, dword [edi + 0x18]
mov ecx, eax
mov byte [esp + 0x150], 0x13
xor ecx, edx
push ecx
mov edx, esp
mov dword [esp + 0x34], esp
push ecx
push 0xe
push eax
push edx
mov ecx, ebx
call fcn.00475130
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
mov byte [esp + 0x158], 9
call fcn.0046da00
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x13c], 0x14
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 9
call sub.MFC42.DLL_CString::CString
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, ebx
call fcn.004d3560
mov ecx, dword [esp + 0x40]
cdq
add eax, esi
adc edx, ecx
mov ecx, 1
call fcn.004e9e10
mov ecx, dword [0x536d10]
xor edi, edi
add ecx, 0x17c
push 1
push edi
mov dword [esp + 0x1c], eax
mov edx, dword [ecx]
call dword [edx + 4]
push edi
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::GetBuffer
mov esi, eax
mov al, byte [esp + 0xeb]
mov byte [esp + 0x3c], al
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], edi
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::max_size_void_const]
cmp eax, edi
jae 0x47138f
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov edx, dword [esp + 0x40]
test edx, edx
je 0x4713b8
mov al, byte [edx - 1]
test al, al
je 0x4713b8
cmp al, 0xff
je 0x4713b8
test edi, edi
jne 0x4713e3
dec al
push edi
lea ecx, [esp + 0x40]
mov byte [edx - 1], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x471414
test edi, edi
jne 0x4713ca
push 1
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x471414
mov eax, dword [esp + 0x48]
cmp eax, 0x1f
ja 0x4713d7
cmp eax, edi
jae 0x4713f2
push 1
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push edi
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Copy_unsigned_int_]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
mov edi, edx
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x44], eax
mov byte [ecx + eax], 0
lea edx, [esp + 0x110]
push 1
lea eax, [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x144], 0x15
call fcn.0044a090
and eax, 0xff
xor esi, esi
mov edi, eax
mov eax, dword [esp + 0x40]
cmp eax, esi
mov byte [esp + 0x138], 9
je 0x47146a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x471461
cmp al, 0xff
je 0x471461
dec al
mov byte [ecx], al
jmp 0x47146a
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp edi, esi
jne 0x471725
mov ecx, dword [esp + 0x14c]
cmp ecx, esi
je 0x471492
push 0x5266d4
call sub.MFC42.DLL_CString::operator_3
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x5307a8
call sub.MFC42.DLL_CString::CString_2
push esi
mov ecx, ebx
call fcn.00475050
lea ecx, [esp + 0x20]
mov byte [esp + 0x138], 8
call fcn.004637b0
lea ecx, [esp + 0xec]
mov byte [esp + 0x138], 7
call fcn.0044eec0
lea ecx, [esp + 0xfc]
mov byte [esp + 0x138], 6
call fcn.0044eec0
lea ecx, [esp + 0x110]
mov byte [esp + 0x138], 5
call fcn.0044eec0
mov eax, dword [esp + 0xd8]
mov byte [esp + 0x138], 0x16
cmp eax, esi
je 0x471528
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x47151f
cmp al, 0xff
je 0x47151f
dec al
mov byte [ecx], al
jmp 0x471528
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xd8], esi
cmp eax, esi
mov dword [esp + 0xdc], esi
mov dword [esp + 0xe0], esi
je 0x471565
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x47155c
cmp al, 0xff
je 0x47155c
dec al
mov byte [ecx], al
jmp 0x471565
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xac]
mov dword [esp + 0xb4], esi
cmp eax, esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
je 0x4715d6
mov eax, dword [esp + 0x8c]
push esi
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x90], eax
call fcn.0042c6f0
mov eax, dword [esp + 0xac]
dec eax
mov dword [esp + 0xac], eax
je 0x4715c1
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
cmp ecx, eax
jne 0x4715cd
lea ecx, [esp + 0x80]
call fcn.0042c550
cmp dword [esp + 0xac], esi
jne 0x471585
mov eax, dword [esp + 0x7c]
mov byte [esp + 0x138], 4
cmp eax, esi
je 0x4716c6
mov ebx, 4
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x7c]
add ecx, ebx
dec eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x7c], eax
je 0x471612
mov eax, dword [esp + 0x58]
mov edx, ecx
cmp edx, eax
jne 0x4716bc
mov ecx, dword [esp + 0x60]
mov eax, ecx
add ecx, ebx
mov dword [esp + 0x60], ecx
mov eax, dword [eax]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x80]
add esp, 4
cmp eax, esi
jne 0x47167c
lea ecx, [esp + 0x3c]
call fcn.004051c0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x58], ecx
push eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x4716bc
mov eax, dword [esp + 0x60]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x128]
call fcn.0042c610
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x128]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
cmp dword [esp + 0x7c], esi
jne 0x4715ef
lea ecx, [esp + 0x38]
mov byte [esp + 0x138], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x138], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x138], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x138], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x138], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4723ee
mov edi, dword [esp + 0x14c]
push esi
lea edx, [esp + 0x114]
push edi
push edx
mov ecx, ebx
call fcn.0046f3a0
test eax, eax
jne 0x47190a
lea ecx, [esp + 0x20]
mov byte [esp + 0x138], 8
call fcn.004637b0
lea ecx, [esp + 0xec]
mov byte [esp + 0x138], 7
call fcn.0044eec0
lea ecx, [esp + 0xfc]
mov byte [esp + 0x138], 6
call fcn.0044eec0
lea ecx, [esp + 0x110]
mov byte [esp + 0x138], 5
call fcn.0044eec0
mov eax, dword [esp + 0xd8]
mov byte [esp + 0x138], 0x17
cmp eax, esi
je 0x4717c2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4717b9
cmp al, 0xff
je 0x4717b9
dec al
mov byte [ecx], al
jmp 0x4717c2
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xd8], esi
cmp eax, esi
mov dword [esp + 0xdc], esi
mov dword [esp + 0xe0], esi
je 0x4717ff
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4717f6
cmp al, 0xff
je 0x4717f6
dec al
mov byte [ecx], al
jmp 0x4717ff
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xac]
mov dword [esp + 0xb4], esi
cmp eax, esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
je 0x471870
mov eax, dword [esp + 0x8c]
push esi
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x90], eax
call fcn.0042c6f0
mov eax, dword [esp + 0xac]
dec eax
mov dword [esp + 0xac], eax
je 0x47185b
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
cmp eax, ecx
jne 0x471867
lea ecx, [esp + 0x80]
call fcn.0042c550
cmp dword [esp + 0xac], esi
jne 0x47181f
mov eax, dword [esp + 0x7c]
mov byte [esp + 0x138], 4
cmp eax, esi
je 0x4718ab
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x7c]
add ecx, 4
dec eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x7c], eax
je 0x47189c
cmp ecx, dword [esp + 0x58]
jne 0x4718a5
lea ecx, [esp + 0x50]
call fcn.0042c550
cmp dword [esp + 0x7c], esi
jne 0x471880
lea ecx, [esp + 0x38]
mov byte [esp + 0x138], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x138], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x138], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x138], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x138], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4723ee
push str.animal
lea ecx, [esp + 0x114]
call fcn.0044fea0
push eax
lea ecx, [esp + 0x100]
call fcn.0044f040
lea ecx, [esp + 0xfc]
call fcn.0044f140
cmp eax, 6
je 0x471be0
cmp edi, esi
je 0x47194d
push 0x52b698
mov ecx, edi
call sub.MFC42.DLL_CString::operator_3
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x5307a8
call sub.MFC42.DLL_CString::CString_2
push esi
mov ecx, ebx
call fcn.00475050
lea ecx, [esp + 0x20]
mov byte [esp + 0x138], 8
call fcn.004637b0
lea ecx, [esp + 0xec]
mov byte [esp + 0x138], 7
call fcn.0044eec0
lea ecx, [esp + 0xfc]
mov byte [esp + 0x138], 6
call fcn.0044eec0
lea ecx, [esp + 0x110]
mov byte [esp + 0x138], 5
call fcn.0044eec0
mov eax, dword [esp + 0xd8]
mov byte [esp + 0x138], 0x18
cmp eax, esi
je 0x4719e3
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4719da
cmp al, 0xff
je 0x4719da
dec al
mov byte [ecx], al
jmp 0x4719e3
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xd8], esi
cmp eax, esi
mov dword [esp + 0xdc], esi
mov dword [esp + 0xe0], esi
je 0x471a20
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x471a17
cmp al, 0xff
je 0x471a17
dec al
mov byte [ecx], al
jmp 0x471a20
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xac]
mov dword [esp + 0xb4], esi
cmp eax, esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
je 0x471a91
mov eax, dword [esp + 0x8c]
push esi
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x90], eax
call fcn.0042c6f0
mov eax, dword [esp + 0xac]
dec eax
mov dword [esp + 0xac], eax
je 0x471a7c
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
cmp edx, eax
jne 0x471a88
lea ecx, [esp + 0x80]
call fcn.0042c550
cmp dword [esp + 0xac], esi
jne 0x471a40
mov eax, dword [esp + 0x7c]
mov byte [esp + 0x138], 4
cmp eax, esi
je 0x471b81
mov ebx, 4
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x7c]
add ecx, ebx
dec eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x7c], eax
je 0x471acd
mov eax, ecx
mov ecx, dword [esp + 0x58]
cmp eax, ecx
jne 0x471b77
mov ecx, dword [esp + 0x60]
mov eax, ecx
add ecx, ebx
mov dword [esp + 0x60], ecx
mov eax, dword [eax]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x80]
add esp, 4
cmp eax, esi
jne 0x471b46
lea ecx, [esp + 0x120]
call fcn.004051c0
mov ecx, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
mov edx, dword [esp + 0x128]
mov edi, dword [esp + 0x12c]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x54], eax
push ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x471b77
mov eax, dword [esp + 0x60]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x44]
call fcn.0042c610
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
cmp dword [esp + 0x7c], esi
jne 0x471aaa
lea ecx, [esp + 0x38]
mov byte [esp + 0x138], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x138], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x138], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x138], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x138], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4723ee
lea ecx, [esp + 0xfc]
call fcn.0044fc80
test eax, eax
je 0x471c21
push str.serial
lea ecx, [esp + 0x100]
call fcn.0044fc80
dec eax
lea ecx, [esp + 0x100]
push eax
call fcn.0044fd30
mov ecx, eax
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
jmp 0x471c25
mov eax, dword [esp + 0x4c]
mov edx, dword [ebx + 0x90]
cmp edx, esi
jne 0x471c33
xor ecx, ecx
jmp 0x471c3e
mov ecx, dword [ebx + 0x94]
sub ecx, edx
sar ecx, 2
cmp ecx, eax
jae 0x471dcf
sub eax, ecx
mov dword [esp + 0x1c], eax
push 0x40
call sub.MFC42.DLL_operatornew
xor edi, edi
mov dword [esp + 0x14], eax
mov dword [eax + 8], edi
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [eax], edi
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x1c], edi
mov edx, dword [esp + 0x10]
mov dword [edx + 0x3c], edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov esi, eax
sub ecx, eax
sar ecx, 2
cmp ecx, 1
jae 0x471d30
mov edx, dword [ebp + 4]
cmp edx, edi
je 0x471c9c
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
ja 0x471ca1
mov ecx, 1
cmp edx, edi
jne 0x471ca9
xor eax, eax
jmp 0x471cae
sub eax, edx
sar eax, 2
add eax, ecx
cmp eax, edi
mov dword [esp + 0x18], eax
jge 0x471cba
xor eax, eax
lea edx, [eax*4]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov edi, eax
mov eax, dword [ebp + 4]
mov ecx, ebp
push edi
push esi
push eax
call fcn.004b1440
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], eax
push ecx
push 1
push eax
mov ecx, ebp
call fcn.004b1410
mov edx, dword [esp + 0x4c]
mov eax, dword [ebp + 8]
add edx, 4
mov ecx, ebp
push edx
push eax
push esi
call fcn.004b1440
mov eax, dword [ebp + 4]
push eax
mov dword [esp + 0x50], eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x1c]
add esp, 4
lea edx, [edi + ecx*4]
mov ecx, ebp
mov dword [ebp + 0xc], edx
call fcn.004a9270
lea eax, [edi + eax*4 + 4]
mov dword [ebp + 4], edi
mov dword [ebp + 8], eax
jmp 0x471dc0
mov ecx, eax
sub ecx, esi
sar ecx, 2
cmp ecx, 1
jae 0x471d7e
lea ecx, [esi + 4]
push ecx
push eax
push esi
mov ecx, ebp
call fcn.004b1440
mov eax, dword [ebp + 8]
lea edx, [esp + 0x10]
mov ecx, eax
push edx
sub ecx, esi
mov edx, 1
sar ecx, 2
sub edx, ecx
mov ecx, ebp
push edx
push eax
call fcn.004b1410
mov eax, dword [ebp + 8]
cmp esi, eax
je 0x471dbc
mov ecx, dword [esp + 0x10]
mov dword [esi], ecx
add esi, 4
cmp esi, eax
jne 0x471d6f
jmp 0x471dbc
lea ecx, [eax - 4]
push eax
push eax
mov dword [esp + 0x20], ecx
push ecx
mov ecx, ebp
call fcn.004b1440
mov ecx, dword [ebp + 8]
lea eax, [ecx - 4]
cmp esi, eax
je 0x471da8
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, esi
mov dword [ecx], edx
jne 0x471d99
lea eax, [esi + 4]
cmp esi, eax
je 0x471dbc
mov ecx, dword [esp + 0x10]
mov dword [esi], ecx
add esi, 4
cmp esi, eax
jne 0x471daf
add dword [ebp + 8], 4
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
jne 0x471c4c
lea ecx, [esp + 0xfc]
call fcn.0044fc80
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
jbe 0x471fa1
push esi
lea ecx, [esp + 0x100]
call fcn.0044fd30
push eax
lea ecx, [esp + 0xf0]
call fcn.0044f040
mov edi, dword [ebp + 4]
push str.serial
lea ecx, [esp + 0xf0]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov edx, dword [edi + eax*4 - 4]
add esp, 4
lea ecx, [esp + 0xec]
mov dword [esp + 0x10], edx
push str.buyTime
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0xc], eax
mov edx, dword [esp + 0x10]
push 0x5261ac
lea ecx, [esp + 0xf0]
mov dword [edx + 0x1c], 0
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx], eax
mov edx, dword [esp + 0x10]
mov ecx, ebx
mov eax, dword [edx]
push eax
call fcn.004671e0
mov ecx, dword [esp + 0x10]
push str.growTime
mov dword [ecx + 4], eax
lea ecx, [esp + 0xf0]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0xec]
push str.growTimeNext
mov dword [edx + 0x14], eax
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0x18], eax
push str.hungry
lea ecx, [esp + 0xf0]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0xec]
push str.serial
mov dword [edx + 0x24], eax
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0x28], eax
push str.status
lea ecx, [esp + 0xf0]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [edx + 0x2c], eax
push str.statusNext
lea ecx, [esp + 0xf0]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0x30], eax
push str.totalCome
lea ecx, [esp + 0xf0]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [edx + 0x34], eax
mov ecx, dword [esp + 0x10]
mov eax, 0x91a2b3c5
mul dword [ecx + 0x14]
mov eax, dword [ecx + 4]
shr edx, 0xb
imul edx, dword [eax + 0x24]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x10], edx
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
mov dword [ecx + 8], 1
jb 0x471de9
mov edi, dword [esp + 0x14c]
push str.added
lea ecx, [esp + 0x114]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov ecx, dword [ebp + 0x100]
mov edx, dword [esp + 0x18]
add esp, 4
add ecx, eax
mov dword [ebp + 0x100], ecx
mov eax, ecx
push str.money
lea ecx, [esp + 0x114]
mov dword [ebp + 0x104], eax
mov dword [ebp + 0x108], edx
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x110]
mov esi, eax
push str.addExp
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov ecx, dword [ebx + 0x64]
mov ebp, eax
mov eax, dword [ebx + 0x68]
add ecx, ebp
add eax, esi
mov dword [ebx + 0x64], ecx
mov ecx, dword [esp + 0x14c]
mov dword [ebx + 0x68], eax
mov eax, dword [0x536d10]
add esp, 4
mov eax, dword [eax + 0xb30]
mov edx, dword [eax + 0x14ec]
sub edx, ecx
mov dword [eax + 0x14ec], edx
mov edx, dword [0x536d10]
mov eax, dword [edx + 0xb30]
mov ecx, dword [eax + 0x14ec]
test ecx, ecx
jge 0x47206a
mov dword [eax + 0x14ec], 0
push 0x526640
lea ecx, [esp + 0x110]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x10c]
mov ecx, ebx
push eax
mov byte [esp + 0x13c], 0x19
call fcn.0046d830
test eax, eax
je 0x4720ab
mov ecx, dword [0x536d10]
mov edx, dword [ecx + 0xb30]
mov ecx, dword [edx + 0x14ec]
mov dword [eax + 0x18], ecx
test edi, edi
je 0x4720d3
mov edx, dword [esp + 0x140]
mov ecx, dword [ebx + 0x5c]
mov eax, dword [edx + 0x18]
cmp eax, ecx
je 0x4720c6
add dword [0x536610], ebp
mov dword [edi + 0xc], ebp
mov dword [edi + 8], 0
mov dword [edi + 0x10], esi
mov ecx, dword [ebx + 0x68]
mov edx, dword [0x536d10]
push ecx
mov dword [edx + 0x28c], ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x5307a8
call sub.MFC42.DLL_CString::CString_2
push 1
mov ecx, ebx
call fcn.00475050
lea ecx, [esp + 0x10c]
mov byte [esp + 0x138], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x138], 8
call fcn.004637b0
lea ecx, [esp + 0xec]
mov byte [esp + 0x138], 7
call fcn.0044eec0
lea ecx, [esp + 0xfc]
mov byte [esp + 0x138], 6
call fcn.0044eec0
lea ecx, [esp + 0x110]
mov byte [esp + 0x138], 5
call fcn.0044eec0
mov eax, dword [esp + 0xd8]
xor esi, esi
cmp eax, esi
mov byte [esp + 0x138], 0x1a
je 0x47218f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x472186
cmp al, 0xff
je 0x472186
dec al
mov byte [ecx], al
jmp 0x47218f
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xd8], esi
cmp eax, esi
mov dword [esp + 0xdc], esi
mov dword [esp + 0xe0], esi
je 0x4721cc
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4721c3
cmp al, 0xff
je 0x4721c3
dec al
mov byte [ecx], al
jmp 0x4721cc
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xac]
mov dword [esp + 0xb4], esi
cmp eax, esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
je 0x4722e6
mov ecx, dword [esp + 0x8c]
push 1
mov eax, ecx
add ecx, 0x20
mov dword [esp + 0x90], ecx
lea ecx, [eax + 0xc]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0xac]
dec eax
mov dword [esp + 0xac], eax
je 0x472235
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
cmp eax, ecx
jne 0x4722d9
mov eax, dword [esp + 0x90]
mov ecx, eax
add eax, 4
mov dword [esp + 0x90], eax
mov ecx, dword [ecx]
push ecx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0xb0]
add esp, 4
cmp eax, esi
jne 0x4722ae
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0xa4]
xor edx, edx
push ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], eax
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x4722d9
mov ecx, dword [esp + 0x90]
mov eax, dword [ecx]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x88], edx
cmp dword [esp + 0xac], esi
jne 0x4721f0
cmp dword [esp + 0x7c], esi
je 0x472391
mov edi, 4
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x7c]
add ecx, edi
dec eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x7c], eax
je 0x472314
mov eax, dword [esp + 0x58]
mov edx, ecx
cmp edx, eax
jne 0x472387
mov ecx, dword [esp + 0x60]
mov eax, ecx
add ecx, edi
mov dword [esp + 0x60], ecx
mov eax, dword [eax]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x80]
add esp, 4
cmp eax, esi
jne 0x47236b
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x74]
xor edx, edx
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], esi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x472387
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x58], edx
cmp dword [esp + 0x7c], esi
jne 0x4722f5
lea ecx, [esp + 0x38]
mov byte [esp + 0x138], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x138], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x138], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x138], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x138], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x12c
ret 0x10