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

Disassembly:
push 0xffffffffffffffff
push 0x4ff1f4
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 + 0x30]
call sub.MFC42.DLL_CString::CString_4
xor esi, esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x110], esi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x24]
mov byte [esp + 0x110], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x14]
mov byte [esp + 0x110], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x18]
mov byte [esp + 0x110], 3
call fcn.00463770
lea ecx, [esp + 0x44]
mov byte [esp + 0x110], 4
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x48]
mov byte [esp + 0x110], 5
call sub.MFC42.DLL_CString::CString_4
push esi
lea ecx, [esp + 0xf8]
mov byte [esp + 0x114], 6
call fcn.0044e9a0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x110], 7
call fcn.0044a000
mov edx, dword [0x536d10]
push esi
lea eax, [esp + 0x2c]
push esi
lea ecx, [esp + 0x38]
push eax
push ecx
lea ecx, [edx + 0x17c]
mov byte [esp + 0x120], 8
mov dword [esp + 0x68], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
call fcn.0040f9f0
mov edi, dword [esp + 0x11c]
mov eax, dword [edi + 4]
push eax
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 1
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 ecx, dword [edi + 0x10]
push ecx
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 ebx, dword [esp + 0x118]
mov edx, dword [ebp + 0x58]
xor ecx, ecx
mov eax, dword [ebx + 0x20]
cmp eax, dword [edx + 0x20]
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 edx, dword [ebx + 0x20]
push edx
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 eax, dword [edi]
push eax
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 + 0x34]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x118], 9
mov ecx, esp
mov dword [esp + 0x28], esp
push str.farmTime
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x118], 8
call fcn.004637f0
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax + 0x20]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.uIdx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
call fcn.00463980
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x118], 0xa
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 + 0x118], 8
call fcn.004637f0
cmp dword [ebx + 0x58], 1
jne 0x4cfec2
mov eax, dword [ebx + 0x24]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x526324
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
call fcn.00463980
mov ecx, dword [ebp + 0x58]
mov edx, dword [ecx + 0x24]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x52631c
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
call fcn.00463980
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call fcn.004637d0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x114], 0xb
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x110], 8
call sub.MFC42.DLL_CString::CString
mov ecx, dword [0x536d10]
push 1
add ecx, 0x17c
push 1
mov edx, dword [ecx]
call dword [edx + 4]
push 1
push 1
push 1
lea ecx, [esp + 0x30]
call fcn.00404830
push eax
push esi
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x530ac0
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [ebx + 0x20]
mov eax, dword [edi]
mov edx, dword [ebx + 0x58]
push ecx
xor eax, ecx
mov ecx, esp
mov dword [esp + 0x120], esp
push eax
push 2
push edx
push ecx
mov ecx, ebp
mov byte [esp + 0x13c], 0xc
call fcn.004ce0e0
lea eax, [esp + 0x2c]
mov ecx, ebp
push eax
mov byte [esp + 0x130], 8
call fcn.004d34a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x114], 0xd
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x110], 8
call sub.MFC42.DLL_CString::CString
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, dword [0x536d10]
push 1
add ecx, 0x17c
push esi
mov edx, dword [ecx]
call dword [edx + 4]
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
mov esi, eax
mov al, byte [esp + 0x2f]
mov byte [esp + 0x34], al
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov edi, esi
or ecx, 0xffffffff
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esp + 0x38]
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 0x4d0017
mov ecx, edi
mov edi, dword [esp + 0x38]
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 + 0x38]
mov dword [esp + 0x3c], eax
mov byte [ecx + eax], 0
lea edx, [esp + 0xf4]
push 1
lea eax, [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x11c], 0xe
call fcn.0044a090
and eax, 0xff
xor esi, esi
mov edi, eax
mov eax, dword [esp + 0x38]
cmp eax, esi
mov byte [esp + 0x110], 8
je 0x4d006d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d0064
cmp al, 0xff
je 0x4d0064
dec al
mov byte [ecx], al
jmp 0x4d006d
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 0x4d00dc
push str.direction
lea ecx, [esp + 0xf8]
call fcn.0044fea0
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.0040c8b0
add esp, 8
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x114], 0xf
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x110], 8
call sub.MFC42.DLL_CString::CString
push str.code
lea ecx, [esp + 0xf8]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
mov edi, eax
jmp 0x4d0108
mov edx, dword [esp + 0x14]
push 0x5307a8
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4d00fa
push 0x5266e0
jmp 0x4d00ff
push 0x5266d4
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [0x536d10]
push ebx
add eax, 0x17c
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
mov ecx, ebp
call fcn.004d41b0
mov ebx, dword [esp + 0x120]
cmp ebx, esi
je 0x4d0161
lea edx, [esp + 0x44]
mov ecx, ebx
push edx
call sub.MFC42.DLL_CString::operator_2
lea eax, [esp + 0x48]
lea ecx, [ebx + 4]
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
mov eax, dword [esp + 0xe4]
mov byte [esp + 0x110], 0x10
cmp eax, esi
je 0x4d0191
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d0188
cmp al, 0xff
je 0x4d0188
dec al
mov byte [ecx], al
jmp 0x4d0191
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xe4], esi
cmp eax, esi
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], esi
je 0x4d01ce
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d01c5
cmp al, 0xff
je 0x4d01c5
dec al
mov byte [ecx], al
jmp 0x4d01ce
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xc0], esi
cmp eax, esi
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], esi
je 0x4d02fb
mov ecx, dword [esp + 0x98]
push 1
mov eax, ecx
add ecx, 0x20
mov dword [esp + 0x9c], 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 + 0xb8]
dec eax
mov dword [esp + 0xb8], eax
je 0x4d0237
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
cmp edx, eax
jne 0x4d02ee
mov eax, dword [esp + 0x9c]
mov ecx, eax
add eax, 4
mov dword [esp + 0x9c], eax
mov ecx, dword [ecx]
push ecx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0xbc]
add esp, 4
cmp eax, esi
jne 0x4d02c3
lea ecx, [esp + 0x34]
call fcn.004051c0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x90], eax
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x94], ecx
push eax
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x4d02ee
mov ecx, dword [esp + 0x9c]
mov eax, dword [ecx]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x94], edx
cmp dword [esp + 0xb8], esi
jne 0x4d01f2
cmp dword [esp + 0x88], esi
je 0x4d03b1
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x88]
add ecx, 4
dec eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x88], eax
je 0x4d032a
cmp ecx, dword [esp + 0x64]
jne 0x4d03a4
mov ecx, dword [esp + 0x6c]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x6c], ecx
mov eax, dword [eax]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x8c]
add esp, 4
cmp eax, esi
jne 0x4d0388
xor edx, edx
xor eax, eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x80]
xor ecx, ecx
push edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x4d03a4
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x64], edx
cmp dword [esp + 0x88], esi
jne 0x4d0308
lea ecx, [esp + 0xf4]
mov byte [esp + 0x110], 6
call fcn.0044eec0
lea ecx, [esp + 0x48]
mov byte [esp + 0x110], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x110], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x110], 3
call fcn.004637b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x110], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x110], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x110], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x110], 0xffffffff
call sub.MFC42.DLL_CString::CString
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 0xc