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

Disassembly:
push 0xffffffffffffffff
push 0x4ff5ee
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 + 0x2c], ebx
mov dword [esp + 0x14], edi
call fcn.00463770
lea ecx, [esp + 0x30]
mov dword [esp + 0x1f0], edi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x34]
mov byte [esp + 0x1f0], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x58]
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 + 0x50]
mov byte [esp + 0x1f0], 4
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x38]
mov byte [esp + 0x1f0], 5
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x28]
mov byte [esp + 0x1f0], 6
call sub.MFC42.DLL_CString::CString_4
push edi
lea ecx, [esp + 0x98]
mov byte [esp + 0x1f4], 7
call fcn.0044e9a0
push edi
lea ecx, [esp + 0x154]
mov byte [esp + 0x1f4], 8
call fcn.0044e9a0
push edi
lea ecx, [esp + 0x88]
mov byte [esp + 0x1f4], 9
call fcn.0044e9a0
push edi
lea ecx, [esp + 0x164]
mov byte [esp + 0x1f4], 0xa
call fcn.0044e9a0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1f0], 0xb
call fcn.0044a000
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1f0], 0xc
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x60]
mov byte [esp + 0x1f0], 0xd
call sub.MFC42.DLL_CString::CString_4
mov ebp, dword [esp + 0x1f8]
mov dword [esp + 0x170], edi
mov ecx, 0x1d
xor eax, eax
mov esi, dword [ebp + 0x44]
lea edi, [esp + 0x174]
rep stosd dword es:[edi], eax
mov eax, dword [0x536d10]
mov byte [esp + 0x1f0], 0xe
lea ecx, [eax + 0x17c]
mov edx, dword [ecx]
push 1
push 1
call dword [edx + 4]
mov eax, dword [0x536d10]
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [eax + 0xdd0]
jne 0x4d1de7
mov edx, dword [ebx + 0x58]
mov esi, dword [edx + 0x58]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x50]
push edx
push ecx
lea ecx, [eax + 0xd74]
call fcn.00466ee0
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], 0xf
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], 0xe
call fcn.004637f0
mov eax, dword [0x536d10]
mov ecx, dword [eax + 0xdd0]
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 ebx, dword [esp + 0x1fc]
mov edx, dword [ebx + 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 + 0x18]
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 0x4d1edc
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], 0x10
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], 0xe
call fcn.004637f0
mov edx, dword [ebx + 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 + 0x5c]
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 str.farmKey
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x1f8], 0xe
call fcn.004637f0
push ecx
lea edx, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x1f8], 0x12
mov ecx, esp
mov dword [esp + 0x24], esp
push str.pastureKey
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x1f8], 0xe
call fcn.004637f0
mov edi, dword [esp + 0x204]
push edi
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 eax, eax
cmp esi, 1
sete al
push eax
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
xor ebp, ebp
push ebp
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
neg edi
sbb edi, edi
and edi, 7
inc edi
push edi
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 [ebx + 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
lea edx, [esp + 0x18]
lea ecx, [esp + 0x20]
push edx
call fcn.004637d0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x1f4], 0x13
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x1f0], 0xe
call sub.MFC42.DLL_CString::CString
push 1
push 1
push 1
lea ecx, [esp + 0x3c]
call fcn.00404830
push eax
push ebp
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x5366d8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x210]
mov edi, dword [ebx + 8]
mov byte [esp + 0x208], 0x14
mov ecx, dword [eax + 0x18]
mov eax, dword [ebx + 0xc]
xor ecx, eax
xor ecx, edi
push ecx
mov edx, esp
mov dword [esp + 0x38], esp
push ecx
push ebp
push esi
mov esi, dword [esp + 0x54]
push edx
mov ecx, esi
call fcn.004ce0e0
lea eax, [esp + 0x34]
mov ecx, esi
push eax
mov byte [esp + 0x210], 0xe
call fcn.004d34a0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x1f4], 0x15
call sub.MFC42.DLL_CString::operator_2
mov byte [esp + 0x1f0], 0xe
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::ReleaseBuffer
push ebp
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::GetBuffer
mov cl, byte [esp + 0x57]
mov esi, eax
mov byte [esp + 0x3c], cl
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x3c]
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 0x4d215d
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov edx, dword [esp + 0x40]
xor edi, edi
cmp edx, edi
je 0x4d2188
mov al, byte [edx - 1]
test al, al
je 0x4d2188
cmp al, 0xff
je 0x4d2188
cmp ebp, edi
jne 0x4d21b3
dec al
push edi
lea ecx, [esp + 0x40]
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 0x4d21e2
cmp ebp, edi
jne 0x4d219a
push 1
lea ecx, [esp + 0x40]
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 0x4d21e2
mov eax, dword [esp + 0x48]
cmp eax, 0x1f
ja 0x4d21a7
cmp eax, ebp
jae 0x4d21c2
push 1
lea ecx, [esp + 0x40]
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 + 0x40]
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 + 0x40]
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 + 0x40]
mov dword [esp + 0x44], ebp
xor edi, edi
mov byte [eax + ebp], 0
lea ecx, [esp + 0x94]
push 1
lea edx, [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1fc], 0x16
call fcn.0044a090
and eax, 0xff
mov byte [esp + 0x1f0], 0xe
mov ebp, eax
mov eax, dword [esp + 0x40]
cmp eax, edi
mov dword [esp + 0x10], ebp
je 0x4d223d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d2234
cmp al, 0xff
je 0x4d2234
dec al
mov byte [ecx], al
jmp 0x4d223d
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp ebp, edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], edi
je 0x4d2809
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 + 0x60]
mov byte [esp + 0x1f4], 0x17
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x1f0], 0xe
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x5c]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x5307a8
push ecx
call esi
add esp, 8
test eax, eax
je 0x4d22f6
mov edx, dword [esp + 0x5c]
push str.null
push edx
call esi
add esp, 8
test eax, eax
je 0x4d22f6
xor ebp, ebp
mov dword [ebx + 4], 1
jmp 0x4d2835
mov eax, dword [esp + 0x200]
cmp eax, edi
je 0x4d231e
mov ebp, dword [esp + 0x2c]
push eax
mov ecx, ebp
call fcn.004d7420
cmp eax, edi
je 0x4d2322
mov ecx, dword [eax + 0x24]
cmp ecx, edi
je 0x4d2322
dec ecx
mov dword [eax + 0x24], ecx
jmp 0x4d2322
mov ebp, dword [esp + 0x2c]
push str.addmoral
lea ecx, [esp + 0x98]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x204]
mov ecx, ebp
push eax
call fcn.004d7420
mov ecx, dword [ebp + 0x58]
mov edi, eax
mov eax, dword [esp + 0x1f8]
mov edx, dword [eax + 0x18]
cmp edx, dword [ecx + 0x20]
jne 0x4d2381
push 0x526600
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x14], 1
mov byte [esp + 0x1f0], 0x18
jmp 0x4d23d0
add eax, 0x10
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 + 0x84]
push eax
push ecx
mov dword [esp + 0x1fc], 0x19
call sub.MFC42.DLL_operator_4
mov dword [esp + 0x14], 6
mov dword [esp + 0x1f0], 0x1a
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
mov al, byte [esp + 0x14]
mov dword [esp + 0x1f0], 0x1e
test al, 4
je 0x4d2403
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x80]
and al, 0xfb
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x14]
mov dword [esp + 0x1f0], 0x1d
test al, 2
je 0x4d2429
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], 0x1c
test al, 1
je 0x4d2445
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CString::CString
test esi, esi
je 0x4d24d7
test edi, edi
je 0x4d2456
add edi, 4
jmp 0x4d245b
mov edi, 0x52f2c8
mov edx, dword [ebx + 0x14]
lea eax, [esp + 0x14]
push edx
push eax
mov ecx, ebp
call fcn.004cf770
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
push esi
push ecx
lea eax, [ebx + 0x28]
push edx
push eax
push edi
lea ecx, [esp + 0x4c]
push 0x52f3c4
push ecx
mov byte [esp + 0x20c], 0x1f
call sub.MFC42.DLL_CString::Format
add esp, 0x1c
lea ecx, [esp + 0x14]
mov byte [esp + 0x1f0], 0x1c
call sub.MFC42.DLL_CString::CString
push str.leftblood
lea ecx, [esp + 0x98]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov dword [ebx + 0x20], eax
mov edx, dword [0x536614]
add edx, esi
add esp, 4
mov dword [0x536614], edx
mov eax, dword [ebp + 0x58]
add dword [eax + 0x30], esi
jmp 0x4d251e
mov edx, dword [ebx + 0x14]
lea eax, [esp + 0x14]
push edx
push eax
mov ecx, ebp
call fcn.004cf770
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
push ecx
add ebx, 0x28
push edx
push ebx
lea eax, [esp + 0x44]
push 0x52f3a4
push eax
mov byte [esp + 0x204], 0x20
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x1f0], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x150]
call fcn.0044f140
cmp eax, 6
jne 0x4d27d4
lea ecx, [esp + 0x150]
call fcn.0044fc80
mov esi, eax
dec esi
js 0x4d2683
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1f8]
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.004d2c50
test eax, eax
je 0x4d267c
mov edx, dword [esp + 0xb0]
mov edi, dword [esp + 0xa8]
xor eax, eax
lea ecx, [esp + 0x178]
cmp dword [ecx - 4], edx
jne 0x4d262e
cmp dword [ecx], edi
je 0x4d263f
cmp dword [ecx - 8], 0
je 0x4d2650
inc eax
add ecx, 0xc
cmp eax, 0xa
jl 0x4d2625
jmp 0x4d267c
lea ecx, [eax + eax*2]
inc dword [esp + ecx*4 + 0x170]
lea ecx, [esp + ecx*4 + 0x170]
cmp eax, 0xa
jge 0x4d267c
lea eax, [eax + eax*2]
shl eax, 2
cmp dword [esp + eax + 0x170], 0
lea ecx, [esp + eax + 0x170]
jne 0x4d267c
mov dword [esp + eax + 0x174], edx
mov dword [esp + eax + 0x178], edi
inc dword [ecx]
dec esi
jns 0x4d2553
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 0x4d2786
mov edx, dword [esp + 0x28]
push 0x5307a8
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4d26c9
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 + 0x34]
push edx
call fcn.004cf840
mov edi, eax
lea eax, [esp + 0x78]
push ebx
push eax
mov byte [esp + 0x1f8], 0x21
call fcn.0040a7e0
add esp, 8
push 0x526610
lea ecx, [esp + 0x78]
push eax
push ecx
mov byte [esp + 0x1fc], 0x22
call sub.MFC42.DLL_operator_4
push edi
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x1fc], 0x23
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1f4], 0x24
call fcn.004e96da
lea ecx, [esp + 0x14]
mov byte [esp + 0x1f0], 0x23
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x74]
mov byte [esp + 0x1f0], 0x22
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x78]
mov byte [esp + 0x1f0], 0x21
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1f0], 0x1c
call sub.MFC42.DLL_CString::CString
inc ebp
add esi, 0xc
cmp ebp, 0xa
jl 0x4d269a
mov eax, dword [esp + 0x28]
push 0x5307a8
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4d27d4
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 + 0x3c]
mov byte [esp + 0x1f4], 0x25
call fcn.004e96da
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1f0], 0x1c
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x38]
lea ecx, [esp + 0x5c]
push eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x1f0], 0xe
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x1fc]
mov ebp, dword [esp + 0x10]
xor edi, edi
mov dword [ebx + 4], 1
jmp 0x4d2835
mov ecx, dword [esp + 0x34]
push 0x5307a8
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4d2827
push 0x5266e0
jmp 0x4d282c
push 0x5266d4
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::operator_3
mov edx, dword [0x536d10]
push 1
push edi
mov eax, dword [edx + 0x17c]
lea ecx, [edx + 0x17c]
call dword [eax + 4]
mov edx, dword [0x536d10]
mov ecx, dword [esp + 0x1f8]
add edx, 0xd74
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x34]
push edx
push eax
push ebp
call fcn.004d40b0
mov esi, dword [esp + 0x208]
cmp esi, edi
je 0x4d28aa
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::operator_2
lea edx, [esp + 0x60]
lea ecx, [esi + 4]
push edx
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
lea ecx, [esp + 0x60]
mov byte [esp + 0x1f0], 0x26
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1f0], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x140]
mov byte [esp + 0x1f0], 0x27
cmp eax, edi
je 0x4d28fc
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d28f3
cmp al, 0xff
je 0x4d28f3
dec al
mov byte [ecx], al
jmp 0x4d28fc
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 0x4d2939
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d2930
cmp al, 0xff
je 0x4d2930
dec al
mov byte [ecx], al
jmp 0x4d2939
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 0x4d2a55
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 0x4d29a2
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf0]
cmp eax, ecx
jne 0x4d2a48
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 0x4d2a1d
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 0x4d2a48
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 0x4d295d
cmp dword [esp + 0xe4], edi
je 0x4d2b4b
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 0x4d2a99
mov eax, dword [esp + 0xc0]
mov edx, ecx
cmp edx, eax
jne 0x4d2b3e
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 0x4d2b13
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 0x4d2b3e
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 0x4d2a67
lea ecx, [esp + 0x160]
mov byte [esp + 0x1f0], 0xa
call fcn.0044eec0
lea ecx, [esp + 0x84]
mov byte [esp + 0x1f0], 9
call fcn.0044eec0
lea ecx, [esp + 0x150]
mov byte [esp + 0x1f0], 8
call fcn.0044eec0
lea ecx, [esp + 0x94]
mov byte [esp + 0x1f0], 7
call fcn.0044eec0
lea ecx, [esp + 0x28]
mov byte [esp + 0x1f0], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x1f0], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
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 + 0x58]
mov byte [esp + 0x1f0], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x1f0], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
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