Function at 0x42b420
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4f1c5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CString::CString_4
xor edi, edi
lea ecx, [esp + 0x68]
mov dword [esp + 0x140], edi
call sub.MFC42.DLL_CString::CString_4
mov esi, 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x140], esi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x24]
mov byte [esp + 0x140], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x38]
mov byte [esp + 0x140], 3
call fcn.00463770
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 4
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x34]
mov byte [esp + 0x140], 5
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x140], 6
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], 7
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 8
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x8c]
mov byte [esp + 0x140], 9
call fcn.0044a000
push edi
lea ecx, [esp + 0x128]
mov byte [esp + 0x144], 0xa
call fcn.0044e9a0
push edi
lea ecx, [esp + 0x80]
mov byte [esp + 0x144], 0xb
call fcn.0044e9a0
push edi
lea eax, [esp + 0x38]
push edi
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x38]
xor ebx, ebx
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x154], 0xc
mov dword [esp + 0x54], edi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.00429b90
cmp dword [ebp + 0x130], esi
jne 0x42b585
mov eax, dword [ebp + 0xfc]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x52631c
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x40]
call fcn.00463980
mov ecx, dword [ebp + 0xf8]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.uIdx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x40]
call fcn.00463980
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x148], 0xd
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.farmKey
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x40]
mov byte [esp + 0x148], 0xc
call fcn.004637f0
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x148], 0xe
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.farmKey2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x40]
mov byte [esp + 0x148], 0xc
call fcn.004637f0
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x148], 0xf
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.farmTime
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x40]
mov byte [esp + 0x148], 0xc
call fcn.004637f0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x38]
push eax
call fcn.004637d0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x144], 0x10
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 0xc
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp]
push esi
push esi
mov ecx, ebp
call dword [edx + 4]
push esi
push esi
push esi
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 + 0x34], esp
push 0x530ac0
call sub.MFC42.DLL_CString::CString_3
push ecx
mov ecx, dword [ebp + 0x130]
mov eax, esp
mov dword [esp + 0x150], esp
push edi
push 0x29
push ecx
push eax
mov ecx, ebp
mov byte [esp + 0x16c], 0x11
call fcn.00418720
lea edx, [esp + 0x30]
mov ecx, ebp
push edx
mov byte [esp + 0x160], 0xc
call fcn.00410fa0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], 0x12
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp]
push esi
push edi
mov ecx, ebp
call dword [eax + 4]
push edi
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::GetBuffer
mov cl, byte [esp + 0x33]
mov esi, eax
mov byte [esp + 0x54], cl
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], 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 + 0x58]
push edi
mov dword [esp + 0x1c], 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 0x42b785
mov ecx, edi
mov edi, dword [esp + 0x58]
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 + 0x58]
mov dword [esp + 0x5c], eax
mov byte [ecx + eax], 0
lea edx, [esp + 0x124]
push 1
lea eax, [esp + 0x58]
push edx
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0x14c], 0x13
call fcn.0044a090
and eax, 0xff
xor edi, edi
mov esi, eax
mov eax, dword [esp + 0x58]
cmp eax, edi
mov dword [esp + 0x14], esi
mov byte [esp + 0x140], 0xc
je 0x42b7e2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x42b7d9
cmp al, 0xff
je 0x42b7d9
dec al
mov byte [ecx], al
jmp 0x42b7e2
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp esi, edi
je 0x42bada
push str.code
lea ecx, [esp + 0x128]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
cmp eax, edi
mov dword [esp + 0x14], eax
je 0x42ba96
push 0x526918
lea ecx, [esp + 0x128]
call fcn.0044fea0
push eax
lea ecx, [esp + 0x80]
call fcn.0044f040
lea ecx, [esp + 0x7c]
call fcn.0044f140
cmp eax, 6
jne 0x42ba82
lea ecx, [esp + 0x7c]
call fcn.0044fc80
cmp eax, 0xa
jb 0x42b867
mov edx, dword [ebp]
push 0x526cc0
push edi
mov ecx, ebp
call dword [edx + 8]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x14], 1
xor esi, esi
call fcn.0044fc80
test eax, eax
jbe 0x42b8ec
push 0x526b68
push esi
lea ecx, [esp + 0x84]
call fcn.0044fd30
mov ecx, eax
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
mov ebx, eax
lea eax, [esp + 0x64]
lea ecx, [esp + 0x7c]
push eax
push 0x526028
push esi
call fcn.0044fd30
mov ecx, eax
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
mov ecx, ebp
push eax
push ebx
call fcn.0042a8e0
mov eax, dword [esp + ebx*4 + 0x40]
lea ebx, [esp + ebx*4 + 0x40]
inc eax
lea ecx, [esp + 0x7c]
mov dword [ebx], eax
inc esi
call fcn.0044fc80
cmp esi, eax
jb 0x42b87e
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
lea edx, [ebx + ecx]
add edx, ebp
add edx, esi
je 0x42ba29
push 0x5307a8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_3
test esi, esi
je 0x42b95c
push esi
lea eax, [esp + 0x1c]
push 0x526cb4
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
push 0x5307a8
push ecx
call edi
add esp, 0x14
test eax, eax
je 0x42b94e
push 0x5236a4
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push edx
call fcn.004e96da
test ebp, ebp
je 0x42b99f
push ebp
lea eax, [esp + 0x1c]
push 0x526ca8
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
push 0x5307a8
push ecx
call edi
add esp, 0x14
test eax, eax
je 0x42b991
push 0x5236a4
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push edx
call fcn.004e96da
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x42b9e6
push eax
lea eax, [esp + 0x1c]
push 0x526c9c
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
push 0x5307a8
push ecx
call edi
add esp, 0x14
test eax, eax
je 0x42b9d8
push 0x5236a4
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push edx
call fcn.004e96da
test ebx, ebx
je 0x42ba29
push ebx
lea eax, [esp + 0x1c]
push 0x526c90
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
push 0x5307a8
push ecx
call edi
add esp, 0x14
test eax, eax
je 0x42ba1b
push 0x5236a4
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push edx
call fcn.004e96da
mov eax, dword [esp + 0x40]
test eax, eax
je 0x42ba70
push eax
lea eax, [esp + 0x1c]
push 0x526c88
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
push 0x5307a8
push ecx
call edi
add esp, 0x14
test eax, eax
je 0x42ba62
push 0x5236a4
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push edx
call fcn.004e96da
lea eax, [esp + 0x10]
lea ecx, [esp + 0x68]
push eax
call sub.MFC42.DLL_CString::operator_2
xor edi, edi
jmp 0x42bae8
push 0x526c4c
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CString::operator_3
mov dword [esp + 0x14], edi
jmp 0x42bae8
push str.errorContent
lea ecx, [esp + 0x128]
call fcn.0044fea0
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0040c8b0
add esp, 8
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x144], 0x14
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 0xc
call sub.MFC42.DLL_CString::CString
jmp 0x42bae8
push 0x5266d4
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CString::operator_3
mov esi, dword [esp + 0x148]
cmp esi, edi
je 0x42bb28
lea edx, [esp + 0x64]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::operator_2
lea eax, [esp + 0x68]
lea ecx, [esi + 4]
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x78]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x140], 0xb
call fcn.0044eec0
lea ecx, [esp + 0x124]
mov byte [esp + 0x140], 0xa
call fcn.0044eec0
mov eax, dword [esp + 0x114]
mov byte [esp + 0x140], 0x15
cmp eax, edi
je 0x42bb7d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x42bb74
cmp al, 0xff
je 0x42bb74
dec al
mov byte [ecx], al
jmp 0x42bb7d
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0x114], edi
cmp ecx, edi
mov dword [esp + 0x118], edi
mov dword [esp + 0x11c], edi
je 0x42bbb8
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x42bbaf
cmp al, 0xff
je 0x42bbaf
dec al
mov byte [ecx], al
jmp 0x42bbb8
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xe8]
mov dword [esp + 0xf0], edi
cmp eax, edi
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf8], edi
je 0x42bcd4
mov ecx, dword [esp + 0xc8]
push 1
mov eax, ecx
add ecx, 0x20
mov dword [esp + 0xcc], 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 + 0xe8]
dec eax
mov dword [esp + 0xe8], eax
je 0x42bc21
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0xc4]
cmp edx, eax
jne 0x42bcc7
mov eax, dword [esp + 0xcc]
mov ecx, eax
add eax, 4
mov dword [esp + 0xcc], eax
mov ecx, dword [ecx]
push ecx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0xec]
add esp, 4
cmp eax, edi
jne 0x42bc9c
xor eax, eax
xor ecx, ecx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xe0]
xor edx, edx
xor esi, esi
push eax
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x42bcc7
mov ecx, dword [esp + 0xcc]
mov eax, dword [ecx]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc8], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0xc4], edx
cmp dword [esp + 0xe8], edi
jne 0x42bbdc
cmp dword [esp + 0xb8], edi
je 0x42bdc5
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0xb8]
add ecx, 4
dec eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0xb8], eax
je 0x42bd10
cmp ecx, dword [esp + 0x94]
jne 0x42bdb8
mov ecx, dword [esp + 0x9c]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x9c], ecx
mov eax, dword [eax]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0xbc]
add esp, 4
cmp eax, edi
jne 0x42bd8d
xor edx, edx
xor eax, eax
mov dword [esp + 0x98], edx
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0xb0]
xor ecx, ecx
xor esi, esi
push edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xb0], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor edi, edi
jmp 0x42bdb8
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], edi
jne 0x42bce1
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x140], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x140], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x140], 3
call fcn.004637b0
lea ecx, [esp + 0x24]
mov byte [esp + 0x140], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x68]
mov dword [esp + 0x140], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x64]
mov dword [esp + 0x140], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x138]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x134
ret 4