Function at 0x411770
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4eefc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor ebx, ebx
lea ecx, [esp + 0x158]
mov dword [esp + 0x240], ebx
call fcn.0045ad00
lea ecx, [esp + 0x10]
mov byte [esp + 0x240], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x240], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x18]
mov byte [esp + 0x240], 3
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0x3c]
push 1
push eax
mov edi, 4
mov byte [esp + 0x248], 4
call fcn.0040dc50
add esp, 8
push ebx
lea ecx, [esp + 0x13c]
mov byte [esp + 0x244], 5
xor esi, esi
call fcn.0044e9a0
push ebx
lea ecx, [esp + 0x64]
mov byte [esp + 0x244], 6
call fcn.0044e9a0
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x244], 7
call fcn.0044e9a0
push ebx
lea ecx, [esp + 0x18c]
mov byte [esp + 0x244], 8
call fcn.0044e9a0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x240], 9
call fcn.0044a000
mov ecx, dword [esp + 0x248]
mov byte [esp + 0x240], 0xa
push ecx
lea ecx, [esp + 0x15c]
call fcn.0045b660
test eax, eax
jne 0x4119e9
push 1
lea ecx, [esp + 0x128]
mov byte [esp + 0x244], 0xd
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 + 0x104]
mov byte [esp + 0x244], 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 + 0xfc]
mov byte [esp + 0x240], 0xb
cmp eax, ebx
je 0x4118d3
lea ecx, [esp + 0xd0]
call fcn.0042c1b0
cmp dword [esp + 0xfc], ebx
jne 0x4118be
mov eax, dword [esp + 0xcc]
mov byte [esp + 0x240], 9
cmp eax, ebx
je 0x411929
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xcc]
add ecx, edi
dec eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xcc], eax
je 0x411914
mov eax, dword [esp + 0xa8]
mov edx, ecx
cmp edx, eax
jne 0x411920
lea ecx, [esp + 0xa0]
call fcn.0042c550
cmp dword [esp + 0xcc], ebx
jne 0x4118e6
lea ecx, [esp + 0x188]
mov byte [esp + 0x240], 8
call fcn.0044eec0
lea ecx, [esp + 0x28]
mov byte [esp + 0x240], 7
call fcn.0044eec0
lea ecx, [esp + 0x60]
mov byte [esp + 0x240], 6
call fcn.0044eec0
lea ecx, [esp + 0x138]
mov byte [esp + 0x240], 5
call fcn.0044eec0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x240], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x240], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x240], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x240], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x158]
mov byte [esp + 0x240], 0
call fcn.0045b170
lea ecx, [esp + 0x248]
mov dword [esp + 0x240], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4139b8
push str.data
lea ecx, [esp + 0x15c]
call fcn.0045b960
test eax, eax
jne 0x411b6e
push 1
lea ecx, [esp + 0x128]
mov byte [esp + 0x244], 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_]
push 1
lea ecx, [esp + 0x104]
mov byte [esp + 0x244], 0xf
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 + 0xfc]
mov byte [esp + 0x240], 0xe
cmp eax, ebx
je 0x411a58
lea ecx, [esp + 0xd0]
call fcn.0042c1b0
cmp dword [esp + 0xfc], ebx
jne 0x411a43
mov eax, dword [esp + 0xcc]
mov byte [esp + 0x240], 9
cmp eax, ebx
je 0x411aae
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xcc]
add ecx, edi
dec eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xcc], eax
je 0x411a99
mov eax, ecx
mov ecx, dword [esp + 0xa8]
cmp eax, ecx
jne 0x411aa5
lea ecx, [esp + 0xa0]
call fcn.0042c550
cmp dword [esp + 0xcc], ebx
jne 0x411a6b
lea ecx, [esp + 0x188]
mov byte [esp + 0x240], 8
call fcn.0044eec0
lea ecx, [esp + 0x28]
mov byte [esp + 0x240], 7
call fcn.0044eec0
lea ecx, [esp + 0x60]
mov byte [esp + 0x240], 6
call fcn.0044eec0
lea ecx, [esp + 0x138]
mov byte [esp + 0x240], 5
call fcn.0044eec0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x240], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x240], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x240], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x240], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x158]
mov byte [esp + 0x240], 0
call fcn.0045b170
lea ecx, [esp + 0x248]
mov dword [esp + 0x240], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4139b8
lea ecx, [esp + 0x158]
call fcn.0045baf0
push str.crops
lea ecx, [esp + 0x15c]
call fcn.0045b960
test eax, eax
jne 0x411cfb
push 1
lea ecx, [esp + 0x128]
mov byte [esp + 0x244], 0x13
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 + 0x104]
mov byte [esp + 0x244], 0x12
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 + 0xfc]
mov byte [esp + 0x240], 0x11
cmp eax, ebx
je 0x411be9
lea ecx, [esp + 0xd0]
call fcn.0042c1b0
cmp dword [esp + 0xfc], ebx
jne 0x411bd4
mov eax, dword [esp + 0xcc]
mov byte [esp + 0x240], 9
cmp eax, ebx
je 0x411c3b
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xcc]
add ecx, edi
dec eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xcc], eax
je 0x411c26
cmp ecx, dword [esp + 0xa8]
jne 0x411c32
lea ecx, [esp + 0xa0]
call fcn.0042c550
cmp dword [esp + 0xcc], ebx
jne 0x411bfc
lea ecx, [esp + 0x188]
mov byte [esp + 0x240], 8
call fcn.0044eec0
lea ecx, [esp + 0x28]
mov byte [esp + 0x240], 7
call fcn.0044eec0
lea ecx, [esp + 0x60]
mov byte [esp + 0x240], 6
call fcn.0044eec0
lea ecx, [esp + 0x138]
mov byte [esp + 0x240], 5
call fcn.0044eec0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x240], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x240], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x240], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x240], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x158]
mov byte [esp + 0x240], 0
call fcn.0045b170
lea ecx, [esp + 0x248]
mov dword [esp + 0x240], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4139b8
lea edx, [esp + 0x40]
lea ecx, [esp + 0x158]
push edx
call fcn.004139e0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x244], 0x14
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x40]
mov byte [esp + 0x240], 0xa
call sub.MFC42.DLL_CString::CString
push ebx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
mov edx, eax
mov al, byte [esp + 0x23]
mov byte [esp + 0x70], al
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea ecx, [esp + 0x138]
push 1
lea edx, [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0xac]
mov byte [esp + 0x24c], 0x15
call fcn.0044a090
and eax, 0xff
mov byte [esp + 0x240], 0xa
mov edi, eax
mov eax, dword [esp + 0x74]
cmp eax, ebx
je 0x411dbe
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x411db5
cmp al, 0xff
je 0x411db5
dec al
mov byte [ecx], al
jmp 0x411dbe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp edi, ebx
jne 0x411f3e
push 1
lea ecx, [esp + 0x128]
mov byte [esp + 0x244], 0x18
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 + 0x104]
mov byte [esp + 0x244], 0x17
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 + 0xfc]
mov byte [esp + 0x240], 0x16
cmp eax, ebx
je 0x411e27
lea ecx, [esp + 0xd0]
call fcn.0042c1b0
cmp dword [esp + 0xfc], ebx
jne 0x411e12
mov eax, dword [esp + 0xcc]
mov byte [esp + 0x240], 9
cmp eax, ebx
je 0x411e7e
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xcc]
add ecx, 4
dec eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xcc], eax
je 0x411e69
mov eax, ecx
mov ecx, dword [esp + 0xa8]
cmp eax, ecx
jne 0x411e75
lea ecx, [esp + 0xa0]
call fcn.0042c550
cmp dword [esp + 0xcc], ebx
jne 0x411e3a
lea ecx, [esp + 0x188]
mov byte [esp + 0x240], 8
call fcn.0044eec0
lea ecx, [esp + 0x28]
mov byte [esp + 0x240], 7
call fcn.0044eec0
lea ecx, [esp + 0x60]
mov byte [esp + 0x240], 6
call fcn.0044eec0
lea ecx, [esp + 0x138]
mov byte [esp + 0x240], 5
call fcn.0044eec0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x240], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x240], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x240], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x240], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x158]
mov byte [esp + 0x240], 0
call fcn.0045b170
lea ecx, [esp + 0x248]
mov dword [esp + 0x240], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4139b8
push str.crops
lea ecx, [esp + 0x13c]
call fcn.0044fea0
push eax
lea ecx, [esp + 0x64]
call fcn.0044f040
lea ecx, [esp + 0x60]
call fcn.0044f140
cmp eax, 6
je 0x4120a9
push 1
lea ecx, [esp + 0x128]
mov byte [esp + 0x244], 0x1b
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 + 0x104]
mov byte [esp + 0x244], 0x1a
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 + 0xfc]
mov byte [esp + 0x240], 0x19
cmp eax, ebx
je 0x411fc1
lea ecx, [esp + 0xd0]
call fcn.0042c1b0
cmp dword [esp + 0xfc], ebx
jne 0x411fac
mov eax, dword [esp + 0xcc]
mov byte [esp + 0x240], 9
cmp eax, ebx
je 0x411fe9
lea ecx, [esp + 0xa0]
call fcn.0042c120
cmp dword [esp + 0xcc], ebx
jne 0x411fd4
lea ecx, [esp + 0x188]
mov byte [esp + 0x240], 8
call fcn.0044eec0
lea ecx, [esp + 0x28]
mov byte [esp + 0x240], 7
call fcn.0044eec0
lea ecx, [esp + 0x60]
mov byte [esp + 0x240], 6
call fcn.0044eec0
lea ecx, [esp + 0x138]
mov byte [esp + 0x240], 5
call fcn.0044eec0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x240], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x240], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x240], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x240], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x158]
mov byte [esp + 0x240], 0
call fcn.0045b170
lea ecx, [esp + 0x248]
mov dword [esp + 0x240], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4139b8
lea ecx, [esp + 0x60]
call fcn.0044fc80
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x44], eax
jbe 0x4120f6
push edi
lea ecx, [esp + 0x64]
call fcn.0044fd30
push eax
lea ecx, [esp + 0x2c]
call fcn.0044f040
push 0x526028
lea ecx, [esp + 0x2c]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
cmp eax, esi
jbe 0x4120ed
mov esi, eax
mov eax, dword [esp + 0x44]
inc edi
cmp edi, eax
jb 0x4120bc
mov eax, dword [ebp + 0x9b4]
cmp eax, ebx
je 0x412120
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x413a80
push ecx
push 0x84
push eax
call fcn.004e9b8a
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
inc esi
mov edx, esi
mov dword [ebp + 0x9b8], esi
shl edx, 5
add edx, esi
lea eax, [edx*4 + 4]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x240], 0x1d
je 0x41216b
push 0x413a80
push 0x413a20
lea edi, [eax + 4]
push esi
push 0x84
push edi
mov dword [eax], esi
call fcn.004e9c7e
jmp 0x41216d
xor edi, edi
mov eax, dword [ebp + 0x9b8]
xor ecx, ecx
cmp eax, ebx
mov byte [esp + 0x240], 0xa
mov dword [ebp + 0x9b4], edi
jbe 0x412206
xor eax, eax
mov edx, dword [ebp + 0x9b4]
inc ecx
mov dword [edx + eax], ebx
mov edx, dword [ebp + 0x9b4]
mov dword [edx + eax + 8], ebx
mov edx, dword [ebp + 0x9b4]
mov dword [edx + eax + 0x10], ebx
mov edx, dword [ebp + 0x9b4]
mov dword [edx + eax + 0x14], ebx
mov edx, dword [ebp + 0x9b4]
mov dword [edx + eax + 0x18], ebx
mov edx, dword [ebp + 0x9b4]
mov dword [edx + eax + 0xc], ebx
mov edx, dword [ebp + 0x9b4]
mov dword [edx + eax + 0x48], ebx
mov edx, dword [ebp + 0x9b4]
mov dword [edx + eax + 0x4c], ebx
mov edx, dword [ebp + 0x9b4]
mov dword [edx + eax + 0x3c], ebx
mov edx, dword [ebp + 0x9b4]
mov dword [edx + eax + 0x34], ebx
mov edx, dword [ebp + 0x9b4]
mov dword [edx + eax + 4], ebx
mov edx, dword [ebp + 0x9b8]
add eax, 0x84
cmp ecx, edx
jb 0x412189
mov ecx, dword [ebp + 0x9b4]
push 0x526020
add ecx, 0x1c
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], ebx
cmp eax, ebx
jbe 0x412c43
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x60]
push eax
call fcn.0044fd30
push eax
lea ecx, [esp + 0x2c]
call fcn.0044f040
push 0x526028
lea ecx, [esp + 0x2c]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
mov dword [esp + 0x90], 0
je 0x412c2e
mov ecx, eax
mov eax, dword [ebp + 0x9b8]
cmp ecx, eax
jae 0x412c2e
mov eax, ecx
mov edx, dword [ebp + 0x9b4]
mov esi, eax
push str.isVIP
shl esi, 5
add esi, eax
xor eax, eax
shl esi, 2
mov dword [edx + esi], 1
mov ecx, dword [ebp + 0x9b4]
mov dword [ecx + esi + 0x40], eax
mov edx, dword [ebp + 0x9b4]
mov dword [edx + esi + 0x2c], eax
mov ecx, dword [ebp + 0x9b4]
mov dword [ecx + esi + 0x24], eax
mov edx, dword [ebp + 0x9b4]
mov dword [edx + esi + 0x3c], eax
mov ecx, dword [ebp + 0x9b4]
mov dword [ecx + esi + 0x28], eax
mov edx, dword [ebp + 0x9b4]
mov dword [edx + esi + 0x48], eax
mov ecx, dword [ebp + 0x9b4]
mov dword [ecx + esi + 0x4c], eax
mov edx, dword [ebp + 0x9b4]
mov dword [edx + esi + 0x30], eax
mov ecx, dword [ebp + 0x9b4]
mov dword [ecx + esi + 0x38], eax
mov edx, dword [ebp + 0x9b4]
mov dword [edx + esi + 0x34], eax
mov ecx, dword [ebp + 0x9b4]
mov dword [ecx + esi + 0x20], eax
lea ecx, [esp + 0x2c]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov edx, dword [ebp + 0x9b4]
add esp, 4
lea ecx, [esp + 0x28]
push str.isLock
mov dword [edx + esi + 0x44], eax
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov ecx, dword [ebp + 0x9b4]
add esp, 4
mov dword [ecx + esi + 0x10], eax
push str.isYouji
lea ecx, [esp + 0x2c]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov edx, dword [ebp + 0x9b4]
add esp, 4
lea ecx, [esp + 0x28]
push str.isRed
mov dword [edx + esi + 0x14], eax
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov ecx, dword [ebp + 0x9b4]
add esp, 4
mov dword [ecx + esi + 0xc], eax
push str.nextText
lea ecx, [esp + 0x2c]
call fcn.0044fea0
lea edx, [esp + 0x184]
push eax
push edx
call fcn.0040c8b0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x244], 0x1e
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x184]
mov byte [esp + 0x240], 0xa
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
push 0x5307a8
push eax
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
call edi
add esp, 8
test eax, eax
je 0x41251c
mov ecx, dword [esp + 0x10]
push str.null
push ecx
call edi
add esp, 8
test eax, eax
je 0x41251c
lea edx, [esp + 0x10]
push 0x525ff0
lea eax, [esp + 0x178]
push edx
push eax
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x244], 0x1f
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x174]
mov byte [esp + 0x240], 0xa
call sub.MFC42.DLL_CString::CString
xor ebx, ebx
lea ecx, [esp + 0x10]
push ebx
push 0x5236a4
mov dword [esp + 0x1c], ebx
call sub.MFC42.DLL_CString::Find
mov edi, eax
test edi, edi
jl 0x412516
cmp dword [esp + 0x14], 7
jae 0x412516
mov ecx, edi
lea edx, [esp + 0x180]
sub ecx, ebx
push ecx
push ebx
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x244], 0x20
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x180]
mov byte [esp + 0x240], 0xa
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x1c]
push 0x525fe8
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4124ce
push 0x525fe0
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
mov edx, eax
push ecx
mov ecx, ebx
shl edx, 5
add ecx, edx
mov edx, dword [ebp + 0x9b4]
add eax, ecx
lea ecx, [edx + eax*4 + 0x50]
call sub.MFC42.DLL_CString::operator_2
inc ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebx
lea ebx, [edi + 1]
push ebx
push 0x5236a4
call sub.MFC42.DLL_CString::Find
mov edi, eax
test edi, edi
jge 0x412461
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push str.cropGrow
lea ecx, [esp + 0x2c]
call fcn.0044fea0
push eax
lea eax, [esp + 0x17c]
push eax
call fcn.0040c8b0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x244], 0x21
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x178]
mov byte [esp + 0x240], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
push 0x5307a8
push ecx
call edi
add esp, 8
test eax, eax
je 0x41269b
mov edx, dword [esp + 0x10]
push str.null
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x41269b
lea eax, [esp + 0x10]
push 0x525ff0
lea ecx, [esp + 0x180]
xor ebx, ebx
push eax
push ecx
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x244], 0x22
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x17c]
mov byte [esp + 0x240], 0xa
call sub.MFC42.DLL_CString::CString
push ebx
push 0x5236a4
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find
mov edi, eax
test edi, edi
jl 0x41269b
cmp dword [esp + 0x14], 6
jae 0x41269b
mov edx, edi
lea eax, [esp + 0x150]
sub edx, ebx
lea ecx, [esp + 0x10]
push edx
push ebx
push eax
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x244], 0x23
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x150]
mov byte [esp + 0x240], 0xa
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x14]
mov ecx, eax
mov edx, ebx
shl ecx, 5
add edx, ecx
mov ecx, dword [ebp + 0x9b4]
add eax, edx
lea edx, [ecx + eax*4 + 0x6c]
lea ecx, [esp + 0x1c]
push edx
push 0x5231b8
push 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
call sub.MFC42.DLL_CString::ReleaseBuffer
inc ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebx
lea ebx, [edi + 1]
push ebx
push 0x5236a4
call sub.MFC42.DLL_CString::Find
mov edi, eax
test edi, edi
jge 0x4125ef
push 0x525fd0
lea ecx, [esp + 0x2c]
call fcn.0044fea0
push eax
lea eax, [esp + 0x98]
push eax
call fcn.0040c8b0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x244], 0x24
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x94]
mov byte [esp + 0x240], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x5307a8
push ecx
call edi
add esp, 8
test eax, eax
je 0x412ab6
mov edx, dword [esp + 0x10]
push str.null
push edx
call edi
add esp, 8
test eax, eax
je 0x412ab6
push 0x5307a8
push 0x525fc4
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
mov eax, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x14]
mov ebx, dword [eax - 8]
call sub.MFC42.DLL_CString::GetBuffer
xor edi, edi
test ebx, ebx
jle 0x41274a
cmp byte [edi + eax], 0
jl 0x41274a
inc edi
cmp edi, ebx
jl 0x41273f
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, dword [esp + 0x10]
push 0x5307a8
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x412a07
cmp edi, ebx
jge 0x412a07
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::CString_4
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x1f9]
mov byte [esp + 0x1f8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x71]
mov byte [esp + 0x70], 0
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x4c]
mov byte [esp + 0x240], 0x25
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
push edx
mov dword [esp + 0x14c], eax
mov dword [esp + 0x158], eax
lea eax, [esp + 0x60]
push 0x5231b8
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x68]
add esp, 0xc
lea edx, [esp + 0x1f8]
push ecx
push 0x40
push edx
push 0x5307a8
push eax
push str.PLANTS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esp + 0x1f8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x412894
lea ecx, [esp + 0x70]
lea edx, [esp + 0x154]
push ecx
lea eax, [esp + 0x14c]
push edx
push eax
lea ecx, [esp + 0x204]
push str._d__d__s
push ecx
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [ebp + 0x9b4]
add esp, 0x14
lea edx, [esp + 0x70]
push edx
lea ecx, [eax + esi + 0x1c]
call sub.MFC42.DLL_CString::operator_3
mov ecx, dword [ebp + 0x9b4]
mov edx, dword [esp + 0x148]
mov dword [esp + 0x90], 1
mov byte [esp + 0x240], 0xa
mov dword [ecx + esi + 0x3c], edx
mov eax, dword [ebp + 0x9b4]
mov ecx, dword [esp + 0x154]
mov dword [eax + esi + 0x34], ecx
lea ecx, [esp + 0x5c]
jmp 0x412ab1
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString_4
push str.name
lea ecx, [esp + 0x2c]
mov byte [esp + 0x244], 0x26
call fcn.0044fea0
lea edx, [esp + 0x9c]
push eax
push edx
call fcn.0040c8b0
add esp, 8
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x244], 0x27
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x9c]
mov byte [esp + 0x240], 0x26
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x48]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x5307a8
push eax
call edi
add esp, 8
test eax, eax
je 0x4129e5
mov ecx, dword [esp + 0x48]
push str.null
push ecx
call edi
add esp, 8
test eax, eax
je 0x4129e5
lea edx, [esp + 0x48]
lea eax, [esp + 0x50]
push edx
push 0x525f98
push eax
call sub.MFC42.DLL_operator_3
push 0x525f94
lea ecx, [esp + 0x58]
push eax
push ecx
mov byte [esp + 0x24c], 0x28
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
mov edx, dword [ebp]
push eax
push 4
mov ecx, ebp
mov byte [esp + 0x248], 0x29
call dword [edx + 8]
lea ecx, [esp + 0x54]
mov byte [esp + 0x240], 0x28
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x240], 0x26
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x9b4]
mov ecx, dword [esp + 0x48]
mov edi, 1
add eax, esi
mov dword [ebp + 0x5c], edi
push ecx
mov edx, dword [eax + 0x34]
mov eax, dword [eax + 0x3c]
push edx
push eax
lea ecx, [esp + 0x28]
push str._d__d__s
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x70]
add esp, 0x14
push edx
push eax
push ecx
push str.PLANTS
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp + 0x9b4]
lea edx, [esp + 0x48]
push edx
lea ecx, [eax + esi + 0x1c]
call sub.MFC42.DLL_CString::operator_2
mov dword [esp + 0x90], edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x240], 0x25
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x240], 0xa
lea ecx, [esp + 0x5c]
jmp 0x412ab1
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::CString_4
push str.name
lea ecx, [esp + 0x2c]
mov byte [esp + 0x244], 0x2a
call fcn.0044fea0
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0040c8b0
add esp, 8
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x244], 0x2b
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x240], 0x2a
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x58]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x5307a8
push edx
call edi
add esp, 8
test eax, eax
je 0x412aa5
mov eax, dword [esp + 0x58]
push str.null
push eax
call edi
add esp, 8
test eax, eax
je 0x412aa5
mov edx, dword [ebp + 0x9b4]
lea ecx, [esp + 0x58]
push ecx
lea ecx, [edx + esi + 0x1c]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [ebp + 0x9b4]
mov dword [eax + esi + 4], 1
mov byte [esp + 0x240], 0xa
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp + 0x9b4]
mov eax, 0xcccccccd
add ecx, esi
xor ebx, ebx
mul dword [ecx + 0x7c]
mov eax, dword [esp + 0x90]
shr edx, 3
lea edx, [edx + edx*4]
shl edx, 1
cmp eax, ebx
mov dword [ecx + 0x24], edx
jne 0x412c2e
mov eax, dword [ebp + 0x9b4]
mov dword [eax + esi], ebx
mov ecx, dword [ebp + 0x9b4]
cmp dword [ecx + esi + 4], ebx
je 0x412c2e
lea ecx, [esp + 0x98]
call sub.MFC42.DLL_CString::CString_4
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x1b9]
mov byte [esp + 0x1b8], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x199]
mov byte [esp + 0x198], bl
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x4c]
mov byte [esp + 0x240], 0x2c
stosw word es:[edi], ax
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x9c]
push 0x5231b8
push eax
mov dword [esp + 0x158], ebx
mov dword [esp + 0x4c], ebx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0xa4]
add esp, 0xc
lea edx, [esp + 0x1b8]
push ecx
push 0x40
push edx
push 0x5307a8
push eax
push str.PLANTS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esp + 0x1b8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x412c1a
lea ecx, [esp + 0x198]
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x150]
push edx
push eax
lea ecx, [esp + 0x1c4]
push str._d__d__s
push ecx
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [ebp + 0x9b4]
add esp, 0x14
lea edx, [esp + 0x198]
push edx
lea ecx, [eax + esi + 0x1c]
call sub.MFC42.DLL_CString::operator_3
mov ecx, dword [ebp + 0x9b4]
mov edx, dword [esp + 0x14c]
mov dword [ecx + esi + 0x3c], edx
mov eax, dword [ebp + 0x9b4]
mov ecx, dword [esp + 0x40]
mov dword [eax + esi + 0x34], ecx
mov edx, dword [ebp + 0x9b4]
mov dword [edx + esi + 4], ebx
mov eax, dword [ebp + 0x9b4]
mov dword [eax + esi], 1
lea ecx, [esp + 0x98]
mov byte [esp + 0x240], 0xa
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
inc eax
cmp eax, ecx
mov dword [esp + 0x38], eax
jb 0x412229
push str.item_info
lea ecx, [esp + 0x15c]
call fcn.0045b960
test eax, eax
je 0x41308b
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x15c]
call fcn.004139e0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x244], 0x2d
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x240], 0xa
call sub.MFC42.DLL_CString::CString
xor edi, edi
lea ecx, [esp + 0x18]
push edi
call sub.MFC42.DLL_CString::GetBuffer
mov dl, byte [esp + 0x23]
mov esi, eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x70], dl
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x74]
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 0x412cf1
mov edi, dword [esp + 0x74]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x78], ebx
mov byte [ebx + ecx], 0
lea edx, [esp + 0x138]
push 1
lea eax, [esp + 0x74]
push edx
push eax
lea ecx, [esp + 0xac]
mov byte [esp + 0x24c], 0x2e
call fcn.0044a090
and eax, 0xff
mov byte [esp + 0x240], 0xa
mov esi, eax
mov eax, dword [esp + 0x74]
test eax, eax
je 0x412d48
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x412d3f
cmp al, 0xff
je 0x412d3f
dec al
mov byte [ecx], al
jmp 0x412d48
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::ReleaseBuffer
test esi, esi
je 0x41308b
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x14], ebx
lea esi, [ebp + 0x18]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x412d8f
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x412d8f
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + edi*4]
push eax
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_operatordelete
add esp, 4
inc edi
jmp 0x412d66
push str.item_info
lea ecx, [esp + 0x13c]
call fcn.0044fea0
push eax
lea ecx, [esp + 0x64]
call fcn.0044f040
lea ecx, [esp + 0x60]
call fcn.0044f140
cmp eax, 6
jne 0x41308b
lea ecx, [esp + 0x60]
call fcn.0044fc80
cmp eax, ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], ebx
jbe 0x41308b
push ebx
lea ecx, [esp + 0x64]
call fcn.0044fd30
push eax
lea ecx, [esp + 0x2c]
call fcn.0044f040
push 0x4c
call sub.MFC42.DLL_operatornew
mov edi, eax
mov ecx, 0x13
xor eax, eax
add esp, 4
mov dword [esp + 0x14], edi
rep stosd dword es:[edi], eax
push 0x526028
lea ecx, [esp + 0x2c]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx], eax
push str.FBPrice
lea ecx, [esp + 0x2c]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov edx, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x28]
push str.YFBPrice
mov dword [edx + 0x18], eax
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + 0x1c], eax
push 0x525f70
lea ecx, [esp + 0x2c]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov edx, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x28]
push str.level
mov dword [edx + 0x10], eax
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + 0x14], eax
push str.price
lea ecx, [esp + 0x2c]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov edx, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x28]
push 0x525f58
mov dword [edx + 0x20], eax
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + 0xc], eax
push str.valid
lea ecx, [esp + 0x2c]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov edx, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x28]
push str.name
mov dword [edx + 0x24], eax
call fcn.0044fea0
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0040c8b0
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
push 0x1f
add ecx, 0x2c
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x14
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov edi, dword [ebp + 0x20]
sub edx, eax
sar edx, 2
cmp edx, 1
jae 0x412fee
mov ecx, esi
call fcn.004a9270
cmp eax, 1
jbe 0x412f57
mov ecx, esi
call fcn.004a9270
mov ebx, eax
jmp 0x412f5c
mov ebx, 1
mov ecx, esi
call fcn.004a9270
add eax, ebx
mov dword [esp + 0x54], eax
jns 0x412f6d
xor eax, eax
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esi + 4]
add esp, 4
mov ebx, eax
push ebx
push edi
push ecx
mov ecx, esi
call fcn.004b1440
lea edx, [esp + 0x14]
mov ecx, esi
push edx
push 1
push eax
mov dword [esp + 0x5c], eax
call fcn.004b1410
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 8]
add eax, 4
push eax
push ecx
push edi
mov ecx, esi
call fcn.004b1440
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, esi
call fcn.004a9290
mov eax, dword [esi + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x58]
add esp, 4
lea edx, [ebx + ecx*4]
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.004a9270
lea eax, [ebx + eax*4 + 4]
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x38]
mov dword [esi + 8], eax
jmp 0x41307a
mov ecx, eax
sub ecx, edi
sar ecx, 2
cmp ecx, 1
jae 0x41303c
lea edx, [edi + 4]
mov ecx, esi
push edx
push eax
push edi
call fcn.004b1440
mov eax, dword [esi + 8]
lea ecx, [esp + 0x14]
mov edx, eax
push ecx
sub edx, edi
mov ecx, 1
sar edx, 2
sub ecx, edx
push ecx
push eax
mov ecx, esi
call fcn.004b1410
mov eax, dword [esi + 8]
cmp edi, eax
je 0x413076
mov edx, dword [esp + 0x14]
mov dword [edi], edx
add edi, 4
cmp edi, eax
jne 0x41302d
jmp 0x413076
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.004b1440
mov ecx, dword [esi + 8]
lea eax, [ecx - 4]
cmp edi, eax
je 0x413062
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edi
mov dword [ecx], edx
jne 0x413053
lea eax, [edi + 4]
cmp edi, eax
je 0x413076
mov ecx, dword [esp + 0x14]
mov dword [edi], ecx
add edi, 4
cmp edi, eax
jne 0x413069
add dword [esi + 8], 4
mov eax, dword [esp + 0x44]
inc ebx
cmp ebx, eax
mov dword [esp + 0x38], ebx
jb 0x412dd5
push str.waterPool
lea ecx, [esp + 0x15c]
call fcn.0045b960
test eax, eax
je 0x41367d
lea edx, [esp + 0x24]
lea ecx, [esp + 0x158]
push edx
call fcn.004139e0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x244], 0x2f
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x240], 0xa
call sub.MFC42.DLL_CString::CString
xor ebp, ebp
lea ecx, [esp + 0x18]
push ebp
call sub.MFC42.DLL_CString::GetBuffer
mov esi, eax
mov al, byte [esp + 0x23]
mov byte [esp + 0x70], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x70]
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, ebx
jae 0x41311c
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov edi, dword [esp + 0x74]
cmp edi, ebp
je 0x413145
mov al, byte [edi - 1]
test al, al
je 0x413145
cmp al, 0xff
je 0x413145
cmp ebx, ebp
jne 0x413170
dec al
push ebp
lea ecx, [esp + 0x74]
mov byte [edi - 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 0x41319c
cmp ebx, ebp
jne 0x413157
push 1
lea ecx, [esp + 0x74]
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 0x41319c
mov eax, dword [esp + 0x7c]
cmp eax, 0x1f
ja 0x413164
cmp eax, ebx
jae 0x41317f
push 1
lea ecx, [esp + 0x74]
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 ebx
lea ecx, [esp + 0x74]
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 edi, dword [esp + 0x74]
mov ecx, ebx
push 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]
lea ecx, [esp + 0x74]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
xor ebp, ebp
lea eax, [esp + 0x138]
push 1
lea ecx, [esp + 0x74]
push eax
push ecx
lea ecx, [esp + 0xac]
mov byte [esp + 0x24c], 0x30
call fcn.0044a090
and eax, 0xff
mov byte [esp + 0x240], 0xa
mov esi, eax
mov eax, dword [esp + 0x74]
cmp eax, ebp
je 0x4131f3
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4131ea
cmp al, 0xff
je 0x4131ea
dec al
mov byte [ecx], al
jmp 0x4131f3
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp esi, ebp
je 0x41367d
xor esi, esi
mov ecx, dword [0x536d10]
mov eax, dword [ecx + 0x1100]
test eax, eax
je 0x413236
mov edx, dword [ecx + 0x1104]
sub edx, eax
sar edx, 2
cmp esi, edx
jae 0x413236
mov ecx, dword [eax + esi*4]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
inc esi
jmp 0x413208
mov eax, dword [ecx + 0x1104]
mov edx, dword [ecx + 0x1100]
lea esi, [ecx + 0x1104]
cmp eax, eax
mov ecx, eax
je 0x41325c
mov edi, dword [ecx]
add ecx, 4
mov dword [edx], edi
add edx, 4
cmp ecx, eax
jne 0x41324e
mov eax, dword [esi]
push str.fish_info
lea ecx, [esp + 0x13c]
mov dword [esp + 0x28], eax
mov dword [esi], edx
call fcn.0044fea0
push eax
lea ecx, [esp + 0x64]
call fcn.0044f040
lea ecx, [esp + 0x60]
call fcn.0044f140
cmp eax, 6
jne 0x41367d
lea ecx, [esp + 0x60]
call fcn.0044fc80
test eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], 0
jbe 0x41367d
mov ecx, dword [esp + 0x38]
push ecx
lea ecx, [esp + 0x64]
call fcn.0044fd30
push eax
lea ecx, [esp + 0x2c]
call fcn.0044f040
push 0x6c
call sub.MFC42.DLL_operatornew
mov esi, eax
mov ecx, 0x1b
xor eax, eax
mov edi, esi
add esp, 4
rep stosd dword es:[edi], eax
push str.crop_name
lea ecx, [esp + 0x2c]
call fcn.0044fea0
lea edx, [esp + 0x24]
push eax
push edx
call fcn.0040c8b0
mov eax, dword [eax]
push 0x13
push eax
push esi
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x14
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
push str.cycle
lea ecx, [esp + 0x2c]
call fcn.0044fea0
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0040c8b0
mov eax, dword [eax]
mov ebx, dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 8
lea edi, [esi + 0x1c]
lea ecx, [esi + 0x18]
lea edx, [esi + 0x14]
push edi
push ecx
push edx
push 0x525f18
push eax
call ebx
add esp, 0x14
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi]
push 0x525f70
lea ecx, [esp + 0x2c]
mov dword [esi + 0x20], eax
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esi + 0x24], eax
push 0x526028
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esi + 0x28], eax
push str.isMill
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esi + 0x2c], eax
push str.isRestaurant
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
push str.lock_crystal
lea ecx, [esp + 0x2c]
mov dword [esi + 0x30], eax
call fcn.0044fea0
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.0040c8b0
mov eax, dword [eax]
add esp, 8
lea edx, [esi + 0x38]
lea ecx, [esi + 0x34]
push edx
push ecx
push 0x525ee8
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString
push str.lock_money
lea ecx, [esp + 0x2c]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esi + 0x3c], eax
push str.mature
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esi + 0x40], eax
push str.output
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esi + 0x44], eax
push str.pool_size
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esi + 0x48], eax
push str.price
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esi + 0x4c], eax
push str.sale
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esi + 0x50], eax
push str.show
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov dword [esi + 0x54], eax
mov eax, dword [0x536d10]
add esp, 4
mov ecx, dword [eax + 0x1104]
mov edx, dword [eax + 0x1108]
lea ebp, [eax + 0x1108]
lea ebx, [eax + 0x1104]
mov edi, dword [eax + 0x1104]
sub edx, ecx
sar edx, 2
cmp edx, 1
jae 0x4135cb
mov edx, dword [eax + 0x1100]
add eax, 0x1100
test edx, edx
mov dword [esp + 0x40], eax
je 0x4134ff
mov eax, ecx
sub eax, edx
sar eax, 2
cmp eax, 1
ja 0x413504
mov eax, 1
test edx, edx
jne 0x41350c
xor ecx, ecx
jmp 0x413511
sub ecx, edx
sar ecx, 2
add eax, ecx
test eax, eax
mov dword [esp + 0x94], eax
jge 0x413520
xor eax, eax
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x9c], eax
mov ecx, dword [ecx]
cmp ecx, edi
je 0x41354f
test eax, eax
je 0x413545
mov edx, dword [ecx]
mov dword [eax], edx
add ecx, 4
add eax, 4
cmp ecx, edi
jne 0x41353d
test eax, eax
je 0x413555
mov dword [eax], esi
mov edx, dword [ebx]
lea ecx, [eax + 4]
cmp edi, edx
je 0x413578
mov esi, ecx
sub esi, eax
lea edi, [esi + edi - 4]
test ecx, ecx
je 0x41356e
mov eax, dword [edi]
mov dword [ecx], eax
add edi, 4
add ecx, 4
cmp edi, edx
jne 0x413566
mov esi, dword [esp + 0x40]
mov eax, dword [esi]
push eax
mov dword [esp + 0x154], eax
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x98]
add esp, 4
lea eax, [edx + ecx*4]
mov ecx, dword [esi]
test ecx, ecx
mov dword [ebp], eax
jne 0x4135b7
xor eax, eax
mov dword [esi], edx
lea ecx, [edx + eax*4 + 4]
mov dword [ebx], ecx
jmp 0x413668
mov eax, dword [ebx]
mov dword [esi], edx
sub eax, ecx
sar eax, 2
lea ecx, [edx + eax*4 + 4]
mov dword [ebx], ecx
jmp 0x413668
mov edx, ecx
sub edx, edi
sar edx, 2
cmp edx, 1
jae 0x413622
cmp edi, ecx
lea eax, [edi + 4]
je 0x4135f3
lea edx, [eax - 4]
test eax, eax
je 0x4135e9
mov ebp, dword [edx]
mov dword [eax], ebp
add edx, 4
add eax, 4
cmp edx, ecx
jne 0x4135e1
mov ecx, dword [ebx]
mov eax, 1
mov edx, ecx
sub edx, edi
sar edx, 2
sub eax, edx
je 0x413611
test ecx, ecx
je 0x41360b
mov dword [ecx], esi
add ecx, 4
dec eax
jne 0x413605
mov eax, dword [ebx]
cmp edi, eax
je 0x413665
mov dword [edi], esi
add edi, 4
cmp edi, eax
jne 0x413617
jmp 0x413665
lea eax, [ecx - 4]
mov edx, ecx
cmp eax, ecx
je 0x41363d
test edx, edx
je 0x413633
mov ebp, dword [eax]
mov dword [edx], ebp
add eax, 4
add edx, 4
cmp eax, ecx
jne 0x41362b
mov ecx, dword [ebx]
lea eax, [ecx - 4]
cmp edi, eax
je 0x413655
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edi
mov dword [ecx], edx
jne 0x413646
lea eax, [edi + 4]
cmp edi, eax
je 0x413665
mov dword [edi], esi
add edi, 4
cmp edi, eax
jne 0x41365c
add dword [ebx], 4
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
inc eax
cmp eax, ecx
mov dword [esp + 0x38], eax
jb 0x4132ae
mov eax, dword [esp + 0x128]
xor esi, esi
cmp eax, esi
mov byte [esp + 0x240], 0x31
je 0x4136af
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4136a6
cmp al, 0xff
je 0x4136a6
dec al
mov byte [ecx], al
jmp 0x4136af
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x104]
mov dword [esp + 0x128], esi
cmp eax, esi
mov dword [esp + 0x12c], esi
mov dword [esp + 0x130], esi
je 0x4136ec
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4136e3
cmp al, 0xff
je 0x4136e3
dec al
mov byte [ecx], al
jmp 0x4136ec
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x104], esi
cmp eax, esi
mov dword [esp + 0x108], esi
mov dword [esp + 0x10c], esi
je 0x413806
mov ecx, dword [esp + 0xdc]
push 1
mov eax, ecx
add ecx, 0x20
mov dword [esp + 0xe0], 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 + 0xfc]
dec eax
mov dword [esp + 0xfc], eax
je 0x413755
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0xd8]
cmp eax, ecx
jne 0x4137f9
mov eax, dword [esp + 0xe0]
mov ecx, eax
add eax, 4
mov dword [esp + 0xe0], eax
mov ecx, dword [ecx]
push ecx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x100]
add esp, 4
cmp eax, esi
jne 0x4137ce
xor ecx, ecx
xor eax, eax
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xe8], ecx
mov ecx, dword [esp + 0xf4]
xor edx, edx
push ecx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe8], eax
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x4137f9
mov ecx, dword [esp + 0xe0]
mov eax, dword [ecx]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xd4], eax
mov dword [esp + 0xdc], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0xd8], edx
cmp dword [esp + 0xfc], esi
jne 0x413710
cmp dword [esp + 0xcc], esi
je 0x4138fa
mov edi, 4
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xcc]
add ecx, edi
dec eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xcc], eax
je 0x41384a
mov eax, dword [esp + 0xa8]
mov edx, ecx
cmp edx, eax
jne 0x4138ed
mov ecx, dword [esp + 0xb0]
mov eax, ecx
add ecx, edi
mov dword [esp + 0xb0], ecx
mov eax, dword [eax]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0xd0]
add esp, 4
cmp eax, esi
jne 0x4138c2
xor eax, eax
xor ecx, ecx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xc4]
xor edx, edx
push eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x4138ed
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xac], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0xa8], edx
cmp dword [esp + 0xcc], esi
jne 0x413818
lea ecx, [esp + 0x188]
mov byte [esp + 0x240], 8
call fcn.0044eec0
lea ecx, [esp + 0x28]
mov byte [esp + 0x240], 7
call fcn.0044eec0
lea ecx, [esp + 0x60]
mov byte [esp + 0x240], 6
call fcn.0044eec0
lea ecx, [esp + 0x138]
mov byte [esp + 0x240], 5
call fcn.0044eec0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x240], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x240], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x240], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x240], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x158]
mov byte [esp + 0x240], 0
call fcn.0045b170
lea ecx, [esp + 0x248]
mov dword [esp + 0x240], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x234
ret 4