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

Disassembly:
push 0xffffffffffffffff
push 0x4f8d38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x1c]
call fcn.00463770
xor edi, edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x110], edi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x28]
mov byte [esp + 0x110], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x48]
mov byte [esp + 0x110], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x18]
mov byte [esp + 0x110], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x24]
mov byte [esp + 0x110], 4
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x6c]
mov byte [esp + 0x110], 5
call fcn.0044a000
push edi
lea ecx, [esp + 0x60]
mov byte [esp + 0x114], 6
call fcn.0044e9a0
lea ecx, [esp + 0x34]
mov byte [esp + 0x110], 7
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x38]
mov byte [esp + 0x110], 8
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0x2c]
push edi
lea ecx, [esp + 0x2c]
push eax
mov bl, 9
push ecx
mov ecx, ebp
mov byte [esp + 0x11c], bl
call fcn.00466ee0
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.yellow
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
call fcn.00463980
mov esi, dword [esp + 0x118]
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.itemId
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
call fcn.00463980
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov byte [esp + 0x114], 0xa
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.farmTime
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x118], bl
call fcn.004637f0
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.msgBool
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
call fcn.00463980
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.skinBool
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
call fcn.00463980
push ecx
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x118], 0xb
mov ecx, esp
mov dword [esp + 0x18], esp
push str.pastureKey
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x118], bl
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 + 0x118], 0xc
mov ecx, esp
mov dword [esp + 0x18], esp
push str.farmKey
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x118], bl
call fcn.004637f0
mov eax, dword [ebp + 0x5c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.uIdx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
call fcn.00463980
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call fcn.004637d0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x114], 0xd
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x110], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [0x536d10]
push 1
push 1
mov eax, dword [edx + 0x17c]
lea ecx, [edx + 0x17c]
call dword [eax + 4]
push 1
push 1
push 1
lea ecx, [esp + 0x24]
call fcn.00404830
push eax
push edi
lea ecx, [esp + 0x2c]
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 edx, dword [ebp + 0x88]
push ecx
mov ecx, esp
mov dword [esp + 0x120], esp
push esi
push 0x1d
push edx
push ecx
mov ecx, ebp
mov byte [esp + 0x13c], 0xe
call fcn.00475130
lea eax, [esp + 0x2c]
mov ecx, ebp
push eax
mov byte [esp + 0x130], bl
call fcn.0046da00
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x114], 0xf
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x110], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [0x536d10]
push 1
add ecx, 0x17c
push edi
mov edx, dword [ecx]
call dword [edx + 4]
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::ReleaseBuffer
push edi
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::GetBuffer
mov esi, eax
mov al, byte [esp + 0x33]
mov byte [esp + 0x4c], al
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esp + 0x50]
push edi
mov dword [esp + 0x18], edi
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 0x47e631
mov ecx, edi
mov edi, dword [esp + 0x50]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x54], eax
mov byte [ecx + eax], 0
lea edx, [esp + 0x5c]
push 1
lea eax, [esp + 0x50]
push edx
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x11c], 0x10
call fcn.0044a090
and eax, 0xff
xor esi, esi
mov edi, eax
mov eax, dword [esp + 0x50]
cmp eax, esi
mov byte [esp + 0x110], bl
je 0x47e683
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x47e67a
cmp al, 0xff
je 0x47e67a
dec al
mov byte [ecx], al
jmp 0x47e683
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp edi, esi
je 0x47e6a4
lea ecx, [esp + 0x5c]
call fcn.0044f140
cmp eax, 7
je 0x47e756
push 0x5266d4
lea ecx, [esp + 0x38]
xor edi, edi
call sub.MFC42.DLL_CString::operator_3
mov ebx, dword [esp + 0x11c]
cmp ebx, esi
je 0x47e6ed
lea eax, [esp + 0x34]
mov ecx, ebx
push eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebx + 4]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x110], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x110], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0x110], 6
call fcn.0044eec0
mov eax, dword [esp + 0xf4]
mov byte [esp + 0x110], 0x14
cmp eax, esi
je 0x47e875
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x47e86c
cmp al, 0xff
je 0x47e86c
dec al
mov byte [ecx], al
jmp 0x47e875
push str.code
lea ecx, [esp + 0x60]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov edi, eax
add esp, 4
cmp edi, esi
je 0x47e7d0
push str.addExp
lea ecx, [esp + 0x60]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x40], eax
push str.money
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov ecx, dword [esp + 0x44]
mov edx, dword [ebp + 0x64]
add edx, ecx
mov ecx, dword [ebp + 0x68]
add esp, 4
add ecx, eax
mov dword [ebp + 0x64], edx
mov dword [ebp + 0x68], ecx
mov edx, dword [0x536d10]
mov ebp, ecx
mov dword [esp + 0x44], eax
mov dword [edx + 0x28c], ebp
jmp 0x47e6b4
push str.errorContent
lea ecx, [esp + 0x60]
call fcn.0044fea0
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0040c8b0
add esp, 8
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x114], 0x11
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x110], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x34]
push 0x5307a8
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x47e6b4
push str.direction
lea ecx, [esp + 0x60]
call fcn.0044fea0
lea edx, [esp + 0x10]
push eax
push edx
call fcn.0040c8b0
add esp, 8
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x114], 0x12
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x110], bl
call sub.MFC42.DLL_CString::CString
jmp 0x47e6b4
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xf4], esi
cmp eax, esi
mov dword [esp + 0xf8], esi
mov dword [esp + 0xfc], esi
je 0x47e8b2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x47e8a9
cmp al, 0xff
je 0x47e8a9
dec al
mov byte [ecx], al
jmp 0x47e8b2
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xd0], esi
cmp eax, esi
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], esi
je 0x47e9cc
mov ecx, dword [esp + 0xa8]
push 1
mov eax, ecx
add ecx, 0x20
mov dword [esp + 0xac], 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 + 0xc8]
dec eax
mov dword [esp + 0xc8], eax
je 0x47e91b
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
cmp edx, eax
jne 0x47e9bf
mov eax, dword [esp + 0xac]
mov ecx, eax
add eax, 4
mov dword [esp + 0xac], eax
mov ecx, dword [ecx]
push ecx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0xcc]
add esp, 4
cmp eax, esi
jne 0x47e994
xor eax, eax
xor ecx, ecx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xc0]
xor edx, edx
push eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x47e9bf
mov ecx, dword [esp + 0xac]
mov eax, dword [ecx]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0xa4], edx
cmp dword [esp + 0xc8], esi
jne 0x47e8d6
cmp dword [esp + 0x98], esi
je 0x47ea92
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x98]
add ecx, 4
dec eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x98], eax
je 0x47e9ff
cmp ecx, dword [esp + 0x74]
jne 0x47ea85
mov ecx, dword [esp + 0x7c]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x7c], ecx
mov eax, dword [eax]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x9c]
add esp, 4
cmp eax, esi
jne 0x47ea69
xor edx, edx
xor eax, eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x90]
xor ecx, ecx
push edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x90], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x47ea85
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x74], edx
cmp dword [esp + 0x98], esi
jne 0x47e9d9
lea ecx, [esp + 0x24]
mov byte [esp + 0x110], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x110], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x110], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x110], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x110], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x110], 0xffffffff
call fcn.004637b0
mov ecx, dword [esp + 0x108]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x104
ret 8