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

Disassembly:
push 0xffffffffffffffff
push 0x50003a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], esi
call sub.MFC42.DLL_CString::CString_4
xor edi, edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x114], edi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x40]
mov byte [esp + 0x114], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x24]
mov byte [esp + 0x114], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x18]
mov byte [esp + 0x114], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x114], 4
call fcn.00463770
lea ecx, [esp + 0x48]
mov byte [esp + 0x114], 5
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x4c]
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 + 0x40]
lea ecx, [esp + 0x3c]
push eax
mov eax, dword [0x536d10]
lea edx, [esp + 0x3c]
mov bl, 9
push ecx
push edx
lea ecx, [eax + 0xd74]
mov byte [esp + 0x120], bl
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], edi
call fcn.00466ee0
mov ebp, dword [esp + 0x11c]
mov ecx, dword [ebp + 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x526348
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
call fcn.00463980
push ecx
lea edx, [esp + 0x3c]
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 + 0x1c], esp
push str.farmTime
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x11c], bl
call fcn.004637f0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.bitpos
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
call fcn.00463980
mov edi, dword [esp + 0x120]
mov eax, dword [edi + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.time
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
call fcn.00463980
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x18], 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.pastureKey
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x11c], bl
call fcn.004637f0
push ecx
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x18], 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.farmKey
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x11c], bl
call fcn.004637f0
mov eax, dword [0x536d10]
mov ecx, dword [ebp + 0x18]
xor edx, edx
cmp ecx, dword [eax + 0xdd0]
setne dl
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x52f340
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
call fcn.00463980
mov ecx, dword [0x536d10]
mov edx, dword [ecx + 0xdd0]
push edx
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
mov eax, dword [edi + 4]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x526028
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 + 0x28]
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 + 0x30]
call fcn.00404830
push eax
push 0
lea ecx, [esp + 0x38]
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 ecx, dword [ebp + 0x18]
mov edx, dword [edi]
mov eax, dword [ebp + 0x44]
xor ecx, edx
push ecx
mov byte [esp + 0x130], 0xe
mov edx, esp
mov dword [esp + 0x124], esp
push ecx
push 0xc
push eax
push edx
mov ecx, esi
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 + 0x1c]
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
push 1
mov eax, dword [edx + 0x17c]
lea ecx, [edx + 0x17c]
call dword [eax + 4]
push 0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
mov cl, byte [esp + 0x47]
mov esi, eax
mov byte [esp + 0x28], cl
xor eax, eax
mov edi, esi
or ecx, 0xffffffff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esp + 0x2c]
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 0x4d92c9
mov ecx, edi
mov edi, dword [esp + 0x2c]
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 + 0x2c]
mov dword [esp + 0x30], eax
mov byte [ecx + eax], 0
lea edx, [esp + 0xf8]
push 1
lea eax, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x120], 0x10
call fcn.0044a090
and eax, 0xff
xor edi, edi
mov esi, eax
mov eax, dword [esp + 0x2c]
cmp eax, edi
mov dword [esp + 0x10], esi
mov byte [esp + 0x114], bl
je 0x4d9322
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d9319
cmp al, 0xff
je 0x4d9319
dec al
mov byte [ecx], al
jmp 0x4d9322
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp esi, edi
je 0x4d9394
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 + 0x4c]
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 dword [esp + 0x10], eax
mov esi, eax
jmp 0x4d93c0
mov edx, dword [esp + 0x18]
push 0x5307a8
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4d93b2
push 0x5266e0
jmp 0x4d93b7
push 0x5266d4
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [0x536d10]
push ebp
add eax, 0xd74
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x68]
push esi
call fcn.004d40b0
mov esi, dword [esp + 0x124]
cmp esi, edi
je 0x4d9414
lea edx, [esp + 0x48]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::operator_2
lea eax, [esp + 0x4c]
lea ecx, [esi + 4]
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0xe8]
mov byte [esp + 0x114], 0x12
cmp eax, edi
je 0x4d9444
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d943b
cmp al, 0xff
je 0x4d943b
dec al
mov byte [ecx], al
jmp 0x4d9444
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xe8], edi
cmp eax, edi
mov dword [esp + 0xec], edi
mov dword [esp + 0xf0], edi
je 0x4d9481
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d9478
cmp al, 0xff
je 0x4d9478
dec al
mov byte [ecx], al
jmp 0x4d9481
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xc4], edi
cmp eax, edi
mov dword [esp + 0xc8], edi
mov dword [esp + 0xcc], edi
je 0x4d95ae
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 0x4d94ea
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
cmp ecx, eax
jne 0x4d95a1
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, edi
jne 0x4d9576
lea ecx, [esp + 0x28]
call fcn.004051c0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
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], esi
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb4], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x4d95a1
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], edi
jne 0x4d94a5
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x114], 8
cmp eax, edi
je 0x4d968c
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 0x4d95ef
mov eax, ecx
mov ecx, dword [esp + 0x68]
cmp eax, ecx
jne 0x4d967f
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, edi
jne 0x4d9663
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 + 0x68], ecx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x64], eax
push ecx
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 0x4d967f
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], edi
jne 0x4d95c5
lea ecx, [esp + 0xf8]
mov byte [esp + 0x114], 7
call fcn.0044eec0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x114], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x114], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x114], 4
call fcn.004637b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x114], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x114], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x114], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x114], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x114], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x108
ret 0xc