Function at 0x43eb90
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4f34e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_4
xor edi, edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x130], edi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x130], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x18]
mov byte [esp + 0x130], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x28]
mov byte [esp + 0x130], 4
call fcn.00463770
lea ecx, [esp + 0x30]
mov byte [esp + 0x130], 5
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x34]
mov byte [esp + 0x130], 6
call sub.MFC42.DLL_CString::CString_4
push edi
lea ecx, [esp + 0x60]
mov byte [esp + 0x134], 7
call fcn.0044e9a0
push edi
lea ecx, [esp + 0x70]
mov byte [esp + 0x134], 8
call fcn.0044e9a0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 9
call fcn.0044a000
push edi
lea eax, [esp + 0x20]
push edi
push eax
mov eax, dword [0x536d10]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x2c]
mov bl, 0xa
push ecx
push edx
lea ecx, [eax + 0x17c]
mov byte [esp + 0x144], bl
call fcn.00429b90
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.uIdx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x30]
call fcn.00463980
mov eax, dword [ebp + 8]
cmp dword [eax + 0x58], 1
jne 0x43ecd9
mov eax, dword [eax + 0x24]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x52631c
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x30]
call fcn.00463980
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x138], 0xb
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.farmKey
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x30]
mov byte [esp + 0x138], bl
call fcn.004637f0
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x138], 0xc
mov ecx, esp
mov dword [esp + 0x18], esp
push str.farmKey2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x30]
mov byte [esp + 0x138], bl
call fcn.004637f0
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x138], 0xd
mov ecx, esp
mov dword [esp + 0x18], esp
push str.farmTime
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x30]
mov byte [esp + 0x138], bl
call fcn.004637f0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
call fcn.004637d0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 0xe
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], bl
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 + 0x20]
call fcn.00404830
push eax
push edi
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push 0x530ac0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 8]
push ecx
mov ecx, esp
mov dword [esp + 0x140], esp
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x58]
push edx
push 6
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x15c], 0xf
call fcn.0043a420
lea ecx, [esp + 0x2c]
mov byte [esp + 0x14c], bl
push ecx
mov ecx, ebp
call fcn.0043b1e0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x134], 0x10
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [0x536d10]
push 1
push edi
mov eax, dword [edx + 0x17c]
lea ecx, [edx + 0x17c]
call dword [eax + 4]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
push edi
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
mov cl, byte [esp + 0x4b]
mov esi, eax
mov byte [esp + 0x4c], cl
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 0x43eedb
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
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea ecx, [esp + 0x5c]
push 1
lea edx, [esp + 0x50]
push ecx
push edx
lea ecx, [esp + 0x88]
mov byte [esp + 0x13c], 0x11
call fcn.0044a090
and eax, 0xff
mov byte [esp + 0x130], bl
mov esi, eax
mov eax, dword [esp + 0x50]
xor ebx, ebx
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x43ef34
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x43ef2b
cmp al, 0xff
je 0x43ef2b
dec al
mov byte [ecx], al
jmp 0x43ef34
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp esi, ebx
je 0x43ef65
lea ecx, [esp + 0x5c]
call fcn.0044f140
xor ecx, ecx
cmp eax, 6
sete cl
mov eax, ecx
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x43ef73
push 0x526900
jmp 0x43ef6a
push 0x5266d4
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::operator_3
lea edx, [esp + 0x30]
push ebx
lea eax, [esp + 0x60]
push edx
push eax
mov ecx, ebp
call fcn.0043a570
mov ecx, dword [esp + 0x10]
and ecx, eax
mov dword [esp + 0x10], ecx
jne 0x43f164
mov esi, dword [esp + 0x138]
cmp esi, ebx
je 0x43efce
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::operator_2
lea edx, [esp + 0x34]
lea ecx, [esi + 4]
push edx
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
push 1
lea ecx, [esp + 0x104]
mov byte [esp + 0x134], 0x14
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xe0]
mov byte [esp + 0x134], 0x13
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 + 0xd8]
mov byte [esp + 0x130], 0x12
cmp eax, ebx
je 0x43f060
mov eax, dword [esp + 0xb8]
push ebx
mov ecx, eax
add eax, 0x20
mov dword [esp + 0xbc], eax
call fcn.0042c6f0
mov eax, dword [esp + 0xd8]
dec eax
mov dword [esp + 0xd8], eax
je 0x43f04b
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb4]
cmp eax, ecx
jne 0x43f057
lea ecx, [esp + 0xac]
call fcn.0042c550
cmp dword [esp + 0xd8], ebx
jne 0x43f00f
mov eax, dword [esp + 0xa8]
mov byte [esp + 0x130], 9
cmp eax, ebx
je 0x43f0b0
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0xa8]
add ecx, 4
dec eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0xa8], eax
je 0x43f09e
cmp ecx, dword [esp + 0x84]
jne 0x43f0a7
lea ecx, [esp + 0x7c]
call fcn.0042c550
cmp dword [esp + 0xa8], ebx
jne 0x43f073
lea ecx, [esp + 0x6c]
mov byte [esp + 0x130], 8
call fcn.0044eec0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x130], 7
call fcn.0044eec0
lea ecx, [esp + 0x34]
mov byte [esp + 0x130], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x130], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x130], 4
call fcn.004637b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x130], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x130], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x130], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x130], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x43f518
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x3c], ebx
cmp eax, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
jne 0x43f17b
xor edx, edx
jmp 0x43f183
mov edx, dword [ebp + 0x14]
sub edx, eax
sar edx, 2
xor eax, eax
cmp edx, ebx
jle 0x43f19b
mov ecx, dword [ebp + 0x10]
inc eax
cmp eax, edx
mov ecx, dword [ecx + eax*4 - 4]
mov dword [ecx + 0x5c], ebx
mov dword [ecx + 0x64], ebx
jl 0x43f189
lea ecx, [esp + 0x5c]
call fcn.0044fc80
mov edi, eax
test edi, edi
jle 0x43f21c
push ebx
lea ecx, [esp + 0x60]
call fcn.0044fd30
push eax
lea ecx, [esp + 0x70]
call fcn.0044f040
push 0x5260a4
lea ecx, [esp + 0x70]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
mov ecx, ebp
push eax
call fcn.0043a3d0
mov esi, eax
test esi, esi
je 0x43f217
push 0x526044
lea ecx, [esp + 0x70]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x6c]
mov dword [esi + 0x5c], eax
push str.lock
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
mov dword [esi + 0x64], eax
inc ebx
cmp ebx, edi
jl 0x43f1aa
mov esi, dword [esp + 0x138]
test esi, esi
je 0x43f255
lea edx, [esp + 0x30]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::operator_2
lea eax, [esp + 0x34]
lea ecx, [esi + 4]
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x104]
mov byte [esp + 0x130], 0x16
test eax, eax
je 0x43f285
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x43f27c
cmp al, 0xff
je 0x43f27c
dec al
mov byte [ecx], al
jmp 0x43f285
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xe0]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], ecx
je 0x43f2c4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x43f2bb
cmp al, 0xff
je 0x43f2bb
dec al
mov byte [ecx], al
jmp 0x43f2c4
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0xd8]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
je 0x43f415
mov eax, dword [esp + 0xb8]
push 0
mov ecx, eax
add eax, 0x20
mov dword [esp + 0xbc], eax
call fcn.0042c6f0
mov eax, dword [esp + 0xd8]
dec eax
mov dword [esp + 0xd8], eax
je 0x43f32b
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
cmp ecx, eax
jne 0x43f406
mov eax, dword [esp + 0xbc]
mov ecx, eax
add eax, 4
mov dword [esp + 0xbc], eax
mov ecx, dword [ecx]
push ecx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0xdc]
add esp, 4
test eax, eax
jne 0x43f3b7
lea ecx, [esp + 0x4c]
call fcn.004051c0
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xc8], edx
mov edx, dword [esp + 0xd0]
mov dword [esp + 0xb0], eax
push edx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xd0], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x43f406
mov eax, dword [esp + 0xbc]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x11c]
call fcn.0042c610
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x11c]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xd8]
test eax, eax
jne 0x43f2ea
mov eax, dword [esp + 0xa8]
mov byte [esp + 0x130], 9
test eax, eax
je 0x43f467
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0xa8]
add ecx, 4
dec eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0xa8], eax
je 0x43f453
cmp ecx, dword [esp + 0x84]
jne 0x43f45c
lea ecx, [esp + 0x7c]
call fcn.0042c550
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x43f428
lea ecx, [esp + 0x6c]
mov byte [esp + 0x130], 8
call fcn.0044eec0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x130], 7
call fcn.0044eec0
lea ecx, [esp + 0x34]
mov byte [esp + 0x130], 0x17
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x130], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x130], 4
call fcn.004637b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x130], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x130], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x130], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x130], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x124
ret 4