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

Disassembly:
push 0xffffffffffffffff
push 0x4ff6da
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
push ebp
mov dword [esp + 0x40], ecx
push esi
push edi
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_4
xor edi, edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x114], edi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x34]
mov byte [esp + 0x114], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x20]
mov byte [esp + 0x114], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x14]
mov byte [esp + 0x114], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x18]
mov byte [esp + 0x114], 4
call fcn.00463770
lea ecx, [esp + 0x4c]
mov byte [esp + 0x114], 5
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x50]
mov byte [esp + 0x114], 6
call sub.MFC42.DLL_CString::CString_4
push edi
lea ecx, [esp + 0xfc]
mov byte [esp + 0x118], 7
call fcn.0044e9a0
lea ecx, [esp + 0x60]
mov byte [esp + 0x114], 8
call fcn.0044a000
lea eax, [esp + 0x34]
lea ecx, [esp + 0x30]
push eax
mov eax, dword [0x536d10]
lea edx, [esp + 0x30]
mov bl, 9
push ecx
push edx
lea ecx, [eax + 0xd74]
mov byte [esp + 0x120], bl
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x68], edi
call fcn.00466ee0
mov esi, dword [esp + 0x120]
mov ecx, dword [esi + 4]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x526028
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
call fcn.00463980
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.farm
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
call fcn.00463980
mov edx, dword [esi + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.time
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
call fcn.00463980
mov ebp, dword [esp + 0x11c]
mov edx, dword [0x536d10]
xor ecx, ecx
mov eax, dword [ebp + 0x18]
cmp eax, dword [edx + 0xdd0]
setne cl
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x52f340
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
call fcn.00463980
mov eax, dword [ebp + 0x18]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x526348
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
call fcn.00463980
mov ecx, dword [esi]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.index
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
call fcn.00463980
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x11c], 0xa
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.farmTime
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x11c], bl
call fcn.004637f0
mov eax, dword [0x536d10]
mov ecx, dword [eax + 0xdd0]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.uIdx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
call fcn.00463980
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x11c], 0xb
mov ecx, esp
mov dword [esp + 0x18], esp
push str.farmKey
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x11c], bl
call fcn.004637f0
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x11c], 0xc
mov ecx, esp
mov dword [esp + 0x18], esp
push str.pastureKey
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x11c], bl
call fcn.004637f0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004637d0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x118], 0xd
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 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 + 0x2c]
call fcn.00404830
push eax
push edi
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x5366d8
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esi]
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x44]
xor ecx, esi
mov esi, dword [esp + 0x60]
push ecx
mov edx, esp
mov dword [esp + 0x124], esp
push ecx
push 2
push eax
push edx
mov ecx, esi
mov byte [esp + 0x140], 0xe
call fcn.004ce0e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x130], bl
push ecx
mov ecx, esi
call fcn.004d34a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x118], 0xf
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [0x536d10]
push 1
mov eax, dword [edx + 0x17c]
lea ecx, [edx + 0x17c]
push 1
call dword [eax + 4]
push edi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
mov cl, byte [esp + 0x2b]
mov esi, eax
mov byte [esp + 0x38], cl
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], 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 + 0x3c]
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 0x4d3045
mov ecx, edi
mov edi, dword [esp + 0x3c]
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 + 0x3c]
mov dword [esp + 0x40], eax
mov byte [ecx + eax], 0
lea edx, [esp + 0xf8]
push 1
lea eax, [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x120], 0x10
call fcn.0044a090
and eax, 0xff
xor esi, esi
mov edi, eax
mov eax, dword [esp + 0x3c]
cmp eax, esi
mov byte [esp + 0x114], bl
je 0x4d309a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d3091
cmp al, 0xff
je 0x4d3091
dec al
mov byte [ecx], al
jmp 0x4d309a
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp edi, esi
je 0x4d3108
push str.direction
lea ecx, [esp + 0xfc]
call fcn.0044fea0
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.0040c8b0
add esp, 8
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x118], 0x11
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], bl
call sub.MFC42.DLL_CString::CString
push str.code
lea ecx, [esp + 0xfc]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
mov edi, eax
jmp 0x4d3134
mov edx, dword [esp + 0x14]
push 0x5307a8
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4d3126
push 0x5266e0
jmp 0x4d312b
push 0x5266d4
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [0x536d10]
push ebp
add eax, 0xd74
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x54]
push edi
call fcn.004d40b0
mov ebx, dword [esp + 0x124]
cmp ebx, esi
je 0x4d3188
lea edx, [esp + 0x4c]
mov ecx, ebx
push edx
call sub.MFC42.DLL_CString::operator_2
lea eax, [esp + 0x50]
lea ecx, [ebx + 4]
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0xe8]
mov byte [esp + 0x114], 0x12
cmp eax, esi
je 0x4d31b8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d31af
cmp al, 0xff
je 0x4d31af
dec al
mov byte [ecx], al
jmp 0x4d31b8
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xe8], esi
cmp eax, esi
mov dword [esp + 0xec], esi
mov dword [esp + 0xf0], esi
je 0x4d31f5
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d31ec
cmp al, 0xff
je 0x4d31ec
dec al
mov byte [ecx], al
jmp 0x4d31f5
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xc4], esi
cmp eax, esi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], esi
je 0x4d3322
mov ecx, dword [esp + 0x9c]
push 1
mov eax, ecx
add ecx, 0x20
mov dword [esp + 0xa0], 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 + 0xbc]
dec eax
mov dword [esp + 0xbc], eax
je 0x4d325e
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
cmp ecx, eax
jne 0x4d3315
mov eax, dword [esp + 0xa0]
mov ecx, eax
add eax, 4
mov dword [esp + 0xa0], eax
mov ecx, dword [ecx]
push ecx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0xc0]
add esp, 4
cmp eax, esi
jne 0x4d32ea
lea ecx, [esp + 0x38]
call fcn.004051c0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x94], eax
push edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb4], ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x4d3315
mov ecx, dword [esp + 0xa0]
mov eax, dword [ecx]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x94], eax
mov dword [esp + 0x9c], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x98], edx
cmp dword [esp + 0xbc], esi
jne 0x4d3219
cmp dword [esp + 0x8c], esi
je 0x4d33df
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x8c]
add ecx, 4
dec eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x8c], eax
je 0x4d3355
mov eax, ecx
mov ecx, dword [esp + 0x68]
cmp eax, ecx
jne 0x4d33d2
mov ecx, dword [esp + 0x70]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x70], ecx
mov eax, dword [eax]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x90]
add esp, 4
cmp eax, esi
jne 0x4d33b6
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x84]
xor edx, edx
push ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x4d33d2
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x68], edx
cmp dword [esp + 0x8c], esi
jne 0x4d332f
lea ecx, [esp + 0xf8]
mov byte [esp + 0x114], 7
call fcn.0044eec0
lea ecx, [esp + 0x50]
mov byte [esp + 0x114], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x114], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x114], 4
call fcn.004637b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x114], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x114], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x114], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x114], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x114], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10c]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x108
ret 0xc