Function at 0x401f43
Capabilities:
Execute command

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call dbg.__main
mov eax, esp
mov ebx, eax
mov dword [esp], 0
call sym._time
mov dword [esp], eax
call sym._srand
mov dword [esp + 4], str.Input_n:
mov dword [esp], 0x488140
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
lea eax, [ebp - 0x3c]
mov dword [esp], eax
mov ecx, 0x487f00
call method.std::istream.operator___int_
sub esp, 4
mov eax, dword [ebp - 0x3c]
sub eax, 1
mov dword [ebp - 0x24], eax
add eax, 1
shl eax, 2
lea edx, [eax + 3]
mov eax, 0x10
sub eax, 1
add eax, edx
mov esi, 0x10
mov edx, 0
div esi
imul eax, eax, 0x10
call fcn.0040ea20
sub esp, eax
lea eax, [esp + 0x18]
add eax, 3
shr eax, 2
shl eax, 2
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0
jmp 0x40200e
call sym._rand
mov ecx, eax
mov edx, dword [ebp - 0x3c]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
mov esi, eax
mov eax, ecx
cdq
idiv esi
mov ecx, edx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
mov dword [eax + edx*4], ecx
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x1c], eax
jle 0x401fe5
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.PrintMas_int__int_
mov dword [esp + 4], 0x489010
mov dword [esp], 0x488140
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [ebp - 0x20], 1
jmp 0x40207b
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4]
mov dword [esp + 4], 0x492030
mov dword [esp], eax
call sym.b2insert_int__tnodeB_
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4]
mov dword [esp + 4], 0x492034
mov dword [esp], eax
call sym.add_AVL_int__tnodeAVL_
add dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x20], eax
jle 0x402045
mov eax, dword [0x492030]
mov dword [esp], eax
call sym.SizeB_tnodeB_
mov eax, dword [0x492020]
mov dword [ebp - 0x2c], eax
mov dword [0x492020], 0
mov eax, dword [0x492034]
mov dword [esp], eax
call sym.SizeA_tnodeAVL_
mov eax, dword [0x492020]
mov dword [ebp - 0x30], eax
mov dword [0x492020], 0
mov eax, dword [0x492030]
mov dword [esp], eax
call sym.SumB_tnodeB_
mov eax, dword [0x492024]
mov dword [ebp - 0x34], eax
mov dword [0x492024], 0
mov eax, dword [0x492034]
mov dword [esp], eax
call sym.SumA_tnodeAVL_
mov eax, dword [0x492024]
mov dword [ebp - 0x38], eax
mov dword [0x492024], 0
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov ecx, 0x488140
call method.std::ostream.operator___int_
sub esp, 4
mov dword [esp + 4], 0x489000
mov dword [esp], eax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov edx, eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov ecx, edx
call method.std::ostream.operator___int_
sub esp, 4
mov dword [esp + 4], 0x489010
mov dword [esp], eax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov eax, dword [0x492034]
mov dword [esp + 4], 1
mov dword [esp], eax
call sym.SumHeightA_tnodeAVL__int_
mov dword [ebp - 0x50], eax
fild dword [ebp - 0x50]
fstp dword [ebp - 0x50]
mov eax, dword [0x492030]
mov dword [esp + 4], 1
mov dword [esp], eax
call sym.SumHeightB_tnodeB__int_
mov dword [ebp - 0x54], eax
fild dword [ebp - 0x54]
fstp dword [esp]
mov ecx, 0x488140
call method.std::ostream.operator___float_
sub esp, 4
mov dword [esp + 4], 0x489000
mov dword [esp], eax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
movss xmm0, dword [ebp - 0x50]
movss dword [esp], xmm0
mov ecx, eax
call method.std::ostream.operator___float_
sub esp, 4
mov dword [esp + 4], 0x489010
mov dword [esp], eax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp + 4], str.__________Size__Sum__Height__Sr._height_n
mov dword [esp], 0x488140
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp + 4], str._________________________________________n
mov dword [esp], 0x488140
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov eax, dword [0x492030]
mov dword [esp + 4], 1
mov dword [esp], eax
call sym.SumHeightB_tnodeB__int_
mov dword [ebp - 0x50], eax
fild dword [ebp - 0x50]
fild dword [ebp - 0x2c]
fdivp st(1)
fstp qword [ebp - 0x50]
mov eax, dword [0x492030]
mov dword [esp], eax
call sym.HeightB_tnodeB_
movsd xmm1, qword [ebp - 0x50]
movsd qword [esp + 0x10], xmm1
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], str.___DBD____4d___4d__5d_____2.3f_n
call sym._printf
mov eax, dword [0x492030]
mov dword [esp + 4], 1
mov dword [esp], eax
call sym.SumHeightB2_tnodeB__int_
mov eax, dword [0x492028]
mov dword [ebp - 0x50], eax
fild dword [ebp - 0x50]
fild dword [ebp - 0x2c]
fdivp st(1)
fstp qword [ebp - 0x50]
mov eax, dword [0x492030]
mov dword [esp], eax
call sym.HeightB2_tnodeB_
movsd xmm2, qword [ebp - 0x50]
movsd qword [esp + 0x10], xmm2
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], str.___DBD2___4d___4d__5d_____2.3f_n
call sym._printf
mov eax, dword [0x492034]
mov dword [esp + 4], 1
mov dword [esp], eax
call sym.SumHeightA_tnodeAVL__int_
mov dword [ebp - 0x50], eax
fild dword [ebp - 0x50]
fild dword [ebp - 0x30]
fdivp st(1)
fstp qword [ebp - 0x50]
mov eax, dword [0x492034]
mov dword [esp], eax
call sym.HeightA_tnodeAVL_
movsd xmm3, qword [ebp - 0x50]
movsd qword [esp + 0x10], xmm3
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov dword [esp], str.___AVL____4d___4d__5d_____2.3f_n
call sym._printf
mov dword [esp + 4], str._nDBD:_n
mov dword [esp], 0x488140
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov eax, dword [0x492030]
mov dword [esp], eax
call sym.ObhodB_tnodeB_
mov dword [esp + 4], str._nAVL:_n
mov dword [esp], 0x488140
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov eax, dword [0x492034]
mov dword [esp], eax
call sym.ObhodA_tnodeAVL_
mov dword [esp + 4], 0x4890ee
mov dword [esp], 0x488140
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], str.pause
call sym._system
mov eax, 0
mov esp, ebx
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret