Function at 0x4ce230
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4fefa3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d8
push ebx
push ebp
push esi
push edi
mov ebx, ecx
xor edi, edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x14], edi
call fcn.00463770
lea ecx, [esp + 0x34]
mov dword [esp + 0x1f0], edi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1f0], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x50]
mov byte [esp + 0x1f0], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1f0], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x30]
mov byte [esp + 0x1f0], 4
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x28]
mov byte [esp + 0x1f0], 5
call sub.MFC42.DLL_CString::CString_4
push edi
lea ecx, [esp + 0x98]
mov byte [esp + 0x1f4], 6
call fcn.0044e9a0
push edi
lea ecx, [esp + 0x154]
mov byte [esp + 0x1f4], 7
call fcn.0044e9a0
push edi
lea ecx, [esp + 0x88]
mov byte [esp + 0x1f4], 8
call fcn.0044e9a0
push edi
lea ecx, [esp + 0x164]
mov byte [esp + 0x1f4], 9
call fcn.0044e9a0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1f0], 0xa
call fcn.0044a000
lea ecx, [esp + 0x58]
mov byte [esp + 0x1f0], 0xb
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1f0], 0xc
call sub.MFC42.DLL_CString::CString_4
mov ebp, dword [esp + 0x1f8]
mov dword [esp + 0x170], edi
mov ecx, 0x1d
xor eax, eax
lea edi, [esp + 0x174]
mov esi, dword [ebp + 0x58]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebp + 0x20]
mov byte [esp + 0x1f0], 0xd
cmp ecx, dword [eax + 0x20]
jne 0x4ce38a
mov esi, dword [eax + 0x58]
mov edx, dword [0x536d10]
push 1
push 1
mov eax, dword [edx + 0x17c]
lea ecx, [edx + 0x17c]
call dword [eax + 4]
mov eax, dword [0x536d10]
push 0
lea ecx, [esp + 0x54]
push 0
lea edx, [esp + 0x54]
push ecx
push edx
lea ecx, [eax + 0x17c]
call fcn.0040f9f0
push ecx
lea edx, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x1f8], 0xe
mov ecx, esp
mov dword [esp + 0x24], esp
push str.farmTime
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x1f8], 0xd
call fcn.004637f0
mov eax, dword [ebx + 0x58]
mov ecx, dword [eax + 0x20]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.uIdx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
call fcn.00463980
mov edi, dword [esp + 0x1fc]
mov edx, dword [edi + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.index
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
call fcn.00463980
mov eax, dword [ebp + 0x20]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x526348
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
call fcn.00463980
mov ecx, dword [esp + 0x200]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.mode
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
call fcn.00463980
mov eax, dword [esp + 0x204]
test eax, eax
mov eax, 0x52f31c
jne 0x4ce497
mov eax, str.Fight
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x1f8], 0xf
mov ecx, esp
mov dword [esp + 0x24], esp
push str.attackType
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x1f8], 0xd
call fcn.004637f0
mov edx, dword [edi + 8]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.owner
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
call fcn.00463980
push ecx
lea eax, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x1f8], 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
push str.farmKey
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x1f8], 0xd
call fcn.004637f0
mov ecx, dword [esp + 0x204]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.weapon
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
call fcn.00463980
xor edx, edx
cmp esi, 1
sete dl
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.isqz
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
call fcn.00463980
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.isfarm
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
call fcn.00463980
mov eax, dword [esp + 0x204]
neg eax
sbb eax, eax
and eax, 7
inc eax
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.flag
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
call fcn.00463980
mov ecx, dword [edi + 0xc]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.slotid
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
call fcn.00463980
cmp esi, 1
jne 0x4ce634
mov edx, dword [ebp + 0x24]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x526324
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
call fcn.00463980
mov eax, dword [0x536d10]
push ecx
add eax, 0xb40
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x1f8], 0x11
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x52631c
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x1f8], 0xd
call fcn.004637f0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
call fcn.004637d0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x1f4], 0x12
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x1f0], 0xd
call sub.MFC42.DLL_CString::CString
push 1
push 1
push 1
lea ecx, [esp + 0x40]
call fcn.00404830
xor edi, edi
push eax
push edi
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x530ac0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x214]
mov ecx, dword [esp + 0x210]
mov byte [esp + 0x208], 0x13
mov edx, dword [eax + 8]
mov ebp, dword [ecx + 0x20]
mov ecx, dword [eax + 0xc]
xor edx, ebp
push ecx
xor edx, ecx
mov eax, esp
mov dword [esp + 0x38], esp
push edx
push edi
push esi
push eax
mov ecx, ebx
call fcn.004ce0e0
mov edx, dword [0x536d10]
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x210], 0xd
lea ecx, [edx + 0x17c]
call fcn.00410fa0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x1f4], 0x14
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x1f0], 0xd
call sub.MFC42.DLL_CString::CString
push 0xffffffffffffffff
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::ReleaseBuffer
push edi
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::GetBuffer
mov esi, eax
mov al, byte [esp + 0x57]
mov byte [esp + 0x38], al
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::max_size_void_const]
cmp eax, ebp
jae 0x4ce756
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov edx, dword [esp + 0x3c]
xor edi, edi
cmp edx, edi
je 0x4ce781
mov al, byte [edx - 1]
test al, al
je 0x4ce781
cmp al, 0xff
je 0x4ce781
cmp ebp, edi
jne 0x4ce7ac
dec al
push edi
lea ecx, [esp + 0x3c]
mov byte [edx - 1], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x4ce7db
cmp ebp, edi
jne 0x4ce793
push 1
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x4ce7db
mov eax, dword [esp + 0x44]
cmp eax, 0x1f
ja 0x4ce7a0
cmp eax, ebp
jae 0x4ce7bb
push 1
lea ecx, [esp + 0x3c]
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 ebp
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Copy_unsigned_int_]
mov edx, dword [esp + 0x3c]
mov ecx, ebp
mov edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], ebp
xor edi, edi
mov byte [eax + ebp], 0
lea ecx, [esp + 0x94]
push 1
lea edx, [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1fc], 0x15
call fcn.0044a090
and eax, 0xff
mov byte [esp + 0x1f0], 0xd
mov ebp, eax
mov eax, dword [esp + 0x3c]
cmp eax, edi
mov dword [esp + 0x10], ebp
je 0x4ce836
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4ce82d
cmp al, 0xff
je 0x4ce82d
dec al
mov byte [ecx], al
jmp 0x4ce836
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov eax, dword [0x536d10]
push 1
push edi
mov edx, dword [eax + 0x17c]
lea ecx, [eax + 0x17c]
call dword [edx + 4]
cmp ebp, edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
je 0x4cee39
push str.drop
lea ecx, [esp + 0x98]
call fcn.0044fea0
push eax
lea ecx, [esp + 0x154]
call fcn.0044f040
push str.direction
lea ecx, [esp + 0x98]
call fcn.0044fea0
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0040c8b0
add esp, 8
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1f4], 0x16
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x1f0], 0xd
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x58]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x5307a8
push ecx
call esi
add esp, 8
test eax, eax
je 0x4ce911
mov edx, dword [esp + 0x58]
push str.null
push edx
call esi
add esp, 8
test eax, eax
je 0x4ce911
mov ecx, dword [esp + 0x1fc]
xor ebp, ebp
mov dword [ecx + 4], 1
jmp 0x4cee65
mov eax, dword [esp + 0x200]
cmp eax, edi
je 0x4ce933
push eax
mov ecx, ebx
call fcn.004d7420
cmp eax, edi
je 0x4ce933
mov ecx, dword [eax + 0x24]
cmp ecx, edi
je 0x4ce933
dec ecx
mov dword [eax + 0x24], ecx
push str.addmoral
lea ecx, [esp + 0x98]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
mov ebp, eax
mov eax, dword [esp + 0x204]
mov ecx, ebx
push eax
call fcn.004d7420
mov ecx, dword [ebx + 0x58]
mov esi, eax
mov eax, dword [esp + 0x1f8]
mov edx, dword [eax + 0x20]
cmp edx, dword [ecx + 0x20]
jne 0x4ce995
push 0x526600
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x14], 1
mov byte [esp + 0x1f0], 0x17
jmp 0x4ce9e1
add eax, 0x14
push eax
lea eax, [esp + 0x80]
push 0x5265fc
push eax
call sub.MFC42.DLL_operator_3
mov dword [esp + 0x14], 2
push 0x525f94
lea ecx, [esp + 0x78]
push eax
push ecx
mov dword [esp + 0x1fc], 0x18
call sub.MFC42.DLL_operator_4
mov dword [esp + 0x14], 6
mov dword [esp + 0x1f0], 0x19
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
mov al, byte [esp + 0x14]
mov dword [esp + 0x1f0], 0x1d
test al, 4
je 0x4cea11
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x74]
and al, 0xfb
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x14]
mov dword [esp + 0x1f0], 0x1c
test al, 2
je 0x4cea37
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x7c]
and al, 0xfd
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x14]
mov dword [esp + 0x1f0], 0x1b
test al, 1
je 0x4cea56
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::CString
cmp ebp, edi
je 0x4ceaed
cmp esi, edi
lea edi, [esi + 4]
jne 0x4cea6a
mov edi, 0x52f2c8
mov esi, dword [esp + 0x1fc]
lea eax, [esp + 0x14]
mov ecx, ebx
mov edx, dword [esi + 0x14]
push edx
push eax
call fcn.004cf770
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
push ebp
push ecx
lea eax, [esi + 0x28]
push edx
push eax
push edi
lea ecx, [esp + 0x44]
push 0x52f29c
push ecx
mov byte [esp + 0x20c], 0x1e
call sub.MFC42.DLL_CString::Format
add esp, 0x1c
lea ecx, [esp + 0x14]
mov byte [esp + 0x1f0], 0x1b
call sub.MFC42.DLL_CString::CString
push str.leftblood
lea ecx, [esp + 0x98]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov dword [esi + 0x20], eax
mov ecx, dword [0x536614]
add ecx, ebp
add esp, 4
mov dword [0x536614], ecx
mov ebx, dword [ebx + 0x58]
add dword [ebx + 0x30], ebp
jmp 0x4ceb4a
cmp esi, edi
je 0x4ceaf6
add esi, 4
jmp 0x4ceafb
mov esi, 0x52f2c8
mov edi, dword [esp + 0x1fc]
lea eax, [esp + 0x14]
mov ecx, ebx
mov edx, dword [edi + 0x14]
push edx
push eax
call fcn.004cf770
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
push ecx
add edi, 0x28
push edx
push edi
push esi
lea eax, [esp + 0x40]
push 0x52f26c
push eax
mov byte [esp + 0x208], 0x1f
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea ecx, [esp + 0x14]
mov byte [esp + 0x1f0], 0x1b
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x150]
call fcn.0044f140
cmp eax, 6
jne 0x4cee00
lea ecx, [esp + 0x150]
call fcn.0044fc80
mov esi, eax
dec esi
js 0x4cecaf
mov ebp, dword [esp + 0x1f8]
mov ebx, dword [esp + 0x48]
push esi
lea ecx, [esp + 0x154]
call fcn.0044fd30
push eax
lea ecx, [esp + 0x88]
call fcn.0044f040
push 0x526044
lea ecx, [esp + 0x88]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x84]
mov dword [esp + 0xac], eax
push 0x526028
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x84]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], esi
push str.time
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x84]
mov dword [esp + 0xb4], eax
push 0x525f58
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0xa4]
mov dword [esp + 0xb0], eax
push 0
push ecx
push ebp
mov ecx, ebx
call fcn.004cfc30
test eax, eax
je 0x4ceca8
mov edx, dword [esp + 0xb0]
mov edi, dword [esp + 0xa8]
xor eax, eax
lea ecx, [esp + 0x178]
cmp dword [ecx - 4], edx
jne 0x4cec5a
cmp dword [ecx], edi
je 0x4cec6b
cmp dword [ecx - 8], 0
je 0x4cec7c
inc eax
add ecx, 0xc
cmp eax, 0xa
jl 0x4cec51
jmp 0x4ceca8
lea ecx, [eax + eax*2]
inc dword [esp + ecx*4 + 0x170]
lea ecx, [esp + ecx*4 + 0x170]
cmp eax, 0xa
jge 0x4ceca8
lea eax, [eax + eax*2]
shl eax, 2
cmp dword [esp + eax + 0x170], 0
lea ecx, [esp + eax + 0x170]
jne 0x4ceca8
mov dword [esp + eax + 0x174], edx
mov dword [esp + eax + 0x178], edi
inc dword [ecx]
dec esi
jns 0x4ceb7f
push 0x5307a8
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::operator_3
xor ebp, ebp
lea esi, [esp + 0x170]
mov ebx, dword [esi]
test ebx, ebx
je 0x4cedb2
mov edx, dword [esp + 0x28]
push 0x5307a8
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4cecf5
push 0x523ca0
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x50]
push edx
call fcn.004cf840
mov edi, eax
lea eax, [esp + 0x78]
push ebx
push eax
mov byte [esp + 0x1f8], 0x20
call fcn.0040a7e0
add esp, 8
push 0x526610
lea ecx, [esp + 0x74]
push eax
push ecx
mov byte [esp + 0x1fc], 0x21
call sub.MFC42.DLL_operator_4
push edi
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x1fc], 0x22
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1f4], 0x23
call fcn.004e96da
lea ecx, [esp + 0x14]
mov byte [esp + 0x1f0], 0x22
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x70]
mov byte [esp + 0x1f0], 0x21
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x78]
mov byte [esp + 0x1f0], 0x20
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1f0], 0x1b
call sub.MFC42.DLL_CString::CString
inc ebp
add esi, 0xc
cmp ebp, 0xa
jl 0x4cecc6
mov eax, dword [esp + 0x28]
push 0x5307a8
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4cee00
lea ecx, [esp + 0x28]
lea edx, [esp + 0x1c]
push ecx
push 0x52f264
push edx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x1f4], 0x24
call fcn.004e96da
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1f0], 0x1b
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x30]
lea ecx, [esp + 0x5c]
push eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x1f0], 0xd
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1fc]
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x48]
xor edi, edi
mov dword [ecx + 4], 1
jmp 0x4cee65
mov edx, dword [esp + 0x2c]
push 0x5307a8
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4cee57
push 0x5266e0
jmp 0x4cee5c
push 0x5266d4
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::operator_3
mov ecx, dword [0x536d10]
mov eax, dword [esp + 0x1f8]
add ecx, 0x17c
push eax
lea edx, [esp + 0x30]
push ecx
push edx
push ebp
mov ecx, ebx
call fcn.004d41b0
mov esi, dword [esp + 0x208]
cmp esi, edi
je 0x4ceec7
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x6c]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1f0], 0x25
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0x1f0], 0xb
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x140]
mov byte [esp + 0x1f0], 0x26
cmp eax, edi
je 0x4cef19
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4cef10
cmp al, 0xff
je 0x4cef10
dec al
mov byte [ecx], al
jmp 0x4cef19
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x140], edi
cmp eax, edi
mov dword [esp + 0x144], edi
mov dword [esp + 0x148], edi
je 0x4cef56
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4cef4d
cmp al, 0xff
je 0x4cef4d
dec al
mov byte [ecx], al
jmp 0x4cef56
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x114]
mov dword [esp + 0x11c], edi
cmp eax, edi
mov dword [esp + 0x120], edi
mov dword [esp + 0x124], edi
je 0x4cf072
mov ecx, dword [esp + 0xf4]
push 1
mov eax, ecx
add ecx, 0x20
mov dword [esp + 0xf8], 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 + 0x114]
dec eax
mov dword [esp + 0x114], eax
je 0x4cefbf
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf0]
cmp eax, ecx
jne 0x4cf065
mov eax, dword [esp + 0xf8]
mov ecx, eax
add eax, 4
mov dword [esp + 0xf8], eax
mov ecx, dword [ecx]
push ecx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x118]
add esp, 4
cmp eax, edi
jne 0x4cf03a
xor ecx, ecx
xor eax, eax
mov dword [esp + 0xf0], ecx
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0x10c]
xor edx, edx
xor esi, esi
push ecx
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], esi
mov dword [esp + 0x100], eax
mov dword [esp + 0x108], edx
mov dword [esp + 0x10c], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x4cf065
mov ecx, dword [esp + 0xf8]
mov eax, dword [ecx]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xec], eax
mov dword [esp + 0xf4], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0xf0], edx
cmp dword [esp + 0x114], edi
jne 0x4cef7a
cmp dword [esp + 0xe4], edi
je 0x4cf168
mov ebx, 4
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0xe4]
add ecx, ebx
dec eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xe4], eax
je 0x4cf0b6
mov eax, dword [esp + 0xc0]
mov edx, ecx
cmp edx, eax
jne 0x4cf15b
mov ecx, dword [esp + 0xc8]
mov eax, ecx
add ecx, ebx
mov dword [esp + 0xc8], ecx
mov eax, dword [eax]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0xe8]
add esp, 4
cmp eax, edi
jne 0x4cf130
xor eax, eax
xor ecx, ecx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xdc]
xor edx, edx
xor esi, esi
push eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x4cf15b
mov ecx, dword [esp + 0xc8]
mov eax, dword [ecx]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc4], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0xc0], edx
cmp dword [esp + 0xe4], edi
jne 0x4cf084
lea ecx, [esp + 0x160]
mov byte [esp + 0x1f0], 9
call fcn.0044eec0
lea ecx, [esp + 0x84]
mov byte [esp + 0x1f0], 8
call fcn.0044eec0
lea ecx, [esp + 0x150]
mov byte [esp + 0x1f0], 7
call fcn.0044eec0
lea ecx, [esp + 0x94]
mov byte [esp + 0x1f0], 6
call fcn.0044eec0
lea ecx, [esp + 0x28]
mov byte [esp + 0x1f0], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x1f0], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1f0], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x1f0], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1f0], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x1f0], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x1f0], 0xffffffff
call fcn.004637b0
mov ecx, dword [esp + 0x1e8]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1e4
ret 0x14