Function at 0x468ee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f6ee5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x38], ecx
xor ebp, ebp
lea ecx, [esp + 0x48]
push ebp
mov dword [esp + 0x118], ebp
call fcn.0044e9a0
push ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x118], 1
call fcn.0044e9a0
push ebp
lea ecx, [esp + 0x100]
mov byte [esp + 0x118], 2
call fcn.0044e9a0
lea ecx, [esp + 0x58]
mov byte [esp + 0x114], 3
call fcn.0044a000
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 4
call sub.MFC42.DLL_CString::CString_4
push ebp
lea ecx, [esp + 0x120]
mov byte [esp + 0x118], 5
call sub.MFC42.DLL_CString::GetBuffer
mov esi, eax
mov al, byte [esp + 0x17]
mov byte [esp + 0x28], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x2c]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x468fc9
mov edi, dword [esp + 0x2c]
mov ecx, ebx
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 eax, dword [esp + 0x2c]
mov dword [esp + 0x30], ebx
mov byte [eax + ebx], 0
lea ecx, [esp + 0x48]
push 1
lea edx, [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x64]
mov byte [esp + 0x120], 6
call fcn.0044a090
and eax, 0xff
mov byte [esp + 0x114], 5
mov esi, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x46901a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x469011
cmp al, 0xff
je 0x469011
dec al
mov byte [ecx], al
jmp 0x46901a
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
or edi, 0xffffffff
lea ecx, [esp + 0x11c]
push edi
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp esi, ebp
jne 0x469125
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 4
call sub.MFC42.DLL_CString::CString
push 1
lea ecx, [esp + 0xe0]
mov byte [esp + 0x118], 9
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 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0x118], 8
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 + 0xb4]
mov byte [esp + 0x114], 7
cmp eax, ebp
je 0x4690d5
mov eax, dword [esp + 0x94]
push ebp
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x98], eax
call fcn.0042c6f0
mov eax, dword [esp + 0xb4]
dec eax
mov dword [esp + 0xb4], eax
je 0x4690c0
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
cmp eax, ecx
jne 0x4690cc
lea ecx, [esp + 0x88]
call fcn.0042c550
cmp dword [esp + 0xb4], ebp
jne 0x469084
mov eax, dword [esp + 0x84]
mov byte [esp + 0x114], 3
cmp eax, ebp
je 0x469225
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x84]
add ecx, 4
dec eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x84], eax
je 0x46910e
cmp ecx, dword [esp + 0x60]
jne 0x469117
lea ecx, [esp + 0x58]
call fcn.0042c550
cmp dword [esp + 0x84], ebp
jne 0x4690ec
jmp 0x469225
lea ecx, [esp + 0x48]
call fcn.0044f140
cmp eax, 6
je 0x469275
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 4
call sub.MFC42.DLL_CString::CString
push 1
lea ecx, [esp + 0xe0]
mov byte [esp + 0x118], 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_]
push 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0x118], 0xb
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 + 0xb4]
mov byte [esp + 0x114], 0xa
cmp eax, ebp
je 0x4691da
mov eax, dword [esp + 0x94]
push ebp
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x98], eax
call fcn.0042c6f0
mov eax, dword [esp + 0xb4]
dec eax
mov dword [esp + 0xb4], eax
je 0x4691c5
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
cmp edx, eax
jne 0x4691d1
lea ecx, [esp + 0x88]
call fcn.0042c550
cmp dword [esp + 0xb4], ebp
jne 0x469189
mov eax, dword [esp + 0x84]
mov byte [esp + 0x114], 3
cmp eax, ebp
je 0x469225
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x84]
add ecx, 4
dec eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x84], eax
je 0x469213
mov eax, ecx
mov ecx, dword [esp + 0x60]
cmp eax, ecx
jne 0x46921c
lea ecx, [esp + 0x58]
call fcn.0042c550
cmp dword [esp + 0x84], ebp
jne 0x4691ed
lea ecx, [esp + 0xfc]
mov byte [esp + 0x114], 2
call fcn.0044eec0
lea ecx, [esp + 0x18]
mov byte [esp + 0x114], 1
call fcn.0044eec0
lea ecx, [esp + 0x48]
mov byte [esp + 0x114], 0
call fcn.0044eec0
lea ecx, [esp + 0x11c]
mov dword [esp + 0x114], edi
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4696d9
xor esi, esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], esi
call fcn.0044fc80
test eax, eax
jbe 0x469513
push esi
lea ecx, [esp + 0x4c]
call fcn.0044fd30
push eax
lea ecx, [esp + 0x1c]
call fcn.0044f040
push 0x5261ac
lea ecx, [esp + 0x1c]
call fcn.0044fea0
push eax
lea ecx, [esp + 0x100]
call fcn.0044f040
lea ecx, [esp + 0xfc]
push ecx
call fcn.0040c7d0
mov ecx, dword [esp + 0x3c]
add esp, 4
push eax
call fcn.004671e0
mov esi, eax
cmp esi, ebp
je 0x4694f6
cmp dword [esi + 0x34], ebp
je 0x4692ef
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x3c], ebp
cmp eax, ebp
jne 0x4692f7
mov dword [esp + 0x3c], 1
mov ebx, dword [esi + 0x38]
xor edx, edx
cmp ebx, ebp
push str.byproductprice
sete dl
lea ecx, [esp + 0x1c]
mov dword [esi + 4], edx
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esi + 0x40], eax
push str.consum
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esi + 0x24], eax
push str.harvestbExp
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esi + 0x28], eax
push str.harvestpExp
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esi + 0x2c], eax
push str.cLevel
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esi + 0x20], eax
push str.output
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esi + 0x30], eax
push str.price
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esi + 0x34], eax
push str.productprice
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esi + 0x3c], eax
push str.growing
call fcn.0044fea0
push eax
lea eax, [esp + 0xfc]
push eax
call fcn.0040c8b0
add esp, 8
push 0x525ff0
lea ecx, [esp + 0xf4]
push eax
push ecx
mov byte [esp + 0x120], 0xd
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x118], 0xe
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0xf0]
mov byte [esp + 0x114], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xf8]
mov byte [esp + 0x114], 5
call sub.MFC42.DLL_CString::CString
xor ebx, ebx
lea ecx, [esp + 0x10]
push ebx
push 0x5236a4
call sub.MFC42.DLL_CString::Find
mov edi, eax
test edi, edi
jl 0x4694c1
lea edx, [esi + 0x68]
mov dword [esp + 0x44], edx
cmp ebx, 6
jae 0x4694c1
mov eax, edi
lea ecx, [esp + 0xf4]
sub eax, ebp
push eax
push ebp
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid_1
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov ebp, dword [esp + 0x48]
add esp, 4
lea ecx, [esp + 0xf4]
mov dword [ebp], eax
call sub.MFC42.DLL_CString::CString
add ebp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], ebp
lea ebp, [edi + 1]
push ebp
push 0x5236a4
inc ebx
call sub.MFC42.DLL_CString::Find
mov edi, eax
test edi, edi
jge 0x469466
push str.cycle
lea ecx, [esp + 0x1c]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
test eax, eax
je 0x4694e2
sub eax, dword [esi + 0x74]
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4694f4
mov ecx, dword [esp + 0x38]
push esi
call fcn.0047ad00
xor ebp, ebp
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x48]
inc esi
mov dword [esp + 0x40], esi
call fcn.0044fc80
cmp esi, eax
jb 0x46928c
or edi, 0xffffffff
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 4
call sub.MFC42.DLL_CString::CString
push 1
lea ecx, [esp + 0xe0]
mov byte [esp + 0x118], 0x11
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 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0x118], 0x10
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 + 0xb4]
mov byte [esp + 0x114], 0xf
cmp eax, ebp
je 0x4695b6
mov eax, dword [esp + 0x94]
push ebp
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x98], eax
call fcn.0042c6f0
mov eax, dword [esp + 0xb4]
dec eax
mov dword [esp + 0xb4], eax
je 0x4695a1
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
cmp edx, eax
jne 0x4695ad
lea ecx, [esp + 0x88]
call fcn.0042c550
cmp dword [esp + 0xb4], ebp
jne 0x469565
mov eax, dword [esp + 0x84]
mov byte [esp + 0x114], 3
cmp eax, ebp
je 0x46968b
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x84]
add ecx, 4
dec eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x84], eax
je 0x4695f7
mov eax, ecx
mov ecx, dword [esp + 0x60]
cmp eax, ecx
jne 0x46967e
mov ecx, dword [esp + 0x68]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x68], ecx
mov eax, dword [eax]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x88]
add esp, 4
cmp eax, ebp
jne 0x469662
lea ecx, [esp + 0x28]
call fcn.004051c0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x5c], eax
push ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x46967e
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x60], edx
cmp dword [esp + 0x84], ebp
jne 0x4695cd
lea ecx, [esp + 0xfc]
mov byte [esp + 0x114], 2
call fcn.0044eec0
lea ecx, [esp + 0x18]
mov byte [esp + 0x114], 1
call fcn.0044eec0
lea ecx, [esp + 0x48]
mov byte [esp + 0x114], 0
call fcn.0044eec0
lea ecx, [esp + 0x11c]
mov dword [esp + 0x114], edi
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x108
ret 4