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

Disassembly:
push 0xffffffffffffffff
push 0x4ff2d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x18], esi
call sub.MFC42.DLL_CString::CString_4
xor edi, edi
lea ecx, [esp + 0x44]
mov dword [esp + 0x140], edi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x48]
mov byte [esp + 0x140], 3
call fcn.00463770
lea ecx, [esp + 0x68]
mov byte [esp + 0x140], 4
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x6c]
mov byte [esp + 0x140], 5
call sub.MFC42.DLL_CString::CString_4
push edi
lea ecx, [esp + 0x11c]
mov byte [esp + 0x144], 6
call fcn.0044e9a0
push edi
lea ecx, [esp + 0x12c]
mov byte [esp + 0x144], 7
call fcn.0044e9a0
push edi
lea ecx, [esp + 0x34]
mov byte [esp + 0x144], 8
call fcn.0044e9a0
lea ecx, [esp + 0x80]
mov byte [esp + 0x140], 9
call fcn.0044a000
mov eax, dword [esi + 0x4c]
lea ebp, [esi + 0x48]
cmp eax, edi
mov byte [esp + 0x140], 0xa
jne 0x4d056d
mov dword [esp + 0x10], edi
jmp 0x4d0579
mov ecx, dword [ebp + 8]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x10], ecx
mov eax, dword [0x536d10]
push 1
push 1
mov edx, dword [eax + 0x17c]
lea ecx, [eax + 0x17c]
call dword [edx + 4]
mov edx, dword [0x536d10]
push edi
lea eax, [esp + 0x48]
push edi
lea ecx, [esp + 0x48]
push eax
push ecx
lea ecx, [edx + 0x17c]
call fcn.0040f9f0
mov eax, dword [esi + 0x58]
mov ecx, dword [eax + 0x20]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x526348
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x50]
call fcn.00463980
push ecx
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x148], 0xb
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.farmKey
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x50]
mov byte [esp + 0x148], 0xa
call fcn.004637f0
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x148], 0xc
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.farmTime
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x50]
mov byte [esp + 0x148], 0xa
call fcn.004637f0
mov edi, dword [esp + 0x148]
cmp edi, 1
jne 0x4d0672
mov ecx, dword [esi + 0x58]
mov edx, dword [ecx + 0x24]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x52631c
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x50]
call fcn.00463980
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x58]
mov ecx, dword [eax + 0x20]
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 + 0x50]
call fcn.00463980
lea edx, [esp + 0x14]
lea ecx, [esp + 0x48]
push edx
call fcn.004637d0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x144], 0xd
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 0xa
call sub.MFC42.DLL_CString::CString
push 1
push 1
push 1
lea ecx, [esp + 0x34]
call fcn.00404830
xor ebx, ebx
push eax
push ebx
lea ecx, [esp + 0x3c]
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
mov eax, dword [esi + 0x58]
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
mov edx, dword [eax + 0x20]
mov byte [esp + 0x15c], 0xe
push edx
push 3
push edi
push ecx
mov ecx, esi
call fcn.004ce0e0
lea eax, [esp + 0x30]
mov ecx, esi
push eax
mov byte [esp + 0x160], 0xa
call fcn.004d34a0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x144], 0xf
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 0xa
call sub.MFC42.DLL_CString::CString
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, esi
call fcn.004d3560
mov ecx, dword [0x536d10]
push 1
add ecx, 0x17c
push ebx
mov dword [esp + 0x2c], eax
mov edx, dword [ecx]
call dword [edx + 4]
push ebx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::GetBuffer
mov esi, eax
mov al, byte [esp + 0x57]
mov edi, esi
mov byte [esp + 0x58], al
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x5c]
push ebx
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 0x4d07d7
mov edi, dword [esp + 0x5c]
mov ecx, ebx
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 + 0x5c]
mov dword [esp + 0x60], ebx
mov byte [eax + ebx], 0
lea ecx, [esp + 0x118]
push 1
lea edx, [esp + 0x5c]
push ecx
push edx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x14c], 0x10
call fcn.0044a090
and eax, 0xff
mov byte [esp + 0x140], 0xa
mov esi, eax
mov eax, dword [esp + 0x5c]
test eax, eax
mov dword [esp + 0x2c], esi
je 0x4d0832
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d0829
cmp al, 0xff
je 0x4d0829
dec al
mov byte [ecx], al
jmp 0x4d0832
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::ReleaseBuffer
test esi, esi
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
je 0x4d0996
push str.beasts
lea ecx, [esp + 0x11c]
call fcn.0044fea0
push eax
lea ecx, [esp + 0x12c]
call fcn.0044f040
lea ecx, [esp + 0x128]
call fcn.0044f140
xor ecx, ecx
cmp eax, 6
sete cl
mov eax, ecx
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x4d09a0
push str.direction
lea ecx, [esp + 0x11c]
call fcn.0044fea0
lea edx, [esp + 0x14]
push eax
push edx
call fcn.0040c8b0
add esp, 8
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x144], 0x11
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 0xa
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x68]
push 0x5307a8
push eax
call esi
add esp, 8
test eax, eax
jne 0x4d08ee
push 0x5266e0
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esp + 0x20]
push 0x5307a8
push eax
call esi
add esp, 8
xor ebp, ebp
mov ecx, dword [0x536d10]
mov eax, dword [esp + 0x2c]
add ecx, 0x17c
push ebp
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
call fcn.004d41b0
mov esi, dword [esp + 0x14c]
cmp esi, ebp
je 0x4d0960
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::operator_2
lea edx, [esp + 0x6c]
lea ecx, [esi + 4]
push edx
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x7c]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x108]
mov byte [esp + 0x140], 0x12
cmp eax, ebp
je 0x4d111d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d1114
cmp al, 0xff
je 0x4d1114
dec al
mov byte [ecx], al
jmp 0x4d111d
push 0x5266d4
jmp 0x4d08e5
lea ecx, [esp + 0x128]
call fcn.0044fc80
mov ecx, dword [esp + 0x10]
mov ebx, eax
cmp ecx, ebx
mov dword [esp + 0x50], ebx
jle 0x4d09dd
cmp ebx, ecx
jge 0x4d0b68
mov esi, dword [esp + 0x18]
mov edx, dword [esi + 0x4c]
inc eax
cmp eax, ecx
mov edx, dword [edx + eax*4 - 4]
mov dword [edx], 0
jl 0x4d09c6
jmp 0x4d0b68
jge 0x4d0b68
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x14], eax
push 0x5c
call sub.MFC42.DLL_operatornew
mov edi, eax
mov ecx, 0x17
xor eax, eax
mov dword [esp + 0x14], edi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0xc]
add esp, 4
mov esi, dword [eax + 0x50]
mov eax, dword [ebp + 8]
sub ecx, eax
sar ecx, 2
cmp ecx, 1
jae 0x4d0acb
mov ecx, ebp
call fcn.004a9270
cmp eax, 1
jbe 0x4d0a36
mov ecx, ebp
call fcn.004a9270
mov edi, eax
jmp 0x4d0a3b
mov edi, 1
mov ecx, ebp
call fcn.004a9270
add eax, edi
mov dword [esp + 0x1c], eax
jns 0x4d0a4c
xor eax, eax
lea edx, [eax*4]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov edi, eax
mov eax, dword [ebp + 4]
mov ecx, ebp
push edi
push esi
push eax
call fcn.004b1440
lea ecx, [esp + 0x10]
mov ebx, eax
push ecx
push 1
push ebx
mov ecx, ebp
call fcn.004b1410
mov edx, dword [ebp + 8]
add ebx, 4
push ebx
push edx
push esi
mov ecx, ebp
call fcn.004b1440
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
push eax
push ecx
mov ecx, ebp
call fcn.004a9290
mov eax, dword [ebp + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x20]
add esp, 4
mov ecx, ebp
lea eax, [edi + edx*4]
mov dword [ebp + 0xc], eax
call fcn.004a9270
mov ebx, dword [esp + 0x50]
lea ecx, [edi + eax*4 + 4]
mov dword [ebp + 8], ecx
mov dword [ebp + 4], edi
jmp 0x4d0b59
mov edx, eax
sub edx, esi
sar edx, 2
cmp edx, 1
jae 0x4d0b1b
lea ecx, [esi + 4]
push ecx
push eax
push esi
mov ecx, ebp
call fcn.004b1440
mov eax, dword [ebp + 8]
lea edx, [esp + 0x10]
mov ecx, eax
push edx
sub ecx, esi
mov edx, 1
sar ecx, 2
sub edx, ecx
mov ecx, ebp
push edx
push eax
call fcn.004b1410
mov ecx, dword [ebp + 8]
mov eax, esi
cmp esi, ecx
je 0x4d0b55
mov edx, dword [esp + 0x10]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jne 0x4d0b0c
jmp 0x4d0b55
push eax
push eax
add eax, 0xfffffffc
mov ecx, ebp
push eax
call fcn.004b1440
mov ecx, dword [ebp + 8]
lea eax, [ecx - 4]
cmp esi, eax
je 0x4d0b41
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, esi
mov dword [ecx], edx
jne 0x4d0b32
lea eax, [esi + 4]
cmp esi, eax
je 0x4d0b55
mov ecx, dword [esp + 0x10]
mov dword [esi], ecx
add esi, 4
cmp esi, eax
jne 0x4d0b48
add dword [ebp + 8], 4
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x4d09eb
push str.maxslotid
lea ecx, [esp + 0x11c]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov edx, dword [ebp + 4]
add esp, 4
test edx, edx
jne 0x4d0b8d
xor ecx, ecx
jmp 0x4d0b95
mov ecx, dword [ebp + 8]
sub ecx, edx
sar ecx, 2
cmp ecx, eax
jg 0x4d0d1d
sub eax, ecx
inc eax
mov dword [esp + 0x14], eax
push 0x5c
call sub.MFC42.DLL_operatornew
mov edi, eax
mov ecx, 0x17
xor eax, eax
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], edi
add esp, 4
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov esi, dword [edx + 0x50]
sub ecx, eax
sar ecx, 2
cmp ecx, 1
jae 0x4d0c80
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4d0beb
sub eax, ecx
sar eax, 2
cmp eax, 1
mov edi, eax
ja 0x4d0bf0
mov edi, 1
mov ecx, ebp
call fcn.004a9270
add eax, edi
mov dword [esp + 0x1c], eax
jns 0x4d0c01
xor eax, eax
lea edx, [eax*4]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov edi, eax
mov eax, dword [ebp + 4]
mov ecx, ebp
push edi
push esi
push eax
call fcn.004b1440
lea ecx, [esp + 0x10]
mov ebx, eax
push ecx
push 1
push ebx
mov ecx, ebp
call fcn.004b1410
mov edx, dword [ebp + 8]
add ebx, 4
push ebx
push edx
push esi
mov ecx, ebp
call fcn.004b1440
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
push eax
push ecx
mov ecx, ebp
call fcn.004a9290
mov eax, dword [ebp + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x20]
add esp, 4
mov ecx, ebp
lea eax, [edi + edx*4]
mov dword [ebp + 0xc], eax
call fcn.004a9270
mov ebx, dword [esp + 0x50]
lea ecx, [edi + eax*4 + 4]
mov dword [ebp + 8], ecx
mov dword [ebp + 4], edi
jmp 0x4d0d0e
mov edx, eax
sub edx, esi
sar edx, 2
cmp edx, 1
jae 0x4d0cd0
lea ecx, [esi + 4]
push ecx
push eax
push esi
mov ecx, ebp
call fcn.004b1440
mov eax, dword [ebp + 8]
lea edx, [esp + 0x10]
mov ecx, eax
push edx
sub ecx, esi
mov edx, 1
sar ecx, 2
sub edx, ecx
mov ecx, ebp
push edx
push eax
call fcn.004b1410
mov ecx, dword [ebp + 8]
mov eax, esi
cmp esi, ecx
je 0x4d0d0a
mov edx, dword [esp + 0x10]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jne 0x4d0cc1
jmp 0x4d0d0a
push eax
push eax
add eax, 0xfffffffc
mov ecx, ebp
push eax
call fcn.004b1440
mov ecx, dword [ebp + 8]
lea eax, [ecx - 4]
cmp esi, eax
je 0x4d0cf6
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, esi
mov dword [ecx], edx
jne 0x4d0ce7
lea eax, [esi + 4]
cmp esi, eax
je 0x4d0d0a
mov ecx, dword [esp + 0x10]
mov dword [esi], ecx
add esi, 4
cmp esi, eax
jne 0x4d0cfd
add dword [ebp + 8], 4
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x4d0ba4
xor ebp, ebp
xor ecx, ecx
cmp ebx, ebp
mov dword [esp + 0x10], ecx
jle 0x4d08ff
jmp 0x4d0d31
xor ebp, ebp
mov esi, dword [esp + 0x18]
push ecx
mov eax, dword [esi + 0x4c]
mov edi, dword [eax + ecx*4]
lea ecx, [esp + 0x12c]
call fcn.0044fd30
push eax
lea ecx, [esp + 0x34]
call fcn.0044f040
lea ecx, [esp + 0x30]
call fcn.0044f140
cmp eax, 7
jne 0x4d10e6
push str.leftraise
lea ecx, [esp + 0x34]
mov dword [edi], 1
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x30]
mov dword [edi + 0x44], eax
push str.income
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x30]
mov dword [edi + 0x30], eax
push str.price
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x30]
mov dword [edi + 0x2c], eax
push str.status
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x30]
mov dword [edi + 0x3c], eax
push str.totalblood
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x30]
mov dword [edi + 0x38], eax
push 0x525f58
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
mov ecx, esi
mov dword [edi + 0x28], eax
push eax
call fcn.004d73e0
cmp eax, ebp
je 0x4d0e20
mov eax, dword [eax + 0x20]
mov ecx, dword [edi + 0x44]
mov dword [edi + 0x40], eax
sub eax, ecx
mov dword [edi + 0x48], eax
cmp dword [edi + 0x3c], 4
jne 0x4d0eb8
mov eax, dword [edi + 0x54]
cmp eax, ebp
je 0x4d0e80
push str.restleft
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov ebx, eax
call fcn.004d3560
mov ecx, eax
mov eax, 0x88888889
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
add edx, ebx
shr eax, 0x1f
xor ebp, ebp
lea eax, [eax + edx + 1]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
lea edx, [esi + ecx*4]
mov dword [edi + 0x58], edx
jmp 0x4d0ebb
push str.restleft
lea ecx, [esp + 0x34]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
inc eax
mov ecx, esi
lea eax, [eax + eax*2]
lea ebx, [eax + eax*4]
call fcn.004d3560
lea ecx, [eax + ebx*4]
mov eax, dword [edi + 0x58]
cmp eax, ebp
je 0x4d0eb3
cmp ecx, eax
jge 0x4d0ebb
mov dword [edi + 0x58], ecx
jmp 0x4d0ebb
mov dword [edi + 0x58], ebp
cmp dword [edi + 0x3c], 3
je 0x4d0edb
push str.curblood
lea ecx, [esp + 0x34]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x3c]
cmp eax, 2
je 0x4d0ef0
cmp eax, 6
je 0x4d0ef0
mov dword [edi + 0xc], ebp
jmp 0x4d10fa
push str.isqz
lea ecx, [esp + 0x34]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x30]
mov dword [edi + 8], eax
push str.isfarm
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
mov dword [edi + 4], eax
mov eax, dword [esp + 0x148]
lea ecx, [esp + 0x30]
push eax
push 0x5260a4
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov ecx, dword [0x536d10]
add esp, 4
add ecx, 0x17c
push eax
call fcn.0041e6f0
cmp eax, ebp
mov dword [edi + 0xc], eax
je 0x4d10ae
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x4d0f6f
lea ecx, [eax + 0x748]
jmp 0x4d0f97
mov ecx, dword [eax + 0x8d8]
test ecx, ecx
je 0x4d10fa
mov edx, dword [0x536d10]
mov esi, dword [edx + 0x2020]
test esi, esi
je 0x4d10fa
add ecx, 0x90
test ecx, ecx
je 0x4d10fa
mov edx, dword [edi + 0x54]
test edx, edx
je 0x4d0fb0
cmp edx, dword [esp + 0x24]
jge 0x4d10fa
lea ebp, [ecx + 0xc]
xor edx, edx
mov ecx, ebp
mov esi, dword [ecx - 0xc]
test esi, esi
je 0x4d0feb
mov esi, dword [eax + 0x58]
cmp esi, 1
mov esi, dword [esp + 0x18]
mov esi, dword [esi + 0x58]
jne 0x4d0fd2
mov esi, dword [esi + 0x24]
jmp 0x4d0fd5
mov esi, dword [esi + 0x20]
cmp dword [ecx - 4], esi
jne 0x4d0feb
mov esi, dword [esp + 0x10]
cmp dword [ecx], esi
jne 0x4d0feb
mov esi, dword [esp + 0x24]
cmp dword [ecx + 0x10], esi
jge 0x4d0ff4
inc edx
add ecx, 0x3c
cmp edx, 3
jl 0x4d0fb7
test ebx, ebx
je 0x4d1027
cmp edx, 3
je 0x4d1011
mov ecx, dword [eax + 0x808]
mov edx, dword [esp + 0x24]
add ecx, 0x12c
cmp ecx, edx
jbe 0x4d1058
mov edx, dword [0x536d10]
push 0
push eax
lea ecx, [edx + 0x17c]
call fcn.00419190
jmp 0x4d1058
mov eax, dword [eax + 0x8d8]
cmp edx, 3
je 0x4d1046
mov ecx, dword [eax + 0x150]
mov edx, dword [esp + 0x24]
add ecx, 0x12c
cmp ecx, edx
jbe 0x4d1058
mov edx, dword [0x536d10]
push eax
lea ecx, [edx + 0xd74]
call fcn.00469a20
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov eax, ebp
xor edx, edx
mov ebp, 1
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x4d1095
mov ecx, dword [edi + 0xc]
cmp dword [ecx + 0x58], ebp
mov ecx, dword [esi + 0x58]
jne 0x4d1080
mov ecx, dword [ecx + 0x24]
jmp 0x4d1083
mov ecx, dword [ecx + 0x20]
cmp dword [eax - 4], ecx
jne 0x4d1095
cmp dword [eax], ebx
jne 0x4d1095
mov ecx, dword [esp + 0x24]
cmp dword [eax + 0x10], ecx
jge 0x4d10a0
inc edx
add eax, 0x3c
cmp edx, 3
jl 0x4d1069
jmp 0x4d10fa
mov edx, dword [eax + 0xc]
mov dword [edi + 0x50], edx
mov eax, dword [eax + 0x10]
mov dword [edi + 0x54], eax
jmp 0x4d10fa
push str.returnleft
lea ecx, [esp + 0x34]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
cmp eax, ebp
je 0x4d10fa
mov edx, dword [esp + 0x24]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x54]
cmp eax, ebp
lea ecx, [edx + ecx*4]
je 0x4d10e1
cmp ecx, eax
jae 0x4d10fa
mov dword [edi + 0x54], ecx
jmp 0x4d10fa
lea ecx, [esp + 0x30]
call fcn.0044f140
test eax, eax
jne 0x4d10fa
mov ecx, 0x17
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
inc ecx
cmp ecx, eax
mov dword [esp + 0x10], ecx
jl 0x4d0d2f
jmp 0x4d08fd
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x108], ebp
cmp eax, ebp
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x110], ebp
je 0x4d115a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d1151
cmp al, 0xff
je 0x4d1151
dec al
mov byte [ecx], al
jmp 0x4d115a
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xe4], ebp
cmp eax, ebp
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xec], ebp
je 0x4d1276
mov ecx, dword [esp + 0xbc]
push 1
mov eax, ecx
add ecx, 0x20
mov dword [esp + 0xc0], 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 + 0xdc]
dec eax
mov dword [esp + 0xdc], eax
je 0x4d11c3
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0xb8]
cmp ecx, eax
jne 0x4d1269
mov eax, dword [esp + 0xc0]
mov ecx, eax
add eax, 4
mov dword [esp + 0xc0], eax
mov ecx, dword [ecx]
push ecx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0xe0]
add esp, 4
cmp eax, ebp
jne 0x4d123e
xor edx, edx
xor eax, eax
mov dword [esp + 0xbc], edx
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0xd4]
xor ecx, ecx
xor edi, edi
push edx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd4], edi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x4d1269
mov ecx, dword [esp + 0xc0]
mov eax, dword [ecx]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xbc], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0xb8], edx
cmp dword [esp + 0xdc], ebp
jne 0x4d117e
cmp dword [esp + 0xac], ebp
je 0x4d136b
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0xac]
add ecx, 4
dec eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xac], eax
je 0x4d12b6
mov eax, ecx
mov ecx, dword [esp + 0x88]
cmp eax, ecx
jne 0x4d135c
mov ecx, dword [esp + 0x90]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x90], ecx
mov eax, dword [eax]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0xb0]
add esp, 4
test eax, eax
jne 0x4d1331
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0xa4]
xor edx, edx
xor esi, esi
push ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], eax
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x4d135c
mov ecx, dword [esp + 0x90]
mov eax, dword [ecx]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x88], edx
mov eax, dword [esp + 0xac]
test eax, eax
jne 0x4d1283
lea ecx, [esp + 0x30]
mov byte [esp + 0x140], 8
call fcn.0044eec0
lea ecx, [esp + 0x128]
mov byte [esp + 0x140], 7
call fcn.0044eec0
lea ecx, [esp + 0x118]
mov byte [esp + 0x140], 6
call fcn.0044eec0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x140], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x68]
mov byte [esp + 0x140], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x140], 3
call fcn.004637b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x140], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov dword [esp + 0x140], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x138]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x134
ret 8